* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core brand inspired by the Indian tricolour but kept soft for UI */
    --primary-color: #ff6b1a;   /* saffron accent */
    --primary-dark: #e45711;
    --accent-green: #1aaa6f;    /* India green accent */
    --accent-blue: #2563eb;

    --text-dark: #111827;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;

    /* Warm gradient with subtle Indian-sunset vibe */
    --gradient-start: #fff7ed;
    --gradient-end: #fef3c7;

    /* Shadow + radius tokens */
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
    --radius-lg: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    /* Mandala pattern background - save provided image as static/img/mandala-pattern.png */
    background-color: #f5e3cf;
    background-image: url("/static/img/mandala-pattern.png");
    background-size: 480px 480px;
    background-repeat: repeat;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center top;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 33%, #f093fb 66%, #667eea 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: width 0.25s ease-out;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: 0;
    box-shadow: none;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.9s ease-out;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    animation: fade-in-up 0.9s ease-out both;
}

.hero-badge {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-badge:hover {
    transform: scale(1.1);
    opacity: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.hero-title:hover {
    transform: scale(1.02);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    max-width: 700px;
    margin-bottom: 32px;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.hero-description:hover {
    transform: translateY(-3px);
    opacity: 1;
}

/* Hero pagination dots (like Viator) */
.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-dot.active {
    width: 18px;
    background: #ffffff;
    transform: translateY(-1px);
}

/* Hero search panel inspired by Viator */
.hero-search-panel {
    margin-top: 8px;
    background: var(--white);
    border-radius: 999px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.4);
    color: var(--text-dark);
}

.hero-search-field {
    padding: 10px 18px;
    border-radius: 999px;
    background: #f9fafb;
    min-width: 220px;
    text-align: left;
    cursor: pointer;
}

.hero-search-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    margin-bottom: 2px;
}

.hero-search-value {
    font-size: 14px;
    font-weight: 500;
}

.hero-search-button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-green);
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-search-button:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-green));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #15803d);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

/* Global subtle hover for primary actions */
.btn-generate,
.submit-btn,
.mode-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-generate:hover,
.submit-btn:hover,
.mode-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

/* Modern Feedback Section */
.feedback-section-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 48px 32px;
    margin-top: 48px;
    animation: fade-in-up 0.7s ease-out both;
}

.feedback-header {
    text-align: center;
    margin-bottom: 32px;
}

.feedback-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.feedback-subtitle {
    font-size: 15px;
    color: #64748b;
    font-weight: 400;
    margin: 0;
}

.feedback-buttons-modern {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.feedback-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.feedback-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.feedback-btn:hover::before {
    left: 100%;
}

.feedback-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.feedback-btn:hover .feedback-btn-icon {
    transform: scale(1.15) rotate(5deg);
}

.feedback-btn-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
}

.feedback-btn-positive {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.feedback-btn-positive:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.35);
}

.feedback-btn-positive:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.feedback-btn-negative {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.feedback-btn-negative:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.35);
}

.feedback-btn-negative:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

.feedback-btn-negative:hover .feedback-btn-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Responsive adjustments for feedback section */
@media (max-width: 768px) {
    .feedback-section-modern {
        padding: 36px 24px;
    }
    
    .feedback-title {
        font-size: 24px;
    }
    
    .feedback-buttons-modern {
        flex-direction: column;
        width: 100%;
    }
    
    .feedback-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section:hover .section-title::after {
    width: 80px;
}

.section-title:hover {
    transform: scale(1.05);
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 48px;
    transition: all 0.3s ease;
}

.section:hover .section-subtitle {
    transform: translateY(-3px);
    color: var(--text-dark);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
    padding: 0 32px;
}

.card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 2;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card:hover .card-image {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(0.8);
}

.card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top; /* keep tall subjects like monuments visible */
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.65);
}

.card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f9fafb;
    padding: 16px;
    text-shadow: 0 10px 25px rgba(15, 23, 42, 0.9);
    transition: all 0.4s ease;
    z-index: 1;
}

