/* =====================
   CSS Reset & Base Styles
   ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00b4d8;
    --primary-dark: #0090b0;
    --primary-light: #38d4f5;
    --secondary-color: #059669;
    --secondary-dark: #047857;
    --accent-color: #00b4d8;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --navy: #0f2040;
    --navy-mid: #1a3560;
    --cyan: #00b4d8;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* =====================
   Typography
   ===================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* =====================
   Buttons
   ===================== */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* =====================
   Header & Navigation
   ===================== */
header {
    background-color: var(--navy);
    box-shadow: 0 2px 16px rgba(15, 32, 64, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
}

.logo-img {
    height: 120px;
    width: auto;
    margin: -28px 0;
    display: block;
}

.logo-text {
    font-size: 0; /* hides the bare "Fonster" text node without touching HTML */
    line-height: 1;
}

.tagline {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-links .btn-primary {
    color: var(--navy) !important;
    background-color: var(--cyan);
    border-color: var(--cyan);
}

.nav-links .btn-primary:hover {
    color: var(--navy) !important;
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

/* Dropdown Menu Styles */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown > a {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(15, 32, 64, 0.18);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 1000;
    list-style: none;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all var(--transition);
}

/* =====================
   Hero Section
   ===================== */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 32, 64, 0.72) 0%, rgba(10, 20, 45, 0.88) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.section-small-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}


/* =====================
   Services Section
   ===================== */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

    .breadcrumb-section {
         padding: 10px 0;
         background-color: var(--bg-light); /* Assuming a light background for the section */
     }
    
     .breadcrumb {
         list-style: none; /* Remove bullet points */
         padding: 0;
         margin: 0;
        display: flex; /* Use flexbox for better alignment and spacing */
        flex-wrap: wrap; /* Allow items to wrap on smaller screens */
        font-size: 0.9em; /* Adjust font size as needed */
    }
   
    .breadcrumb-item {
        display: inline-flex; /* Use inline-flex for better control over spacing and vertical alignment */
        align-items: center;
        white-space: nowrap; /* Prevent items from breaking mid-word */
    }
   
    .breadcrumb-item a {
        text-decoration: none;
        color: var(--primary-color); /* Or your desired link color from your styles.css */
    }
   
    .breadcrumb-item a:hover {
        text-decoration: underline;
    }
   
    .breadcrumb-item.active {
        color: var(--text-color); /* Color for the active (current) page */
        font-weight: bold;
    }
   
    .breadcrumb-item + .breadcrumb-item::before {
        content: " / "; /* Separator */
        padding: 0 8px; /* Spacing around the separator */
        color: var(--text-light); /* Color for the separator, adjust as needed */
    } 

/* =====================
   Areas Section
   ===================== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--cyan);
    transition: all var(--transition);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.area-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.area-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.area-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition);
}

.area-card h3 a:hover {
    color: var(--primary-dark);
}

.area-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.area-card .btn-outline {
    width: 100%;
    text-align: center;
}

/* =====================
   How It Works Section
   ===================== */
.how-it-works {
    background-color: var(--bg-light);
}

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

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--cyan);
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 32, 64, 0.22);
}

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* =====================
   Booking Form Section
   ===================== */
.booking {
    background-color: var(--bg-white);
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(15, 32, 64, 0.1);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

/* =====================
   Footer
   ===================== */
footer {
    background-color: var(--navy);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h3,
.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* =====================
   WhatsApp Float Button
   ===================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

/* ============================================================================
   PROBLEMS GRID - FIXED VERSION
   ============================================================================
   
   IMPORTANT: Each category needs to be wrapped in a div or section
   See HTML structure example below
   ============================================================================ */

/* Problems Grid Container */
.problems-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 2rem;
    margin: 2rem 0;
    padding: 0;
}

/* Tablet: 2 columns */
@media (min-width: 768px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Each category card (contains h3 + ul) */
.problems-grid .problem-category {
    /* No background needed for minimal style */
    /* Add background and padding if you want card style */
}

/* Category Headings within Grid */
.problems-grid h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--cyan);
}

