/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --primary: #0A66C2;
    --primary-light: #2C88E6;
    --primary-dark: #004182;
    
    --secondary: #1A202C;
    --secondary-light: #2D3748;
    
    --accent-blue: #00D1FF;
    --accent-orange: #FF7B00;
    --accent-green: #00D084;
    
    --surface: #FFFFFF;
    --surface-alt: #F7FAFC;
    --surface-dark: #EDF2F7;
    
    --text-main: #2D3748;
    --text-muted: #718096;
    --text-light: #F7FAFC;
    
    --border: #E2E8F0;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    --grad-dark: linear-gradient(135deg, var(--secondary) 0%, #000000 100%);
    
    --grad-blue: linear-gradient(135deg, #EBF8FF 0%, #BEE3F8 100%);
    --grad-orange: linear-gradient(135deg, #FFFAF0 0%, #FEEBC8 100%);
    --grad-green: linear-gradient(135deg, #F0FFF4 0%, #C6F6D5 100%);
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --shadow-colored: 0 10px 25px -5px rgba(10, 102, 194, 0.4);
    
    /* Other */
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.relative {
    position: relative;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--surface-alt);
}

.mb-4 {
    margin-bottom: 24px;
}

/* ==========================================================================
   Typography Classes
   ========================================================================== */
.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
}

.center .section-title,
.center .section-desc,
.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--surface);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary.glow-effect:hover {
    box-shadow: var(--shadow-colored);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--surface);
    color: var(--surface);
}

.btn-outline:hover {
    background: var(--surface);
    color: var(--secondary);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--surface);
}

.header.scrolled .logo {
    color: var(--secondary);
}

.logo-icon {
    color: var(--accent-blue);
}

.header.scrolled .logo-icon {
    color: var(--primary);
}

.logo span {
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--surface);
    font-weight: 500;
    position: relative;
}

.header.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
}

.header.scrolled .nav-links a::after {
    background: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--surface);
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn .bar {
    background-color: var(--secondary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 20, 30, 0.9) 0%, rgba(10, 20, 30, 0.4) 100%);
}

.hero-content-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 40px;
}

.hero-text-wrapper {
    max-width: 700px;
    color: var(--surface);
}

.badge-wrapper {
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-blue);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--surface);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 24px;
}

.glass-panel-dark {
    background: rgba(10, 20, 30, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
}

.stat-desc {
    font-size: 0.875rem;
    color: var(--surface);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--surface);
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--surface);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--surface);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--surface-dark);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    background: var(--grad-primary);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon-wrapper i {
    width: 28px;
    height: 28px;
}

.blue-gradient { background: var(--grad-blue); color: var(--primary); }
.orange-gradient { background: var(--grad-orange); color: var(--accent-orange); }
.green-gradient { background: var(--grad-green); color: var(--accent-green); }

.card-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-features {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}

.service-features li i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.decoration-box {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    padding: 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--surface);
    box-shadow: var(--shadow-xl);
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-blue);
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.feature-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.feature-text h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

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

/* ==========================================================================
   Image Break Parallax
   ========================================================================== */
.image-break {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.break-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.break-parallax img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.break-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 50, 0.7);
}

.break-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--surface);
    z-index: 2;
}

.break-content h2 {
    color: var(--surface);
    font-size: 3rem;
    margin-bottom: 16px;
}

/* ==========================================================================
   Booking Section
   ========================================================================== */
.booking-section {
    background: var(--grad-dark);
    color: var(--surface);
    position: relative;
}

.booking-section .section-title {
    color: var(--surface);
}

.booking-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-methods {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cm-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.cm-details {
    display: flex;
    flex-direction: column;
}

.cm-details span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.cm-details strong {
    font-size: 1.125rem;
    font-weight: 600;
}

.booking-form-wrapper {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    color: var(--text-main);
}

.form-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--secondary);
}

.booking-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booking-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary-light);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background: var(--surface-alt);
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
    background: var(--surface);
}

.booking-form select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 40px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.submit-btn {
    margin-top: 10px;
}

.submit-btn i {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.form-success {
    margin-top: 20px;
    padding: 24px;
    background: var(--grad-green);
    border-radius: 8px;
    text-align: center;
    color: var(--secondary);
}

.form-success.hidden {
    display: none;
}

.success-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-green);
    margin-bottom: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: var(--surface);
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-desc {
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--surface);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links i {
    width: 18px;
    height: 18px;
}

.footer-links-group h4,
.footer-newsletter h4 {
    color: var(--surface);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-newsletter p {
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--surface);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    padding: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.privacy-links {
    display: flex;
    gap: 20px;
}

.privacy-links a:hover {
    color: var(--surface);
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    
    .mobile-menu-btn { display: block; }
    
    /* Mobile Menu Active State */
    .mobile-menu-btn.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-btn.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        padding: 24px;
        box-shadow: var(--shadow-md);
        text-align: center;
        gap: 20px;
    }
    
    .header .nav-links.active a { color: var(--text-main); }
    
    .hero-title { font-size: 2.5rem; }
    .hero-stats { flex-direction: column; }
    
    .about-grid { grid-template-columns: 1fr; }
    .experience-badge { right: 20px; bottom: -20px; padding: 16px; }
    .experience-badge .years { font-size: 3rem; }
    
    .booking-grid { grid-template-columns: 1fr; }
    
    .form-group-row { grid-template-columns: 1fr; gap: 0; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
