/* =============== ROOT VARIABLES =============== */
:root {
    --background: hsl(210, 40%, 98%); /* Almost white with a blue tint */
    --foreground: hsl(215, 25%, 27%); /* Dark grayish blue for text */
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 27%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(215, 25%, 27%);
    --primary: hsl(204, 90%, 53%); /* Bright blue */
    --primary-foreground: hsl(210, 40%, 98%);
    --secondary: hsl(210, 40%, 96.1%);
    --secondary-foreground: hsl(215, 28%, 17%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215, 20%, 65%);
    --accent: hsl(210, 40%, 96.1%);
    --accent-foreground: hsl(215, 28%, 17%);
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --success: hsl(120, 61%, 50%);
    --border: hsl(214, 32%, 91%);
    --input: hsl(214, 32%, 91%);
    --ring: hsl(204, 90%, 53%);
    --radius: 0.5rem;
    --radius-full: 9999px;
}

/* =============== GENERAL & RESET STYLES =============== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: var(--border);
}

html {
    /* Reverted to default by removing width and overflow properties */
    font-display: swap; /* Improve font loading performance */
}

body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-attachment: fixed;
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    font-display: swap;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" width="60" height="60"><circle cx="30" cy="30" r="1.5" fill="rgba(59,130,246,0.05)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

main {
    flex: 1 0 auto; /* Let it grow */
    position: relative;
    z-index: 1;
    margin-top: 4rem; /* Adjust based on navbar height */
}

.container {
    width: 100%;
    max-width: 1200px; /* Re-introducing max-width for a better desktop experience */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hidden {
    display: none !important;
}

/* =============== BUTTONS =============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px; /* Pill shape */
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
}


/* =============== MODERN NAVBAR =============== */
#navbar,
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 1rem 0;
    position: fixed; /* Change to fixed for better scroll behavior */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000; /* Higher z-index to ensure it stays above other content */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    will-change: transform, opacity;
}

/* Navbar scroll behavior */
#navbar.nav-hidden {
    transform: translateY(-100%);
}

#navbar.nav-condensed {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 10px -1px rgba(0, 0, 0, 0.1);
}

#navbar .container,
.navbar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
}

.nav-logo,
.nav-brand {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1001; /* Keep logo above mobile menu */
}

.nav-logo:hover,
.nav-brand:hover {
    transform: translateY(-2px);
}

.nav-logo .logo-main,
.nav-brand .brand-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-logo a,
.nav-brand a,
.brand-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links-container {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s;
}

.nav-links a:hover {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(147, 197, 253, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a.active {
    color: var(--primary-foreground);
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.nav-links a.active::before {
    display: none;
}

/* Modern Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Keep hamburger above mobile menu */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hamburger-menu:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 197, 253, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

.hamburger-line {
    width: 1.5rem;
    height: 0.2rem;
    background: linear-gradient(90deg, var(--primary) 0%, #4f46e5 100%);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    margin: 0.15rem 0;
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    #navbar .container,
    .navbar .nav-container {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .nav-logo .logo-main,
    .nav-brand .brand-text {
        font-size: 1.5rem;
    }

    .nav-links-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        border-right: 1px solid rgba(226, 232, 240, 0.5);
        opacity: 0;
        visibility: hidden;
    }

    .nav-links-container.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0.2s;
    }

    .nav-links-container.active .nav-links {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.25rem;
        padding: 1rem 2rem;
        border-radius: 16px;
        min-width: 200px;
        text-align: center;
        background: rgba(255, 255, 255, 0.7);
        border: 2px solid rgba(226, 232, 240, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        justify-content: center;
    }

    .nav-links a:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
    }

    .nav-links a.active {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    }

    .hamburger-menu {
        display: flex;
    }

    /* Enhanced Hamburger Animation */
    .hamburger-menu.active {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(252, 165, 165, 0.1) 100%);
        border-color: rgba(239, 68, 68, 0.3);
        transform: scale(1.1) rotate(180deg);
    }

    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(0.35rem, 0.35rem);
        background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(0.35rem, -0.35rem);
        background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}


/* =============== HERO SECTION =============== */
.hero {
    text-align: center;
    padding: 4rem 1rem 2rem;
    background-color: hsl(210, 70%, 97%); /* Lighter blue, closer to image */
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}

/* Hero Slider */
#hero-slider-container {
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
}

.hero-slide {
    display: flex;
    flex-direction: column;
    background-color: var(--card);
    border-radius: 1rem;
    overflow: hidden;
}

.hero-slide-image-container {
    position: relative;
    width: 100%;
    padding-top: 50%; /* 2:1 Aspect Ratio */
    border-radius: 1rem;
    overflow: hidden;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* This will center the image */
    transition: transform 0.3s ease;
}

.hero-slide-image--align-left {
    object-position: left center;
}

.hero-slide-text-content {
    padding: 1.5rem;
}

.hero-slide-text-content .hero-slide-tag {
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.hero-slide-text-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.hero-slide-text-content p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin: 0;
}

.hero-slider-dots {
    position: absolute;
    bottom: -2.5rem; /* Position below the card */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.hero-slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero-slider-dots .dot.active {
    background-color: var(--primary);
}

a.hero-slide,
.hero-slide a {
    text-decoration: none;
}

.hero-slide:hover .hero-slide-image {
    transform: scale(1.05);
}

/* =============== STATS SECTION =============== */
.stats-section {
    padding: 3rem 0; /* More vertical space */
    background-color: var(--secondary); /* A slightly different background */
}

@media (max-width: 768px) {
    .stats-section {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align all content to the top */
    padding: 1rem 0.5rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    color: var(--primary); /* Use theme color */
}

.stat-item h3 {
    font-size: 2.2rem; /* Adjusted for better consistency */
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    word-wrap: break-word;
    min-height: 40px; /* Guarantees alignment by setting a consistent height */
    line-height: 1.3;
}

.stat-icon-container {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
}

/* =============== PLAN YOUR VISIT SECTION =============== */
#plan-your-visit {
    background-color: var(--background);
    padding: 4rem 1rem;
}

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

#plan-your-visit .text-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
}

#plan-your-visit .text-center p {
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 1rem auto 2.5rem;
}

.light-card {
    background-color: var(--card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.card-header svg {
    color: var(--primary);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row; }
}
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
@media (min-width: 768px) {
    .md\:w-1\/2 { width: 50%; }
}

#calendar-container {
   /* No background needed, handled by .light-card */
}

/* Simple Calendar Styles */
#simple-calendar,
#planner-simple-calendar {
    width: 100%;
    max-width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.calendar-nav-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.calendar-nav-btn:hover {
    background-color: var(--secondary);
    color: var(--foreground);
}

#current-month-year {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.weekday {
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    padding: 0.25rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.2s;
    position: relative;
}

.calendar-day:hover {
    background-color: var(--secondary);
}

.calendar-day.has-plan:hover {
    background-color: #059669;
}

.calendar-day.has-events:hover {
    background-color: #2563EB;
    color: white;
}

.calendar-day.selected {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.calendar-day.today {
    border: 2px solid var(--primary);
    font-weight: 600;
}

.calendar-day.today.selected {
    border-color: transparent;
}

.calendar-day.other-month {
    color: var(--muted-foreground);
    opacity: 0.4;
}

.calendar-day.has-events {
    color: #3B82F6;
    font-weight: 600;
}

.calendar-day.has-events.selected {
    color: var(--primary-foreground);
}

.calendar-day.has-plan {
    background-color: #10B981;
    color: white;
    font-weight: 600;
}

.calendar-day.has-plan.selected {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.calendar-day.has-events.has-plan {
    background: linear-gradient(45deg, #3B82F6 50%, #10B981 50%);
    color: white;
    font-weight: 600;
}

@media (max-width: 768px) {
    .calendar-day {
        font-size: 0.8rem;
    }
    
    .weekday {
        font-size: 0.7rem;
    }
    
    #current-month-year {
        font-size: 1rem;
    }
}

#daily-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* New, comprehensive Flatpickr theme */
.flatpickr-months {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0;
}
.flatpickr-month {
    flex-grow: 1;
    text-align: center;
}
.flatpickr-current-month {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    position: relative;
    padding: 0;
    height: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    display: none; /* Hidden by JS config, but hide just in case */
}
.numInputWrapper, .cur-year{
    display: none;
}
.flatpickr-prev-month, .flatpickr-next-month {
    cursor: pointer;
    padding: 0.4rem;
    color: var(--muted-foreground);
}
.flatpickr-prev-month:hover, .flatpickr-next-month:hover {
    color: var(--primary);
}



.flatpickr-weekdays {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}
span.flatpickr-weekday {
    color: var(--muted-foreground);
    font-weight: 500;
    flex: 1;
    text-align: center;
}

.dayContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.flatpickr-day {
    border-radius: 50%;
    border: none;
    margin: 0.2rem;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
}

.flatpickr-day.selected {
    background-color: var(--primary);
    color: var(--primary-foreground);
}
.flatpickr-day.today {
    border: 1px solid var(--primary);
}
.flatpickr-day.today.selected {
    border-color: transparent;
}
.flatpickr-day:hover {
    background-color: var(--secondary);
}
.flatpickr-day.disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: var(--border);
    cursor: default;
}
.flatpickr-day.disabled:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover {
    background: transparent;
    cursor: default;
}



/* =============== DAILY EVENT CARD - COMPACT VERSION =============== */
.daily-event-card {
    display: flex;
    flex-direction: row;
    padding: 0.6rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.6rem;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    min-height: 85px;
    align-items: flex-start;
    gap: 0.75rem;
}

.daily-event-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-color: var(--primary);
    flex-shrink: 0;
}

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

