/* ================================
   TIXBRO - MODERN EVENT BOOKING PLATFORM
   Complete Stylesheet with Dark Mode
   ================================ */

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

:root {
    /* Primary Brand Colors */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8C61;

    /* Secondary Colors */
    --gold: #FFB80C;
    --maroon: #8B1538;
    --teal: #00A896;

    /* Light Mode Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #F5F5F5;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --container-max-width: 1280px;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #111827;
    --bg-secondary: #1F2937;
    --bg-tertiary: #374151;
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-tertiary: #9CA3AF;
    --border-color: #374151;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-base), color var(--transition-base);
    overflow-x: hidden;
}

/* ====== Typography ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

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

/* ====== Container ====== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

/* ====== Buttons ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

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

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

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

.btn-outline:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ====== Navigation Bar ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
    transform: rotate(15deg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

@media (max-width: 968px) {
    .nav-center {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: var(--space-xl);
        transform: translateY(-100%);
        opacity: 0;
        transition: all var(--transition-base);
        pointer-events: none;
    }

    .nav-center.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-outline, .btn-primary {
        display: none;
    }
}

/* ====== Hero Section ====== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--maroon) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(139, 21, 56, 0.8) 100%),
        url('https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?w=1920') center/cover;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: var(--space-2xl);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    background: linear-gradient(135deg, var(--gold), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
}

/* Hero Search Bar */
.hero-search {
    display: flex;
    gap: var(--space-md);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: var(--text-secondary);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    color: var(--text-primary);
}

.search-input:focus {
    outline: none;
}

.search-btn {
    padding: 0.75rem 2rem;
    flex-shrink: 0;
}

/* Hero Category Chips */
.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.category-chip {
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.category-chip:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@media (max-width: 768px) {
    .hero-search {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }
}

/* ====== Section Styles ====== */
.section {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.125rem);
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.view-all-link:hover {
    gap: 0.75rem;
}

/* ====== Event Cards & Carousels ====== */
.events-carousel {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: var(--space-md);
    -webkit-overflow-scrolling: touch;
}

.events-carousel::-webkit-scrollbar {
    height: 8px;
}

.events-carousel::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
}

.events-carousel::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

.event-card {
    flex: 0 0 320px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    scroll-snap-align: start;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.event-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-badge.trending {
    background: linear-gradient(135deg, #FF6B35, #FF8C61);
}

.event-badge.new {
    background: linear-gradient(135deg, var(--gold), #FFD700);
}

.event-content {
    padding: var(--space-lg);
}

.event-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.event-category.concerts { background: linear-gradient(135deg, #667EEA, #764BA2); }
.event-category.sports { background: linear-gradient(135deg, #F093FB, #F5576C); }
.event-category.theatre { background: linear-gradient(135deg, #4FACFE, #00F2FE); }
.event-category.college-fest { background: linear-gradient(135deg, #43E97B, #38F9D7); }
.event-category.turf { background: linear-gradient(135deg, #FA709A, #FEE140); }

.event-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

.event-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.event-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ====== Service Cards Grid ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary);
}

.service-card.featured .service-title,
.service-card.featured .service-description {
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.service-card.featured .service-link {
    color: white;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ====== Features Grid ====== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ====== Stats Section ====== */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--maroon));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-xl);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, white, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* ====== Cities Grid ====== */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.city-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.city-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.city-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.city-card:hover .city-image {
    transform: scale(1.1);
}

.city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    color: white;
}

.city-name {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.city-events {
    font-size: 1rem;
    opacity: 0.9;
}

/* ====== Artists Grid ====== */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--space-xl);
}

.artist-bubble {
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.artist-bubble:hover {
    transform: translateY(-8px);
}

.artist-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    object-fit: cover;
    margin: 0 auto var(--space-md);
    border: 4px solid var(--primary);
    transition: all var(--transition-base);
}

.artist-bubble:hover .artist-image {
    border-color: var(--gold);
    box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.2);
}

.artist-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* ====== Trending Categories Grid ====== */
.trending-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.trending-category-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.trending-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.trending-category-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.trending-category-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.trending-category-count {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ====== How It Works Section ====== */
.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 280px;
    position: relative;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 2rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
}

@media (max-width: 968px) {
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* ====== Testimonials ====== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    color: var(--gold);
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-location {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ====== Partners Section ====== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-2xl);
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.partner-logo img {
    max-width: 120px;
    height: auto;
}

/* ====== Blog Cards ====== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.blog-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: var(--space-xl);
}

.blog-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: var(--space-lg);
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ====== App CTA Section ====== */
.app-cta-section {
    background: linear-gradient(135deg, var(--primary), var(--maroon));
    color: white;
}

.app-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.app-cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.app-cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.app-cta-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.app-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.125rem;
}

.app-feature i {
    color: var(--gold);
    font-size: 1.5rem;
}

.app-download-buttons {
    display: flex;
    gap: var(--space-lg);
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    color: white;
    transition: all var(--transition-base);
}

.app-download-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
}

.app-download-btn i {
    font-size: 2rem;
}

.app-download-btn div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 0.75rem;
    opacity: 0.9;
}

.download-store {
    font-size: 1.125rem;
    font-weight: 600;
}

.app-mockup {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .app-cta-content {
        grid-template-columns: 1fr;
    }

    .app-download-buttons {
        flex-direction: column;
    }
}

/* ====== FAQ Section ====== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-xl);
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-base);
}

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

.faq-question i {
    transition: transform var(--transition-base);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

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

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ====== Newsletter Section ====== */
.newsletter-section {
    background: var(--bg-secondary);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-md);
}

.newsletter-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
}

.phone-input-wrapper {
    flex: 1;
    display: flex;
    gap: 0;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    background: var(--bg-primary);
    transition: all var(--transition-base);
    overflow: hidden;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary);
}

.country-code {
    padding: 1rem 0.75rem;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
    outline: none;
}

.phone-input {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.newsletter-btn {
    flex-shrink: 0;
    gap: 0.5rem;
    min-width: 200px;
    padding: 1rem 2rem;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 600;
}

.newsletter-btn i {
    font-size: 1.25rem;
}

.newsletter-privacy {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.newsletter-privacy i {
    color: var(--success);
    margin-right: 0.25rem;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .newsletter-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        min-width: auto;
        font-size: 1rem;
        justify-content: center;
        min-height: 56px;
    }

    .newsletter-btn i {
        font-size: 1.5rem;
    }

    .phone-input-wrapper {
        width: 100%;
    }

    .newsletter-title {
        font-size: 1.75rem;
    }

    .newsletter-subtitle {
        font-size: 0.9375rem;
    }
}

/* ====== Footer ====== */
.footer {
    background: var(--bg-secondary);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

.social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.social-link.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-4px) scale(1.05);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.payment-methods {
    display: flex;
    gap: var(--space-lg);
    font-size: 1.5rem;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }
}

/* ====== Back to Top Button ====== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--primary-dark);
}

/* ====== Utility Classes ====== */
.text-center { text-align: center; }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

/* ====== Loading State ====== */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ====== Responsive Adjustments ====== */
@media (max-width: 1024px) {
    :root {
        --space-3xl: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 2rem;
        --space-2xl: 1.5rem;
    }
}

@media (max-width: 576px) {
    :root {
        --space-3xl: 1.5rem;
        --space-2xl: 1rem;
        --space-xl: 0.875rem;
        --space-lg: 0.75rem;
    }

    /* Make grids 2 columns for more compact mobile layout */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .service-card {
        padding: var(--space-lg);
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-title {
        font-size: 0.875rem;
    }

    .service-description {
        font-size: 0.75rem;
        display: none; /* Hide descriptions on mobile to save space */
    }

    /* Event cards - 2 cards side by side */
    .events-carousel {
        gap: var(--space-md);
    }

    .event-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
    }

    .event-title {
        font-size: 0.875rem;
    }

    .event-meta {
        font-size: 0.7rem;
    }

    /* Features grid - 2 columns */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .feature-card {
        padding: var(--space-lg);
    }

    .feature-icon {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 0.875rem;
    }

    .feature-description {
        font-size: 0.75rem;
    }

    /* Stats - 2 columns instead of 4 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Cities grid - 2 columns */
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .city-name {
        font-size: 0.875rem;
    }

    .city-events {
        font-size: 0.75rem;
    }

    /* Artists grid - 4 columns */
    .artists-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }

    .artist-bubble {
        width: 100%;
    }

    .artist-image {
        width: 70px;
        height: 70px;
    }

    .artist-name {
        font-size: 0.75rem;
    }

    /* Trending Categories - 2 columns */
    .trending-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .trending-category-card {
        padding: var(--space-lg);
    }

    .trending-category-icon {
        font-size: 2rem;
    }

    .trending-category-title {
        font-size: 0.875rem;
    }

    /* How it works - keep vertical on mobile, but compact */
    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        display: none;
    }

    .step-card {
        padding: var(--space-lg);
    }

    /* Testimonials - keep 1 column (too much text for 2) */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Blog grid - 1 column (images need width) */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* FAQ - compact */
    .faq-question {
        padding: var(--space-md);
        font-size: 0.875rem;
    }

    .faq-answer {
        padding: var(--space-md);
        font-size: 0.8rem;
    }

    /* Section headers - compact */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    /* Hero section - compact */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-categories {
        gap: 0.5rem;
    }

    .category-chip {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Reduce section padding */
    .section {
        padding: var(--space-2xl) 0;
    }
}

/* ====== ENHANCEMENTS - Hero & Newsletter ====== */

/* Hero Overlay - Stronger for better text visibility */
.hero-overlay-strong {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(102, 126, 234, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Hero Title - Vibrant like Tixbro Logo */
.hero-title-vibrant {
    background: linear-gradient(135deg, #667eea 0%, #f59e0b 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 4.5rem !important;
    font-weight: 900 !important;
    letter-spacing: -2px !important;
    text-shadow: none !important;
}

.hero-highlight-line {
    display: block;
    line-height: 1.1;
}

/* Hero Subtitle - Vibrant */
.hero-subtitle-vibrant {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8) !important;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: inline-block;
    margin-top: 1.5rem;
}

/* Newsletter Country Code - Compact */
.country-code-compact {
    flex-shrink: 1 !important;
    min-width: 120px !important;
    max-width: 140px !important;
    font-size: 0.875rem !important;
    padding: 0.875rem 0.75rem !important;
}

/* Newsletter Button - Larger */
.newsletter-btn-large {
    flex-shrink: 0 !important;
    min-width: 220px !important;
    padding: 1.25rem 2.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    gap: 0.75rem !important;
}

.newsletter-btn-large i {
    font-size: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title-vibrant {
        font-size: 2.5rem !important;
        letter-spacing: -1px !important;
    }

    .hero-subtitle-vibrant {
        font-size: 1.125rem !important;
        padding: 0.5rem 1rem;
    }

    .newsletter-btn-large {
        width: 100%;
        min-width: unset;
        padding: 1.125rem 2rem !important;
        font-size: 1rem !important;
    }

    .country-code-compact {
        max-width: 110px !important;
        font-size: 0.8125rem !important;
        padding: 0.875rem 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero-title-vibrant {
        font-size: 1.875rem !important;
    }

    .hero-subtitle-vibrant {
        font-size: 1rem !important;
    }

    .newsletter-btn-large {
        padding: 1rem 1.5rem !important;
        min-height: 60px;
    }

    .country-code-compact {
        font-size: 0.75rem !important;
    }
}

/* ====== Language Switcher in Navbar ====== */
.language-switcher-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.language-switcher-nav .lang-btn {
    padding: 0.5rem 0.875rem;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.language-switcher-nav .lang-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.language-switcher-nav .lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Mobile responsive */
@media (max-width: 968px) {
    .language-switcher-nav {
        margin-right: 0.5rem;
    }
    
    .language-switcher-nav .lang-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 768px) {
    .language-switcher-nav {
        position: absolute;
        top: 1rem;
        right: 4.5rem;
        gap: 0.375rem;
    }
    
    .language-switcher-nav .lang-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.75rem;
    }
}

/* ====== Hero Text - Darker for Better Readability ====== */
.hero-title,
.hero-subtitle {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9),
                 0 0 20px rgba(0, 0, 0, 0.8),
                 0 0 30px rgba(0, 0, 0, 0.7) !important;
}

.hero-title {
    color: rgba(255, 255, 255, 0.98) !important;
    font-weight: 800 !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    display: inline-block;
    margin-top: 1rem;
}

.hero-highlight {
    color: rgba(255, 255, 255, 1) !important;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 1),
                 0 0 25px rgba(0, 0, 0, 0.9) !important;
}

/* ====== Hero Text - White & Clean ====== */
.hero-title,
.hero-highlight {
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
}

.hero-subtitle {
    background: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    margin-top: 1.5rem !important;
}

/* ====== Search Field Text Color Fix ====== */
.search-input,
.hero-search input {
    color: #000000 !important;
}

.search-input::placeholder,
.hero-search input::placeholder {
    color: #666666 !important;
}

/* Ensure search input background is light */
.hero-search input {
    background-color: #ffffff !important;
}
