/* ============================================
   BOSTON DOGTOR - Main Stylesheet
   Brand Colors: Orange #E87A2E, Navy #1E3A5F, White #FFFFFF
   ============================================ */

/* CSS Variables */
:root {
    --color-orange: #E87A2E;
    --color-orange-dark: #D06A1E;
    --color-orange-light: #F5A66A;
    --color-navy: #1E3A5F;
    --color-navy-dark: #152942;
    --color-navy-light: #2E5A8F;
    --color-white: #FFFFFF;
    --color-off-white: #F8F9FA;
    --color-gray-light: #E9ECEF;
    --color-gray: #6C757D;
    --color-gray-dark: #343A40;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-dark);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-orange-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--color-orange-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-navy);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-orange);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-phone {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-navy);
}

.header-phone:hover {
    color: var(--color-orange);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-navy);
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    padding: 160px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/BostonDogtorTraining3.jpg') center/cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-orange);
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.client-portal-link {
    color: var(--color-orange-light);
    font-size: 0.95rem;
}

.client-portal-link:hover {
    color: var(--color-orange);
}

/* Client Portal Box - Prominent Version */
.client-portal-box {
    margin-top: 30px;
}

.client-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
    padding: 18px 30px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(232, 122, 46, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.client-portal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(232, 122, 46, 0.5);
    color: var(--color-white);
    border-color: rgba(255,255,255,0.4);
}

.portal-icon {
    font-size: 2rem;
    animation: pulse-paw 2s infinite;
}

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

.portal-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.portal-text strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.portal-text span:last-child {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 2px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 80px 20px;
    background-color: var(--color-off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--color-orange);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--color-orange);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-card .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
    padding: 80px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--color-gray);
    margin-bottom: 15px;
}

.about-features {
    list-style: none;
    margin: 25px 0;
}

.about-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--color-gray-dark);
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 80px 20px;
    background-color: var(--color-navy);
    color: var(--color-white);
}

.testimonials-section .section-header h2 {
    color: var(--color-white);
}

.testimonials-section .section-header p {
    color: var(--color-gray-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.testimonial-stars {
    color: var(--color-orange);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-orange-light);
}

/* Google Reviews Widget Placeholder */
.google-reviews-widget {
    margin-top: 40px;
    text-align: center;
}

.google-reviews-widget p {
    color: var(--color-gray-light);
}

/* ============================================
   SERVICE AREAS SECTION
   ============================================ */
.service-areas {
    padding: 80px 20px;
    background-color: var(--color-off-white);
}

.areas-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.area-tag {
    background-color: var(--color-white);
    color: var(--color-navy);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.area-tag:hover {
    background-color: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-section .btn-secondary {
    background-color: var(--color-navy);
}

.cta-section .btn-secondary:hover {
    background-color: var(--color-navy-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--color-orange);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
    color: var(--color-gray-light);
    line-height: 1.8;
}

.footer-col a:hover {
    color: var(--color-orange);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-orange);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
}

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

.client-portal-footer {
    margin-top: 15px;
}

.client-portal-footer a {
    color: var(--color-orange-light);
}

.client-portal-footer a:hover {
    color: var(--color-orange);
}

/* ============================================
   PAGE HEADERS (for inner pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    padding: 140px 20px 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ============================================
   CONTENT SECTIONS (for inner pages)
   ============================================ */
.content-section {
    padding: 60px 20px;
}

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

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-bottom: 20px;
}

.content-wrapper h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-wrapper li {
    margin-bottom: 10px;
}

/* ============================================
   TEAM SECTION (About page)
   ============================================ */
.team-section {
    padding: 80px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--color-orange);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--color-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
    padding: 80px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 25px;
    color: var(--color-gray);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.contact-item-content h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--color-gray);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-off-white);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-wrapper h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--color-gray-light);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Map */
.map-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .client-portal-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .portal-icon {
        font-size: 1.5rem;
    }
    
    .portal-text strong {
        font-size: 1rem;
    }
    
    .portal-text span:last-child {
        font-size: 0.85rem;
    }
    
    .services-section,
    .about-preview,
    .testimonials-section,
    .service-areas,
    .cta-section {
        padding: 60px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .areas-list {
        gap: 10px;
    }
    
    .area-tag {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-orange { color: var(--color-orange); }
.text-navy { color: var(--color-navy); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