.daily-event-image {
    max-width: 90px;
    max-height: 90px;
    min-width: 60px;
    min-height: 60px;
    width: auto;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    flex-shrink: 0;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    /* Removed fixed aspect-ratio to allow natural proportions */
    /* Removed margin-right since parent has gap now */
}

.event-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
    gap: 0.25rem;
    min-height: 70px;
    overflow: hidden;
    padding-top: 0.125rem;
}

/* Daily Event Card Titles - Normal smaller size */
.daily-event-card .event-title,
.daily-event-card span.event-title {
    font-weight: 600;
    font-size: 0.75rem !important;
    color: var(--card-foreground);
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

/* Keep other event titles normal */
.event-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--card-foreground);
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    align-items: center;
}

.event-time, .event-venue {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-meta-item svg {
    width: 12px;
    height: 12px;
    color: var(--primary);
}

.event-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}

.event-category {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.2;
}

.no-events-message {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1rem;
    color: var(--muted-foreground);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    margin-top: 1rem;
}

/* Old simple card styles - for reference or if needed elsewhere */
.daily-event-card:not(.detailed) .event-info {
    gap: 0.25rem;
    flex-direction: column;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .daily-event-image {
        max-width: 80px;
        max-height: 80px;
        min-width: 50px;
        min-height: 50px;
    }
    
    .daily-event-card {
        min-height: 75px;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .event-detail-image {
        max-height: 300px;
    }
    
    .modal-event-image {
        max-height: 250px;
        min-height: 150px;
    }
}

/* =============== EVENT MODAL =============== */
.event-modal-content {
    padding: 1.5rem;
}

.modal-event-image {
    width: 100%;
    max-height: 350px;
    min-height: 200px;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: 1.5rem;
    display: none; /* Hidden by default, shown by JS */
    /* Allow natural aspect ratio while keeping reasonable bounds */
}

.modal-event-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    line-height: 1.2;
}

.modal-event-meta {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.modal-event-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    white-space: pre-wrap; /* To respect newlines from JSON */
}

.modal-event-map-container {
    width: 100%;
    height: 300px; /* Or any other fixed height */
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.modal-event-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 1rem;
    gap: 1rem;
}

.modal-event-footer .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modal-event-footer .btn-secondary {
    background: #f8fafc;
    color: var(--text-color);
    border: 1px solid #e2e8f0;
}

.modal-event-footer .btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.modal-event-footer .btn svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .modal-event-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-event-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

.modal-event-category {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.modal-event-category span {
    font-weight: 500;
    color: var(--foreground);
    background-color: var(--muted);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

/* =============== DISCOVER PLACES & RECOMMENDATIONS SECTION =============== */
#discover-places {
    background-color: hsl(210, 70%, 97%); /* Match hero background */
    padding: 4rem 1rem;
}

#discover-places .text-center {
    margin-bottom: 3rem;
}
#discover-places .text-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
}

#discover-places .text-center p {
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 1rem auto 0;
}

.recommendations-container h3 {
    color: var(--foreground);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* New Venue Card Styles */
.venue-card {
    background-color: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure card takes full height of the slide */
}

.venue-card-image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height instead of padding-top */
    overflow: hidden;
}

.venue-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.4s ease-in-out;
    display: block;
}

/* Force proper image display for all venue cards */
.venue-card img,
.venue-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    /* Remove forced landscape aspect ratio to let images display naturally */
}

