/* ============================================================
   BRUMLEY BRAE - CONSOLIDATED STYLESHEET
   All pages: index, kennels, cattery, doggy-day-care, dog-park,
   retail, contact, faq, terms, terms-conditions, gallery
   ============================================================ */

/* ------------------------------------------------------------
   :ROOT VARIABLES
   ------------------------------------------------------------ */
:root {
    --orange-primary: #F5A623;
    --orange-dark: #E8942D;
    --sky-blue: #5BC0EB;
    --sky-blue-light: #A8DFF0;
    --green-primary: #4CAF50;
    --green-dark: #388E3C;
    --green-light: #81C784;
    --purple-accent: #9B59B6;
    --red-accent: #E74C3C;
    --cream: #FFF8E7;
    --cream-dark: #F5E6C8;
    --white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #5D6D7E;
}

/* ------------------------------------------------------------
   BASE RESET & TYPOGRAPHY
   ------------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    overflow-x: hidden;
    font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', sans-serif;
}

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */
header {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--sky-blue-light) 100%);
    padding: 0.8rem 2rem;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 60px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 100%;
    padding: 0 2rem;
}

.logo-wrapper {
    position: absolute;
    top: -5px;
    left: 2rem;
    z-index: 1001;
}

.logo {
    height: 170px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.2));
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 150px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav > ul > li {
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    background: var(--orange-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--orange-dark);
    transform: scale(1.05);
}

/* ------------------------------------------------------------
   DROPDOWN MENU
   ------------------------------------------------------------ */
.nav-dropdown > a::after { display: none; }
.nav-dropdown > a { cursor: default; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0.8rem 0;
    min-width: 220px;
    z-index: 1002;
    padding-top: 1.3rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1.3rem;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li { margin: 0; }

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu a::after { display: none; }

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--orange-primary);
}

/* ------------------------------------------------------------
   MOBILE NAVIGATION
   ------------------------------------------------------------ */
.mobile-menu-btn {
    display: none;
    background: var(--orange-primary);
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    margin-left: 1rem;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 1rem 0;
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--orange-primary);
}

/* Inline style replacements for mobile nav */
.mobile-nav-heading span {
    color: var(--orange-primary);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
}

.mobile-nav-service-link {
    font-size: 1.2rem;
}

.mobile-nav-separator {
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.5rem;
}

/* ------------------------------------------------------------
   SOCIAL LINKS
   ------------------------------------------------------------ */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

/* Index page uses slightly different social-link sizing */
.page-home .social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.3rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.page-home .social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover {
    background: var(--orange-primary);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* ------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------ */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--green-primary);
    border: 3px solid var(--green-primary);
}

.btn-secondary:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--orange-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

