/* ============================================
   Wild Heath - Stylesheet
   Rustic Elegance with Pink Accent
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Carattere&display=swap');

/* CSS Variables for easy customization */
:root {
    /* Rustic Elegance with Pink Accent Palette */
    --color-earth-dark: #3d2817;
    --color-earth-medium: #6b4e3d;
    --color-earth-light: #8b6f47;
    --color-sage: #9a9b7a;
    --color-cream: #f5f1e8;
    --color-warm-cream: #faf7f2;
    --color-sand: #d4c4a8;
    --color-white: #ffffff;
    --color-text-dark: #2c2416;
    --color-text-medium: #4a4030;
    --color-text-light: #6b5d4a;
    
    /* Pink Accent Colors - The Star! */
    --color-pink-primary: #d4969e;
    --color-pink-light: #e8b5bd;
    --color-pink-dark: #b67980;
    --color-pink-subtle: #f4e4e6;
    
    /* Typography */
    --font-primary: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Carattere', cursive;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    /* Borders */
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-earth-dark);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-medium);
}

a {
    color: var(--color-pink-dark);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover,
a:focus {
    color: var(--color-pink-primary);
    outline: 2px solid var(--color-pink-primary);
    outline-offset: 2px;
}

a:focus-visible {
    outline: 2px solid var(--color-pink-dark);
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-cream);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-earth-dark);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    font-size: 1rem;
    color: var(--color-text-medium);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-base);
}

.nav-menu a:hover,
.nav-menu a:focus,
.nav-menu a.active {
    color: var(--color-earth-dark);
    border-bottom-color: var(--color-pink-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-earth-dark);
    transition: all var(--transition-base);
}

.nav-toggle:focus {
    outline: 2px solid var(--color-earth-dark);
    outline-offset: 2px;
}

/* Hero Toggle Button - REMOVED (no longer needed) */
/* Kept for reference if you want to restore the toggle feature */
/* See archive/RESTORE-CSS-HERO.md for instructions */
/*
.hero-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1001;
    padding: 12px 24px;
    background: var(--color-pink-primary);
    color: var(--color-white);
    border: 2px solid var(--color-pink-dark);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 150, 158, 0.4);
    transition: all var(--transition-base);
    font-family: var(--font-secondary);
}

.hero-toggle:hover {
    background: var(--color-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 150, 158, 0.5);
}

.hero-toggle:active {
    transform: translateY(0);
}
*/

/* Hero Section - Base */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Canvas Hero - Interactive Simulation */
.canvas-hero {
    background: #8ba876; /* Fallback */
}

.canvas-hero canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.paddock-scene {
    background: linear-gradient(
        to bottom,
        #ffd4a3 0%,
        #ffb4a8 15%,
        #ff9eb5 30%,
        #e8b5bd 50%,
        #d4969e 70%,
        #8b6f47 100%
    );
}

/* Sky Layer with Pink Sunrise/Sunset */
.paddock-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(
        to bottom,
        #ffd4a3 0%,
        #ffb4a8 20%,
        #ff9eb5 40%,
        #e8b5bd 70%,
        #d4c4a8 100%
    );
    z-index: 1;
}

/* Glowing Sun */
.sun {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff5e6 0%, #ffd4a3 40%, #ffb4a8 100%);
    top: 15%;
    right: 20%;
    box-shadow: 0 0 60px rgba(255, 212, 163, 0.8),
                0 0 100px rgba(255, 180, 168, 0.5),
                0 0 140px rgba(232, 181, 189, 0.3);
    animation: sun-pulse 4s ease-in-out infinite;
}

@keyframes sun-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Clouds - Soft and Fluffy */
.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    animation: float-cloud 45s linear infinite;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100px;
}

.cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud::after {
    width: 60px;
    height: 60px;
    top: -30px;
    right: 10px;
}

.cloud-1 {
    width: 120px;
    height: 50px;
    top: 15%;
    left: -150px;
    animation-duration: 50s;
}

.cloud-2 {
    width: 150px;
    height: 60px;
    top: 25%;
    left: -200px;
    animation-duration: 70s;
    animation-delay: 8s;
}

.cloud-3 {
    width: 100px;
    height: 45px;
    top: 35%;
    left: -120px;
    animation-duration: 60s;
    animation-delay: 15s;
}

@keyframes float-cloud {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 300px)); }
}

/* Background Hills - Distant */
.paddock-hills-back {
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, #8b7355 0%, #9a8b6d 100%);
    clip-path: polygon(0 40%, 15% 20%, 30% 35%, 50% 15%, 70% 30%, 85% 20%, 100% 35%, 100% 100%, 0 100%);
    z-index: 2;
    opacity: 0.8;
    animation: hills-sway 20s ease-in-out infinite;
}