/* Force proper image display for all event images */
.daily-event-image,
.event-detail-image,
.modal-event-image {
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Removed fixed aspect ratio for daily event images to allow natural proportions */

/* Force proper image display for all card images */
.card-image {
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* Venue card images always visible */
.venue-card-image {
    opacity: 1;
}

.venue-card-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.venue-card-badge {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.3rem 0.8rem; /* Increased horizontal padding */
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recommended-badge {
    background-color: hsla(130, 70%, 40%, 0.7); /* Greenish tint for recommended */
}

.rating-badge {
    background-color: hsla(45, 100%, 50%, 0.7); /* Golden tint for rating */
}

.rating-badge .star-icon {
    margin-right: 0.3rem;
    color: #ffc107; /* Bright yellow for the star */
}

.no-rating-badge {
    background-color: var(--muted);
    color: var(--muted-foreground);
    font-style: italic;
}

.venue-card-content {
    padding: 1rem;
    flex-grow: 1;
}

.venue-card-category {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.venue-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.25rem 0;
}

.venue-card-description {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    /* Clamp text to 3 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.venue-card-footer {
    padding: 0 1rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.venue-card-footer svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Venue Filter Styles */
#venue-filters-container,
#venue-subfilters-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.venue-filter-btn,
.venue-subfilter-btn {
    background-color: var(--card);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: 600;
    font-size: 0.9rem;
}

.venue-filter-btn:hover,
.venue-subfilter-btn:hover {
    background-color: var(--muted);
    border-color: var(--accent);
    color: var(--accent-foreground);
}

.venue-filter-btn.active,
.venue-subfilter-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Hide old sections */
#hero-section, #explore-section, #popular-section, #event-list-section, #day-planner-section,
#kulturno-leto-content, #ohrid-wine-fest-content, #ohridsko-leto-content, #learn-ohrid-content,
#events, #venues, #learn-ohrid {
    display: none;
}


/* =============== MODERN FOOTER =============== */
#page-footer,
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    color: #f1f5f9;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

#page-footer::before,
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(59,130,246,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(59,130,246,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(59,130,246,0.1)"/></svg>');
    opacity: 0.5;
}

#page-footer .container,
.footer .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0 2rem;
    align-items: start;
}

.footer-section {
    position: relative;
}

.footer-section:first-child {
    padding-right: 2rem;
}

.footer-section h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 0.15rem;
    background: linear-gradient(90deg, var(--primary) 0%, #4f46e5 100%);
    border-radius: 2px;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.25rem;
    height: 0.25rem;
    background: var(--primary);
    border-radius: 50%;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3b82f6;
    transform: translateX(4px);
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Social Media Icons Enhancement */
.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: #94a3b8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.footer-socials a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-section:first-child {
        padding-right: 1rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul li {
        padding-left: 0;
    }
    
    .footer-section ul li::before {
        display: none;
    }
    
    .footer-socials {
        justify-content: center;
    }
}

/* =============== MODAL STYLES =============== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
}

.modal-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--background);
    color: var(--foreground);
    border-radius: var(--radius-lg);
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
    margin: auto;
    flex-shrink: 0;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1);
}

.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 10;
}

.modal-close-button:hover {
    background: rgba(0,0,0,0.6);
}

#modal-venue-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    display: block;
}

.modal-info-section {
    padding: 1.5rem 2rem;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        max-height: 95vh;
    }
    
    .modal-overlay {
        padding: 5px;
    }
    
    #modal-venue-image {
        height: 150px;
    }
    
    .modal-info-section {
        padding: 1rem 1.5rem;
    }
    
    #modal-venue-name {
        font-size: 1.75rem;
    }
}

#modal-venue-name {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

#modal-venue-type {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

#modal-venue-description {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

@media (min-width: 640px) {
    .modal-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modal-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--muted);
    border-radius: var(--radius);
    color: var(--foreground);
}

.modal-info-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.modal-info-item span {
    font-size: 0.9rem;
    line-height: 1.4;
}

.modal-info-item-content h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-info-item-content p,
.modal-info-item-content a {
    font-size: 1rem;
    color: var(--foreground);
    margin: 0;
    line-height: 1.5;
}

.modal-info-item-content a {
    color: var(--primary);
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.modal-info-item-content a:hover {
    text-decoration: underline;
}

#modal-gallery-container {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.modal-gallery-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

.modal-gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

#modal-map-container {
    height: 300px;
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

#modal-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =============== IMAGE MODAL =============== */
.image-modal {
    position: fixed;
    z-index: 15000 !important; /* Higher z-index to appear above all modals */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.image-modal.hidden {
    display: none;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s;
}

#image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

#image-modal-close:hover,
#image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

/* Learn Ohrid Page Styles */
.learn-ohrid-page {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.language-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.ohrid-content-wrapper {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ohrid-content-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    text-align: left !important; /* Force left alignment */
}

.ohrid-content-wrapper h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #444;
}

.ohrid-content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

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

.image-gallery .gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery .gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .ohrid-content-wrapper h1 {
        font-size: 2rem;
    }
    .ohrid-content-wrapper h2 {
        font-size: 1.75rem;
    }
    .ohrid-content-wrapper p {
        font-size: 1rem;
    }
    .image-gallery {
        grid-template-columns: 1fr;
    }
}

/* On larger screens, add more padding */
@media (min-width: 768px) {
    .planner-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.recommendations-highlight {
    background: linear-gradient(to bottom, hsl(210, 40%, 98%), white);
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

/* General Section Styling */
.section-title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: bold;
    color: #0077b6; /* A nice blue color */
}

/* Mobile fix for title overflow */
@media (max-width: 768px) {
    .section-title-with-icon {
        font-size: 1.4rem !important;
    }
    
    #recommendations-heading {
        font-size: 1.4rem !important;
    }
}

.title-icon {
    margin-right: 0.75rem;
    font-size: 2rem;
}

/* Make Recommendations Section "More Important" */
.recommendations-highlight {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 1.5rem;
    padding: 3rem 0; /* Use vertical padding and let container handle horizontal */
    margin: 3rem auto;
    max-width: 1200px;
    border: 1px solid #cce7f5;
    box-shadow: 0 8px 32px rgba(0, 119, 182, 0.1);
}

.recommendations-highlight .container {
    position: relative;
}

#recommendations-slider-container {
    overflow: hidden; /* This is the key fix */
}

/* Overriding and defining new card styles only within the recommendations section */
.recommendations-highlight .venue-card {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
}

.recommendations-highlight .venue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Clean recommendations container styling */
.recommendations-highlight .venue-card-image-container {
    position: relative;
    width: 100%;
    height: 250px; /* Taller for more square/portrait-like format */
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.recommendations-highlight .venue-card-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    aspect-ratio: 4/3; /* Square/portrait format for recommendations */
    transition: transform 0.3s ease;
}

.recommendations-highlight .venue-card:hover .venue-card-image {
    transform: scale(1.05);
}

/* Force square/portrait format for recommendations */
.recommendations-highlight .venue-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 4/3; /* More square/portrait-like format like event cards */
}

.recommendations-highlight .venue-card:hover .venue-card-image {
    transform: scale(1.05);
}

.recommendations-highlight .venue-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.recommendations-highlight .recommended-badge {
    background-color: #ff9f1c; /* Bright orange */
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.recommendations-highlight .recommended-badge::before {
    content: '♥';
    margin-right: 0.3rem;
    font-size: 0.9rem;
}

.recommendations-highlight .rating-badge {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.recommendations-highlight .rating-badge::before {
    content: '⭐';
    margin-right: 0.4rem;
}

.recommendations-highlight .venue-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.recommendations-highlight .venue-card-category {
    display: inline-block;
    background-color: #e0f2fe; /* Lighter blue */
    color: #0ea5e9; /* Sky blue */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    align-self: flex-start;
    text-transform: none;
    letter-spacing: normal;
}
.recommendations-highlight .venue-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1e293b; /* Darker text */
    margin: 0 0 0.5rem 0;
}

.recommendations-highlight .venue-card-description {
    font-size: 0.9rem;
    color: #64748b; /* Gray text */
    flex-grow: 1;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.recommendations-highlight .venue-card-location {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recommendations-highlight .venue-card-location svg {
    width: 1rem;
    height: 1rem;
    color: #0ea5e9;
}


/* Generic Slider Styling */
.keen-slider {
  overflow: visible !important; /* Allow card box-shadow to be visible */
}

.keen-slider__slide {
  padding: 4px; /* Give space for box-shadow */
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    color: #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    border: 1px solid #eee;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}

.slider-arrow:hover {
    background-color: #f8f8f8;
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.left {
    left: 20px; /* Bring arrows inside the container */
}

.slider-arrow.right {
    right: -10px;
}

.slider-arrow.up {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-arrow.down {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
}

#all-venues-slider > p {
    width: 100%;
    text-align: center;
    color: var(--muted-foreground);
    padding: 2rem;
}

#all-venues-slider-container {
    position: relative;
    overflow: hidden; /* This acts as a barrier */
}

#all-venues-slider-container .slider-arrow.left {
    left: -20px;
}

#all-venues-slider-container .slider-arrow.right {
    right: 0px;
}

/* =================================== */
/* == NEW VENUE FILTER STYLES START == */
/* =================================== */

#explore-all-venues .main-categories-container {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb; /* A light separator */
}

#explore-all-venues .main-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem; /* 12px */
}

@media (max-width: 768px) {
    #explore-all-venues .main-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.5rem 0;
        /* Hide scrollbar for a cleaner look */
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    #explore-all-venues .main-categories::-webkit-scrollbar {
        display: none; /* Chrome, Safari, and Opera */
    }
}

#explore-all-venues .category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem; /* Increased padding */
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    background-color: var(--card);
    color: var(--foreground);
    cursor: pointer;
    font-weight: 600; /* Bolder font */
    font-size: 1rem; /* Slightly larger font */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#explore-all-venues .category-btn .category-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#explore-all-venues .category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: var(--primary);
    color: var(--primary);
}

#explore-all-venues .category-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(var(--primary), 0.3);
    transform: translateY(-2px);
}

#explore-all-venues .category-btn.active .category-icon {
    transform: scale(1.1);
}

#sub-categories-container {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, margin-top 0.5s ease-in-out;
    max-height: 0;
    background-color: var(--secondary);
    border-radius: var(--radius);
    padding: 0 1.5rem;
    margin-top: 0;
}

#sub-categories-container:not(.hidden) {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid var(--border);
}

#sub-categories-container .sub-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

#explore-all-venues .subcategory-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    background-color: var(--card);
    color: var(--foreground);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

#explore-all-venues .subcategory-btn:hover {
    background-color: hsl(210, 40%, 93%);
    border-color: hsl(210, 40%, 85%);
    color: var(--primary);
}

#explore-all-venues .subcategory-btn.active {
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(var(--primary), 0.2);
}

/* ================================= */
/* == NEW VENUE FILTER STYLES END == */
/* ================================= */

.all-venues-slider-wrapper#all-venues-slider .keen-slider__slide {
    min-width: 280px;
    max-width: 320px;
    height: auto;
}

.all-venues-slider-wrapper#all-venues-slider .venue-card {
    width: 100%;
    height: 100%;
}

.all-venues-slider-wrapper.single-item-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.all-venues-slider-wrapper.single-item-container .keen-slider__slide {
    max-width: 420px; /* Adjust to your preferred max card width */
    width: 100%;
}

.no-venues-message {
    width: 100%;
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.1rem;
    color: var(--muted-foreground);
}

/* =============== DAY PLANNER PAGE =============== */

/* Daily Reminder Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.daily-reminder-notification,
.success-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    padding: 20px;
    min-width: 350px;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s ease-in-out;
    border-left: 4px solid var(--primary);
    pointer-events: auto;
}

.daily-reminder-notification.show,
.success-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.reminder-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reminder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.reminder-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.reminder-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex-grow: 1;
}

.reminder-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.reminder-close:hover {
    background: #f0f0f0;
    color: #333;
}

.reminder-message {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.reminder-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

/* Notification Permission Modal */
.notification-permission-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.notification-permission-modal .modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.notification-permission-modal h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.notification-permission-modal p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Success notification styles */
.success-notification {
    border-left-color: #10b981;
}

