/* ===================================
   HONEYDALE FARM - RUSTIC FARMHOUSE DESIGN
   =================================== */

/* CSS Variables - Rustic Color Palette */
:root {
    /* Warm Earth Tones */
    --primary-brown: #6B4423;
    --secondary-brown: #8B6F47;
    --light-cream: #F5F1E8;
    --warm-beige: #E8DCC4;
    --dark-wood: #3E2723;
    --sage-green: #8A9A5B;
    --barn-red: #A0522D;
    --honey-gold: #D4A574;

    /* Accent Colors */
    --accent-green: #6B8E23;
    --accent-rust: #B7410E;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAF8F3;
    --light-gray: #D4CFC4;
    --text-dark: #2C2416;
    --text-medium: #5C4F3D;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Prevent horizontal scroll on mobile */
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
    /* Better text rendering on mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
    /* Better touch targets on mobile */
    -webkit-tap-highlight-color: rgba(160, 82, 45, 0.2);
}

button {
    /* Remove default button styles and improve touch */
    -webkit-tap-highlight-color: rgba(160, 82, 45, 0.2);
    touch-action: manipulation;
}

ul {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-brown);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-medium);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-brown);
    margin-bottom: var(--spacing-md);
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--light-cream);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-brown);
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--barn-red), var(--honey-gold));
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}

.highlight {
    background-color: var(--warm-beige);
    padding: var(--spacing-sm);
    border-left: 4px solid var(--barn-red);
    font-style: italic;
    margin: var(--spacing-md) 0;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--barn-red);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--accent-rust);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--sage-green);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.btn-facebook {
    background-color: #1877F2;
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-facebook:hover {
    background-color: #0C63D4;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-facebook svg {
    flex-shrink: 0;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-buttons .btn {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 3px solid var(--barn-red);
}

.navbar.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
}

.nav-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.nav-logo:hover img {
    opacity: 0.8;
}

.nav-logo span {
    display: none;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-link {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.65rem 1.1rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    position: relative;
    white-space: nowrap;
    text-align: center;
}

.nav-link:hover {
    color: var(--barn-red);
    background-color: var(--warm-beige);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--white);
    background-color: var(--barn-red);
    box-shadow: 0 2px 8px rgba(160, 82, 45, 0.3);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: var(--warm-beige);
    color: var(--barn-red);
    padding-left: 1.5rem;
}

.dropdown-menu a.active-dropdown-item {
    background-color: var(--barn-red);
    color: var(--white);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-brown);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--warm-beige);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 var(--spacing-md);
    z-index: 10;
    transform: translateY(-50%);
}

.slider-btn {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: 2px solid var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(5px);
    /* Center the arrow text */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding: 0;
    /* Fine-tune vertical alignment - shift arrows up */
    padding-bottom: 5px;
}

.slider-btn:hover {
    background-color: var(--barn-red);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.3);
}

/* ===================================
   PAGE HEADER (for internal pages)
   =================================== */

.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    max-height: 500px;
    background: var(--primary-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Removed decorative pattern - using real images now */

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: var(--spacing-md);
    max-width: 800px;
}

.page-header-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: var(--spacing-sm);
}

.page-header-content p {
    font-size: 1.5rem;
    color: var(--warm-beige);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Page-specific header backgrounds */
.page-header.livery-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('Images/Livery Photo 1.jpg') center 40%/cover no-repeat;
}

.page-header.bootsale-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('Images/Bootsale photo.jpg') center center/cover no-repeat;
}

.page-header.shoot-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('Images/Honeydale Farm Tactor Coming.jpg') center center/cover no-repeat;
}

.page-header.enzos-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('Images/Enzo Slight Menu.jpg') center center/cover no-repeat;
}

.page-header.tearoom-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('Images/honeydale-farm-shop.jpg') center center/cover no-repeat;
}

.page-header.beekeepers-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('Images/Beekeepers Bees.jpg') center center/cover no-repeat;
}

.page-header.animals-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('Images/Black Sheep 2.JPG') center 33%/cover no-repeat;
}

/* Animals section - sheep image positioning */
.animals-section .content-images .feature-img {
    object-fit: contain;
    object-position: center center;
    max-height: 500px;
    height: auto;
    box-shadow: none;
    background: transparent;
}

/* ===================================
   CONTENT LAYOUTS
   =================================== */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

/* Livery page specific grid layout */
.livery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.livery-intro {
    grid-column: 1;
    grid-row: 1;
}

