/* CSS Variables */
:root {
    --primary-red: #DE0D10;
    --dark-red: #B00A0D;
    --light-red: #FFE5E5;
    --black: #1a1a1a;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E5E5E5;
    --text-dark: #333333;
    --text-light: #595959;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    scroll-padding-top: 0;
}

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

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

/* Header - With smooth transitions */
.header {
    position: fixed !important;
    top: 0 !important;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    padding: 0.5rem 0;
    transition: padding 0.3s ease;
    box-shadow: 0 2px 5px var(--shadow);
    left: 0;
    right: 0;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translateZ(0);
}

.header.scrolled {
    padding: 0.2rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 2rem;
}

.logo {
    max-width: 300px;
    height: auto;
    transition: max-width 0.3s ease;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-link:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 4px;
    border-radius: 4px;
}

.header.scrolled .logo {
    max-width: 140px;
}

/* Hamburger Menu - ONLY visible on mobile */
.hamburger {
    display: none;
    position: absolute;
    right: 2rem;
    background: none;
    border: 2px solid var(--primary-red);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger.scrolled {
    padding: 0.3rem;
    transform: scale(0.85);
}

.hamburger.scrolled span {
    width: 20px;
    height: 2px;
}

.hamburger:hover,
.hamburger:focus {
    background: var(--light-red);
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Improved hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation - Desktop (Always visible) - Now in header */
.nav {
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1;
}

.nav-container {
    padding: 0;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    gap: 0.5rem;
    transition: all 0.3s ease;
    list-style: none;
}

.nav-menu li {
    display: inline-block;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.header.scrolled .nav-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-red);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-red);
}

/* Remove outline for mouse clicks */
.nav-link:focus {
    outline: none;
}

/* Show outline ONLY for keyboard (Tab key) navigation */
.nav-link:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}


.nav-link.book-now {
    background: var(--primary-red) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 0.75rem 1.25rem !important;
}

.nav-link.book-now:hover,
.nav-link.book-now:focus {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(222, 13, 16, 0.3);
}

.nav-link.book-now.active {
    background: var(--primary-red);
    color: var(--white);
}

/* Adjust Book Now button for scrolled header */
.header.scrolled .nav-link.book-now {
    padding: 0.5rem 1.2rem;
}

/* Main Content */
.main-content {
    margin-top: 100px;
}

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

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--black);
}

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

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    width: 100%;
    background-image: url('photos/brycedogcare.avif');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: background-position;
    margin-top: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 1.5rem;
    text-align: left;
    margin-left: -20rem;
    margin-top: 12rem;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    text-align: left;
}

.hero-cta {
    position: static;
}

.cta-button {
    display: inline-block;
    color: var(--white);
    background: #E0000A;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-3px);
    background: var(--dark-red);
    border-color: var(--dark-red);
    box-shadow: 0 8px 20px rgba(222, 13, 16, 0.4);
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* About Section */
.about {
    background: var(--light-gray);
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-red);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--light-red);
}

.service-card.featured {
    border: 3px solid var(--primary-red);
    background: linear-gradient(135deg, var(--white) 0%, var(--light-red) 100%);
}

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

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.price-item:last-child {
    border-bottom: none;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
}

.included-list {
    list-style: none;
    padding: 0;
}

.included-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.included-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.3rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow);
    height: 300px;
    background: var(--light-gray);
}

.gallery-item:hover,
.gallery-item:focus {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
  }


/* Calendar */
.calendar-wrapper {
    display: flex;
    justify-content: center;
}

.calendar-wrapper iframe {
    border-radius: 15px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 2rem;
    border-radius: 20px;
    max-width: 700px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: var(--primary-red);
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.hours-list {
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-red);
    text-decoration: underline;
    font-weight: 600;
    font-size: 1.2rem;
}

.contact-link:hover,
.contact-link:focus {
    color: var(--dark-red);
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
}

.footer-right a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-right a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}


/* Focus visible for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}
/* Resources Page Styles */
.hero-small {
    background: var(--light-gray);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 0;
}

.hero-small h1 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.hero-small p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.book-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
}

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

