/* Retreat Detail Page Styles - Extracted from inline CSS for better performance */

/* LinkedIn-inspired color palette */
:root {
    --primary: #0077B5;
    --primary-light: #E8F4FA;
    --primary-dark: #005582;
    --secondary: #0073B1;
    --secondary-light: #E6F7FF;
    --secondary-dark: #004F7A;
    --accent: #0073B1;
    --accent-light: #E6F7FF;
    --accent-dark: #004F7A;
    --neutral-50: #FFFFFF;
    --neutral-100: #F3F2EF;
    --neutral-200: #E6E9EC;
    --neutral-300: #DCDCDC;
    --neutral-400: #B7B7B7;
    --neutral-500: #8F8F8F;
    --neutral-600: #666666;
    --neutral-700: #434649;
    --neutral-800: #191919;
    --neutral-900: #000000;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Base styling for bullet points in specific fields */
.bullet-list-field ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.bullet-list-field ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Checkmark bullets for "What's Included" */
.included-bullets ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--neutral-700);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpath d='M22 4 12 14.01l-3-3'%3E%3C/path%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpath d='M22 4 12 14.01l-3-3'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Cross bullets for "What's Not Included" */
.not-included-bullets ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--accent-dark);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Building bullets for "Facilities" */
.facilities-bullets ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--secondary);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Activity bullets for "Additional Activities" */
.activities-bullets ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    background-color: var(--neutral-800);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--neutral-800);
    line-height: 1.6;
}

.font-display {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Hero section */
.hero-gradient {
    background-color: var(--secondary-light);
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235D9C59' fill-opacity='0.08'%3E%3Cpath d='M40 40c0-22.1 17.9-40 40-40v40H40zm0 0c0 22.1-17.9 40-40 40v-40h40zm0 0c22.1 0 40 17.9 40 40h-40V40zm0 0C17.9 40 0 22.1 0 0h40v40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Simple styling for hero section */
.hero-content {
    position: relative;
    z-index: 1;
}

/* Ensure content is above the background pattern */
.hero-gradient > * {
    position: relative;
    z-index: 3;
}

/* Card and section styling */
.card {
    background-color: white;
    background-image: linear-gradient(to bottom, rgba(245, 240, 235, 0.3), rgba(235, 245, 235, 0.1));
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(93, 156, 89, 0.15);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    background-color: white;
    border-color: rgba(93, 156, 89, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.section-card {
    background-color: white;
    overflow: hidden;
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid rgba(93, 156, 89, 0.15);
    transition: all 0.3s ease;
}

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

/* Mobile optimizations */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }
    
    .full-width-container {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        overflow-x: hidden;
    }
    
    /* Ensure all containers stay within viewport */
    .w-full, .max-w-screen-2xl, .max-w-screen-xl {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Fix grid and flex layouts */
    .grid, .flex {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure text doesn't overflow */
    .text-2xl, .text-3xl, .text-4xl, .text-5xl {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .section-heading {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
        margin-bottom: 1.25rem;
        word-wrap: break-word;
    }
    
    h3.text-xl {
        font-size: 1.1rem;
    }
    
    .section-card {
        padding: 1.25rem !important;
        margin-bottom: 1rem !important;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .feature-card {
        padding: 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .prose {
        font-size: 0.95rem !important;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .card .p-6 {
        padding: 1rem;
    }
    
    /* Fix image containers */
    .retreat-card-image-container, .mobile-gallery-container {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Fix gallery sections that might cause overflow */
    section {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix any negative margins on mobile */
    .-mx-8, .-mx-4, .-mx-2 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure gallery grid doesn't overflow */
    .grid {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .grid > * {
        max-width: 100%;
    }
    
    /* Fix navigation items that might overflow */
    .mobile-section-nav {
        max-width: 100vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-section-nav-item {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Section headings */
.section-heading {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--neutral-800);
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    /* Mobile booking CTA */
    .mobile-booking-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        background-color: white;
        background-image: linear-gradient(to bottom, rgba(245, 240, 235, 0.3), rgba(235, 245, 235, 0.1));
        padding: 0.75rem 1.25rem;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
        border-top: 1px solid rgba(93, 156, 89, 0.15);
        z-index: 50;
        display: flex;
        justify-content: space-between;
        align-items: center;
        overflow-x: hidden;
    }
    
    /* Add padding to bottom of page to account for fixed CTA */
    .mobile-padding-bottom {
        padding-bottom: 5rem;
    }
    
    /* Mobile section navigation */
    .mobile-section-nav {
        position: sticky;
        top: 0;
        background-color: white;
        background-image: linear-gradient(to bottom, rgba(245, 240, 235, 0.3), rgba(235, 245, 235, 0.1));
        z-index: 40;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        border-bottom: 1px solid rgba(93, 156, 89, 0.15);
    }
    
    .mobile-section-nav::-webkit-scrollbar {
        display: none;
    }
    
    .mobile-section-nav-item {
        display: inline-block;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--secondary);
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .mobile-section-nav-item.active {
        color: var(--neutral-800);
        border-bottom: 2px solid var(--neutral-700);
        font-weight: 600;
        transform: translateY(-1px);
    }
}

/* Sticky sidebar */
.sticky-sidebar {
    position: sticky;
    top: 2rem;
    background-color: white;
    background-image: linear-gradient(to bottom, rgba(245, 240, 235, 0.3), rgba(235, 245, 235, 0.1));
    border: 1px solid rgba(93, 156, 89, 0.15);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.sticky-sidebar:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Feature cards */
.feature-card {
    background-color: white;
    background-image: linear-gradient(to bottom, rgba(245, 240, 235, 0.3), rgba(235, 245, 235, 0.1));
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(93, 156, 89, 0.15);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    background-color: white;
    border-color: rgba(93, 156, 89, 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Animations and transitions */
.transition-all {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

.hover-lift:hover {
    transform: translateY(-4px);
}
