/* 
 * BauGym Homepage Premium CSS
 */

:root {
    --bg-color-dark: #121212;
    --bg-color-darker: #0a0a0a;
    --bg-color-light: #1e1e1e;
    --primary-color: #ff4757;
    --primary-hover: #ff6b81;
    --text-primary: #ffffff;
    --text-secondary: #a4b0be;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(30, 30, 30, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.baugym-home-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Cleanup Default Flatsome Elements */
.home .header-top,
.home .footer-widgets,
.home .widget_newsletter {
    display: none !important;
}

.bg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utilities */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(90deg, #fff, #a4b0be);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-left {
    text-align: left;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.highlight {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

/* Buttons */
.bg-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.bg-btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.bg-btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

.bg-btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.bg-btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.bg-btn-outline:hover {
    background-color: var(--bg-color-light);
    border-color: var(--text-secondary);
}

.bg-btn-zalo {
    background-color: #0068ff;
    color: #fff;
}

.bg-btn-messenger {
    background-color: #0084ff;
    color: #fff;
}

.bg-btn-zalo:hover, .bg-btn-messenger:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Sections */
section {
    padding: 80px 0;
}

/* Hero Section */
.bg-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, var(--bg-color-light) 0%, var(--bg-color-darker) 100%);
    position: relative;
    overflow: hidden;
}

.bg-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Features Section */
.bg-features {
    background-color: var(--bg-color-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 71, 87, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Trust Signals Banner */
.bg-trust-signals {
    background-color: var(--primary-color);
    padding: 30px 0;
}

.trust-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #fff;
}

/* Contact & Location */
.bg-contact {
    background-color: var(--bg-color-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.contact-list li {
    margin-bottom: 25px;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-value a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-value a:hover {
    color: var(--primary-color);
}

.sub-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.contact-actions {
    display: flex;
    gap: 15px;
}

.location-card {
    background: var(--bg-color-light);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
}

.location-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.location-address {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.map-container {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #333;
}

.map-container iframe {
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .trust-flex {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Custom Header Menu */
.bg-custom-header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-btn-account {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.nav-btn-account:hover {
    background-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 992px) {
    .main-nav {
        display: none; /* simple mobile hide for now */
}

/* Custom Footer */
.bg-custom-footer {
    background-color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 60px;
    color: #333333;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #0c1f38;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 3px;
    background-color: #e5252b;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 20px;
}

.footer-links li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #cccccc;
    font-size: 1rem;
}

.footer-links a {
    color: #555555;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #e5252b;
}

.footer-bottom-centered {
    text-align: center;
    border-top: 1px solid #f2f2f2;
    padding-top: 30px;
    margin-top: 30px;
}

.footer-disclaimer p {
    color: #999999;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-bottom-centered .copyright {
    font-weight: 700;
    color: #0c1f38;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-bottom-links {
    color: #777777;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: #777777;
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #0c1f38;
}

.separator {
    margin: 0 15px;
    color: #cccccc;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
