/**
 * Custom Styles for Hotels Worldwide Theme
 * Modern, sleek design with gradients and smooth transitions
 */

/* ===========================
   Global Styles
   =========================== */

:root {
    --brand-gold: hsl(38, 45%, 60%);
    --brand-gold-dark: hsl(38, 55%, 50%);
    --brand-gold-light: hsl(40, 80%, 95%);
    --text-dark: hsl(30, 10%, 15%);
    --text-muted: hsl(30, 8%, 45%);
    --background: #ffffff;
    --background-secondary: #f8fafc;
    --border-color: #e2e8f0;
    --gradient-gold: linear-gradient(135deg, hsl(38, 45%, 60%) 0%, hsl(38, 55%, 50%) 100%);
    --gradient-hero: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    --shadow-elegant: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 4px 20px rgba(200, 160, 103, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --section-padding: 100px;
    --border-radius: 16px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}


/* ===========================
   Header & Navigation
   =========================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(45, 45, 45, 0.95);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.main-header.scrolled {
    background: rgba(45, 45, 45, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.wp-block-group.alignwide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo Styling */
.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo-icon i {
    font-size: 1.5rem;
    color: var(--brand-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation Styling */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    padding: 8px 0;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: var(--brand-gold);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gold);
    transition: width 0.3s ease;
}

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

.nav-button {
    background: var(--brand-gold);
    color: white !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(200, 160, 103, 0.3);
}

.nav-button:hover {
    background: var(--brand-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 160, 103, 0.4);
}

/* Mobile navigation */
@media (max-width: 768px) {
    .wp-block-group.alignwide {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* ===========================
   Buttons
   =========================== */

/* CTA Button Base Styles - Clean implementation */
.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--brand-gold);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--brand-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 160, 103, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--brand-gold) !important;
    border: 2px solid var(--brand-gold);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--brand-gold);
    color: white !important;
}

/* ===========================
   Hero Section
   =========================== */

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-aviation.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 100px 20px 40px;
}

.hero-section h1 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-section h2 {
    color: #F8F8F8;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.1;
}

.hero-section h2.has-accent-color {
    color: #D4AF37 !important;
    margin-bottom: 2rem;
}

.hero-section h3 {
    color: #F8F8F8;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Hero Divider */
.hero-divider {
    width: 60px;
    height: 2px;
    background: #D4AF37;
    margin: 0 auto 2rem;
    border-radius: 1px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
}

.cta-button.primary {
    background: #D4AF37;
    color: #2C2C2C;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin: 0;
}

.cta-button.primary:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #F8F8F8;
    border: 2px solid #D4AF37;
    padding: 13px 29px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    margin-left: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button.secondary:hover {
    background: #D4AF37;
    color: #2C2C2C;
    transform: translateY(-2px);
}

/* Clean button styling - no WordPress wrapper divs */

/* Scroll Indicator */
.scroll-indicator {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
    margin-top: 40px;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    margin-top: 8px;
    animation: scroll 2s infinite;
}

.scroll-arrow {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ===========================
   Section Styles
   =========================== */

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Alternate background sections */
.section-alt {
    background: var(--background-secondary);
}

/* ===========================
   Services Grid
   =========================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elegant);
    transition: var(--transition-smooth);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--brand-gold-light);
}

.service-icon {
    font-size: 3rem;
    color: var(--brand-gold);
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    height: 250px;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* ===========================
   How It Works Section
   =========================== */

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-gold);
}

.step-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-muted);
}

/* ===========================
   Benefits Section
   =========================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--brand-gold);
    transform: translateX(5px);
    box-shadow: var(--shadow-elegant);
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--brand-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--brand-gold-dark);
}

.benefit-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.benefit-content p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ===========================
   FAQ Section
   =========================== */

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--brand-gold);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--brand-gold);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--brand-gold);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===========================
   Integration Examples
   =========================== */

.integration-examples {
    margin-top: 60px;
}

.code-example {
    background: #1e293b;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.code-example pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-example code {
    color: #e2e8f0;
}

.code-label {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
    padding: 120px 20px;
    background: var(--brand-gold);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

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

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button.white {
    background: white;
    color: #2C2C2C;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.cta-button.white:hover {
    background: #f8f9fa;
    color: #2C2C2C;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* ===========================
   Features Showcase
   =========================== */

.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 80px;
    align-items: center;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

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

.feature-list li {
    padding: 15px 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--brand-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-visual {
    background: var(--brand-gold-light);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.feature-visual i {
    font-size: 8rem;
    color: var(--brand-gold);
}

/* ===========================
   Loading State
   =========================== */

.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero-section {
        padding: 80px 20px;
        min-height: 90vh;
    }

    .services-grid,
    .steps-container,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .features-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-card,
    .benefit-card {
        padding: 30px 20px;
    }

    .cta-section {
        padding: 80px 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .cta-button,
    .wp-block-button__link {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* ===========================
   Utility Classes
   =========================== */

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

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

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

/* ===========================
   Footer Styling
   =========================== */

/* Fix footer text colors - ensure white text on dark background */
.wp-block-group.has-background-color.has-text-background-color {
    color: white !important;
}

.wp-block-group.has-background-color.has-text-background-color h1,
.wp-block-group.has-background-color.has-text-background-color h2,
.wp-block-group.has-background-color.has-text-background-color h3,
.wp-block-group.has-background-color.has-text-background-color h4,
.wp-block-group.has-background-color.has-text-background-color h5,
.wp-block-group.has-background-color.has-text-background-color h6 {
    color: white !important;
}

.wp-block-group.has-background-color.has-text-background-color p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.wp-block-group.has-background-color.has-text-background-color ul {
    color: rgba(255, 255, 255, 0.8) !important;
}

.wp-block-group.has-background-color.has-text-background-color li {
    color: rgba(255, 255, 255, 0.8) !important;
}

.wp-block-group.has-background-color.has-text-background-color a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wp-block-group.has-background-color.has-text-background-color a:hover {
    color: var(--brand-gold) !important;
}

/* Footer separator styling */
.wp-block-separator.has-border-background-color {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