.book-author {
    color: var(--text-light);
    font-style: italic;
}

.disclaimer {
    background: var(--light-red);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-red);
}

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

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.affiliate-btn {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.affiliate-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

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

.handout-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--medium-gray);
}

.handout-card h3 {
    color: var(--black);
    margin-bottom: 1.5rem;
}

.pdf-btn {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pdf-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.resources-list {
    max-width: 900px;
    margin: 0 auto;
}

.resource-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-align: center;
}

.resource-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px var(--shadow);
}

.resource-item h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.resource-item p {
    margin: 0.25rem 0;
}

.resource-item a {
    color: var(--primary-red);
    text-decoration: none;
}

.resource-item a:hover {
    text-decoration: underline;
}

/* About Page Specific Styles */
.about-intro-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-intro-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.about-intro-content h1 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-bullet-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.about-bullet-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.about-bullet-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-style: italic;
    margin-top: 1.5rem;
}

.learn-more-btn {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.learn-more-btn:hover {
    background: var(--dark-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(222, 13, 16, 0.4);
}

/* Story Section */
.story-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-header {
    text-align: left;
    margin-bottom: 2rem;
}

.story-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.story-header .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-style: italic;
}

.story-intro {
    max-width: 100%;
    margin: 0 0 3rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.story-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
}

/* Timeline left column */
.timeline-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-red);
    border-radius: 50%;
}

.timeline-item::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 12px;
    width: 2px;
    height: calc(100% + 3rem);
    background: var(--primary-red);
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-item h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-top: 1rem;
}

/* Timeline right column */
.timeline-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 0;
}

.outcome-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.outcome-section h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.outcome-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.outcome-list li {
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.outcome-list li::before {
    content: "🌿";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.outcome-list li:nth-child(2)::before {
    content: "🎓";
}

.outcome-list li:nth-child(3)::before {
    content: "🐾";
}

.outcome-list li:nth-child(4)::before {
    content: "❤️";
}

.signature {
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem;
    color: var(--primary-red);
    text-align: right;
    margin-top: 2rem;
}

.outcome-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 2rem;
}

/* Testimonial spacing for ADA compliance */
.testimonial-spaced {
    margin-top: 1.5rem;
}

/* Timeline image variant for wider images - ADA compliance */
.timeline-image-wide {
    max-width: 1000px;
    width: 100%;
    height: 600px; /* or whatever pixel value matches */
    object-fit: cover; /* this ensures the image fills without distorting */
    /* Removed problematic inline height property to maintain proper aspect ratio */
}

/* What Makes Us Special Section */
.special-section {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.special-section h2 {
    font-size: 2.5rem;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.special-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.special-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.special-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--light-red);
}

.special-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.special-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    .hero-content {
        margin-left: -10rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }

    /* About page responsive */
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-intro-image {
        height: 400px;
    }

    .story-timeline {
        grid-template-columns: 1fr;
    }

    .timeline-right {
        padding-top: 0;
    }

    .special-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px;
        scroll-padding-top: 120px;
    }

    .header {
        position: fixed !important;
        top: 0 !important;
        padding: 0.5rem 0 !important;
    }
.timeline-right {
    display: flex;
    flex-direction: column;
}

.outcome-image {
    order: 2;
}

.timeline-right .outcome-section:nth-child(2) {
    order: 1;
}

.timeline-right .outcome-section:nth-child(3) {
    order: 3;
}