.livery-images {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.livery-cta {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: var(--spacing-md);
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse>* {
    direction: ltr;
}

.content-centered {
    max-width: 900px;
    margin: 0 auto;
    margin-top: var(--spacing-xl);
}

/* Magazine-Style Layout - Professional and Balanced */
.content-magazine {
    max-width: 1200px;
    margin: 0 auto;
}

.content-magazine>.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--primary-brown);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text {
    margin-bottom: var(--spacing-lg);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.magazine-row {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    align-items: start;
}

.magazine-row:last-of-type {
    margin-bottom: 0;
}

.magazine-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-content: end;
}

.magazine-images .feature-img {
    width: 100%;
    max-height: 320px;
    height: 320px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    object-fit: cover;
    object-position: center center;
}

.magazine-images .feature-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Specific styling for filming image to show people and camera */
.magazine-images .filming-img {
    object-position: center 75%;
}

.magazine-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: 0;
}

/* Shoot page specific styles - only affects shoot.html */
.shoot-section .shoot-features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--spacing-md);
    align-items: start;
}

.shoot-section .unique-features-section {
    grid-column: 1;
    grid-row: 1;
}

.shoot-section .scenery-wrapper {
    grid-column: 2;
    grid-row: 1;
}

.shoot-section .production-section {
    grid-column: 1;
    grid-row: 2;
}

.shoot-section .filming-wrapper {
    grid-column: 2;
    grid-row: 2;
}

.shoot-section .shoot-image-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.shoot-section .feature-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Scenery image - larger image */
.shoot-section .scenery-img {
    min-height: 300px;
    max-height: 400px;
    object-position: center center;
}

/* Filming image - smaller image, cropped to show middle section */
.shoot-section .filming-img {
    max-height: 250px;
    height: 250px !important;
    object-fit: cover;
    object-position: center 65%;
}

/* Enzo's page specific styles - single image on right */
.enzos-section .magazine-row {
    align-items: center;
}

.enzos-section .magazine-images {
    display: flex;
    align-items: center;
}

.enzos-section .magazine-images .feature-img {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.enzos-section .magazine-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tea Room page specific styles */
.tearoom-section .magazine-row {
    margin-bottom: var(--spacing-lg);
}

.tearoom-section .magazine-row:first-of-type .magazine-images .feature-img {
    object-position: center 65%;
}

.tearoom-section .tearoom-menu-row {
    align-items: start;
    margin-bottom: 0;
}

.tearoom-section .tearoom-menu-row .magazine-text {
    gap: var(--spacing-sm);
}

.tearoom-section .tearoom-menu-row .magazine-images {
    display: flex;
    align-items: flex-start;
}

.tearoom-section .tearoom-menu-row .magazine-images .feature-img {
    width: 100%;
    height: auto;
    max-height: 350px;
}

/* Centered contact boxes for Tea Room and Enzo's pages */
.contact-centered,
.tearoom-contact-centered {
    max-width: 100%;
    margin: 0;
    text-align: center;
    border-left: none;
    border: 2px solid var(--primary-brown);
}

.contact-centered h3,
.contact-centered p,
.tearoom-contact-centered h3,
.tearoom-contact-centered p {
    text-align: center;
}

/* Boot Sale page specific styles */
.bootsale-section .bootsale-img4 {
    object-position: center 70%;
}

/* Boot Sale spacing adjustments */
.bootsale-section .magazine-images {
    align-self: start;
    /* Keep images aligned to top */
}

/* Single row layout with text on left, images on right */
.bootsale-section .bootsale-main-row {
    align-items: start;
}

/* Text column: tight spacing between sections */
.bootsale-section .bootsale-main-row .magazine-text .lead {
    margin-bottom: var(--spacing-sm);
    /* Small gap after intro */
}

.bootsale-section .bootsale-main-row .magazine-text .info-box {
    margin-bottom: var(--spacing-md);
    /* Medium gap after Opening Times */
    text-align: center;
    /* Center text in Opening Times box on all screens */
}

.bootsale-section .bootsale-main-row .magazine-text h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

/* Image column: stack images with gaps */
.bootsale-section .bootsale-image-stack {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    /* Large gap between images */
}

.bootsale-section .bootsale-image-stack img {
    width: 100%;
}

/* Mobile/Tablet: Reorder content so images appear between text sections */
@media (max-width: 1024px) {
    .bootsale-section .bootsale-main-row {
        display: flex;
        flex-direction: column;
    }

    .bootsale-section .bootsale-main-row .magazine-text {
        display: contents;
        /* Break out children so they can be reordered */
    }

    .bootsale-section .bootsale-image-stack {
        display: contents;
        /* Break out images so they can be reordered */
    }

    /* Order: intro → img1 → opening times → img2 → pricing → img3 */
    .bootsale-section .bootsale-main-row .lead {
        order: 1;
        margin-bottom: var(--spacing-md);
    }

    .bootsale-section .bootsale-image-stack img:nth-child(1) {
        order: 2;
        margin-bottom: var(--spacing-md);
    }

    .bootsale-section .bootsale-main-row .info-box {
        order: 3;
        margin-bottom: var(--spacing-md);
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
        width: 100%;
        text-align: center;
        /* Center text in Opening Times box */
    }

    .bootsale-section .bootsale-image-stack img:nth-child(2) {
        order: 4;
        margin-bottom: var(--spacing-md);
    }

    .bootsale-section .bootsale-main-row h3 {
        order: 5;
        text-align: center;
        /* Center Pricing heading */
    }

    .bootsale-section .bootsale-main-row .pricing-grid {
        order: 6;
        margin-bottom: var(--spacing-md);
        margin-left: auto;
        /* Center the pricing grid horizontally */
        margin-right: auto;
        max-width: 500px;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        /* Center pricing items */
    }

    .bootsale-section .bootsale-image-stack img:nth-child(3) {
        order: 7;
    }
}

.bootsale-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    align-items: center;
}