.success-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.success-notification .notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.success-notification .notification-message {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Mobile responsiveness for notifications */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .daily-reminder-notification,
    .success-notification {
        min-width: auto;
        max-width: none;
        width: 100%;
        transform: translateY(-100%);
    }
    
    .daily-reminder-notification.show,
    .success-notification.show {
        transform: translateY(0);
    }
    
    .reminder-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-small {
        width: 100%;
    }
    
    .notification-permission-modal {
        padding: 15px;
    }
    
    .notification-permission-modal .modal-content {
        padding: 25px 20px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

.day-planner-page-container {
    padding: 2rem 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.page-subtitle {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.planner-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .planner-layout {
        display: grid;
        grid-template-columns: 600px 1fr;
        gap: 2rem;
        align-items: flex-start;
    }
}

.day-planner-form-container {
    margin-top: 2rem;
}

#selected-date-plan-details .light-card,
.day-planner-form-container.light-card {
    padding: 1.5rem;
}

.form-title, .plan-header {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.w-full {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--foreground);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    font-size: 1rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(204, 90%, 53%, 0.15);
}

/* Custom Select (Dropdown) Styles */
select.form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 2.5rem; /* Make space for arrow */
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" stroke="hsl(215, 20%, 65%)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="m6 9 6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
}

.day-planner-form .form-group {
    margin-bottom: 1rem;
}

.plan-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s;
}
.plan-item:last-child {
    border-bottom: none;
}
.plan-item:hover {
    background-color: var(--muted);
}

.plan-item-time {
    font-weight: 600;
    color: var(--primary);
    width: 80px;
    flex-shrink: 0;
    font-size: 0.9rem;
    padding-top: 2px;
}

.plan-item-details {
    flex-grow: 1;
}

.plan-item-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.plan-item-notes {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    white-space: pre-wrap;
}

.delete-plan-item-btn {
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 0.5rem;
}

.delete-plan-item-btn:hover {
    color: var(--destructive);
}

.empty-plan-message {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted-foreground);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}

#clear-plan-btn {
    margin-top: 1rem;
}

.btn-destructive-modern {
    background-color: transparent;
    border: 1px solid var(--destructive);
    color: var(--destructive);
    width: 100%;
    transition: all 0.2s ease;
}

.btn-destructive-modern:hover {
    background-color: var(--destructive);
    color: var(--primary-foreground);
}

#daily-events-suggestion-container {
    margin-top: 2rem;
}

.suggested-event-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.suggested-event-card:last-child {
    border-bottom: none;
}

.suggested-event-info {
    flex-grow: 1;
}

.suggested-event-title {
    font-weight: 600;
    color: var(--card-foreground);
    font-size: 0.95rem;
}

.suggested-event-meta {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

.quick-add-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.quick-add-btn.btn-success {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

.quick-add-btn.btn-success:disabled {
    opacity: 1;
    cursor: default;
}

.planner-column-left,
.planner-column-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#daily-events-suggestion-container {
    /* Spacing is now handled by the parent column's gap property */
}

/* Calendar Event Indicator - Blue Font Style */
.flatpickr-day.has-events {
    color: #3B82F6 !important; /* Blue color for dates with events */
    font-weight: 600 !important; /* Make it slightly bolder */
}

/* Ensure blue font is visible on selected/today dates */
.flatpickr-day.selected.has-events {
    color: white !important; /* White text on selected (dark) background */
    background-color: #3B82F6 !important; /* Blue background when selected */
}

.flatpickr-day.today.has-events {
    color: #3B82F6 !important; /* Keep blue on today's date */
    background-color: rgba(59, 130, 246, 0.1) !important; /* Light blue background for today */
}

.flatpickr-day.today.selected.has-events {
    color: white !important; /* White text when today is selected */
    background-color: #3B82F6 !important; /* Blue background */
}

.modal-info-item h5 {
    margin: 0 0 4px;
    font-weight: 600;
    color: #333;
}

.modal-rating-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.current-rating, .rate-this-venue {
    margin-bottom: 1rem;
}

.current-rating h5, .rate-this-venue h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stars {
    --star-size: 24px;
    --star-color: #d1d5db;
    --star-background: #ffc107;
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
}

.stars::before {
    content: '★★★★★';
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #ffc107;
}

.modal-gallery-container {
    margin-top: 1.5rem;
}

/* --- AI Planner Styles --- */

#ai-planner-container .card-header {
    margin-bottom: 0.5rem;
}

#ai-planner-container .ai-planner-description {
    color: var(--muted-foreground);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
}

.modal-subtitle {
    margin-bottom: 2rem;
    color: var(--text-color-secondary);
}

.ai-question {
    margin-bottom: 1.5rem;
}

.ai-question label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.ai-choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.ai-choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: var(--card);
    text-align: center;
}

.ai-choice-btn:hover {
    border-color: var(--primary);
    background-color: var(--secondary);
}

.ai-choice-btn.active {
    background-color: hsl(204, 90%, 95%);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.ai-choice-btn .icon {
    font-size: 1.5rem;
}

#generate-plan-btn {
    margin-top: 2rem;
}

#ai-plan-suggestions {
    margin-top: 2rem;
}

.suggestions-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

#ai-suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.suggestion-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
    padding: 1.25rem;
    position: relative;
}

.suggestion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0,0,0,0.07);
}

.suggestion-card-content {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding-right: 50px;
}

.suggestion-card-icon {
    font-size: 2.5rem;
    line-height: 1;
    background-color: var(--card-bg-color);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    margin-top: -4px;
}

.suggestion-card-info {
    flex-grow: 1;
}

.suggestion-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    color: var(--text-color-primary);
}

.suggestion-card-notes {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.suggestion-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.suggestion-card-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    font-weight: 500;
}

.suggestion-card-add-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color-light);
    color: var(--accent-color);
    border: 1px solid var(--accent-color-light);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.suggestion-card-add-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: scale(1.05);
}

.suggestion-card-add-btn:disabled {
    background-color: hsl(145, 63%, 42%);
    color: white;
    cursor: default;
    opacity: 1;
    transform: scale(1);
}

.suggestion-card-add-btn .icon-check {
    display: none;
}

.suggestion-card-add-btn.remove-btn {
    background-color: var(--secondary-light);
    color: var(--dark-blue);
}

.suggestion-card-add-btn.remove-btn .icon-plus {
    display: none;
}

.suggestion-card-add-btn.remove-btn .icon-check {
    display: inline-block;
}

.suggestion-card.added {
    border-left: 4px solid var(--primary);
    background-color: #f0f8ff;
}

.suggestions-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

#start-over-ai-plan-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- Weather Widget Styles --- */

.weather-widget-container {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background-color: #f0f4f8;
    border-bottom: 1px solid #dcdcdc;
    margin-top: 64px; /* Add margin to account for fixed navbar */
}

.weather-widget {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.weather-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.weather-details {
    display: flex;
    flex-direction: column;
}

.weather-temperature {
    font-size: 1.8rem;
    font-weight: 600;
}

.weather-description {
    font-size: 1rem;
    color: #666;
    text-transform: capitalize;
}

/* Responsive adjustments for weather widget */
@media (max-width: 768px) {
    .weather-widget-container {
        margin-top: 56px; /* Slightly smaller margin for mobile navbar */
        padding: 0.75rem;
    }

    .weather-temperature {
        font-size: 1.5rem;
    }

    .weather-description {
        font-size: 0.9rem;
    }

    .weather-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
}

/* Styles for Associated Events on Organization Page */
#associated-events-title {
    margin-top: 40px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.associated-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .associated-events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 0.5rem;
    }
}

.associated-event-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    cursor: pointer;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .associated-event-card {
        padding: 15px;
        margin: 0;
        max-width: 100%;
    }
}

.associated-event-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-3px);
    border-color: var(--primary);
}

.assoc-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0056b3;
    margin-top: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.assoc-card-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.assoc-card-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 768px) {
    .assoc-card-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .assoc-card-date {
        font-size: 0.85rem;
    }
    
    .assoc-card-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height instead of padding-top */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.card-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Removed old keen-slider styling for daily events - now using show more approach */

/* Ensure the container clips the content */
#daily-events-slider-container {
    position: relative;
}

/* Gallery Slider Styles */
.gallery-slider-container {
    position: relative;
    margin-top: 1rem;
    padding: 0 50px; /* Space for arrows inside container */
    overflow: hidden; /* Keep everything contained */
}

#org-gallery.keen-slider {
    overflow: hidden;
    border-radius: var(--radius);
}

#org-gallery .keen-slider__slide {
    min-height: 200px;
    max-height: 200px;
    position: relative;
    overflow: hidden;
    margin: 0 8px; /* Space between slides */
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; /* Prevent slides from shrinking */
    z-index: 1; /* Ensure proper stacking */
}

