/* home.css - Optimized Home Page Styles */
/* ============================================
   COMBINED HERO + MODERN SECTIONS
   Light/Dark Mode Compatible
   Optimized for 2-Card Layout
   ============================================ */

/* ============================================
   CSS VARIABLES - Light & Dark Mode Support
   ============================================ */
:root {
    /* Light Mode (Default) */
    --gold: #E09F3E;
    --gold-dark: #c4872e;
    --gold-light: #f0b454;
    --deep-brown: #2D1810;
    --warm-brown: #8B4513;

    /* Dynamic Colors (change with theme) */
    --bg-section: #FAF8F5;
    --bg-alt: #F5F1EB;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --card-bg: #ffffff;
    --overlay-light: rgba(255, 255, 255, 0.95);
}

/* Dark Mode — Indigo Cosmos */
[data-theme="dark"] {
    --bg-section: #050510;
    --bg-alt: #0a0a1a;
    --text-primary: #eaeaea;
    --text-secondary: #b0b0c0;
    --card-bg: rgba(15, 15, 35, 0.65);
    --overlay-light: rgba(10, 10, 25, 0.95);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

/* Background image layer */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    transform: scale(1.1);
    will-change: transform;
}

/* Gradient overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(45, 24, 16, 0.92) 0%,
            rgba(139, 69, 19, 0.85) 30%,
            rgba(78, 35, 31, 0.8) 60%,
            rgba(45, 24, 16, 0.9) 100%);
    z-index: 1;
    opacity: 0.6;
}

/* Subtle texture overlay */
.hero-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 2;
    pointer-events: none;
}

/* Decorative floating elements */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.decoration {
    position: absolute;
    color: rgba(224, 159, 62, 0.15);
    will-change: transform;
}

.decoration svg {
    width: 100%;
    height: 100%;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    right: -5%;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -3%;
}

.decoration-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    color: rgba(255, 255, 255, 0.08);
}

.decoration-4 {
    width: 250px;
    height: 250px;
    bottom: 5%;
    right: 15%;
    color: rgba(255, 255, 255, 0.06);
}

/* Floating particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(224, 159, 62, 0.4);
    border-radius: 50%;
    will-change: margin-left, margin-top;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
}

.particle:nth-child(2) {
    left: 25%;
    top: 60%;
    width: 3px;
    height: 3px;
}

.particle:nth-child(3) {
    left: 40%;
    top: 30%;
    background: rgba(255, 255, 255, 0.3);
}

.particle:nth-child(4) {
    left: 55%;
    top: 70%;
    width: 5px;
    height: 5px;
}

.particle:nth-child(5) {
    left: 70%;
    top: 25%;
}

.particle:nth-child(6) {
    left: 85%;
    top: 55%;
    background: rgba(255, 255, 255, 0.25);
}

.particle:nth-child(7) {
    left: 15%;
    top: 80%;
    width: 3px;
    height: 3px;
}

.particle:nth-child(8) {
    left: 90%;
    top: 15%;
}

/* Corner accent shapes */
.hero-corner {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.hero-corner-tl {
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(224, 159, 62, 0.2) 0%, transparent 60%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.hero-corner-br {
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: linear-gradient(315deg, rgba(224, 159, 62, 0.15) 0%, transparent 60%);
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.hero-content-wrapper {
    will-change: opacity, transform;
}

/* Hero tagline */
.hero-tagline {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    /* color: rgba(224, 159, 62, 0.9); */
    color: rgb(255, 255, 255);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(224, 159, 62, 0.3);
    border-radius: 30px;
    /* background: rgba(224, 159, 62, 0.1); */
    /* background: rgba(224, 94, 62, 0.39); */
    background: #e09f3e7a;
    backdrop-filter: blur(5px);
}

/* Hero title */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: 1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .text-accent {
    color: #E09F3E;
    position: relative;
}

.hero-title .text-accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E09F3E, rgba(224, 159, 62, 0.3));
    border-radius: 2px;
}

/* Hero subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.hero-btn::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.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #E09F3E 0%, #c4872e 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(224, 159, 62, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(224, 159, 62, 0.5);
    color: white;
}

.hero-btn-primary .btn-icon {
    transition: transform 0.3s ease;
}

.hero-btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-4px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    transition: opacity 0.3s ease;
}

.scroll-text {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
}

.scroll-arrow i {
    color: rgba(224, 159, 62, 0.8);
    font-size: 0.75rem;
}

/* ============================================
   MODERN SECTIONS - Base Styles
   ============================================ */

.modern-section {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Center the content within sections */
.modern-section .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Section Backgrounds */
.sites-section {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-alt) 100%);
}

