/* ============================================
   JETPRO TICKETS - PREMIUM DESIGN SYSTEM
   Mobile-First, Ultra-Modern, 2025 Standard
   ============================================ */

/* CSS Variables - Google Red Theme */
:root {
    /* Google Red Theme */
    --color-primary: #EA4335; /* Google Red - primary color */
    --color-primary-dark: #D23321; /* Darker red for hover */
    --color-primary-light: #F5CCCC; /* Light red for backgrounds */
    --color-secondary: #4285F4; /* Google Blue - secondary */
    --color-accent-green: #34A853; /* Google Green */
    --color-accent-yellow: #FBBC05; /* Google Yellow */
    --gradient-primary: linear-gradient(135deg, #EA4335, #D23321);
    --gradient-reverse: linear-gradient(135deg, #D23321, #EA4335);
    --color-text: #202124; /* Google text primary */
    --color-text-light: #5F6368; /* Google text secondary */
    --color-bg: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-border: #DADCE0; /* Google light border */
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-md: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --shadow-lg: 0 4px 8px 3px rgba(60,64,67,0.15), 0 8px 12px 4px rgba(60,64,67,0.1);
    --shadow-glow: 0 0 16px rgba(234, 67, 53, 0.4); /* Red glow */
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 70px;
    --spacing-xxl: 140px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    letter-spacing: 0.3px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition-fast);
    cursor: pointer;
    pointer-events: auto;
}

a:hover {
    color: var(--color-secondary);
}

a.btn {
    display: inline-block;
}

/* Premium Buttons */
.btn {
    display: inline-block;
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: 0.3px;
    text-transform: none;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    z-index: 1;
}

.btn-primary {
    background: white;
    color: #EA4335;
    box-shadow: var(--shadow-md);
    border: 2px solid #EA4335;
    transition: all 200ms ease;
}

.btn-primary:hover {
    background: #EA4335;
    color: white;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* Button subtle scale + color transition */
.btn { transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }

.btn:active { transform: translateY(-1px) scale(0.995); }

.btn-secondary {
    background: #EA4335;
    color: white;
    border: 2px solid #EA4335;
    transition: all 200ms ease;
}

.btn-secondary:hover {
    background: #D23321;
    color: white;
    border-color: #D23321;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* CTA Button - Google Red for important actions */
.btn-cta, .btn-danger {
    background: #EA4335;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all 200ms ease;
}

.btn-cta:hover, .btn-danger:hover {
    background: #D23321;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 20px rgba(234, 67, 53, 0.6);
    color: white;
}

/* Navigation - Glass Effect */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #EA4335;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #EA4335;
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
    pointer-events: auto;
    z-index: 1001;
    position: relative;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--spacing-xl) var(--spacing-md);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-md) 0;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(95, 133, 219, 0.05), rgba(144, 184, 248, 0.05));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(95, 133, 219, 0.15), transparent);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(144, 184, 248, 0.15), transparent);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(180deg); }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    margin-bottom: var(--spacing-md);
    color: #EA4335;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.hero-accent {
    width: 80px;
    height: 4px;
    background: #EA4335;
    margin: var(--spacing-md) auto;
    border-radius: 2px;
}

/* Glass CTA Box */
.glass-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: var(--spacing-xl);
}

/* Sections */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-md);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #EA4335;
    border-radius: 2px;
}

/* Cards - Premium Style */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #EA4335;
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 18px 60px rgba(16,24,40,0.12);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #EA4335;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

/* Service Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

/* Text-Focused Services Section */
.services-text-section {
    background: #FFFFFF;
    padding: var(--spacing-xl) var(--spacing-md);
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #DADCE0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 300ms ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    box-shadow: 0 12px 32px rgba(234, 67, 53, 0.15);
    transform: translateY(-6px);
    border-color: #EA4335;
}

.service-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #F8F9FA;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

.service-card-content {
    padding: var(--spacing-lg);
}

.service-card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #EA4335;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #5F6368;
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #EA4335;
    text-decoration: none;
    transition: all 200ms ease;
}