#org-gallery .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#org-gallery .gallery-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

#org-gallery .gallery-image-container:hover .gallery-image {
    transform: scale(1.05);
}

/* Gallery Navigation Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.gallery-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow--left {
    left: 10px;
}

.gallery-arrow--right {
    right: 10px;
}

.gallery-arrow svg {
    width: 18px;
    height: 18px;
    color: inherit;
}

.gallery-arrow:hover svg {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-slider-container {
        padding: 0 40px;
    }
    
    #org-gallery .keen-slider__slide {
        min-height: 160px;
        max-height: 160px;
        margin: 0 6px;
    }
    
    .gallery-arrow {
        width: 38px;
        height: 38px;
    }
    
    .gallery-arrow--left {
        left: 8px;
    }
    
    .gallery-arrow--right {
        right: 8px;
    }
    
    .gallery-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-slider-container {
        padding: 0 35px;
    }
    
    #org-gallery .keen-slider__slide {
        min-height: 180px;
        max-height: 180px;
        margin: 0 4px;
        width: 100%;
    }
    
    .gallery-arrow {
        width: 32px;
        height: 32px;
    }
    
    .gallery-arrow--left {
        left: 5px;
    }
    
    .gallery-arrow--right {
        right: 5px;
    }
    
    .gallery-arrow svg {
        width: 14px;
        height: 14px;
    }
}

/* =============== SHOW MORE EVENTS BUTTON =============== */
.show-more-events-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.show-more-events-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(204, 90%, 60%) 100%);
    color: var(--primary-foreground);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 144, 220, 0.2);
    position: relative;
    overflow: hidden;
}

.show-more-events-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;
}

.show-more-events-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(52, 144, 220, 0.3);
}

.show-more-events-btn:hover::before {
    left: 100%;
}

.show-more-events-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 144, 220, 0.4);
}

.show-more-events-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.show-more-text {
    font-weight: 600;
}

/* Smooth staggered animation when events load */
.daily-event-card {
    animation: fadeInUp 0.6s ease forwards;
}

.daily-event-card:nth-child(1) { animation-delay: 0.1s; }
.daily-event-card:nth-child(2) { animation-delay: 0.2s; }
.daily-event-card:nth-child(3) { animation-delay: 0.3s; }
.daily-event-card:nth-child(4) { animation-delay: 0.4s; }
.daily-event-card:nth-child(5) { animation-delay: 0.5s; }

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

/* Mobile responsiveness for show more button */
@media (max-width: 768px) {
    .show-more-events-btn {
        width: 100%;
        justify-content: center;
        margin: 0 1rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .show-more-events-container {
        margin-top: 1rem;
        margin-bottom: 0;
    }
}

/* Mobile responsive adjustments for compact event cards */
@media (max-width: 768px) {
    .daily-event-card {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        min-height: 70px;
    }
    
    .daily-event-image {
        width: 60px;
        height: 60px;
        margin-right: 0.6rem;
    }
    
    .event-info {
        gap: 0.2rem;
        min-height: 60px;
    }
    
    /* Mobile Daily Event Card Titles - Normal smaller size */
    .daily-event-card .event-title,
    .daily-event-card span.event-title {
        font-size: 0.7rem !important;
    }
    
    .event-meta {
        font-size: 0.7rem;
        gap: 0.4rem;
    }
    
    .event-meta-item svg {
        width: 11px;
        height: 11px;
    }
    
    .event-category {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }
    
    /* Stack meta items vertically on very small screens */
    @media (max-width: 480px) {
        .event-meta {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.15rem;
        }
    }
}

/* Event contact styling for compact cards */
.event-meta-item.event-contact {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted-foreground);
}

.event-meta-item.event-contact svg {
    width: 12px;
    height: 12px;
    color: var(--primary);
    flex-shrink: 0;
}

.event-meta-item.event-contact span {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

@media (max-width: 768px) {
    .event-meta-item.event-contact span {
        font-size: 0.7rem;
    }
    
    .event-meta-item.event-contact svg {
        width: 11px;
        height: 11px;
    }
}

/* =============== MOBILE RESPONSIVE FIXES FOR CALENDAR AND RECOMMENDATIONS =============== */

/* Mobile Calendar Fixes - Simplified approach */
@media (max-width: 768px) {
    /* Container should not scroll - calendar should fit */
    #calendar-container,
    #planner-calendar-container {
        overflow: visible !important;
        width: 100% !important;
    }
    
    /* Calendar responsive sizing */
    .flatpickr-calendar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 280px !important;
    }
    
    /* Mobile day cells */
    .flatpickr-day {
        height: 32px !important;
        line-height: 32px !important;
        font-size: 0.8rem !important;
    }
    
    /* Mobile weekday headers */
    .flatpickr-weekdays {
        padding: 0.25rem 0 !important;
        margin-bottom: 0.25rem !important;
    }
    
    span.flatpickr-weekday {
        font-size: 0.7rem !important;
        height: 26px !important;
        padding: 2px 0 !important;
    }
}

/* Mobile fixes for Plan Your Visit section */
@media (max-width: 768px) {
    #plan-your-visit {
        padding: 2rem 1rem;
    }
    
    #plan-your-visit .text-center h2 {
        font-size: 2rem;
    }
    
    #plan-your-visit .text-center p {
        font-size: 0.9rem;
    }
    
    .light-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
        overflow-x: auto;
        box-sizing: border-box;
    }
    
    .card-header {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
}

/* Mobile fixes for Recommendations section */
@media (max-width: 768px) {
    .recommendations-highlight {
        margin: 1.5rem 0;
        padding: 2rem 0;
        border-radius: 1rem;
        overflow: hidden;
    }
    
    .recommendations-highlight .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section-title-with-icon {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .title-icon {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
    
    /* Fix slider container overflow */
    #recommendations-slider-container {
        overflow: visible;
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    /* Fix slider arrows positioning on mobile */
    #recommendations-slider-container .slider-arrow {
        display: none; /* Hide arrows on mobile for cleaner look */
    }
    
    /* Fix venue cards in recommendations */
    .recommendations-highlight .venue-card {
        margin: 0 0.25rem;
    }
    
    .recommendations-highlight .venue-card-image-container {
        height: 200px; /* Taller on mobile too */
    }
    
    .recommendations-highlight .venue-card-content {
        padding: 0.75rem;
    }
    
    .recommendations-highlight .venue-card-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .recommendations-highlight .venue-card-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
    /* Very small screen calendar */
    .flatpickr-calendar .flatpickr-day {
        height: 28px !important;
        line-height: 28px !important;
        font-size: 0.75rem !important;
    }
    
    .flatpickr-calendar .dayContainer {
        gap: 1px !important;
    }
    
    .flatpickr-calendar .flatpickr-weekdays span.flatpickr-weekday {
        font-size: 0.65rem !important;
        height: 20px !important;
    }
    
    .flatpickr-calendar .flatpickr-months {
        padding: 0.25rem 0 !important;
    }
    
    .flatpickr-calendar .flatpickr-current-month {
        font-size: 0.85rem !important;
    }
    
    /* Very small screen recommendations */
    .recommendations-highlight {
        padding: 1.5rem 0;
    }
    
    .section-title-with-icon {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-icon {
        margin-right: 0;
    }
    
    .recommendations-highlight .venue-card-image-container {
        height: 180px; /* Taller on small screens too */
    }
}

/* Mobile Calendar - Responsive Container Solution */
@media (max-width: 480px) {
    /* Reset light card to normal behavior */
    #plan-your-visit .light-card {
        padding: 1rem !important;
        overflow: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Calendar container contained within card */
    #calendar-container {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    
    /* Main calendar responsive sizing */
    #calendar-container .flatpickr-calendar {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        min-width: 320px !important;
        margin: 0 !important;
        padding: 8px !important;
        box-sizing: border-box !important;
    }
    
    /* Weekdays header - grid layout */
    #calendar-container .flatpickr-weekdays {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 1px !important;
        padding: 8px 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Each weekday cell */
    #calendar-container .flatpickr-weekdays span.flatpickr-weekday {
        width: 100% !important;
        text-align: center !important;
        font-size: 0.7rem !important;
        padding: 4px 2px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Day container - grid layout */
    #calendar-container .dayContainer {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 1px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Each day cell - grid item */
    #calendar-container .flatpickr-day {
        width: 100% !important;
        height: 40px !important;
        line-height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        border-radius: 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Navigation */
    #calendar-container .flatpickr-months {
        padding: 8px 0 !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }
}