/* Tea Room page specific grid */
.tearoom-bottom-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    align-items: center;
}

/* Enzo's page specific styles */
.enzos-outdoor-wrapper {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.enzos-outdoor-wrapper .highlight-box {
    grid-column: 1 / 3;
}

.enzos-bottom-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    align-items: center;
}

.rules-box h4 {
    text-align: center;
}

/* Beekeepers page specific styles */
.beekeepers-section .magazine-row {
    align-items: stretch;
}

.beekeepers-section .magazine-images {
    display: flex;
    align-items: stretch;
}

.beekeepers-section .magazine-images .feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.beekeepers-section .magazine-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.beekeepers-cta-centered {
    max-width: 100%;
    margin: 0;
    text-align: center;
}

.beekeepers-cta-centered h4,
.beekeepers-cta-centered p {
    text-align: center;
}

/* Centered Pricing Text */
.centered-pricing-text {
    text-align: center;
    font-size: 1.1rem;
    margin: var(--spacing-xl) auto var(--spacing-sm);
    max-width: 800px;
    color: var(--text-dark);
}

/* Featured Bottom Image Section */
.featured-image-section {
    margin-top: 0;
    text-align: center;
    text-align: center;
}

.featured-bottom-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.featured-bottom-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.magazine-text p {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1rem;
}

.magazine-text h3 {
    color: var(--primary-brown);
    margin-top: var(--spacing-md);
    margin-bottom: 0.5rem;
}

.content-text h3 {
    color: var(--primary-brown);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.content-images {
    display: grid;
    gap: var(--spacing-sm);
}

.feature-img {
    width: 100%;
    max-width: 800px;
    max-height: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    object-fit: cover;
}

.feature-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.image-placeholder {
    background: linear-gradient(135deg, var(--warm-beige), var(--light-cream));
    border-radius: 8px;
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    font-size: 1.5rem;
    color: var(--primary-brown);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.image-placeholder .placeholder-text {
    font-size: 1rem;
    color: var(--text-medium);
    font-style: italic;
    margin-top: var(--spacing-sm);
}

/* ===================================
   FEATURE BOXES
   =================================== */

.features-list {
    list-style: none;
    margin: 0.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    line-height: 1.6;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background-color: var(--barn-red);
    border-radius: 50%;
}

.price-list {
    background-color: var(--warm-beige);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin: var(--spacing-md) 0;
}

.price-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.price-item {
    background: linear-gradient(135deg, var(--warm-beige), var(--light-cream));
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--honey-gold);
    transition: var(--transition-smooth);
}

.price-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.price-label {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--barn-red);
    font-family: var(--font-heading);
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Rules List */
.rules-list {
    list-style: none;
    margin: var(--spacing-sm) 0;
}

.rules-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-weight: 600;
    font-size: 1rem;
}

.rule-no {
    color: #c62828;
}