.food-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-section) 100%);
}

.events-section {
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--bg-alt) 100%);
}

.souvenirs-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-section) 100%);
}

/* ============================================
   SECTION CONTENT - Typography & Layout
   ============================================ */

.section-content {
    padding: 80px 40px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-content.revealed,
.section-content[data-reveal="left"].revealed,
.section-content[data-reveal="right"].revealed {
    opacity: 1;
    transform: translateX(0);
}

.section-content[data-reveal="right"] {
    transform: translateX(50px);
}

.content-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 2px solid var(--gold);
    border-radius: 30px;
    background: rgba(224, 159, 62, 0.05);
}

.content-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.title-highlight {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(90deg, rgba(224, 159, 62, 0.3), rgba(224, 159, 62, 0.1));
    z-index: -1;
    border-radius: 4px;
}

.content-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
    font-weight: 400;
}

.content-features {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.content-features li {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.content-features i {
    color: var(--gold);
    font-size: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.content-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gold);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(224, 159, 62, 0.3);
    position: relative;
    overflow: hidden;
}

.content-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;
}

.content-btn:hover::before {
    left: 100%;
}

.content-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(224, 159, 62, 0.4);
    color: white;
}

.content-btn i {
    transition: transform 0.3s ease;
}

.content-btn:hover i {
    transform: translateX(5px);
}

/* ============================================
   PREVIEW CARDS - STYLISH VERTICAL LAYOUT
   Image on Top, Content at Bottom
   ============================================ */

.preview-cards {
    position: relative;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.preview-cards.revealed,
.preview-cards[data-reveal="right"].revealed,
.preview-cards[data-reveal="left"].revealed {
    opacity: 1;
    transform: translateX(0);
}

.preview-cards[data-reveal="left"] {
    transform: translateX(-50px);
}

/* Cards Grid - 2 Column Layout
   align-items: start is critical — ensures both cards in a row
   always anchor from the TOP edge, not stretched or centred. */
.cards-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 600px;
    align-items: start;
}

/* Vertical Card - Image Top, Content Bottom */
.preview-card.vertical-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    background: var(--card-bg);
    will-change: transform;
    height: 380px;
    align-self: start;
    /* Don't stretch in the grid cell — keep fixed height intact */
}

.preview-card.vertical-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Card Image Wrapper - Top Section
   Fixed height container with overflow: hidden ensures all images
   are cropped uniformly regardless of their original aspect ratio. */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    /* Fixed height — all four sections share this */
    overflow: hidden;
    flex-shrink: 0;
    /* Prevents wrapper from collapsing in flex context */
    border-radius: 0;
    /* Corners handled by parent .preview-card */
}

.card-image {
    display: block;
    /* Eliminates inline baseline gap */
    width: 100%;
    height: 100%;
    overflow: hidden;
    line-height: 0;
    /* Extra guard against whitespace gap */
}

.card-image img {
    display: block;
    /* Removes bottom whitespace caused by inline default */
    width: 100%;
    height: 100%;
    /* Fill the fixed-height wrapper */
    object-fit: cover;
    /* Crop to fill — no stretching, no empty space */
    object-position: center center;
    /* Always centre the focal point */
    transition: transform 0.6s ease;
    will-change: transform;
}

.preview-card.vertical-card:hover .card-image img {
    transform: scale(1.12);
}

/* Dark Overlay on Image */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.3) 100%);
    transition: background 0.3s ease;
}

.preview-card.vertical-card:hover .card-overlay {
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.4) 100%);
}

/* Hover Arrow Icon */
.card-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(224, 159, 62, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
}