/* Event contact styling for compact cards */

/* =============== CALENDAR RESPONSIVE DESIGN =============== */
/* Clean, grid-based calendar that works on all screen sizes */

/* Base calendar styles - desktop */
.flatpickr-calendar {
    width: 100% !important;
    max-width: 100% !important;
    font-family: inherit !important;
}

/* Desktop day cells */
.flatpickr-calendar .dayContainer {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 2px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.flatpickr-calendar .flatpickr-day {
    width: 100% !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Desktop weekdays */
.flatpickr-calendar .flatpickr-weekdays {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 2px !important;
    width: 100% !important;
    padding: 0.5rem 0 !important;
    margin-bottom: 0.5rem !important;
}

.flatpickr-calendar .flatpickr-weekdays span.flatpickr-weekday {
    width: 100% !important;
    text-align: center !important;
    font-size: 0.75rem !important;
    height: 24px !important;
    padding: 0 !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobile calendar adjustments */
@media (max-width: 768px) {
    .flatpickr-calendar .flatpickr-day {
        height: 32px !important;
        line-height: 32px !important;
        font-size: 0.8rem !important;
    }
    
    .flatpickr-calendar .flatpickr-weekdays span.flatpickr-weekday {
        font-size: 0.7rem !important;
        height: 22px !important;
    }
}

/* =============== UTILITY CLASSES =============== */

/* Screen reader only text */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

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

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

/* Error states */
.error {
    border-color: var(--destructive) !important;
    color: var(--destructive) !important;
}

.error-message {
    color: var(--destructive);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success states */
.success {
    border-color: #22c55e !important;
    color: #22c55e !important;
}

.success-message {
    color: #22c55e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --background: #ffffff;
        --foreground: #000000;
        --primary: #0000ff;
        --border: #000000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Error message banner */
.error-message-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--destructive);
    color: white;
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.error-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.error-icon {
    font-size: 1.2rem;
}

.error-text {
    flex: 1;
    text-align: center;
}

.error-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.error-close:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Error fallback content */
.error-fallback {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.error-fallback h2 {
    color: var(--destructive);
    margin-bottom: 1rem;
}

.error-fallback ul {
    text-align: left;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.error-fallback li {
    margin-bottom: 0.5rem;
}

/* Weather Widget Styles */
.weather-current {
    margin-bottom: 1rem;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.weather-icon {
    width: 50px;
    height: 50px;
}

.weather-temp {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.weather-desc {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    text-transform: capitalize;
}

.weather-details {
    display: flex;
    gap: 1rem;
}

.weather-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.weather-label {
    font-size: 0.8rem;
    color: var(--text-color-secondary);
}

.weather-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.weather-advice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color-light) 0%, rgba(var(--primary-color-rgb), 0.1) 100%);
    border-radius: 0.5rem;
    border-left: 3px solid var(--primary-color);
}

.weather-advice-icon {
    font-size: 1.2rem;
}

.weather-advice-text {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.weather-loading {
    text-align: center;
    color: var(--text-color-secondary);
    font-style: italic;
}

@media (max-width: 768px) {
    .weather-main {
        gap: 0.75rem;
    }
    
    .weather-details {
        gap: 0.75rem;
    }
}

/* Mood Compatibility Styles */
.mood-compatibility {
    margin-top: 0.5rem;
}

.compatibility-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.compatibility-indicator.excellent {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.compatibility-indicator.good {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.compatibility-indicator.fair {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.compatibility-indicator.neutral {
    background-color: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.compatibility-icon {
    font-size: 0.8rem;
}

.compatibility-reason {
    font-size: 0.75rem;
    color: var(--text-color-secondary);
    font-style: italic;
    line-height: 1.3;
}

/* Timing Optimization Styles */
.timing-optimization {
    margin-top: 0.5rem;
}

.timing-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    margin-bottom: 0.25rem;
}

.timing-icon {
    font-size: 0.8rem;
}

.timing-note {
    font-size: 0.7rem;
    color: var(--text-color-secondary);
    font-style: italic;
    line-height: 1.3;
}

/* Cost Information Styles */
.cost-information {
    margin-top: 0.5rem;
}

.cost-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: #f5f5f5;
    color: #374151;
    border: 1px solid #d1d5db;
    margin-bottom: 0.25rem;
}

.cost-symbol {
    font-weight: 600;
    color: #059669;
}

.cost-amount {
    font-weight: 600;
}

.cost-label {
    font-size: 0.7rem;
    color: var(--text-color-secondary);
    font-style: italic;
    line-height: 1.3;
}

/* Budget Tracker Styles */
.budget-summary {
    padding: 0;
}

.budget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.budget-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.budget-icon {
    font-size: 1.2rem;
}

.budget-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.budget-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.budget-status.good {
    background-color: #dcfce7;
    color: #166534;
}

.budget-status.warning {
    background-color: #fef3c7;
    color: #92400e;
}

.budget-status.over {
    background-color: #fee2e2;
    color: #dc2626;
}

.budget-progress {
    margin-bottom: 1rem;
}

.budget-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.budget-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.budget-fill.good {
    background-color: #059669;
}

.budget-fill.warning {
    background-color: #d97706;
}

.budget-fill.over {
    background-color: #dc2626;
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-color-secondary);
}

.budget-labels .spent {
    font-weight: 600;
    color: var(--text-color);
}

.budget-details {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
}

.budget-remaining {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.budget-remaining .label {
    font-size: 0.8rem;
    color: var(--text-color-secondary);
}

.budget-remaining .amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Seasonal Widget Styles */
.seasonal-summary {
    padding: 0;
}

.seasonal-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.seasonal-icon {
    font-size: 2rem;
    line-height: 1;
}

.seasonal-title-info {
    flex: 1;
}

.seasonal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--text-color);
}

.seasonal-description {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    margin: 0;
    line-height: 1.4;
}

.seasonal-highlights h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seasonal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seasonal-list li {
    font-size: 0.8rem;
    color: var(--text-color-secondary);
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.3;
}

.seasonal-list li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* Event contact styling for compact cards */

/* Event Detail Page Styles */
.event-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.event-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.back-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: var(--muted);
    border-color: var(--primary);
    color: var(--primary);
}

.event-detail-actions {
    display: flex;
    gap: 1rem;
}

.share-event-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.share-event-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.share-event-btn:active {
    transform: translateY(0);
}

/* Add a nice feedback effect when clicked */
.share-event-btn.copied {
    background: var(--success);
    transition: all 0.3s ease;
}

.share-event-btn.copied::after {
    content: "✓ Copied!";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    opacity: 1;
    animation: copyFeedback 2s ease-in-out;
}

@keyframes copyFeedback {
    0% { opacity: 0; transform: translateX(-50%) translateY(5px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    90% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-5px); }
}

.event-detail-card {
    background: var(--card);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.event-image-container {
    position: relative;
    width: 100%;
    max-height: 500px;
    min-height: 250px;
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-detail-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    /* Allow natural aspect ratio for event detail images */
}

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

.event-info-container {
    padding: 2rem;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.event-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    line-height: 1.2;
}

.event-category-badge {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--muted);
    border-radius: 0.75rem;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--foreground);
}

.event-meta-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.event-description {
    margin-bottom: 2rem;
}

.event-description h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

#event-description-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted-foreground);
}

.event-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-location-map {
    background: var(--card);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.event-location-map h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

#event-map-container {
    border-radius: 0.75rem;
    overflow: hidden;
}

#event-map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.event-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--foreground);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.error-message {
    text-align: center;
    padding: 2rem;
    color: var(--destructive);
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .event-detail-container {
        padding: 1rem;
    }
    
    .event-detail-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .event-detail-actions {
        justify-content: center;
    }
    
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .event-meta-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .event-info-container {
        padding: 1.5rem;
    }
    
    .event-image-container {
        height: 250px;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-location-map {
        padding: 1.5rem;
    }
    
    #event-map-container iframe {
        height: 250px;
    }
}

/* Instagram Story Share Styles */
.instagram-story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.instagram-story-modal.visible {
    opacity: 1;
    visibility: visible;
}

.instagram-story-modal-content {
    background: var(--card);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.instagram-story-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.instagram-story-modal-header h3 {
    margin: 0;
    color: var(--foreground);
    font-size: 1.25rem;
}

.instagram-story-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.instagram-story-modal-close:hover {
    color: var(--foreground);
}

.story-card-preview {
    width: 200px;
    height: 356px; /* 9:16 aspect ratio */
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.story-card-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    color: white;
    text-align: center;
    position: relative;
}

.story-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3), transparent);
    z-index: 1;
}

