/* ===================================
   Scottish Terrier Breeder Website
   Classic Scottish Color Palette
   =================================== */

:root {
    --primary-black: #1A1A1A;
    --secondary-red: #C6002B;
    --accent-gold: #E6B422;
    --neutral-light: #F5F5F5;
    --text-charcoal: #0D0D0D;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text-charcoal);
    background-color: var(--neutral-light);
    line-height: 1.6;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--secondary-red);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.logo span {
    color: var(--secondary-red);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--secondary-red);
    color: var(--white);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #2a2a2a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home-hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(198, 0, 43, 0.05) 10px,
        rgba(198, 0, 43, 0.05) 20px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-red);
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(198, 0, 43, 0.3);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-red), var(--accent-gold));
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Puppies Grid */
.puppies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.puppy-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.puppy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(198, 0, 43, 0.2);
    border-color: var(--accent-gold);
}

.puppy-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #999;
}

.puppy-info {
    padding: 1.5rem;
}

.puppy-name {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.puppy-tagline {
    font-size: 1.1rem;
    color: var(--secondary-red);
    font-style: italic;
    margin-bottom: 1rem;
}

.puppy-details {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.puppy-details li {
    padding: 0.3rem 0;
    color: var(--text-charcoal);
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.puppy-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.adopt-button {
    display: block;
    width: 100%;
    background-color: var(--secondary-red);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.adopt-button:hover {
    background-color: var(--primary-black);
    transform: scale(1.05);
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--primary-black);
    font-size: 2rem;
    margin-bottom: 1rem;
    border-left: 5px solid var(--secondary-red);
    padding-left: 1rem;
}

.content-section h3 {
    color: var(--secondary-red);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--secondary-red);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.5rem;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.blog-excerpt {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-red);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--accent-gold);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.form-error {
    color: var(--secondary-red);
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: none;
}

.submit-button {
    background-color: var(--secondary-red);
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--primary-black);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    background: var(--primary-black);
    color: var(--white);
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-red);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer p {
    line-height: 1.8;
    color: var(--text-charcoal);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 5px solid var(--accent-gold);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-charcoal);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary-red);
}

/* Footer - Redesigned */
footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 4rem 0 0;
    margin-top: 4rem;
    border-top: 4px solid var(--secondary-red);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-column h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: bold;
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-about-text {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin-bottom: 0.75rem;
}

.footer-nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-nav-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact-email {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
    display: block;
    margin-top: 1rem;
}

.footer-bottom {
    background-color: #0a0a0a;
    border-top: 1px solid #333;
    padding: 2rem 0;
    text-align: center;
}

.footer-copyright {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Image-Text Sections */
.image-text-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.image-text-section.reverse {
    direction: rtl;
}

.image-text-section.reverse > * {
    direction: ltr;
}

.image-text-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.image-text-content h3 {
    color: var(--primary-black);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.image-text-content p {
    line-height: 1.8;
    color: var(--text-charcoal);
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, var(--secondary-red) 0%, #a00024 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(198, 0, 43, 0.3);
}

.trust-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-feature {
    padding: 1rem;
}

.trust-feature::before {
    content: '✓';
    display: block;
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.trust-feature p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Google Reviews Section */
.reviews-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-top: 3rem;
}

.reviews-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reviews-header h3 {
    font-size: 2rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.rating-text {
    font-size: 1.2rem;
    color: var(--text-charcoal);
    font-weight: bold;
}

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

.review-card {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-charcoal);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-weight: bold;
    color: var(--secondary-red);
}

.review-date {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-black);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 500px;
        border-top: 1px solid var(--secondary-red);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav ul li {
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }

    /* Hero - disable fixed background on mobile for better performance */
    .hero {
        background-attachment: scroll;
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .content-section {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .image-text-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-text-section.reverse {
        direction: ltr;
    }

    .trust-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