.card-icon i {
    color: white;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.preview-card.vertical-card:hover .card-icon {
    opacity: 1;
    transform: scale(1);
}

.preview-card.vertical-card:hover .card-icon i {
    transform: translateX(3px);
}

/* Card Content - Bottom Section */
.card-content {
    padding: 20px;
    background: var(--card-bg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Card Category Badge */
.card-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    margin-bottom: 10px;
    padding: 5px 12px;
    background: rgba(224, 159, 62, 0.1);
    border-radius: 20px;
    width: fit-content;
}

.card-category i {
    font-size: 10px;
}

/* Card Title */
.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.preview-card.vertical-card:hover .card-title {
    color: var(--gold);
}

/* Card Location */
.card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: auto;
}

.card-location i {
    color: var(--gold);
    font-size: 12px;
}

/* ============================================
   FLOATING BADGES
   ============================================ */

.floating-badge,
.floating-badge1 {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--overlay-light);
    backdrop-filter: blur(20px);
    padding: 18px 28px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.floating-badge i,
.floating-badge1 i {
    font-size: 22px;
}

.badge-sites i {
    color: #667eea;
}

.badge-food i {
    color: #f5576c;
}

.badge-events i {
    color: #00f2fe;
}

.badge-souvenirs i {
    color: #38f9d7;
}

.badge-text {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* ============================================
   FEATURED SECTION
   ============================================ */

.featured-today {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--deep-brown) 0%, var(--warm-brown) 100%);
    position: relative;
    overflow: hidden;
}

.featured-today::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.featured-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.featured-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: white;
    margin-top: 15px;
    font-weight: 700;
}

.featured-today .content-tag {
    color: var(--gold-light);
    border-color: var(--gold-light);
    background: rgba(224, 159, 62, 0.15);
}

.featured-card-large {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 600px;
    opacity: 0;
    transform: translateY(50px);
}

.featured-card-large.revealed,
.featured-card-large[data-reveal="up"].revealed {
    opacity: 1;
    transform: translateY(0);
}

.featured-card-large a {
    display: block;
    height: 100%;
    text-decoration: none;
}

.featured-card-large:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-card-large:hover .featured-image img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px;
    z-index: 10;
    color: white;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224, 159, 62, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
}

.featured-badge i {
    color: white;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-light);
    transition: all 0.3s ease;
}

.featured-card-large:hover .featured-cta {
    gap: 20px;
    color: white;
}

.featured-cta i {
    transition: transform 0.3s ease;
}

