/* Critical Above-the-Fold CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1d1d1b;
    background: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Header - Critical for initial page view */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 78, 0, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 10px rgba(255, 78, 0, 0.3));
}

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

.nav a {
    color: #1d1d1b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav a:hover {
    color: #ff4e00;
    background: rgba(255, 78, 0, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, #ff4e00, #ff6b2b);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 78, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 78, 0, 0.4);
}

/* Hero Section - Critical for initial page view */
.hero {
    margin-top: 80px;
    padding: 8rem 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 78, 0, 0.05) 50%, 
        rgba(255, 255, 255, 0.95) 100%), 
        url('./images/webp/hero-background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1d1d1b, #ff4e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-tagline {
    font-size: 2rem;
    color: #ff4e00;
    font-weight: 700;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(255, 78, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-cta {
    background: linear-gradient(135deg, #ff4e00, #ff6b2b);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 78, 0, 0.4);
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 78, 0, 0.6);
}

.hero-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #1d1d1b;
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 78, 0, 0.3);
}

.hero-secondary:hover {
    background: rgba(255, 78, 0, 0.1);
    border-color: #ff4e00;
    transform: translateY(-5px);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #1d1d1b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Basic mobile responsiveness for critical content */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav a {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        width: 80%;
        text-align: center;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        background: rgba(255, 78, 0, 0.1);
        transform: translateX(-10px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .logo {
        height: 45px;
    }
    
    .hero {
        margin-top: 65px;
        padding: 2.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav {
        width: 250px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
}