.rule-no::before {
    content: '✕';
    position: absolute;
    left: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #c62828;
}

.rule-yes {
    color: #2e7d32;
    font-weight: 600;
}

.rule-yes::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2e7d32;
}

.allowed-rules {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(46, 125, 50, 0.2);
}

.info-box,
.highlight-box,
.cta-box,
.warning-box,
.contact-info-box,
.address-box {
    padding: var(--spacing-md);
    border-radius: 8px;
    margin: var(--spacing-md) 0;
}

.content-magazine>.highlight-box:last-child,
.content-magazine>.warning-box:last-child {
    margin-bottom: 0;
}

.info-box {
    background-color: var(--light-cream);
    border-left: 4px solid var(--sage-green);
}

.highlight-box {
    background: linear-gradient(135deg, var(--warm-beige), var(--light-cream));
    border-left: 4px solid var(--honey-gold);
}

.cta-box {
    background-color: var(--warm-beige);
    border: 2px solid var(--barn-red);
    text-align: center;
}

.cta-box h4 {
    color: var(--barn-red);
}

.cta-box p {
    text-align: center;
}

.warning-box {
    background-color: #FFF3E0;
    border-left: 4px solid var(--accent-rust);
}

.warning-box h4 {
    color: var(--accent-rust);
}

.contact-info-box,
.address-box {
    background-color: var(--light-cream);
    border-left: 4px solid var(--primary-brown);
}

.contact-info-box a,
.address-box a {
    color: var(--barn-red);
    font-weight: 600;
}

.contact-info-box a:hover,
.address-box a:hover {
    color: var(--accent-rust);
    text-decoration: underline;
}