.featured-card-large:hover .featured-cta i {
    transform: translateX(5px);
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    padding: 150px 0;
    background: linear-gradient(135deg, var(--deep-brown) 0%, #1a0f0a 100%);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(224, 159, 62, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(224, 159, 62, 0.08) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-content.revealed,
.cta-content[data-reveal="up"].revealed {
    opacity: 1;
    transform: translateY(0);
}

.tag-light {
    color: var(--gold-light);
    border-color: var(--gold-light);
    background: rgba(224, 159, 62, 0.1);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    color: white;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.text-gold {
    color: var(--gold-light);
    display: inline-block;
}

.cta-subtitle {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 60px;
    font-weight: 300;
}

.cta-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 22px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 60px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    box-shadow: 0 15px 50px rgba(224, 159, 62, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cta-btn-main::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.6s ease;
}

.cta-btn-main:hover::before {
    left: 100%;
}

.cta-btn-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(224, 159, 62, 0.5);
    color: white;
}

.cta-btn-main i {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.cta-btn-main:hover i {
    transform: rotate(45deg) scale(1.1);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

[data-reveal] {
    opacity: 0;
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

[data-reveal="up"] {
    transform: translateY(50px);
}

[data-reveal].revealed {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1199.98px) {
    .section-content {
        padding: 60px 50px;
    }

    .preview-cards {
        padding: 60px 40px;
    }

    .content-title {
        font-size: 3.5rem;
    }

    .content-description {
        font-size: 1.15rem;
    }

    .cards-grid {
        max-width: 550px;
    }

    .preview-card.vertical-card {
        height: 360px;
    }

    .card-image-wrapper {
        height: 220px;
    }
}

@media (max-width: 991.98px) {
    .modern-section {
        min-height: auto;
    }

    .section-content {
        padding: 80px 30px;
    }

    .preview-cards {
        padding: 60px 30px;
        min-height: 60vh;
    }

    .content-title {
        font-size: 3rem;
    }

    .content-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .cards-grid {
        max-width: 500px;
    }

    .preview-card.vertical-card {
        height: 340px;
    }

    .card-image-wrapper {
        height: 200px;
    }

    .floating-badge,
    .floating-badge1 {
        top: 20px;
        padding: 15px 20px;
    }

    .floating-badge i,
    .floating-badge1 i {
        font-size: 20px;
    }

    .badge-text {
        font-size: 12px;
    }

    .featured-card-large {
        height: 500px;
    }

    .featured-content {
        padding: 40px;
    }
}

@media (max-width: 767.98px) {

    .section-content,
    .preview-cards {
        padding: 60px 20px;
        transform: none !important;
        opacity: 1 !important;
    }

    .preview-cards {
        min-height: 50vh;
    }

    .content-tag {
        font-size: 11px;
        letter-spacing: 2px;
        padding: 6px 16px;
    }

    .content-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .title-highlight::after {
        height: 8px;
        bottom: 4px;
    }

    .content-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.7;
    }

    .content-features li {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .content-features i {
        font-size: 18px;
    }

    .content-btn {
        padding: 16px 35px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    /* Mobile: Stack cards vertically, one per row */
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }

    .preview-card.vertical-card {
        height: 380px;
        max-width: 380px;
        margin: 0 auto;
        width: 100%;
    }

    .card-image-wrapper {
        height: 220px;
        min-height: 220px;
        flex-shrink: 0;
    }

    .card-content {
        padding: 18px;
        height: 160px;
        min-height: 160px;
        flex: none;
        display: flex;
        flex-direction: column;
    }

    .card-title {
        font-size: 1.05rem;
        min-height: 2.9em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-location {
        font-size: 0.8rem;
    }

    .floating-badge,
    .floating-badge1 {
        top: 15px;
        padding: 12px 16px;
    }

    .floating-badge i,
    .floating-badge1 i {
        font-size: 18px;
    }

    .badge-text {
        font-size: 11px;
    }

    /* Featured Section */
    .featured-today {
        padding: 80px 0;
    }

    .featured-main-title {
        font-size: 2.5rem;
    }

    .featured-card-large {
        height: 400px;
        border-radius: 20px;
    }

    .featured-content {
        padding: 30px 25px;
    }

    .featured-badge {
        padding: 8px 16px;
        font-size: 12px;
    }

    .featured-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .featured-cta {
        font-size: 1.05rem;
    }

    /* Final CTA */
    .final-cta {
        padding: 100px 0;
    }

    .cta-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .cta-btn-main {
        padding: 18px 40px;
        font-size: 1.05rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .content-title {
        font-size: 2rem;
    }

    .cta-title,
    .featured-main-title {
        font-size: 2rem;
    }

    .preview-card.vertical-card {
        height: 360px;
        max-width: 100%;
        width: 100%;
    }

    .card-image-wrapper {
        height: 200px;
        min-height: 200px;
        flex-shrink: 0;
    }

    .card-content {
        height: 160px;
        min-height: 160px;
        flex: none;
    }

    .card-title {
        font-size: 1rem;
        min-height: 2.8em;
    }
}

/* ============================================
   DARK MODE \u2014 Indigo Cosmos card glass effect
   ============================================ */
[data-theme="dark"] .preview-card.vertical-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.08);
}

[data-theme="dark"] .preview-card.vertical-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .card-body-content {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

[data-theme="dark"] .featured-card-large {
    border: 1px solid rgba(99, 102, 241, 0.08);
}

[data-theme="dark"] .featured-card-large:hover {
    border-color: rgba(99, 102, 241, 0.2);
}

/* ============================================
   ACCESSIBILITY & PERFORMANCE
   ============================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal],
    .hero-content-wrapper {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-bg-image {
        transform: scale(1) !important;
    }
}

@media (prefers-contrast: high) {

    .content-tag,
    .floating-badge,
    .floating-badge1 {
        border-width: 3px;
    }

    .content-btn,
    .cta-btn-main {
        border: 2px solid white;
    }
}

/* Smooth scrolling is set globally in base.css */

/* ============================================
   CARD & IMAGE ALIGNMENT OVERRIDE — v2
   Guarantees uniform card + image rendering
   across Heritage, Food, Events, Souvenirs.
   ============================================ */

/* Force BOTH cards to start at the exact same vertical position */
.modern-section .cards-grid {
    align-items: start !important;
}

/* Lock card to exactly 380px — no grow, no shrink, no overflow */
.modern-section .preview-card.vertical-card {
    height: 380px !important;
    min-height: 380px !important;
    max-height: 380px !important;
    overflow: hidden !important;
    align-self: start !important;
}

/* Lock image wrapper to exactly 240px — never collapse, never grow */
.modern-section .card-image-wrapper {
    height: 240px !important;
    min-height: 240px !important;
    max-height: 240px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
}

/* Inner image div fills wrapper completely */
.modern-section .card-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    line-height: 0 !important;
    position: relative !important;
}

/* Image: fill, crop from center, never distort */
.modern-section .card-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    border-radius: 0 !important;
}

.img-top {
    object-position: center top !important;
}

.img-bottom {
    object-position: center bottom !important;
}

/* Card content area: take remaining space, clip overflow text */
.modern-section .card-content {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow: hidden !important;
}