.card:hover .card-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.card:hover .card-title {
    transform: scale(1.1);
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.card-subtitle {
    font-size: 14px;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.card:hover .card-subtitle {
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Info strip bars between sections */
.info-strip {
    padding: 56px 16px;
    text-align: center;
    background: linear-gradient(135deg, #e1c3a1 0%, #d4a574 50%, #e1c3a1 100%);
    background-size: 200% 200%;
    border-top: 1px solid rgba(120, 63, 4, 0.25);
    border-bottom: 1px solid rgba(120, 63, 4, 0.25);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-strip::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.info-strip:hover::before {
    left: 100%;
}

.info-strip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.info-strip:hover::after {
    width: 300px;
    height: 300px;
}

.info-strip:hover {
    background-position: 100% 50%;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(90, 62, 43, 0.3);
}

.info-strip h3 {
    font-size: 24px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.info-strip:hover h3 {
    transform: scale(1.1);
    text-shadow: 2px 2px 8px rgba(90, 62, 43, 0.3);
    color: #4a3428;
    letter-spacing: 2px;
}

.info-strip p {
    font-size: 15px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.info-strip:hover p {
    transform: translateY(-3px);
    color: #5a3e2b;
}

/* Reviews Section */
.reviews-section {
    padding: 96px 0;
    background: #c9f3ea; /* richer teal tint so the band stands out more */
    transition: all 0.3s ease;
}

.reviews-section:hover {
    background: linear-gradient(135deg, #c9f3ea 0%, #a8e6d3 100%);
}

.reviews-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.reviews-section:hover .reviews-title {
    transform: scale(1.05);
    color: #0d9488;
}

.reviews-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d9488, #14b8a6);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.reviews-section:hover .reviews-title::after {
    width: 100px;
}

.reviews-subtitle {
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s ease;
}

.reviews-section:hover .reviews-subtitle {
    transform: translateY(-3px);
    color: var(--text-dark);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.star {
    color: #fbbf24;
    font-size: 24px;
}

.star.filled {
    color: #fbbf24;
}

.reviews-grid {
    display: flex;
    gap: 32px;
    margin-top: 8px;
    margin-bottom: 24px;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reviews-carousel {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 40px 24px;
}

.reviews-track {
    display: flex;
    gap: 32px;
    animation: reviewsCarousel 20s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes reviewsCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.reviews-grid.is-transitioning {
    opacity: 0;
    transform: translateY(12px);
}

.review-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    animation: fade-in-up 0.7s ease-out both;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* Stretch across full width: 3 tiles visible at a time */
    flex: 0 0 calc(33.333% - 21.33px);
    min-width: calc(33.333% - 21.33px);
    max-width: none;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.6s ease;
}

.review-card:hover::before {
    left: 100%;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--accent-green);
}

.review-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: inline-block;
}

.review-card:hover .review-title {
    transform: translateX(5px) scale(1.05);
    color: var(--accent-green);
}

.review-title::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--primary-color));
    border-radius: 1px;
    transition: width 0.4s ease;
}

.review-card:hover .review-title::after {
    width: 100%;
}

.review-text {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.review-card:hover .review-text {
    transform: translateX(3px);
    color: var(--text-dark);
}

.review-author {
    font-weight: 600;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.review-card:hover .review-author {
    transform: translateX(5px);
    color: var(--primary-color);
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.review-card:hover .review-stars {
    transform: translateX(3px) scale(1.1);
}

.review-stars .star {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.review-card:hover .review-stars .star {
    transform: scale(1.2) rotate(10deg);
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.review-card:hover .review-stars .star:nth-child(1) {
    transition-delay: 0s;
}

.review-card:hover .review-stars .star:nth-child(2) {
    transition-delay: 0.05s;
}

.review-card:hover .review-stars .star:nth-child(3) {
    transition-delay: 0.1s;
}

.review-card:hover .review-stars .star:nth-child(4) {
    transition-delay: 0.15s;
}

.review-card:hover .review-stars .star:nth-child(5) {
    transition-delay: 0.2s;
}

.review-date {
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.review-card:hover .review-date {
    transform: translateX(3px);
    color: var(--text-dark);
    font-weight: 500;
}

.reviews-note {
    text-align: center;
    color: var(--text-light);
    margin-top: 32px;
}

/* Footer */
.footer {
    background: radial-gradient(circle at top left, #111827, #020617);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-rating {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-rating .stars {
    margin-bottom: 4px;
}

.footer-rating small {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    transition: background 0.2s, transform 0.2s;
}

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

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright p {
    color: rgba(255,255,255,0.7);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Shared subtle animation utilities */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fade-in-up 0.75s ease-out both;
}

.delay-1 {
    animation-delay: 0.08s;
}
.delay-2 {
    animation-delay: 0.16s;
}
.delay-3 {
    animation-delay: 0.24s;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.autocomplete-dropdown.visible {
    display: block;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: var(--bg-light);
}

.autocomplete-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.autocomplete-location {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Header */
    .header .container {
        padding: 12px 16px;
        flex-wrap: wrap;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .nav {
        gap: 16px;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
        order: 3;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero {
        height: 500px;
        margin-bottom: 40px;
    }
    
    .hero-content {
        padding: 40px 24px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 16px;
        max-width: 100%;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-badge {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    /* Cards Grid */
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 0 16px;
        margin-top: 24px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-subtitle {
        font-size: 13px;
    }
    
    /* Info Strips */
    .info-strip {
        padding: 32px 24px;
        margin: 40px 0;
    }
    
    .info-strip h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .info-strip p {
        font-size: 15px;
    }
    
    /* Reviews */
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    /* Place Detail Page */
    .place-content {
        padding: 0 16px 40px;
    }
    
    .place-hero {
        height: 300px;
        margin-bottom: 32px;
        border-radius: 16px;
    }
    
    .place-title {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .place-location {
        font-size: 18px;
    }
    
    .content-card {
        padding: 24px;
        margin-bottom: 20px;
    }
    
    .content-card h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .things-list {
        padding-left: 20px;
    }
    
    /* Search Page */
    .search-page {
        padding: 24px 16px;
    }
    
    .search-container {
        padding: 32px 24px;
    }
    
    .search-title {
        font-size: 28px;
    }
    
    .search-subtitle {
        font-size: 15px;
    }
    
    /* Feedback Section */
    .feedback-section-modern {
        padding: 36px 24px;
    }
    
    .feedback-title {
        font-size: 24px;
    }
    
    .feedback-buttons-modern {
        flex-direction: column;
        width: 100%;
    }
    
    .feedback-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Mobile Devices (640px and below) */
@media (max-width: 640px) {
    /* Header */
    .header .container {
        padding: 10px 12px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .nav {
        gap: 12px;
        margin-top: 8px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 4px 0;
    }
    
    /* Hero Section */
    .hero {
        height: 400px;
        margin-bottom: 32px;
    }
    
    .hero-content {
        padding: 32px 16px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-badge {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .hero-dots {
        bottom: 16px;
        gap: 6px;
    }
    
    .hero-dot {
        width: 6px;
        height: 6px;
    }
    
    /* Sections */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }
    
    /* Cards Grid - Single Column on Mobile */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 12px;
        margin-top: 20px;
    }
    
    .card-image {
        height: 220px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-subtitle {
        font-size: 12px;
    }
    
    /* Info Strips */
    .info-strip {
        padding: 24px 16px;
        margin: 32px 0;
    }
    
    .info-strip h3 {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .info-strip p {
        font-size: 14px;
    }
    
    /* Reviews */
    .reviews-section {
        padding: 40px 0;
    }
    
    .reviews-grid {
        gap: 16px;
        padding: 0 12px;
    }
    
    .review-card {
        padding: 20px 16px;
    }
    
    .review-title {
        font-size: 18px;
    }
    
    .review-text {
        font-size: 14px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 24px;
    }
    
    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-column a {
        font-size: 14px;
    }
    
    /* Place Detail Page */
    .place-content {
        padding: 0 12px 32px;
    }
    
    .place-hero {
        height: 250px;
        margin-bottom: 24px;
        border-radius: 12px;
    }
    
    .place-title {
        font-size: 28px;
        margin-bottom: 8px;
    }
    
    .place-location {
        font-size: 16px;
    }
    
    .content-card {
        padding: 20px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .content-card h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .content-card p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .facts-grid {
        gap: 10px;
    }
    
    .fact-item {
        padding: 12px;
        font-size: 14px;
    }
    
    .things-list li {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    /* Search Page */
    .search-page {
        padding: 20px 12px;
    }
    
    .search-container {
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .search-title {
        font-size: 24px;
    }
    
    .search-subtitle {
        font-size: 14px;
    }
    
    .mode-toggle {
        gap: 8px;
        padding: 3px;
    }
    
    .mode-button {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .search-input {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .btn-generate {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Feedback Page */
    .feedback-page {
        padding: 20px 12px;
    }
    
    .feedback-form-container {
        padding: 24px 20px;
    }
    
    .feedback-header h1 {
        font-size: 24px;
    }
    
    .feedback-textarea {
        min-height: 120px;
        padding: 12px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .user-info {
        padding: 16px;
    }
    
    .user-info-label {
        min-width: 50px;
        font-size: 14px;
    }
    
    .user-info-value {
        font-size: 14px;
    }
    
    /* Feedback Section on Place Page */
    .feedback-section-modern {
        padding: 32px 20px;
    }
    
    .feedback-title {
        font-size: 22px;
    }
    
    .feedback-subtitle {
        font-size: 14px;
    }
    
    .feedback-btn {
        padding: 14px 24px;
        font-size: 15px;
        min-width: 140px;
    }
}

/* Extra Small Devices (480px and below) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .place-title {
        font-size: 24px;
    }
    
    .content-card h2 {
        font-size: 20px;
    }
    
    .search-title {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .card-image {
        height: 200px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 350px;
    }
    
    .place-hero {
        height: 280px;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.96) 0%, rgba(118, 75, 162, 0.96) 50%, rgba(240, 147, 251, 0.96) 100%);
    background-size: 200% 200%;
    backdrop-filter: blur(15px);
    z-index: 99999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeInOverlay 0.5s ease-in-out, gradientShift 8s ease infinite;
    pointer-events: all;
    overflow: hidden;
}

.loading-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay.active {
    display: flex !important;
}

.loading-content {
    text-align: center;
    color: white;
    max-width: 500px;
    padding: 40px;
}

.loading-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.85;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.loading-close:hover {
    opacity: 1;
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.loading-close:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.loading-spinner {
    width: 100px;
    height: 100px;
    margin: 0 auto 40px;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.loading-spinner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid transparent;
    border-top: 5px solid rgba(255, 255, 255, 0.9);
    border-right: 5px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: spinSmooth 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.loading-spinner::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid transparent;
    border-bottom: 4px solid rgba(255, 255, 255, 0.8);
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: spinSmoothReverse 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.loading-spinner {
    animation: floatSpinner 3s ease-in-out infinite;
}

@keyframes spinSmooth {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinSmoothReverse {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

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

.loading-text {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
    animation: textGlow 3s ease-in-out infinite, slideInText 0.6s ease-out;
    letter-spacing: 0.5px;
    position: relative;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.loading-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerText 3s ease-in-out infinite;
}

.loading-subtext {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.95;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.2);
    animation: fadeInOutSmooth 4s ease-in-out infinite, slideInSubtext 0.8s ease-out 0.2s both;
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease-in-out;
}

@keyframes textGlow {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.02);
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

@keyframes slideInText {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInSubtext {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@keyframes shimmerText {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes fadeInOutSmooth {
    0%, 100% {
        opacity: 0.85;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.loading-dots {
    display: inline-block;
    margin-left: 5px;
}

.loading-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    margin: 0 4px;
    animation: dotBounceSmooth 1.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.loading-dots span:nth-child(1) {
    animation-delay: 0s;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.25s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes dotBounceSmooth {
    0%, 80%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    }
    40% {
        transform: translateY(-12px) scale(1.3);
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    }
}

/* Responsive Loading Overlay */
@media (max-width: 768px) {
    .loading-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .loading-spinner {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .loading-spinner::after {
        width: 45px;
        height: 45px;
    }
    
    .loading-text {
        font-size: 22px;
        min-height: 35px;
    }
    
    .loading-subtext {
        font-size: 16px;
        min-height: 25px;
    }
}