/* Problem Lists within Grid */
.problems-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.problems-grid ul li {
    margin-bottom: 0.875rem;
    padding-left: 1.5rem;
    line-height: 1.6;
    position: relative;
}

/* Add arrow bullet point */
.problems-grid ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: bold;
}

/* Links within Problem Grid */
.problems-grid ul li a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.problems-grid ul li a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

/* Description text after links (the "- Description" part) */
.problems-grid ul li {
    color: var(--text-dark);
}


/* ============================================================================
   ALTERNATIVE: CARD-BASED STYLE
   ============================================================================
   
   If you prefer visible cards with backgrounds, add this class to problem-category:
   <div class="problem-category card-style">
   ============================================================================ */

.problems-grid .problem-category.card-style {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.problems-grid .problem-category.card-style:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}


/* ============================================================================
   GUIDE LINKS SECTION
   ============================================================================ */

.guide-links {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.guide-links li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.guide-links li::before {
    content: "📖";
    position: absolute;
    left: 0;
    font-size: 1.25rem;
}

.guide-links li a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
}

.guide-links li a:hover {
    color: var(--cyan);
    text-decoration: underline;
}


/* ============================================================================
   AREA LIST STYLING
   ============================================================================ */

.area-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

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

@media (min-width: 1024px) {
    .area-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.area-list li {
    margin: 0;
    padding: 0;
}

.area-list li a {
    display: block;
    padding: 0.875rem 1.25rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition);
}

.area-list li a:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    transform: translateX(4px);
}


/* ============================================================================
   MOBILE OPTIMIZATIONS
   ============================================================================ */

@media (max-width: 767px) {
    .problems-grid {
        gap: 1.5rem;
    }
    
    .problems-grid h3 {
        font-size: 1.125rem;
    }
    
    .problems-grid ul li {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
    }
}


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