.inline-link {
    color: var(--barn-red);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.inline-link:hover {
    border-bottom-color: var(--barn-red);
}

.cta-text {
    font-size: 1.1rem;
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.contact-form-container {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--barn-red);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

/* Form Status Messages */
.form-status {
    margin-top: var(--spacing-md);
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-container {
    margin-top: var(--spacing-lg);
}

.map-container h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: var(--dark-wood);
    color: var(--warm-beige);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: var(--honey-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.footer-section p {
    color: var(--warm-beige);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--warm-beige);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--honey-gold);
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--warm-beige);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--honey-gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets and below (max-width: 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.55rem 0.7rem;
    }

    .nav-menu {
        gap: 0.15rem;
    }

    /* Keep text and images together on mobile */
    .content-grid .content-text {
        order: 1;
    }

    .content-grid .content-images {
        order: 2;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .content-grid.reverse .content-text {
        order: 1;
    }

    .content-grid.reverse .content-images {
        order: 2;
    }

    /* Livery page - specific order on mobile: intro, images, CTA */
    .livery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .livery-intro {
        grid-column: 1;
        grid-row: auto;
        order: 1;
    }

    .livery-images {
        grid-column: 1;
        grid-row: auto;
        order: 2;
    }

    .livery-cta {
        grid-column: 1;
        grid-row: auto;
        order: 3;
    }

    /* Magazine layout becomes single column on tablets */
    .magazine-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .magazine-images {
        order: 2;
        justify-items: center;
    }

    .magazine-text {
        order: 1;
    }

    /* Shoot page - reorder on mobile: text1, img1, text2, img2 */
    .shoot-section .shoot-features-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .shoot-section .unique-features-section {
        order: 1;
    }

    .shoot-section .scenery-wrapper {
        order: 2;
    }

    .shoot-section .production-section {
        order: 3;
    }

    .shoot-section .filming-wrapper {
        order: 4;
    }

    /* Shoot section - center image wrappers when stacked */
    .shoot-section .shoot-image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Shoot section - center images when stacked */
    .shoot-section .filming-img,
    .shoot-section .scenery-img {
        margin: 0 auto;
        display: block;
    }

    /* Boot Sale page - stack rules and WhatsApp on tablets */
    .bootsale-bottom-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Boot Sale page - adjust image heights on tablets */
    .bootsale-section .magazine-images .feature-img {
        max-height: 280px;
        height: 280px;
    }

    /* Tea Room page - stack contact and Facebook on tablets */
    .tearoom-bottom-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Enzo's page - stack on tablets */
    .enzos-outdoor-wrapper {
        grid-template-columns: 1fr;
    }

    .enzos-bottom-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Enzo's page - adjust image height on mobile */
    .enzos-section .magazine-images .feature-img {
        max-height: 300px;
    }

    /* Tea Room page - adjust images on mobile */
    .tearoom-section .magazine-row:first-of-type .magazine-images .feature-img {
        object-position: center 55%;
    }

    .tearoom-section .tearoom-menu-row .magazine-images .feature-img {
        max-height: 250px;
    }

    .content-contact {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header-content h1 {
        font-size: 2.5rem;
    }

    .page-header-content p {
        font-size: 1.25rem;
    }
}

/* Switch to mobile menu for smaller screens (max-width: 950px) */
@media (max-width: 950px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: var(--spacing-md);
        gap: 0.5rem;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: left;
        border-radius: 6px;
        font-size: 1.05rem;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0.5rem;
        margin-left: 1rem;
        padding: 0;
        background-color: var(--warm-beige);
        border-radius: 6px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }

    .dropdown-arrow {
        float: right;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .slider-controls {
        padding: 0 var(--spacing-sm);
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* Content boxes - better mobile padding */
    .info-box,
    .highlight-box,
    .cta-box,
    .warning-box,
    .contact-info-box,
    .address-box {
        padding: var(--spacing-sm);
        margin: var(--spacing-sm) 0;
    }

    /* Images - prevent overflow and center horizontally (except shoot section) */
    .feature-img:not(.filming-img):not(.scenery-img) {
        max-width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    /* Keep filming image cropped to show people and camera on mobile */
    .shoot-section .filming-wrapper .filming-img {
        height: 250px;
        object-fit: cover;
        object-position: center 65%;
    }

    .content-images {
        gap: var(--spacing-sm);
    }

    /* Lists - better mobile spacing */
    .features-list {
        padding-left: 1.25rem;
    }

    .features-list li {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    /* Lead text - adjust size */
    .lead {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Buttons - full width on mobile for better touch targets */
    .cta-box .btn,
    .contact-form .btn {
        width: 100%;
        padding: 1rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons .btn {
        width: 100%;
        max-width: 450px;
    }

    /* Contact section - stack vertically on mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Map container */
    .map-container iframe {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .page-header {
        height: 35vh;
        min-height: 250px;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .page-header-content p {
        font-size: 1.1rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Back to top button - smaller on mobile */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.25rem;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-lg: 1.5rem;
        --spacing-md: 1rem;
    }

    .nav-container {
        height: 80px;
    }

    .nav-logo img {
        height: 60px;
    }

    .nav-logo span {
        font-size: 1rem;
    }

    .nav-menu {
        top: 80px !important;
        height: calc(100vh - 80px) !important;
        padding: var(--spacing-sm);
    }

    .nav-link {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
        padding: 0 var(--spacing-sm);
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 var(--spacing-sm);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section {
        padding: var(--spacing-md) 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-header {
        height: 30vh;
        min-height: 200px;
    }

    .page-header-content h1 {
        font-size: 1.75rem;
        padding: 0 var(--spacing-sm);
    }

    .page-header-content p {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }

    /* Content boxes - even tighter on small screens */
    .info-box,
    .highlight-box,
    .cta-box,
    .warning-box,
    .contact-info-box,
    .address-box {
        padding: 0.875rem;
    }

    /* Typography adjustments */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .lead {
        font-size: 1rem;
    }

    /* Lists */
    .features-list li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    /* Pricing grid */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .price-amount {
        font-size: 1.75rem;
    }

    /* Footer adjustments */
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-links a {
        font-size: 0.9rem;
    }

    /* Map - smaller on tiny screens */
    .map-container iframe {
        height: 250px;
    }

    /* Form inputs - better touch targets */
    input,
    textarea,
    select {
        font-size: 16px;
        /* Prevents zoom on iOS */
        padding: 0.875rem;
    }

    /* Slider controls - adjust positioning */
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .slider-dots {
        bottom: 15px;
    }

    /* Back to top button */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1.1rem;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */

@media print {

    .navbar,
    .hero,
    .slider-controls,
    .slider-dots,
    .footer {
        display: none;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--barn-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-rust);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ===================================
   ACCESSIBILITY
   =================================== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--barn-red);
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===================================
   TOUCH DEVICE OPTIMIZATIONS
   =================================== */

/* Disable hover effects on touch devices to prevent sticky states */
@media (hover: none) and (pointer: coarse) {
    .feature-img:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .btn:hover {
        transform: none;
    }

    .nav-link:hover {
        background-color: transparent;
    }

    .nav-logo:hover img {
        opacity: 1;
    }
}