.service-link:hover {
    color: #D23321;
    gap: 12px;
}

.service-card {
    text-align: center;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

/* Image hover zoom for service images and generic images */
.service-card img, .testimonial-avatar img, .hero-slide img {
    transition: transform 350ms cubic-bezier(0.2,0.8,0.2,1), box-shadow 350ms;
}
.service-card img:hover, .testimonial-avatar img:hover, .hero-slide img:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 40px rgba(16,24,40,0.12);
}

.service-price {
    font-size: 2rem;
    font-weight: 800;
    color: #EA4335;
    margin: var(--spacing-md) 0;
}

/* Forms - Premium Style */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: white;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(95, 133, 219, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Testimonials Slider */
.testimonials {
    background: var(--color-bg-light);
    padding: var(--spacing-xl) var(--spacing-md);
}

.testimonial-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-text);
}

/* Testimonial compact card style overrides */
.testimonials-grid .testimonial-card { text-align: left; }
.testimonial-card { transition: transform 260ms ease, box-shadow 260ms ease; }

.testimonial-role {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Dashboard */
.dashboard-header {
    background: #EA4335;
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.booking-card {
    margin-bottom: var(--spacing-md);
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #FFF3CD; /* Google Yellow tint */
    color: #9C6C00;
}

.status-contacted {
    background: #E3F2FD; /* Google Blue tint */
    color: #1976D2;
}

.status-confirmed {
    background: #E8F5E9; /* Google Green tint */
    color: #2E7D32;
}

.status-cancelled {
    background: #FFEBEE; /* Google Red tint */
    color: #C62828;
}

/* Admin Panel */
.admin-sidebar {
    background: linear-gradient(180deg, #D23321, #EA4335);
    min-height: 100vh;
    padding: var(--spacing-lg);
    color: white;
    position: fixed;
    width: 250px;
    top: 0;
    left: 0;
}

.admin-content {
    margin-left: 250px;
    padding: var(--spacing-lg);
}

.admin-menu {
    list-style: none;
}

.admin-menu li {
    margin-bottom: var(--spacing-sm);
}

.admin-menu a {
    color: white;
    padding: var(--spacing-sm);
    display: block;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.admin-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.table th {
    background: var(--color-bg-light);
    font-weight: 600;
    color: var(--color-text);
}

.table tr:hover {
    background: var(--color-bg-light);
}

/* Mobile Bottom Booking Bar */
.mobile-booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: var(--spacing-md);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    display: none;
}

@media (max-width: 768px) {
    .mobile-booking-bar {
        display: block;
    }
    
    body {
        padding-bottom: 80px;
    }
}

/* Wave Dividers */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--color-bg-light);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* Responsive - Services List */
@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .service-card-image {
        height: 200px;
    }

    .service-card-content {
        padding: var(--spacing-md);
    }

    .service-card-content h3 {
        font-size: 1.2rem;
    }

    .service-card-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 180px;
    }

    .service-card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .service-card-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background: #E8F5E9; /* Google Green tint */
    color: #1B5E20;
    border: 1px solid #C8E6C9;
}

.alert-error {
    background: #FFEBEE; /* Google Red tint */
    color: #B71C1C;
    border: 1px solid #FFCDD2;
}

.alert-info {
    background: #E3F2FD; /* Google Blue tint */
    color: #0D47A1;
    border: 1px solid #BBDEFB;
}

/* Footer */
.footer {
    background: var(--color-text);
    color: white;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

/* Utility: icon color helpers (Font Awesome) */
.icon-primary { color: var(--color-primary); }
.icon-secondary { color: var(--color-secondary); }
.text-red { color: #EA4335; } /* Google Red accent */
.text-green { color: #34A853; } /* Google Green accent */
.text-yellow { color: #FBBC05; } /* Google Yellow accent */

/* Accessibility: reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #FBBC05; /* Google Yellow on hover */
}

/* Social icons hover effect */
.site-footer .social-icons a:hover {
    background: rgba(251, 188, 5, 0.3); /* Google Yellow tint */
    transform: translateY(-2px);
}

