/* styles.css */

/* =========================================
   DESIGN SYSTEM & VARIABLES
========================================= */
:root {
    /* Color Palette */
    --clr-olive: #5a5e44;
    --clr-beige: #e9e0d7;
    --clr-brown: #473b38;
    --clr-black: #0f0904;
    --clr-dark-olive: #282918;
    --clr-plum: #271c24;
    --clr-pink: #e7afc7;
    --clr-lightpink: #e7afc771;

    
    /* Functional Colors */
    --bg-main: #ffffff;
    --bg-secondary: var(--clr-beige);
    --text-main: var(--clr-black);
    --text-light: var(--clr-brown);
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    
    /* Spacing */
    --sp-sm: 0.5rem;
    --sp-md: 1rem;
    --sp-lg: 2rem;
    --sp-xl: 4rem;
    
    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-pill: 50px;
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(15, 9, 4, 0.08);
}

/* =========================================
   EASTER EGGS
========================================= */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🐾</text></svg>'), auto;
}

@keyframes tailWag {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

.easter-egg-btn:hover {
    animation: tailWag 0.3s ease-in-out infinite;
    border-radius: 40px 15px 40px 15px; 
    transition: all 0.3s ease;
}

/* =========================================
   RESET & TYPOGRAPHY
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--clr-black);
    line-height: 1.2;
    margin-bottom: var(--sp-md);
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }

p { margin-bottom: var(--sp-md); color: var(--text-light); }
a { text-decoration: none; color: inherit; }

.accent-text { color: var(--clr-olive); }
.center { text-align: center; }
.mt-4 { margin-top: var(--sp-lg); }
.section-padding { padding: var(--sp-xl) 0; }
.bg-light { background-color: var(--bg-secondary); }
.bg-accent { background-color: var(--clr-lightpink); color: var(--clr-plum); }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.primary-btn:hover {
    background-color: var(--clr-dark-olive);
    box-shadow: 0 5px 15px rgba(90, 94, 68, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: var(--clr-olive);
    border: 2px solid var(--clr-olive);
}

.secondary-btn:hover {
    background-color: var(--clr-olive);
    color: white;
}

.full-width { width: 100%; }

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: padding 0.3s ease;
}

.site-header.scrolled { padding: 0.5rem 0; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--clr-olive); }
.logo-text { font-weight: 700; font-size: 1.25rem; color: var(--clr-black); }

.main-nav { display: flex; }
.nav-list { display: flex; list-style: none; align-items: center; gap: 2rem; }
.nav-list a { font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-list a:not(.btn):hover { color: var(--clr-olive); }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle span { width: 30px; height: 3px; background-color: var(--clr-black); transition: 0.3s; }

/* =========================================
   HERO SECTION (ASPECT RATIO MATCHED SPLIT-GRID)
========================================= */
.hero {
    padding-top: 80px;
    min-height: 85vh;
    display: grid;
    grid-template-columns: 42% 58%; /* Keeps text and image perfectly separated */
    align-items: center;
    background-color: var(--bg-main);
    overflow: hidden;
}

.hero .container {
    padding-left: 10%; /* Keeps text aligned left away from the screen edge */
    padding-right: 2rem;
    z-index: 2;
}

.hero-content {
    max-width: 100%;
}

.hero-sub {
    font-size: 1.15rem;
    margin-bottom: var(--sp-lg);
    color: var(--clr-brown);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* The Image Column Wrapper Box */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    /* Keeps your favorite diagonal angle slice intact */
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 0 100%); 
    overflow: hidden;
}

/* The Illustration Canvas */
.hero-bg-img {
    width: 100%; /* Leaves slightly wider room so the left edge isn't lost under the angle */
    height: 100%;
    object-fit: cover;
    object-position: left top; /* Locks the top edge so no head fur or ears are cut off */
    
    /* Pushes the image content slightly to the right to clear the angled clip-path mask */
    transform: translateX(1%); 
}
/* =========================================
   ABOUT SECTION
========================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.rounded-img { width: 100%; border-radius: var(--radius-md); object-fit: cover; }
.shadow { box-shadow: var(--shadow-soft); }

/* =========================================
   SERVICES SECTION
========================================= */
/* =========================================
   SERVICES SECTION
========================================= */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-top: var(--sp-lg); 
}

.service-card { 
    background: white; 
    padding: 2.5rem; 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-soft); 
    text-align: center; 
    
    /* Smooth out the transform AND the shadow glow change */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.service-card:hover { 
    transform: translateY(-5px); 
    
    /* REPLACED WITH A SUBTLE PINK GLOW SHADOW */
    box-shadow: 0 10px 25px rgba(74, 112, 46, 0.5); 
}