.problems-grid a:focus,
.guide-links a:focus,
.area-list a:focus {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .problems-grid .problem-category,
    .area-list li a {
        transition: none;
        transform: none;
    }
}


    .mb-8 {
        margin-bottom: 2rem;
    }

    .breadcrumb-section {
         padding: 10px 0;
         background-color: var(--bg-light); /* Assuming a light background for the section */
     }
    
     .breadcrumb {
         list-style: none; /* Remove bullet points */
         padding: 0;
         margin: 0;
        display: flex; /* Use flexbox for better alignment and spacing */
        flex-wrap: wrap; /* Allow items to wrap on smaller screens */
        font-size: 0.9em; /* Adjust font size as needed */
    }
   
    .breadcrumb-item {
        display: inline-flex; /* Use inline-flex for better control over spacing and vertical alignment */
        align-items: center;
        white-space: nowrap; /* Prevent items from breaking mid-word */
    }
   
    .breadcrumb-item a {
        text-decoration: none;
        color: var(--primary-color); /* Or your desired link color from your styles.css */
    }
   
    .breadcrumb-item a:hover {
        text-decoration: underline;
    }
   
    .breadcrumb-item.active {
        color: var(--text-color); /* Color for the active (current) page */
        font-weight: bold;
    }
   
    .breadcrumb-item + .breadcrumb-item::before {
        content: " / "; /* Separator */
        padding: 0 8px; /* Spacing around the separator */
        color: var(--text-light); /* Color for the separator, adjust as needed */
    } 
    
        .diagnosis-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .diagnosis-card {
        background-color: var(--bg-white);
        padding: 2rem;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        transition: all var(--transition);
    }

    .diagnosis-symptoms {
        padding-left: 18px;
        margin-bottom: 12px;
    }

    .diagnosis-urgency {
        font-weight: bold;
        margin: 10px 0;
    }

    .urgency-low { color: #2e7d32; }
    .urgency-medium { color: #f9a825; }
    .urgency-high { color: #ef6c00; }
    .urgency-emergency { color: #c62828; }

/* =====================
   Responsive Design
   ===================== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--navy-mid);
        flex-direction: column;
        padding: 1.5rem 2rem;
        box-shadow: 0 8px 24px rgba(15, 32, 64, 0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle span {
        background-color: rgba(255, 255, 255, 0.85);
    }

    .logo-img {
        height: 100px;
        margin: -22px 0;
    }

    .hero {
        padding: 80px 0;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .booking-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {.service-card,
.area-card,
.step-card {
    animation: fadeInUp 0.6s ease-out;
}

/* =====================
   Utility Classes
   ===================== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.pro-section ul li {
    color: #fff !important;
}

/* =====================
   Hero Slideshow
   ===================== */
.hero {
    transition: background-image 1s ease-in-out;
}

/* =====================
   Gallery Section
   ===================== */
.gallery {
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* Increased gap slightly */
}

.gallery-item {
    display: block; /* Explicitly set display */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    cursor: pointer;
    height: 250px;
    position: relative; /* For potential future overlays */
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.03); /* Changed transform */
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; /* Add a subtle zoom on hover */
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =====================
   New Hero Layout
   ===================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-content {
    text-align: left;
}

.hero-text-content h1,
.hero-text-content h2,
.hero-text-content p {
    text-align: left;
    color: white; /* Ensure text color is white for contrast with dark overlay */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Maintain text shadow for readability */
}

.hero-form-container {
    background-color: var(--bg-white);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    z-index: 2; /* Ensure form is above overlay */
}

.hero-form-container .booking-form {
    background-color: transparent; /* Form container already has background */
    padding: 0; /* Remove padding as it's handled by .hero-form-container */
    box-shadow: none; /* Remove shadow as it's handled by .hero-form-container */
}

.hero-form-container .form-title {
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-form-container .form-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-form-container .form-group {
    margin-bottom: 1rem;
}

.hero-form-container .form-actions .btn-large {
    width: 100%;
}

.cluster-inline {
  text-align: center;
  margin: 2rem auto;      /* centers the block */
  max-width: 720px;       /* matches your content width */
  padding: 0 1rem;        /* mobile safety */
}

.cluster-inline h3 {
  margin-bottom: 0.5rem;
}

.cluster-inline p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* Town helper spacing */
.town-helper-link {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

  /* =====================
       Gallery Section (In-line for debugging)
       ===================== */
    .gallery {
        background-color: var(--bg-light);
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item {
        display: block;
        overflow: hidden;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        transition: all var(--transition);
        cursor: pointer;
        height: 250px;
        position: relative;
    }

    .gallery-item:hover {
        transform: translateY(-5px) scale(1.03);
        box-shadow: var(--shadow-xl);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }
    
    .breadcrumb-section {
         padding: 10px 0;
         background-color: var(--bg-light); /* Assuming a light background for the section */
     }
    
     .breadcrumb {
         list-style: none; /* Remove bullet points */
         padding: 0;
         margin: 0;
        display: flex; /* Use flexbox for better alignment and spacing */
        flex-wrap: wrap; /* Allow items to wrap on smaller screens */
        font-size: 0.9em; /* Adjust font size as needed */
    }
   
    .breadcrumb-item {
        display: inline-flex; /* Use inline-flex for better control over spacing and vertical alignment */
        align-items: center;
        white-space: nowrap; /* Prevent items from breaking mid-word */
    }
   
    .breadcrumb-item a {
        text-decoration: none;
        color: var(--primary-color); /* Or your desired link color from your styles.css */
    }
   
    .breadcrumb-item a:hover {
        text-decoration: underline;
    }
   
    .breadcrumb-item.active {
        color: var(--text-color); /* Color for the active (current) page */
        font-weight: bold;
    }
   
    .breadcrumb-item + .breadcrumb-item::before {
        content: " / "; /* Separator */
        padding: 0 8px; /* Spacing around the separator */
        color: var(--text-light); /* Color for the separator, adjust as needed */
    } 
    
    
/* Responsive adjustments for the new hero layout */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text-content {
        text-align: center;
        margin-bottom: 3rem;
    }

    .hero-text-content h1,
    .hero-text-content h2,
    .hero-text-content p {
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }
}  }
}