/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Source+Sans+Pro:wght@400;600&display=swap');

/* --- CSS Variables (Modern Palette) --- */
:root {
    --font-heading: 'Roboto Slab', serif;
    --font-body: 'Source Sans Pro', sans-serif;
    --color-background: #decbae;
    --color-text: #2c2c2c;
    --color-primary: #BF360C;
    --color-secondary: #5D4037;
    --color-light-grey: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    --border-radius-large: 12px;
    --border-radius-small: 8px;
}

/* --- NorcoBot Button with Text --- */
#norcobot-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    /* Changed from circle to pill shape */
    width: auto;
    height: 60px;
    padding: 0 25px; 
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 30px; /* Half of height for perfect pill shape */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s ease;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: bold;
}

#norcobot-button:hover {
    transform: scale(1.05);
}

#norcobot-button svg {
    width: 28px; /* Adjusted icon size */
    height: 28px;
}

#norcobot-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 370px;
    max-width: 90%;
    height: 500px;
    max-height: 80vh;
    background-color: #fff;
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Hidden by default */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#norcobot-window.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.chat-header {
    background-color: var(--color-secondary);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
}
.chat-close {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.chat-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    line-height: 1.5;
}
.chat-message.user {
    background-color: #f0f0f0;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}
.chat-message.bot {
    background-color: var(--color-primary);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}
.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #f0f0f0;
}
#chat-input {
    flex-grow: 1;
    border: none;
    padding: 10px;
    font-size: 1rem;
    outline: none;
}
#chat-submit-btn {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: var(--border-radius-small);
    font-weight: bold;
    cursor: pointer;
}

/* --- Global Styles --- */
body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    margin: 0;
    line-height: 1.7;
}
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
hr.section-divider {
    border: 0;
    height: 1px;
    background: var(--color-light-grey);
    margin: 60px 0;
}
.text-center {
    text-align: center;
}

/* --- Header & Navigation --- */
/* --- Header & Navigation --- */
.main-header {
    /* New background color matched from the logo image */
    background-color: #decbae; 
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* New style for the image-based logo */
.image-logo img {
    height: 100px; /* Adjust height as needed */
    width: auto;
    display: block;
}
/* Updated navigation menu styles */
.main-nav a {
    color: #3c2a14; /* White text for contrast */
    text-decoration: none;
    margin-left: 30px;
    font-weight: 400; /* Regular weight for this font */
    font-family: 'Roboto Slab', cursive; /* New complementary font */
    font-size: 1.3rem;
    letter-spacing: 1px;
    transition: color 0.2s ease;
}
.main-nav a:hover {
    color: #ffffff; /* A gold/yellow accent color */
}
/* --- Hero Section & Overlay Behavior --- */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #333;
    min-height: 85vh;
}
.hero-background-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 20px;
}

/* Initial text and button styles */
.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 0;
    /* Increased shadow size and opacity for better legibility */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); 
}
.hero-content .subtitle {
    color: #fff;
    font-size: 1.2rem;
    opacity: 1; /* Made fully opaque */
    /* Added matching text-shadow */
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); 
}
.hero-button {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: var(--font-heading);
    border-radius: var(--border-radius-large);
    cursor: pointer;
    margin-top: 30px;
    text-decoration: none;
    display: inline-block;
}
.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* When wizard is active, fade out initial text */
.hero-section.wizard-active .hero-content h1,
.hero-section.wizard-active .hero-content .subtitle,
.hero-section.wizard-active .hero-button {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

/* --- Premium Itinerary Wizard (as Overlay) --- */
#itinerary-wizard {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 650px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease 0.2s; /* Fade in with a slight delay */
    background: #fff;
    border-radius: var(--border-radius-large);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    padding: 0;
    overflow: hidden;
}
/* When wizard is active, fade it in */
.hero-section.wizard-active #itinerary-wizard {
    opacity: 1;
    pointer-events: auto;
}

.wizard-header {
    padding: 20px 40px;
    background: #fcfcfc;
    border-bottom: 1px solid #f0f0f0;
}
.progress-bar {
    height: 6px;
    background: var(--color-light-grey);
    border-radius: 3px;
}
.progress-bar-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.wizard-step { display: none; }
.wizard-step.active {
    display: block;
    animation: fadeInStep 0.5s ease-in-out;
}
@keyframes fadeInStep { from { opacity: 0; } to { opacity: 1; } }