.story-card-content > * {
    position: relative;
    z-index: 2;
}

.story-card-header {
    text-align: center;
}

.story-card-date {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.story-card-category {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.story-card-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.story-card-footer {
    text-align: center;
}

.story-card-venue {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.story-card-time {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.story-card-branding {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instagram-story-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.instagram-story-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.instagram-story-btn.primary {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-story-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.4);
}

.instagram-story-btn.secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.instagram-story-btn.secondary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.instagram-story-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.instagram-story-btn svg {
    width: 16px;
    height: 16px;
}

.story-template-selector {
    margin: 1rem 0;
}

.story-template-selector h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: var(--foreground);
}

.template-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
}

.template-option {
    aspect-ratio: 9/16;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    position: relative;
    background: var(--muted);
}

.template-option:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.template-option.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.template-option::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.template-option.gradient-1::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.template-option.gradient-2::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.template-option.gradient-3::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.template-option.gradient-4::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.template-option.gradient-5::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

@media (max-width: 768px) {
    .instagram-story-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .story-card-preview {
        width: 180px;
        height: 320px;
    }
    
    .instagram-story-actions {
        flex-direction: column;
    }
    
    .instagram-story-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Share button modifications */
.share-options {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.share-option-btn {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background: var(--background);
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-option-btn:hover {
    background: var(--muted);
    border-color: var(--primary);
    color: var(--primary);
}

.share-option-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.share-option-btn.instagram:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.modal-event-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* =============== SKELETON LOADING ANIMATIONS =============== */

@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-text.large {
    height: 1.5rem;
    margin-bottom: 0.75rem;
}

.skeleton-text.small {
    height: 0.75rem;
    margin-bottom: 0.25rem;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

.skeleton-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.skeleton-venue-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 280px;
    height: 350px;
}

.skeleton-venue-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-venue-content {
    padding: 1rem;
}

.skeleton-venue-title {
    height: 1.25rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-venue-description {
    height: 0.875rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-venue-description:last-child {
    width: 60%;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.skeleton-hero {
    width: 100%;
    height: 400px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.skeleton-event-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.skeleton-event-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.skeleton-event-title {
    height: 1.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-event-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skeleton-event-meta-item {
    height: 1rem;
    width: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.skeleton-button {
    height: 2.5rem;
    width: 120px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 9999px;
    margin-right: 0.5rem;
}

/* Loading container styles */
.loading-container {
    padding: 2rem 0;
}

.loading-container.recommendations {
    margin-bottom: 3rem;
}

.loading-container.venues {
    margin-bottom: 2rem;
}

/* Hide content during loading */
.loading .hero-slider,
.loading .recommendations-container,
.loading .venues-container {
    display: none;
}

/* Show skeleton during loading */
.loading .skeleton-hero,
.loading .skeleton-grid {
    display: block;
}

/* Responsive skeleton adjustments */
@media (max-width: 768px) {
    .skeleton-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skeleton-venue-card {
        width: 100%;
        height: auto;
    }
    
    .skeleton-hero {
        height: 300px;
    }
    
    .skeleton-event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .skeleton-event-meta-item {
        width: 100%;
    }
}

/* Dark mode skeleton styles */
@media (prefers-color-scheme: dark) {
    .skeleton {
        background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
        background-size: 200px 100%;
    }
    
    .skeleton-venue-image,
    .skeleton-venue-title,
    .skeleton-venue-description,
    .skeleton-hero,
    .skeleton-event-image,
    .skeleton-event-title,
    .skeleton-event-meta-item,
    .skeleton-button {
        background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 50%, #2a2a2a 75%);
        background-size: 200px 100%;
    }
}

/* =============== BREADCRUMB NAVIGATION =============== */

.breadcrumb-nav {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb-current {
    color: var(--foreground);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--muted-foreground);
    margin: 0 0.25rem;
    font-size: 0.75rem;
}

/* =============== PERFORMANCE OPTIMIZATIONS =============== */

/* Critical path CSS improvements */
.above-the-fold {
    contain: layout;
}

/* Prevent layout shifts */
.hero-slider {
    min-height: 400px;
}

.venue-card-image-container {
    contain: layout;
}

/* Improve font loading */
@font-face {
    font-family: 'Poppins';
    src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
    font-display: swap;
}

/* =============== ACCESSIBILITY IMPROVEMENTS =============== */

/* Skip links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Focus management */
.modal-overlay:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Keyboard navigation indicators */
.keen-slider:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Better focus indicators */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Remove outline for mouse users */
.mouse-user *:focus {
    outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .skeleton {
        background: linear-gradient(90deg, #000 25%, #333 50%, #000 75%);
    }
    
    .breadcrumb-nav {
        border-bottom: 2px solid var(--foreground);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .skeleton {
        animation: none;
    }
    
    .btn,
    .venue-card-image,
    .slider-arrow {
        transition: none;
    }
}

/* =============== RESPONSIVE BREADCRUMBS =============== */

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-list {
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .breadcrumb-separator {
        margin: 0 0.125rem;
    }
}

/* Optimize critical above-the-fold content */
.hero-section {
    contain: layout style;
}

/* Optimize images for better loading - only new images */
img[data-src] {
    loading: lazy;
    decoding: async;
    height: auto;
}

/* Existing images keep their current behavior */
img:not([data-src]) {
    height: auto;
}

/* Critical images should be loaded immediately */
.hero-image,
.critical-image {
    loading: eager !important;
    opacity: 1 !important;
}

/* Optimize animations */
.animated-element {
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
}

/* Optimize scroll performance */
.scroll-container {
    will-change: scroll-position;
    transform: translateZ(0);
}

/* Optimize layout shifts */
.image-placeholder {
    background-color: #f0f0f0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Web Vitals optimizations */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Prevent layout shift for dynamic content */
.dynamic-content {
    min-height: 100px;
    contain: layout;
}

/* Error and Empty States */
.error-state,
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.error-state .error-icon,
.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-state h3,
.empty-state h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.error-state p,
.empty-state p {
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.retry-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.retry-button:hover {
    background: #0056b3;
}

/* Loading skeleton improvements */
.loading-skeleton-container {
    padding: 1rem;
}

.skeleton-image,
.skeleton-text {
    border-radius: 4px;
}

/* Image loading states - only apply to lazy loaded images */
img[data-src] {
    transition: opacity 0.3s ease;
    opacity: 0;
}

img[data-src].loaded,
img:not([data-src]) {
    opacity: 1 !important;
}

/* Fallback: ensure all images are visible by default */
img {
    opacity: 1;
}

/* Only hide new lazy-loaded images */
img[data-src]:not(.loaded) {
    opacity: 0;
}

/* Venue Social Actions */
.venue-social-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.btn-instagram:active {
    transform: translateY(0);
}

.btn-instagram svg {
    width: 24px;
    height: 24px;
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-top: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    background: white;
    padding: 0.75rem;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 3rem;
    text-align: center;
}

.contact-item h4 {
    color: #333;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p,
.contact-item a {
    color: #666;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #007bff;
}

.contact-form-container {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00c6ff, #007bff);
    border-radius: 20px 20px 0 0;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-form label {
    display: block;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
}

.contact-form label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border-radius: 1px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1rem 1.2rem 3rem;
    border: 2px solid #e8ecf0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-family: inherit;
    position: relative;
}

/* Field Icons */
.contact-form .form-group:nth-child(1)::before {
    content: '👤';
    position: absolute;
    left: 1rem;
    top: 3.2rem;
    font-size: 1.1rem;
    z-index: 2;
}

.contact-form .form-group:nth-child(2)::before {
    content: '📧';
    position: absolute;
    left: 1rem;
    top: 3.2rem;
    font-size: 1.1rem;
    z-index: 2;
}

.contact-form .form-group:nth-child(3)::before {
    content: '📋';
    position: absolute;
    left: 1rem;
    top: 3.2rem;
    font-size: 1.1rem;
    z-index: 2;
}

.contact-form .form-group:nth-child(4)::before {
    content: '💬';
    position: absolute;
    left: 1rem;
    top: 3.2rem;
    font-size: 1.1rem;
    z-index: 2;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1), 0 8px 25px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form select {
    padding-left: 3rem;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1.3rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-submit::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;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

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

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #c3e6cb;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(21, 87, 36, 0.1);
}

.form-group .error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
    font-weight: 500;
    padding-left: 0.5rem;
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #e74c3c;
    background: #fef5f5;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-form input.error:focus,
.contact-form textarea.error:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        margin: 0 1rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 1rem 0.875rem 1rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .contact-form .form-group:nth-child(1)::before,
    .contact-form .form-group:nth-child(2)::before,
    .contact-form .form-group:nth-child(3)::before,
    .contact-form .form-group:nth-child(4)::before {
        left: 0.875rem;
        top: 3rem;
        font-size: 1rem;
    }
    
    .contact-form label {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .btn-submit {
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.9rem 0.75rem 0.9rem 2.25rem;
    }
    
    .contact-form .form-group:nth-child(1)::before,
    .contact-form .form-group:nth-child(2)::before,
    .contact-form .form-group:nth-child(3)::before,
    .contact-form .form-group:nth-child(4)::before {
        left: 0.75rem;
        top: 2.9rem;
        font-size: 0.9rem;
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateX(120%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toast-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
    margin: 0;
}

.toast-message {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

/* Toast Types */
.toast.success {
    border-left: 4px solid #22c55e;
}

.toast.success .toast-icon {
    color: #22c55e;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast.info {
    border-left: 4px solid #3b82f6;
}

.toast.info .toast-icon {
    color: #3b82f6;
}

/* Toast Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    transition: width linear;
    opacity: 0.7;
}

.toast.success .toast-progress {
    background: #22c55e;
}

.toast.error .toast-progress {
    background: #ef4444;
}

.toast.warning .toast-progress {
    background: #f59e0b;
}

.toast.info .toast-progress {
    background: #3b82f6;
}

/* Enhanced Loading States */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    backdrop-filter: blur(2px);
}

.loading-spinner-modern {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: modernSpin 1s linear infinite;
}

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

.loading-dots {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.loading-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: loadingDots 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) { animation-delay: -0.32s; }
.loading-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes loadingDots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Enhanced Skeleton Loading */
.skeleton-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton-enhanced {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.skeleton-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    animation: skeletonShine 2s infinite;
}

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

/* Button Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

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

/* Mobile Responsive Toast */
@media (max-width: 768px) {
    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* Venue Modal Styles */
.venue-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

#modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-navigation {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.modal-nav {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 16px 24px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Venue Gallery Grid */
.venue-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Venue Details */
.venue-details {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.venue-map {
    margin: 20px 0;
}

.venue-map iframe {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .modal-nav {
        padding: 12px 18px;
        font-size: 20px;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .venue-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-image {
        height: 150px;
    }
}

/* Force modal to display properly - adding at end of file */
.venue-modal-fix {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.modal-content-fix {
    background: white !important;
    border-radius: 12px !important;
    max-width: 600px !important;
    width: 90% !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

.modal-header-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.modal-header-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
}

.modal-content-fix .modal-info-section {
    padding: 20px !important;
}

.modal-content-fix h2 {
    margin: 0 0 10px 0 !important;
    font-size: 24px !important;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content-fix {
        width: 95% !important;
        max-height: 90vh !important;
    }
    
    .venue-modal-fix {
        padding: 10px !important;
    }
    
    .modal-header-image img {
        height: 150px !important;
    }
}

/* ========== COMPREHENSIVE MODAL FIXES ========== */
/* Remove conflicting modal styles and create unified modal system */

/* Override any existing modal overlay styles */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    backdrop-filter: blur(5px) !important;
    overflow-y: auto !important;
    padding: 15px !important;
    box-sizing: border-box !important;
}

.modal-overlay:not(.hidden) {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Universal modal content styling */
.modal-content {
    background-color: var(--background) !important;
    color: var(--foreground) !important;
    border-radius: 12px !important;
    width: 95% !important;
    max-width: 700px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3) !important;
    transform: scale(0.95) !important;
    transition: transform 0.3s ease !important;
    border: 1px solid var(--border) !important;
    margin: auto !important;
    display: block !important;
}

.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1) !important;
}

/* Close button for all modals */
.modal-close-button {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(0,0,0,0.7) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
    line-height: 40px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    z-index: 1000 !important;
}

.modal-close-button:hover {
    background: rgba(0,0,0,0.9) !important;
}

/* Venue Modal Specific Styles */
#modal-venue-image, #modal-event-image {
    width: 100% !important;
    height: 300px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px 12px 0 0 !important;
    display: block !important;
    background-color: #f5f5f5 !important;
    background-image: none !important;
    position: relative !important;
    z-index: 10 !important;
    max-width: 100% !important;
    min-height: 250px !important;
}

.modal-info-section {
    padding: 25px !important;
}

.modal-info-section h2 {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    color: var(--foreground) !important;
}

.modal-info-section p {
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    color: var(--foreground) !important;
}

/* Info grid for venue details */
.modal-info-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin: 20px 0 !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border) !important;
}

@media (min-width: 640px) {
    .modal-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.modal-info-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px !important;
    background: var(--muted) !important;
    border-radius: 8px !important;
    color: var(--foreground) !important;
}

.modal-info-item svg {
    width: 20px !important;
    height: 20px !important;
    color: var(--primary) !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.modal-info-item-content h5 {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--muted-foreground) !important;
    margin: 0 0 5px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.modal-info-item-content p,
.modal-info-item-content a {
    font-size: 14px !important;
    color: var(--foreground) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.modal-info-item-content a {
    text-decoration: underline !important;
    color: var(--primary) !important;
}

.modal-info-item-content a:hover {
    color: var(--primary) !important;
    opacity: 0.8 !important;
}

/* Rating section */
.modal-rating-container {
    border-top: 1px solid var(--border) !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
}

.modal-rating-container h5 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: var(--foreground) !important;
}

.rating-display {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-bottom: 10px !important;
    font-size: 14px !important;
    color: var(--muted-foreground) !important;
}

.rating-stars {
    display: flex !important;
    gap: 5px !important;
    margin-bottom: 10px !important;
}

.rating-stars span {
    cursor: pointer !important;
    font-size: 20px !important;
    transition: opacity 0.2s !important;
}

.rating-stars span:hover {
    opacity: 0.7 !important;
}

.rating-message {
    font-size: 12px !important;
    color: var(--muted-foreground) !important;
    margin: 0 !important;
}

/* Gallery section */
.modal-gallery-container {
    border-top: 1px solid var(--border) !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
}

.modal-section-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: var(--foreground) !important;
}

.modal-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
    gap: 10px !important;
}

.modal-gallery-image {
    width: 100% !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
}

.modal-gallery-image:hover {
    opacity: 0.8 !important;
}

/* Social actions */
.venue-social-actions {
    border-top: 1px solid var(--border) !important;
    padding-top: 20px !important;
    margin-top: 20px !important;
}

.btn-instagram {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: opacity 0.2s !important;
}

.btn-instagram:hover {
    opacity: 0.9 !important;
}

/* Event Modal Specific Styles */
.event-modal-content {
    /* Event modal content inherits from general modal styles */
}

.modal-event-image {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0 !important;
    display: block !important;
    cursor: pointer !important;
}

.modal-body {
    padding: 25px !important;
}

.modal-event-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 0 15px 0 !important;
    color: var(--foreground) !important;
}

.modal-event-meta {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

@media (min-width: 640px) {
    .modal-event-meta {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.modal-event-description {
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    color: var(--foreground) !important;
}

.modal-event-map-container {
    margin-top: 20px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 250px !important;
}

.modal-event-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border) !important;
    margin-top: 20px !important;
}

.share-options {
    display: flex !important;
    gap: 10px !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modal-content {
        width: 98% !important;
        max-height: 90vh !important;
    }
    
    .modal-overlay {
        padding: 10px !important;
    }
    
    #modal-venue-image, #modal-event-image, .modal-event-image {
        height: 250px !important;
        min-height: 200px !important;
    }
    
    .modal-info-section, .modal-body {
        padding: 20px !important;
    }
    
    .modal-info-section h2, .modal-event-title {
        font-size: 24px !important;
    }
    
    .modal-info-grid, .modal-event-meta {
        grid-template-columns: 1fr !important;
    }
    
    .modal-event-footer {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .share-options {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        padding: 5px !important;
    }
    
    .modal-content {
        width: 100% !important;
        border-radius: 8px !important;
    }
    
    #modal-venue-image, #modal-event-image, .modal-event-image {
        height: 220px !important;
        min-height: 180px !important;
        border-radius: 8px 8px 0 0 !important;
    }
}

/* Fix for Gibli Café image positioning */
.venue-card img[src*="gibli_card.png"] {
    object-position: center center !important;
    object-fit: contain !important;
    background-color: #f8f9fa;
}

