/* Enhanced Header Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-brand h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--main-color);  /* Fallback */
    margin: 0;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.nav-brand .subtitle {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: translateY(-5px);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 0.1;
    transform: translateY(0);
}

.nav-links a:hover {
    color: var(--main-color);
}

.nav-links a.active {
    color: var(--main-color);
    background-color: var(--box-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.5s ease;
}

.hero-content:hover {
    transform: perspective(1000px) rotateX(2deg);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--main-color);  /* Fallback */
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.1));
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--text-color);
    opacity: 0.9;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.hero-cta .cta-button {
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-cta .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--main-color), var(--accent-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.hero-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-cta .cta-button:hover::before {
    opacity: 1;
}

.hero-cta .cta-button.primary {
    background: var(--main-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(13,189,198,0.2);
}

.hero-cta .cta-button.secondary {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}

.hero-cta .cta-button.secondary:hover {
    color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-brand h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        padding: 0.6rem 1rem;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