.service-icon { font-size: 3rem; margin-bottom: 1rem; }
.price { font-weight: 700; color: var(--clr-olive); font-size: 1.25rem; margin-bottom: 1rem; }
/* =========================================
   GALLERY & MEDIA
========================================= */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: start; }
.video-wrapper { position: relative; width: 100%; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); background: #000; }
.vertical-video { padding-bottom: 178%; }
.horizontal-video { padding-bottom: 75%; }
.post-video { padding-bottom: 120%; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* =========================================
   CONTINUOUS PHOTO MARQUEE CAROUSEL
========================================= */
.photo-marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.photo-marquee-track {
    display: flex;
    width: max-content;
    animation: continuousScroll 35s linear infinite;
}

.photo-marquee-track:hover {
    animation-play-state: paused; /* Clean stop interaction when hovering images */
}

.marquee-img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    margin-right: 1.5rem; /* Standard trailing offset rules infinite calculation */
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.marquee-img:hover {
    transform: scale(1.03);
}

@keyframes continuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves exactly halfway over duplicating set cleanly */
    }
}

/* =========================================
   TESTIMONIALS
========================================= */
.testimonial-slider { max-width: 800px; margin: 0 auto; }
.testimonial-card { padding: 2rem; }
.stars { color: var(--clr-olive); font-size: 1.5rem; margin-bottom: 1rem; }
.quote { font-size: 1.25rem; font-style: italic; color: var(--clr-plum); font-weight: 600; }
.author { margin-top: 1rem; font-weight: 700; }

/* =========================================
   CONTACT & BOOKING
========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.info-item { margin-top: 1.5rem; }
.booking-form { background: white; padding: 2.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--clr-black); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.8rem 1rem; border: 1px solid #ccc; border-radius: var(--radius-sm); font-family: var(--font-main); font-size: 1rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--clr-olive); box-shadow: 0 0 0 2px rgba(90, 94, 68, 0.2); }

/* =========================================
   FOOTER
========================================= */
.site-footer { background-color: var(--clr-dark-olive); color: white; padding: 4rem 0 2rem; }
.site-footer h3 { color: white; }
.site-footer p { color: var(--clr-beige); }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--clr-beige); }
.footer-links a:hover { color: var(--clr-pink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.9rem; }

/* =========================================
   MEDIA QUERIES (RESPONSIVE FIXES)
================================

/* Changes text selection highlight color across the whole site */
::-webkit-selection {
    background-color: rgba(231, 175, 199, 0.4); /* Faded pink background */
    color: var(--clr-black); /* Keeps text legible */
}
::selection {
    background-color: rgba(231, 175, 199, 0.4);
    color: var(--clr-black);
}

/* Adds a sleek pink accent line under section headings */
.hero-content h1, 
.section-padding h2 {
    position: relative;
    display: inline-block; /* Keeps the underline snugly fitted to the text length */
    margin-bottom: var(--sp-lg);
}

.hero-content h1::after,
.section-padding h2::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Places it just below the text */
    left: 0;
    width: 60px;  /* A nice, modern short line length */
    height: 4px;   /* Thin and subtle */
    background-color: var(--clr-pink);
    border-radius: var(--radius-sm);
}

/* =========================================
   MEDIA QUERIES (IPHONE & MOBILE RESPONSIVENESS)
========================================= */
@media (max-width: 768px) {
    
    .hero {
        /* Switches from side-by-side to stacked vertically */
        grid-template-columns: 1fr; 
        padding-top: 100px; /* Gives space below the mobile menu */
        min-height: auto;
        gap: var(--sp-lg);
    }

    .hero .container {
        padding-left: var(--sp-md);
        padding-right: var(--sp-md);
        width: 100%;
        margin: 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center; /* Centers your text, subhead, and buttons cleanly on phone screens */
    }

    .hero-actions {
        justify-content: center; /* Keeps buttons neatly centered together */
    }

    /* Sets up a dedicated, perfect display square for the illustration below the text */
    .hero-image-wrapper {
        width: 100%;
        height: 350px; /* Gives the illustration a perfect frame height on mobile */
        
        /* Flattens the steep desktop cut to a minor, phone-friendly slope */
        clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%); 
        overflow: hidden;
    }

    .hero-bg-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        
        /* Centers the four dogs horizontally and aligns to the top so heads aren't lost */
        object-position: center top; 
        transform: none; /* Disables the desktop horizontal slide tweak */
    }
}