/* Critical Above-the-Fold CSS - Load Inline */
/* Only essential styles for initial page render */

/* CSS Variables */
:root {
    --primary-dark: #09262e;
    --primary-teal: #009381;
    --primary-light: #b6cdb0;
    --secondary-light: #f8f9fa;
    --text-light: #6c757d;
    --gradient-luxury: linear-gradient(135deg, #09262e 0%, #009381 100%);
    --gradient-teal: linear-gradient(135deg, #009381 0%, #b6cdb0 100%);
    --shadow-luxury: 0 15px 40px rgba(9, 38, 46, 0.1);
}

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    font-display: swap;
}

/* Header Critical Styles */
.header-area {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-top {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
}

.header-top h6 {
    margin: 0;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
}

#header {
    padding: 15px 0;
}

#logo img {
    height: 60px;
    width: auto;
}

/* Navigation Critical Styles */
.nav-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: block;
}

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

/* Mobile Navigation Critical */
#mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-teal);
    font-size: 28px;
    cursor: pointer;
    padding: 12px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10000;
    min-width: 44px;
    min-height: 44px;
}

/* Hero Section Critical */
.banner-area.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-content {
    position: relative;
    z-index: 4;
    color: #ffffff;
    max-width: 600px;
    padding-left: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #e6e6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Button Critical Styles */
.btn-luxury {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-luxury {
    background: var(--gradient-teal);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 147, 129, 0.3);
}

/* Container Critical */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6, .col-lg-3, .col-lg-6, .col-lg-9, .col-lg-12 {
    padding: 0 15px;
}

/* Mobile Responsive Critical */
@media (max-width: 991px) {
    #mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    #nav-menu-container {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .banner-area.hero-section {
        min-height: 80vh;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .btn-luxury {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Preloader Critical */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-luxury);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    background: var(--gradient-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hide non-critical content initially */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Font loading optimization */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Mu4mxK.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Roboto Bold'), local('Roboto-Bold'), url('https://fonts.gstatic.com/s/roboto/v30/KFOlCnqEu92Fr1MmWUlfBBc4.woff2') format('woff2');
}