.wizard-step .step-content {
    padding: 30px 40px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wizard-step h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-top: 0;
    margin-bottom: 10px;
}
.wizard-step .step-subtitle {
    margin-top: 0;
    margin-bottom: 30px;
    color: #757575;
}
.wizard-footer {
    padding: 20px 40px;
    background: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wizard-nav-btn {
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius-small);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}
.wizard-nav-btn.next {
    background-color: var(--color-secondary);
    color: white;
    margin-left: auto;
}
.wizard-nav-btn.back {
    background-color: transparent;
    color: var(--color-text);
}

/* Modernized Form Inputs */
#trip-planner-form input[type="text"], 
#trip-planner-form select {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    border: 2px solid var(--color-light-grey);
    border-radius: var(--border-radius-large);
    box-sizing: border-box;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#trip-planner-form input[type="text"]:focus, 
#trip-planner-form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(191, 54, 12, 0.1);
}
.btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: var(--border-radius-large);
    width: 100%;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background-color 0.2s ease;
}
.btn-primary:hover {
    background-color: #A62F0A;
}

/* Step-Specific Wizard Styles */
.party-size-selector { display: flex; gap: 30px; margin-bottom: 20px; }
.party-input { flex: 1; }
.party-input label { font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; display: block; }
.input-stepper { display: flex; margin-top: 5px; }
.input-stepper input { height: 55px; font-size: 1.2rem; text-align: center; border-left: none; border-right: none; }
.stepper-btn { width: 55px; height: 55px; border: 2px solid var(--color-light-grey); background: #fff; font-size: 1.5rem; cursor: pointer; }
.visual-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vibe-card { display: block; position: relative; }
.vibe-card input { display: none; }
.vibe-card-content {
    height: 200px;
    border-radius: var(--border-radius-large);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    cursor: pointer;
    border: 4px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
    transform: scale(1);
    position: relative;
    overflow: hidden;
}
.vibe-card:hover .vibe-card-content { transform: scale(1.03); }
.vibe-card input:checked + .vibe-card-content { border-color: var(--color-primary); }
.checkmark-overlay {
    position: absolute; top: 15px; right: 15px; width: 30px; height: 30px; background-color: rgba(255, 255, 255, 0.9); border-radius: 50%; display: flex; justify-content: center; align-items: center; opacity: 0; transform: scale(0.5); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 3;
}
.checkmark-overlay::after { content: ''; width: 7px; height: 14px; border: solid var(--color-primary); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.vibe-card input:checked + .vibe-card-content .checkmark-overlay { opacity: 1; transform: scale(1); }
.tag-selector { display: flex; flex-wrap: wrap; gap: 10px; }
.interest-tag { padding: 10px 20px; border: 1px solid var(--color-light-grey); border-radius: 20px; cursor: pointer; transition: all 0.2s ease; user-select: none; }
.interest-tag.active { background-color: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.preferences-group { margin-bottom: 25px; }
.preferences-group > label { display: block; font-weight: bold; margin-bottom: 10px; }
.toggle-switch { display: flex; border: 1px solid var(--color-light-grey); border-radius: var(--border-radius-small); overflow: hidden; }
.toggle-switch label { flex: 1; text-align: center; }
.toggle-switch input { display: none; }
.toggle-switch span { display: block; padding: 12px; cursor: pointer; }
.toggle-switch input:checked + span { background-color: var(--color-secondary); color: #fff; }
#wizard-summary { background: #f7f7f7; border-radius: var(--border-radius-small); padding: 20px; margin-bottom: 20px; line-height: 1.5; }
#wizard-summary p { margin: 0; }
#wizard-summary strong { color: var(--color-secondary); }

/* --- AI Result & Spinner --- */
#itinerary-result-container { background: #fff; padding: 40px; border-radius: var(--border-radius-large); box-shadow: var(--shadow); }
#loading-spinner { text-align: center; }
.spinner { height: 50px; width: 50px; border: 4px solid var(--color-light-grey); border-top-color: var(--color-primary); border-radius: 50%; margin: 0 auto; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Homepage Content Sections --- */
.page-content { background-color: #fff; padding: 60px 0; }
.directory h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; }
.explore-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 0 0 60px 0; }
.explore-card { position: relative; height: 300px; border-radius: var(--border-radius-large); background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 20px; text-decoration: none; overflow: hidden; transition: transform 0.3s ease; }
.explore-card:hover { transform: scale(1.05); }
.explore-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7) 10%, transparent 50%); }
.explore-card-title { position: relative; z-index: 2; color: #fff; font-family: var(--font-heading); font-size: 2rem; }
.event-list { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.event-card { display: flex; align-items: center; background: #fff; padding: 15px; border-radius: var(--border-radius-small); box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.2s ease; }
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event-date-box { text-align: center; background: var(--color-primary); color: #fff; border-radius: var(--border-radius-small); padding: 10px 20px; margin-right: 20px; }
.event-date-box .month { display: block; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }
.event-date-box .day { display: block; font-size: 1.8rem; font-weight: 700; line-height: 1; }
.event-details { flex-grow: 1; }
.event-details h3 { margin: 0 0 5px 0; font-size: 1.2rem; }
.event-details p { margin: 0; color: #757575; }
.ad-slot-banner { margin: 40px 0; }
.ad-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; max-width: 728px; height: 120px; background: #f0f0f0; border: 2px dashed var(--color-light-grey); color: #aaa; text-align: center; margin: 0 auto; }
.ad-placeholder span { font-weight: bold; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
/* --- ENHANCED MODERN CARD STYLES --- */
/* This replaces the old .modern-card styles */

.modern-card, .modern-card:visited {
    background: #fff;
    border-radius: var(--border-radius-large);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: block; /* Ensures the <a> tag behaves like a container */
    text-decoration: none; /* Removes the default link underline */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Wrapper to contain the zoom effect */
.modern-card .card-image-wrapper {
    height: 220px;
    overflow: hidden;
}

.modern-card .card-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease-out; /* Slows down the zoom effect */
}

.modern-card:hover .card-image {
    transform: scale(1.08); /* Zoom effect on hover */
}

.modern-card .card-content {
    padding: 25px;
}

.modern-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-secondary); /* FIX: Overrides default blue link color */
    font-size: 1.4rem;
}

.modern-card .card-description {
    color: var(--color-text); /* FIX: Overrides default purple/blue link color */
    margin-bottom: 20px;
    line-height: 1.6;
    height: 75px; /* Gives the description a consistent height */
}

.modern-card .card-cta {
    margin: 0;
    font-weight: bold;
    color: var(--color-primary); /* Uses your primary brand color */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.modern-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}
.btn-secondary { background: none; border: 2px solid var(--color-secondary); color: var(--color-secondary); padding: 10px 20px; text-decoration: none; border-radius: var(--border-radius-small); font-weight: bold; display: inline-block; text-align: center; margin-left: auto; }
.btn-secondary:hover { background: var(--color-secondary); color: #fff; }
.btn-primary-outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); padding: 12px 30px; text-decoration: none; border-radius: 5px; font-weight: bold; }

/* --- Sub-Page & Content Styles --- */
.page-header { padding: 80px 0; text-align: center; color: #fff; position: relative; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: 3rem; }
.content-container { max-width: 800px; }
.content-figure { margin: 40px 0; text-align: center; }
.content-figure img { max-width: 100%; border-radius: var(--border-radius-large); }
.content-figure figcaption { margin-top: 10px; font-style: italic; color: #757575; }
.past-event { opacity: 0.6; filter: grayscale(50%); }

/* --- Admin Portal Styles --- */
.admin-section { background: #fff; padding: 30px; border-radius: var(--border-radius-large); box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-bottom: 40px; }
.admin-section h3 { margin-top: 0; border-bottom: 2px solid var(--color-light-grey); padding-bottom: 10px; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.admin-table th, .admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--color-light-grey); }
.admin-table th { background-color: #f9f9f9; }
.admin-table a { color: var(--color-primary); text-decoration: none; }

/* --- Mobile Responsiveness --- */
/* This block should be at the very end of your CSS file */

@media (max-width: 768px) {
    
    /* --- General Layout --- */
    .container {
        padding: 0 15px;
    }
    .page-header h1, .hero-content h1 {
        font-size: 2.5rem;
    }
    .card-grid,
    .listing-columns,
    .explore-section {
        grid-template-columns: 1fr; /* Stack grids into a single column */
    }
    
    /* --- Header & Navigation --- */
    .main-header .container {
        position: relative;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: var(--color-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
        z-index: 998;
    }
    .main-nav.nav-open {
        transform: translateX(0);
    }
    .main-nav a {
        color: #fff;
        font-size: 1.5rem;
        margin: 15px 0;
        width: 100%;
    }
    body.nav-open {
        overflow: hidden; /* Prevent background scroll when nav is open */
    }
    
    /* --- Hamburger Menu Button --- */
    .mobile-nav-toggle {
        display: block;
        position: relative;
        z-index: 999;
        width: 30px;
        height: 21px;
        border: none;
        background: transparent;
        cursor: pointer;
    }
    .mobile-nav-toggle::before,
    .mobile-nav-toggle::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--color-secondary);
        transition: transform 0.3s ease;
    }
    .mobile-nav-toggle::before { top: 0; }
    .mobile-nav-toggle::after { bottom: 0; }
    
    /* Hamburger animation to 'X' */
    .nav-open .mobile-nav-toggle::before {
        transform: translateY(9px) rotate(45deg);
        background: #fff;
    }
    .nav-open .mobile-nav-toggle::after {
        transform: translateY(-9px) rotate(-45deg);
        background: #fff;
    }

    /* Hide hamburger text for accessibility */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      border: 0;
    }
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
    .mobile-nav-toggle {
        display: none;
    }
}

/* --- MODERN LISTING DETAIL PAGE STYLES --- */

/* Main Gallery / Hero */
.detail-gallery {
    margin-bottom: 30px;
    background: #f0f0f0;
}
.detail-gallery .main-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}
.detail-gallery .thumbnail-strip {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    background: rgba(0,0,0,0.05);
}
.detail-gallery .thumb {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    opacity: 0.6;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}
.detail-gallery .thumb:hover {
    opacity: 1;
}
.detail-gallery .thumb.active {
    opacity: 1;
    border-color: var(--color-primary);
}

/* Header */
.detail-header {
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-light-grey);
}
.detail-header h1 {
    font-size: 2.8rem;
    margin: 0;
}
.category-badge {
    background: var(--color-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* Main Layout */
.detail-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.detail-section {
    margin-bottom: 40px;
}
.detail-section h2 {
    font-size: 1.8rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
    margin-bottom: 20px;
}
p.listing-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Sidebar */
.detail-sidebar .sticky-sidebar {
    position: sticky;
    top: 140px; /* Adjust based on your header height */
}
.info-card {
    background: #fdfdfd;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--border-radius-large);
    padding: 25px;
}
.info-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}
.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.info-card ul li i {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-top: 5px;
}
.info-card ul li p, .info-card ul li strong {
    margin: 0;
}
.info-card-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}
.info-card-actions .btn-primary, .info-card-actions .btn-primary-outline {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* Coupons */
.coupon-list { display: grid; gap: 20px; }
.coupon-card {
    background: #fff8f5;
    border: 2px dashed var(--color-primary);
    padding: 20px;
    border-radius: var(--border-radius-small);
}
.coupon-card h4 { margin: 0 0 10px 0; color: var(--color-primary); }
.coupon-card p { margin: 0; color: #555; }
.coupon-expiry { margin-top: 15px; font-weight: bold; color: var(--color-secondary); }

/* Map */
.map-embed iframe {
    border-radius: var(--border-radius-large);
}

/* Responsive adjustments for the detail page */
@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-sidebar .sticky-sidebar {
        position: static; /* Unstick the sidebar on smaller screens */
    }
}
@media (max-width: 768px) {
    .detail-gallery .main-image img {
        height: 350px;
    }
    .detail-header h1 {
        font-size: 2.2rem;
    }
}

/* --- MODERN ITINERARY DISPLAY STYLES --- */
#itinerary-result h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}
.itinerary-timeline {
    border-left: 3px solid var(--color-primary);
    margin-left: 20px;
    padding-left: 30px;
}
.day-section {
    margin-bottom: 50px;
    position: relative;
}
.day-section::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 5px;
    height: 20px;
    width: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 4px solid #fff;
}
.day-header h2 {
    font-size: 1.8rem;
    margin: 0;
}
.day-header span {
    color: var(--text-light);
    font-style: italic;
}
.activity-card {
    background: #fdfdfd;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--border-radius-large);
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.activity-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
}
.activity-card h3 .time {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-light);
}
.activity-card .details {
    display: grid;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    margin-top: 15px;
}
.activity-card .details p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.activity-card .details i {
    color: var(--color-primary);
}

/* --- SMS Feature Styles --- */
.sms-section {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: var(--border-radius-large);
    text-align: center;
}
.sms-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
.sms-form input {
    padding: 12px;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--border-radius-small);
    width: 250px;
}
.sms-form button {
    padding: 12px 24px;
}
#sms-status {
    margin-top: 15px;
    font-weight: bold;
}