/* Mid Hills - With Windmill */
.paddock-hills-mid {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, #7a6b4f 0%, #8b7355 100%);
    clip-path: polygon(0 50%, 20% 30%, 40% 45%, 60% 25%, 80% 40%, 100% 30%, 100% 100%, 0 100%);
    z-index: 3;
    animation: hills-sway 25s ease-in-out infinite reverse;
}

/* Foreground Hills */
.paddock-hills-front {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, #6b5d4a 0%, #7a6b4f 100%);
    clip-path: polygon(0 60%, 25% 40%, 50% 55%, 75% 35%, 100% 50%, 100% 100%, 0 100%);
    z-index: 4;
}

@keyframes hills-sway {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

/* Australian Windmill */
.windmill {
    position: absolute;
    left: 70%;
    bottom: 40%;
    z-index: 1;
}

.windmill-tower {
    width: 6px;
    height: 80px;
    background: linear-gradient(to bottom, #4a4030 0%, #3d2817 100%);
    position: relative;
    margin: 0 auto;
}

.windmill-tower::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -8px;
    width: 22px;
    height: 30px;
    background: linear-gradient(to bottom, #6b4e3d 0%, #4a4030 100%);
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}

.windmill-blades {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    animation: windmill-spin 6s linear infinite;
}

.windmill-blades::before,
.windmill-blades::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 4px;
    background: linear-gradient(to right, #8b6f47, #6b5d4a);
    top: 50%;
    left: 50%;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.windmill-blades::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.windmill-blades::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes windmill-spin {
    0% { transform: translateX(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) rotate(360deg); }
}

/* Fence Line */
.fence {
    position: absolute;
    bottom: 30%;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    z-index: 1;
}

.fence-post {
    width: 8px;
    height: 45px;
    background: linear-gradient(to bottom, #6b4e3d 0%, #4a4030 100%);
    position: relative;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fence-post::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -30px;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, transparent, #8b6f47 20%, #8b6f47 80%, transparent);
}

.fence-post::after {
    content: '';
    position: absolute;
    top: 25px;
    left: -30px;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, transparent, #8b6f47 20%, #8b6f47 80%, transparent);
}

/* Animated Sheep */
.sheep-container {
    position: absolute;
    bottom: 28%;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 5;
}

.sheep {
    position: absolute;
    display: flex;
    align-items: center;
}

.sheep-body {
    width: 35px;
    height: 25px;
    background: linear-gradient(to bottom, #f5f1e8 0%, #e8e4da 100%);
    border-radius: 40% 40% 35% 35%;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sheep-head {
    width: 15px;
    height: 18px;
    background: linear-gradient(to bottom, #d4c4a8 0%, #c4b498 100%);
    border-radius: 50% 50% 40% 40%;
    position: absolute;
    left: -8px;
    top: -2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Sheep Animation - Walking across paddock */
.sheep-1 {
    animation: sheep-walk-1 40s linear infinite;
    bottom: 15%;
}

.sheep-2 {
    animation: sheep-walk-2 50s linear infinite;
    bottom: 25%;
    animation-delay: 5s;
}

.sheep-3 {
    animation: sheep-walk-3 45s linear infinite;
    bottom: 10%;
    animation-delay: 12s;
}

@keyframes sheep-walk-1 {
    0% { left: -50px; transform: scaleX(1); }
    48% { transform: scaleX(1); }
    50% { transform: scaleX(-1); }
    98% { transform: scaleX(-1); }
    100% { left: calc(100% + 50px); transform: scaleX(1); }
}

@keyframes sheep-walk-2 {
    0% { left: -50px; transform: scaleX(1); }
    48% { transform: scaleX(1); }
    50% { transform: scaleX(-1); }
    98% { transform: scaleX(-1); }
    100% { left: calc(100% + 50px); transform: scaleX(1); }
}

@keyframes sheep-walk-3 {
    0% { left: -50px; transform: scaleX(1); }
    48% { transform: scaleX(1); }
    50% { transform: scaleX(-1); }
    98% { transform: scaleX(-1); }
    100% { left: calc(100% + 50px); transform: scaleX(1); }
}

/* Lilly the Border Collie - Star of the Show! */
.lilly-collie {
    position: absolute;
    bottom: 12%;
    left: 15%;
    z-index: 6;
    transform: scaleX(-1);
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.3));
}

.lilly-body {
    position: relative;
    width: 70px;
    height: 50px;
}

/* Lilly's Head */
.lilly-head {
    position: absolute;
    width: 35px;
    height: 32px;
    background: linear-gradient(to bottom, #c4a882 0%, #b89968 100%);
    border-radius: 45% 45% 40% 40%;
    top: -15px;
    left: 5px;
    z-index: 2;
}

/* Lilly's Ears */
.lilly-ear {
    position: absolute;
    width: 12px;
    height: 18px;
    background: linear-gradient(to bottom, #8b6f47 0%, #7a6038 100%);
    border-radius: 50% 50% 40% 40%;
    top: -2px;
}

.lilly-ear-left {
    left: 3px;
    transform: rotate(-15deg);
    animation: ear-twitch-left 4s ease-in-out infinite;
    animation-delay: 2s;
}

.lilly-ear-right {
    right: 3px;
    transform: rotate(15deg);
    animation: ear-twitch-right 4s ease-in-out infinite;
    animation-delay: 2.5s;
}

@keyframes ear-twitch-left {
    0%, 90%, 100% { transform: rotate(-15deg); }
    92%, 96% { transform: rotate(-25deg); }
    94% { transform: rotate(-10deg); }
}

@keyframes ear-twitch-right {
    0%, 90%, 100% { transform: rotate(15deg); }
    92%, 96% { transform: rotate(25deg); }
    94% { transform: rotate(10deg); }
}

/* Lilly's Snout */
.lilly-snout {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 12px;
    background: linear-gradient(to bottom, #d4c4a8 0%, #c4b498 100%);
    border-radius: 40% 40% 50% 50%;
}

.lilly-snout::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #4a4030;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Lilly's Chest/Body */
.lilly-chest {
    position: absolute;
    width: 55px;
    height: 45px;
    background: linear-gradient(to bottom, #8b6f47 0%, #7a6038 50%, #6b5530 100%);
    border-radius: 50% 50% 45% 45%;
    top: 5px;
    left: 10px;
}

/* Sandy brown patch on chest */
.lilly-chest::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 30px;
    background: linear-gradient(to bottom, #d4c4a8 0%, #c4b498 100%);
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

/* Lilly's Legs */
.lilly-legs {
    position: absolute;
    bottom: -10px;
    left: 15px;
    display: flex;
    gap: 15px;
}

.lilly-leg {
    width: 8px;
    height: 20px;
    background: linear-gradient(to bottom, #8b6f47 0%, #7a6038 70%, #c4b498 100%);
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Lilly's Tail - The Star Animation! */
.lilly-tail {
    position: absolute;
    width: 12px;
    height: 35px;
    background: linear-gradient(to bottom, #8b6f47 0%, #7a6038 70%, #faf7f2 100%);
    border-radius: 50% 50% 40% 60%;
    right: -8px;
    top: 15px;
    transform-origin: top center;
    animation: tail-wag 1.2s ease-in-out infinite;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

/* Tail tip - white/cream */
.lilly-tail::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 12px;
    background: linear-gradient(to bottom, #faf7f2 0%, #f5f1e8 100%);
    border-radius: 50%;
}

@keyframes tail-wag {
    0%, 100% { transform: rotate(-15deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(10deg); }
}

/* Parallax effect on scroll for paddock layers */
@media (prefers-reduced-motion: no-preference) {
    .paddock-hills-back {
        transition: transform 0.1s ease-out;
    }
    
    .paddock-hills-mid {
        transition: transform 0.1s ease-out;
    }
    
    .paddock-hills-front {
        transition: transform 0.1s ease-out;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-md);
    animation: fade-in-up 1.2s ease-out;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-size: clamp(3rem, 8vw, 5rem);
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-cream);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-xs);
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--color-pink-light);
    box-shadow: 0 0 10px var(--color-pink-light);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '↓';
    display: block;
    color: var(--color-pink-light);
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(212, 150, 158, 0.6);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Intro Section */
.intro {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-warm-cream);
    position: relative;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-pink-primary);
    border-radius: 2px;
}

.intro-text {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    line-height: 1.9;
    color: var(--color-text-medium);
}

/* Meet Our Mob Section */
.meet-our-mob {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--color-white), var(--color-cream));
}

.mob-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.mob-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.mob-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-pink-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.mob-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(212, 150, 158, 0.2);
}

.mob-card:hover::before {
    transform: scaleX(1);
}

.mob-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.mob-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.mob-card:hover .mob-image img {
    transform: scale(1.08);
}

.mob-icon {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.mob-content {
    padding: var(--spacing-lg);
}

.mob-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-earth-dark);
}

.mob-description {
    color: var(--color-text-medium);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* Special styling for Lilly's card */
.mob-card.lilly-special {
    border: 2px solid var(--color-pink-subtle);
}

.mob-card.lilly-special .mob-icon {
    background: var(--color-pink-primary);
    color: var(--color-white);
}

/* Decorative Divider */
.decorative-divider {
    text-align: center;
    margin: var(--spacing-xl) 0;
    position: relative;
}

.decorative-divider::before,
.decorative-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-pink-light),
        transparent
    );
}

.decorative-divider::before {
    left: 0;
}

.decorative-divider::after {
    right: 0;
}

.decorative-divider span {
    display: inline-block;
    padding: 0 var(--spacing-md);
    color: var(--color-pink-primary);
    font-size: 1.5rem;
}

/* Featured Section */
.featured {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-cream);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.featured-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    border: 1px solid transparent;
}

.featured-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--color-pink-primary);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.featured-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(212, 150, 158, 0.25);
}

.featured-item:hover::after {
    opacity: 1;
}

.featured-link {
    display: block;
    color: inherit;
}

.featured-link:hover,
.featured-link:focus {
    outline: none;
}

.featured-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        rgba(212, 150, 158, 0.2)
    );
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.featured-item:hover .featured-image::before {
    opacity: 1;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-item:hover .featured-image img {
    transform: scale(1.06);
}

.featured-title {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
    margin-bottom: 0;
    color: var(--color-earth-dark);
    position: relative;
}

.featured-title::after {
    content: '→';
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-pink-primary);
    opacity: 0;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.featured-item:hover .featured-title::after {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

.featured-text {
    padding: var(--spacing-xs) var(--spacing-md) var(--spacing-md);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Page Header */
.page-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background-color: var(--color-cream);
    text-align: center;
}

.page-title {
    margin-bottom: var(--spacing-xs);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Content Section */
.content-section {
    padding: var(--spacing-xl) 0;
}

.content-section.alt-bg {
    background-color: var(--color-cream);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-text {
    padding: var(--spacing-md);
}

.content-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* Photography Gallery */
.photography-gallery {
    padding: var(--spacing-xxl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--color-pink-light),
        var(--color-pink-primary),
        var(--color-pink-light)
    );
    transform: scaleX(0);
    transition: transform var(--transition-base);
    z-index: 2;
}

.gallery-item:hover {
    box-shadow: 0 12px 32px rgba(212, 150, 158, 0.18);
    transform: translateY(-4px);
}

.gallery-item:hover::before {
    transform: scaleX(1);
}

.gallery-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.gallery-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(212, 150, 158, 0.15) 0%,
        transparent 40%
    );
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-image::after {
    opacity: 1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-caption {
    padding: var(--spacing-lg);
}

.gallery-title {
    margin-bottom: var(--spacing-xs);
    font-size: 1.375rem;
    color: var(--color-earth-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.gallery-title::before {
    content: '✦';
    color: var(--color-pink-primary);
    font-size: 0.875rem;
}

.gallery-description {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Footer */
.footer {
    background-color: var(--color-earth-dark);
    color: var(--color-cream);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.footer-text {
    color: var(--color-cream);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--color-cream);
    transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--color-pink-light);
}

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

.footer-bottom p {
    color: var(--color-cream);
    font-size: 0.875rem;
}

/* Paw Print Decoration - for Lilly! */
.paw-print {
    display: inline-block;
    color: var(--color-pink-primary);
    font-size: 1.2rem;
    margin: 0 var(--spacing-xs);
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Rustic Button Styles */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-pink-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(212, 150, 158, 0.3);
}

.btn:hover {
    background: var(--color-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 150, 158, 0.4);
    outline: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-pink-primary);
    color: var(--color-pink-dark);
}

.btn-outline:hover {
    background: var(--color-pink-primary);
    color: var(--color-white);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--color-pink-subtle);
    border-top-color: var(--color-pink-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade-in on scroll elements */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Pink accent highlights */
.highlight-pink {
    color: var(--color-pink-dark);
    font-weight: 500;
}

/* Decorative wheat stalks */
.wheat-decoration {
    color: var(--color-sand);
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    /* Simplify paddock scene on mobile for performance */
    .cloud-3 {
        display: none;
    }
    
    .sun {
        width: 80px;
        height: 80px;
        top: 10%;
    }
    
    .windmill {
        transform: scale(0.8);
    }
    
    .windmill-blades {
        animation-duration: 8s; /* Slower on mobile */
    }
    
    .sheep-3 {
        display: none; /* Only 2 sheep on mobile */
    }
    
    .lilly-collie {
        transform: scale(0.85) scaleX(-1);
        left: 10%;
        bottom: 10%;
    }
    
    .lilly-tail {
        animation-duration: 1.5s; /* Slower tail wag on mobile */
    }
    
    .lilly-ear-left,
    .lilly-ear-right {
        animation: none; /* Simplify - no ear twitch on mobile */
    }
    
    /* Hero toggle button on mobile - REMOVED (no longer needed) */
    /*
    .hero-toggle {
        top: 90px;
        right: 10px;
        padding: 10px 16px;
        font-size: 14px;
    }
    */

    .content-grid {
        grid-template-columns: 1fr;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .mob-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-clouds {
        display: none;
    }
    
    .section-title::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero {
        height: 50vh;
        min-height: 350px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-earth-dark);
    color: var(--color-white);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Image optimization hints */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}