/* CTA outline button (index page) */
.btn-outline {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.btn-submit {
    background: var(--orange-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   PAGE HERO (with body-class colour overrides)
   ------------------------------------------------------------ */
.page-hero {
    background: linear-gradient(180deg, var(--sky-blue-light) 0%, var(--cream) 100%);
    padding: 10rem 2rem 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Default h1 span colour: --orange-primary (kennels, day-care, faq) */
.page-hero h1 span {
    color: var(--orange-primary);
}

/* Cattery: purple */
.page-cattery .page-hero h1 span {
    color: var(--purple-accent);
}

/* Contact: sky-blue */
.page-contact .page-hero h1 span {
    color: var(--sky-blue);
}

/* Dog Park, Terms, Terms-Conditions, Gallery, Retail: green */
.page-dog-park .page-hero h1 span,
.page-terms .page-hero h1 span,
.page-terms-conditions .page-hero h1 span,
.page-gallery .page-hero h1 span,
.page-retail .page-hero h1 span {
    color: var(--green-primary);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Dog park tagline styling */
.page-hero .tagline {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

/* Contact page has slightly less bottom padding on hero */
.page-contact .page-hero {
    padding: 10rem 2rem 3rem;
}

/* Dog park page has slightly smaller h1 */
.page-dog-park .page-hero h1 {
    font-size: 2.8rem;
}

/* ------------------------------------------------------------
   CTA SECTION (with body-class gradient overrides)
   ------------------------------------------------------------ */

/* Default: green-primary to green-dark */
.cta-section {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Kennels & Doggy Day Care: orange-primary to orange-dark */
.page-kennels .cta-section,
.page-doggy-day-care .cta-section {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
}

/* Cattery: purple-accent to #8E44AD */
.page-cattery .cta-section {
    background: linear-gradient(135deg, var(--purple-accent) 0%, #8E44AD 100%);
}

/* btn-white colour adapts to CTA gradient context */
.page-kennels .cta-section .btn-white,
.page-doggy-day-care .cta-section .btn-white {
    color: var(--orange-primary);
}

.page-cattery .cta-section .btn-white {
    color: var(--purple-accent);
}

.page-dog-park .cta-section .btn-white,
.page-terms .cta-section .btn-white,
.page-terms-conditions .cta-section .btn-white,
.page-faq .cta-section .btn-white,
.page-retail .cta-section .btn-white,
.page-gallery .cta-section .btn-white {
    color: var(--green-primary);
}

/* FAQ page has slightly smaller CTA heading */
.page-faq .cta-section h2 {
    font-size: 2rem;
}

.page-faq .cta-section p {
    font-size: 1.1rem;
}

/* ------------------------------------------------------------
   CONTENT GRID (shared by kennels / cattery / day-care)
   ------------------------------------------------------------ */
.content-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.content-section:nth-child(odd) {
    background: var(--cream);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.content-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Default content-text h2 span: --sky-blue (kennels, day-care) */
.content-text h2 span {
    color: var(--sky-blue);
}

/* Cattery: purple-accent */
.page-cattery .content-text h2 span {
    color: var(--purple-accent);
}

.content-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    font-size: 1.05rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Default checkmark colour: --green-primary (kennels, day-care) */
.feature-list li::before {
    content: '\2713';
    color: var(--green-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Cattery: purple-accent checkmarks */
.page-cattery .feature-list li::before {
    color: var(--purple-accent);
}

/* Hours box (doggy-day-care, contact) */
.hours-box {
    background: var(--sky-blue);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-top: 1.5rem;
    display: inline-block;
}

.hours-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hours-box p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact page hours-box overrides */
.page-contact .hours-box {
    background: var(--sky-blue-light);
}

.page-contact .hours-box h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-contact .hours-box p {
    color: var(--text-dark);
    margin: 0.3rem 0;
    font-weight: 400;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-brand img {
    height: 192px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--orange-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--orange-primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact span {
    font-size: 1.2rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* ============================================================
   HOMEPAGE SPECIFIC (.page-home)
   ============================================================ */

/* --- Hero Section --- */
.page-home .hero {
    background: linear-gradient(180deg, var(--sky-blue-light) 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-bg-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--orange-primary);
    top: -100px;
    right: -100px;
}

.hero-bg-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--green-primary);
    bottom: 50px;
    left: -150px;
}

.hero-bg-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--purple-accent);
    top: 40%;
    right: 10%;
}

.hero-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 480px;
}

.hero-content {
    padding-right: 1rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--orange-primary);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(245, 166, 35, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.hero-trust-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 3rem;
    position: relative;
    z-index: 1;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.trust-item span {
    font-size: 1.3rem;
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-image-main {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

/* --- Opening Times Banner --- */
.opening-banner {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.opening-banner .paw-bg {
    position: absolute;
    font-size: 6rem;
    opacity: 0.1;
    color: var(--white);
}

.opening-banner .paw-bg-1 { top: -20px; right: 10%; }
.opening-banner .paw-bg-2 { bottom: -20px; right: 25%; }

.opening-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.opening-item {
    text-align: center;
    color: var(--white);
}

.opening-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.opening-item p {
    font-size: 1.4rem;
    font-weight: 700;
}

/* --- About Section --- */
.about {
    padding: 5rem 2rem;
    background: var(--white);
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.about-image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image-grid img:hover {
    transform: scale(1.03);
}

.about-image-grid img.full-width {
    grid-column: span 2;
    height: 250px;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-content h2 span {
    color: var(--sky-blue);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--sky-blue-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.highlight-text p {
    font-size: 0.9rem;
    margin: 0;
}

/* --- Services Section --- */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
    position: relative;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 30px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--orange-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.service-card.kennels::before { background: var(--orange-primary); }
.service-card.cattery::before { background: var(--purple-accent); }
.service-card.retail::before { background: var(--green-primary); }
.service-card.daycare::before { background: var(--sky-blue); }
.service-card.field::before { background: var(--orange-primary); }

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.service-card.kennels .service-icon {
    background: linear-gradient(135deg, #FFECD2 0%, #FCB69F 100%);
}

.service-card.cattery .service-icon {
    background: linear-gradient(135deg, #E8DAEF 0%, #D7BDE2 100%);
}

.service-card.retail .service-icon {
    background: linear-gradient(135deg, #D5F5E3 0%, #ABEBC6 100%);
}

.service-card.daycare .service-icon {
    background: linear-gradient(135deg, #D6EAF8 0%, #AED6F1 100%);
}

.service-card.field .service-icon {
    background: linear-gradient(135deg, #FDEBD0 0%, #F9E79F 100%);
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-features span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-features span::before {
    content: '\2713';
    color: var(--green-primary);
    font-weight: bold;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background: var(--white);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    display: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--cream);
    border-radius: 25px;
    padding: 2.5rem;
}

.testimonial-card .stars {
    color: var(--orange-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    font-style: italic;
}

/* --- Stats Section --- */
.stats {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--sky-blue-light) 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* --- Services Extra Section (index) --- */
.services-extra {
    padding: 5rem 2rem;
    background: var(--white);
}

.services-extra-container {
    max-width: 1400px;
    margin: 0 auto;
}

.extra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Index-specific .extra-card (scoped to avoid conflict with terms page) */
.page-home .extra-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.page-home .extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.extra-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.page-home .extra-card:nth-child(1) .extra-icon { background: linear-gradient(135deg, #FFECD2 0%, #FCB69F 100%); }
.page-home .extra-card:nth-child(2) .extra-icon { background: linear-gradient(135deg, #A8E6CF 0%, #88D8B0 100%); }

.extra-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.extra-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Visit CTA Section (index) --- */
.visit-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
    position: relative;
    overflow: hidden;
}

.visit-cta::before {
    content: '\1F415 \1F408';
    position: absolute;
    font-size: 10rem;
    opacity: 0.1;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.visit-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.visit-cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.visit-cta p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.visit-cta .btn {
    background: var(--white);
    color: var(--orange-primary);
}

.visit-cta .btn:hover {
    background: var(--cream);
}

/* --- Location Section (index) --- */
.location {
    padding: 5rem 2rem;
    background: var(--cream);
}

.location-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.location-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-details {
    margin-top: 2rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: var(--green-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.location-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.location-info p {
    margin: 0;
    font-size: 1rem;
}

.location-map {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   KENNELS / CATTERY / DAY CARE SPECIFIC
   ============================================================ */
/* (Most rules are in the shared Content Grid section above.)
   Body-class overrides for colour variations are already handled
   in the Page Hero, CTA, and Content Grid sections. */

/* ============================================================
   CONTACT PAGE SPECIFIC (.page-contact)
   ============================================================ */
.contact-methods {
    padding: 3rem 2rem;
    background: var(--white);
}

.methods-container {
    max-width: 800px;
    margin: 0 auto;
}

.method-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--cream);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
}

.method-box .icon {
    font-size: 1.8rem;
    margin-right: 1rem;
}

.method-box .label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.method-box .value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.method-box .value a {
    color: var(--text-dark);
    text-decoration: none;
}

.method-box .btn-click {
    background: var(--orange-primary);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.method-box .btn-click:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

/* Enquiry Form */
.form-section {
    padding: 3rem 2rem;
    background: var(--cream);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sky-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    background: var(--cream);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-note strong {
    color: var(--text-dark);
}

.form-alert {
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.form-alert a {
    color: inherit;
    font-weight: 600;
}

.form-alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-alert-error {
    background: #fbe9e7;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Address & Map (contact) */
.location-section {
    padding: 3rem 2rem;
    background: var(--white);
}

.page-contact .location-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.address-box {
    background: var(--cream);
    border-radius: 20px;
    padding: 2rem;
}

.address-box h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.address-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.map-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    height: 350px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   FAQ PAGE SPECIFIC (.page-faq)
   ============================================================ */
.faq-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 1.6rem;
    color: var(--sky-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--sky-blue-light);
}

.faq-item {
    background: var(--cream);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(0,0,0,0.03);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--orange-primary);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.faq-answer a {
    color: var(--sky-blue);
    font-weight: 600;
}

/* ============================================================
   TERMS / CHARGES PAGE SPECIFIC (.page-terms)
   ============================================================ */
.pricing-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--cream);
    border-radius: 25px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
}

.pricing-card.dogs::before { background: var(--orange-primary); }
.pricing-card.cats::before { background: var(--purple-accent); }

.pricing-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.pricing-card.dogs h2 { color: var(--orange-primary); }
.pricing-card.cats h2 { color: var(--purple-accent); }

.price-list {
    list-style: none;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 1.1rem;
}

.price-list .price {
    font-weight: 700;
    color: var(--text-dark);
}

/* Info section (terms page) */
.info-section {
    padding: 4rem 2rem;
    background: var(--cream);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
}

.info-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.info-card li::before {
    content: '\2713 ';
    color: var(--green-primary);
    font-weight: bold;
}

/* Extras section (terms page - scoped with body class) */
.extras-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.extras-container {
    max-width: 1200px;
    margin: 0 auto;
}

.extras-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Terms-page .extra-card (scoped to avoid conflict with index) */
.page-terms .extra-card {
    background: var(--cream);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.page-terms .extra-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-terms .extra-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.page-terms .extra-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 1rem;
}

.page-terms .extra-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Terms summary section (terms page) */
.terms-section {
    padding: 4rem 2rem;
    background: var(--cream);
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.terms-list {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    list-style: none;
}

.terms-list li {
    padding: 0.8rem 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.terms-list li::before {
    content: '\2022 ';
    color: var(--orange-primary);
    font-weight: bold;
}

/* ============================================================
   TERMS & CONDITIONS PAGE SPECIFIC (.page-terms-conditions)
   ============================================================ */
.terms-content {
    padding: 4rem 2rem;
    background: var(--white);
}

.terms-inner {
    max-width: 900px;
    margin: 0 auto;
}

.terms-block {
    background: var(--cream);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.terms-block h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--orange-primary);
}

.terms-block p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.terms-block p:last-child {
    margin-bottom: 0;
}

.terms-block strong {
    color: var(--text-dark);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--sky-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* ============================================================
   DOG PARK PAGE SPECIFIC (.page-dog-park)
   ============================================================ */
.intro-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-container h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.intro-container h2 span {
    color: var(--green-primary);
}

.intro-container p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.features-section {
    padding: 4rem 2rem;
    background: var(--cream);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Gallery section on dog-park page (scoped) */
.page-dog-park .gallery-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.page-dog-park .gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-dog-park .gallery-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.page-dog-park .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.page-dog-park .gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.page-dog-park .gallery-grid img:hover {
    transform: scale(1.03);
}

/* Dog park pricing section */
.page-dog-park .pricing-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.page-dog-park .pricing-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-dog-park .pricing-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.pricing-box {
    background: var(--cream);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
}

/* Dog park price list -- green price colour */
.page-dog-park .price-list .price {
    font-weight: 700;
    color: var(--green-primary);
}

.availability {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.availability h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.availability p {
    color: var(--text-light);
}

/* Ideal section (dog-park) */
.ideal-section {
    padding: 4rem 2rem;
    background: var(--cream);
}

.ideal-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ideal-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.ideal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ideal-item {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.5rem;
}

.ideal-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ideal-item h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ============================================================
   GALLERY PAGE SPECIFIC (.page-gallery)
   ============================================================ */

/* Carousel */
.carousel-section {
    padding: 3rem 0;
    background: var(--white);
    overflow: hidden;
}

.carousel-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: scroll-left 45s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-track img {
    height: 280px;
    width: auto;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel-track img:hover {
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Gallery Grid (gallery page -- scoped) */
.page-gallery .gallery-section {
    padding: 4rem 2rem;
    background: var(--cream);
}

.page-gallery .gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-gallery .gallery-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.page-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 15px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 10px;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ============================================================
   RETAIL PAGE SPECIFIC (.page-retail)
   ============================================================ */
.products-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--cream);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.product-card .product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.product-card .highlight {
    color: var(--green-primary);
    font-weight: 600;
}

/* ============================================================
   SHARED RESPONSIVE BREAKPOINTS
   ============================================================ */

/* --- 1200px: Hide desktop nav, show mobile menu --- */
@media (max-width: 1200px) {
    nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo {
        height: 130px;
    }
}

/* --- 1024px: Stack grids, reduce columns --- */
@media (max-width: 1024px) {
    /* Homepage */
    .hero-top {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 5rem;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image-container {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .hero-image-main {
        width: 100%;
        height: 300px;
        border-radius: 20px;
    }

    .about-container,
    .location-container {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        text-align: center;
    }

    .feature-highlights {
        max-width: 500px;
        margin: 2rem auto 0;
    }

    .opening-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Content grid (kennels, cattery, day-care) */
    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 768px: Mobile layout --- */
@media (max-width: 768px) {
    /* Header */
    header {
        padding: 0.5rem 1rem;
        height: 50px;
    }

    .header-container {
        padding: 0 1rem;
    }

    .logo-wrapper {
        top: -3px;
        left: 1rem;
    }

    .logo {
        height: 100px;
    }

    /* Page Hero */
    .page-hero {
        padding: 6rem 1rem 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    /* Homepage hero */
    .hero-top {
        padding: 4rem 1rem 1rem;
        gap: 1.5rem;
    }

    .hero-image-main {
        height: 220px;
    }

    .hero-trust {
        padding-bottom: 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-bg-shape-1 {
        width: 200px;
        height: 200px;
    }

    .hero-bg-shape-2 {
        width: 150px;
        height: 150px;
    }

    .hero-bg-shape-3 {
        display: none;
    }

    /* Section headings */
    .section-header h2,
    .about-content h2,
    .location-content h2,
    .visit-cta h2 {
        font-size: 2rem;
    }

    /* Opening times */
    .opening-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .opening-item h3 {
        font-size: 1rem;
    }

    .opening-item p {
        font-size: 1.3rem;
    }

    /* About images */
    .about-image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image-grid img {
        height: 200px;
    }

    .about-image-grid img.full-width {
        grid-column: span 1;
        height: 200px;
    }

    .feature-highlights {
        grid-template-columns: 1fr;
    }

    .extra-grid {
        grid-template-columns: 1fr;
    }

    .page-home .extra-card {
        flex-direction: column;
        text-align: center;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-brand img {
        height: 140px;
    }
}

/* ============================================================
   PAGE-SPECIFIC RESPONSIVE OVERRIDES
   ============================================================ */

/* --- Contact page --- */
@media (max-width: 1024px) {
    .page-contact .location-container {
        grid-template-columns: 1fr;
    }

    .map-box {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-contact .page-hero {
        padding: 6rem 1rem 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-container {
        padding: 2rem;
    }

    .method-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- Dog Park page --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ideal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .ideal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-dog-park .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Terms / Charges page --- */
@media (max-width: 1024px) {
    .pricing-grid,
    .info-grid,
    .extras-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Terms & Conditions page --- */
@media (max-width: 768px) {
    .terms-block {
        padding: 1.5rem;
    }
}

/* --- Gallery page --- */
@media (max-width: 1024px) {
    .page-gallery .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .carousel-track img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .page-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-track img {
        height: 180px;
    }

    .lightbox-nav {
        font-size: 1.8rem;
        padding: 0.3rem 0.7rem;
    }
}

/* --- Retail page --- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