.timeline-right .outcome-section:nth-child(4) {
    order: 4;
}
    .nav-link.book-now {
    background: var(--primary-red) !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 0.75rem 1.25rem !important;
}
    
    /* Disable scrolled shrinking on mobile */
    .header.scrolled {
        padding: 0.5rem 0 !important;
    }

    .header-container {
        justify-content: space-between;
    }
    
    .logo { 
        max-width: 200px;
        height: auto;
        transition: max-width 0.3s ease;
    }
    
    .header.scrolled .logo {
        max-width: 120px;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Mobile nav - dropdown style */
    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .header.scrolled .nav {
        top: 45px;
    }

    .nav.active {
        max-height: 500px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .nav-menu li {
        width: 100%;
        display: block;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .nav-link {
        display: block;
        text-align: center;
        border-radius: 0;
    }
    
    .main-content {
        margin-top: 70px;
    }
    
    /* FIXED: Mobile Hero Section - Complete Overhaul */
    .hero {
        min-height: 60vh !important;
        height: auto !important;
        max-height: none !important;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        padding: 3rem 0 !important;
        margin-top: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        width: 100vw !important;
        position: relative !important;
    }
    
    .hero-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 2rem 1rem !important;
        text-align: center !important;
        max-width: 90% !important;
        width: 90% !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        color: #fff !important;
        word-wrap: break-word !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        text-align: center !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        color: #fff !important;
        word-wrap: break-word !important;
    }
    
    .hero-subtitle br {
        display: inline !important;
    }
    
    .cta-button {
        display: inline-block !important;
        padding: 0.875rem 1.75rem !important;
        font-size: 0.95rem !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .contact-item,
    .contact-form-wrapper {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
    }
    
    /* Calendar responsive */
    .calendar-wrapper iframe {
        width: 100%;
        max-width: 100%;
        height: 500px;
    }

    /* About page mobile responsive */
    .about-intro-content h1 {
        font-size: 2rem;
    }

    .about-intro-image {
        height: 300px;
    }

    .story-header h2 {
        font-size: 2rem;
    }

    .timeline-item h3 {
        font-size: 1.5rem;
    }

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

    .special-section h2 {
        font-size: 2rem;
    }

    .timeline-image,
    .outcome-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        min-height: 50vh !important;
        padding: 2rem 0 !important;
    }
    
    .hero-content {
        padding: 1.5rem 0.75rem !important;
        max-width: 95% !important;
        width: 95% !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .contact-item,
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    .calendar-wrapper iframe {
        height: 450px;
    }

    /* About page small mobile responsive */
    .about-intro-content h1 {
        font-size: 1.75rem;
    }

    .story-header h2 {
        font-size: 1.75rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .outcome-section {
        padding: 1.5rem;
    }
}

/* ========================================
   UTILITY CLASSES (Moved from inline styles)
   ======================================== */

/* Hero background variations */
.hero-services {
    background-image: url('photos/dogslookingforwardtodinner.avif');
}

.hero-gallery {
    background-image: url('photos/WALKING.avif');
}

.hero-schedule {
    background-image: url('photos/OUTSIDE14.avif');
    background-position: center 90%;
}

/* Text utility classes */
.intro-text-centered {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.text-spaced {
    margin-bottom: 1.5rem;
}

.text-spaced-sm {
    margin-bottom: 1rem;
}

.text-spaced-lg {
    margin-bottom: 3rem;
}

.text-centered-spaced {
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-bold {
    font-weight: 600;
}

/* Service page specific classes */
.service-schedule {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

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

.service-note-sm {
    font-size: 0.9rem;
    color: var(--text-light);
}

.pricing-note-red {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary-red);
}

.service-subsection-title {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-card-title {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.service-card-spaced {
    margin-bottom: 2rem;
}

.services-grid-spaced {
    margin-bottom: 3rem;
}

/* Callout boxes */
.pricing-callout {
    background: var(--light-red);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    text-align: center;
}

.callout-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.callout-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.custom-program-box {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
}

.questions-box {
    background: var(--light-red);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary-red);
}

.questions-box strong a {
  color: var(--text-dark);
}

/* Schedule page specific classes */
.calendar-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkbox-inline {
    width: auto;
}

.label-inline {
    display: inline;
    cursor: pointer;
}

.cta-button-full {
    width: 100%;
}

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

.cancellation-policy-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.policy-title {
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 1.5rem;
}

.intake-forms-box {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-top: 3rem;
    box-shadow: 0 5px 20px var(--shadow);
}

.intake-title {
    color: var(--primary-red);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

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

.option-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.option-title {
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-align: center;
}

.option-description {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

/* Content width utilities */
.content-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.content-narrow-md {
    max-width: 800px;
    margin: 0 auto;
}

/* Print styles */
@media print {
    .header,
    .nav,
    .hamburger,
    .cta-button,
    .modal {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

