/* CSS Variables */
:root {
    --primary: #FFD1DC;
    --secondary: #E6E6FA;
    --neutral: #FAF9F6;
    --text: #333333;
    --cta: #560603;
    --success: #81C784;
    --warning: #FFB74D;
    --white: #FFFFFF;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    --radius: 16px;
    --radius-sm: 12px;
    --transition: 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--neutral);
    line-height: 1.6;
    overflow-x: hidden;
    /* Content Protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Image Protection */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo svg {
    width: clamp(120px, 15vw, 180px);
    height: auto;
    display: block;
}

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

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--cta);
}

.nav-links a.active {
    color: var(--cta);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

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

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

.btn-primary:hover {
    background: #3d0402;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: #d4d4f0;
    transform: translateY(-2px);
}

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

.btn-success:hover {
    background: #66bb6a;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

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

.section-header p {
    font-size: 1.125rem;
    color: #666;
}

/* Grid */
.grid {
    display: grid;
    gap: 32px;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--cta);
}

.card h3 {
    margin-bottom: 12px;
    color: var(--cta);
}

.card p {
    color: #666;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: var(--cta);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 24px;
}

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

.footer-section h4 {
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.process-step {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--cta);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.process-step h3 {
    color: var(--cta);
    margin-bottom: 12px;
}

.process-step p {
    color: #666;
    margin-bottom: 0;
}

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

/* FAQ Accordion */
.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--neutral);
    color: var(--cta);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cta);
}

.faq-question.active::after {
    content: '−';
}

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

.faq-answer-content {
    padding: 0 24px 24px;
    color: #666;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Contact Form */
.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--secondary);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

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

/* Puppy Cards */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 2px solid var(--secondary);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--cta);
    color: var(--white);
    border-color: var(--cta);
}

.puppy-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
}

.puppy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.puppy-card:nth-child(even) .puppy-content {
    direction: rtl;
}

.puppy-card:nth-child(even) .puppy-details {
    direction: ltr;
}

.puppy-image-section {
    position: relative;
}

.puppy-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.puppy-gallery {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: rgba(0,0,0,0.05);
}

.puppy-gallery img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.puppy-gallery img:hover {
    border-color: var(--cta);
    transform: scale(1.05);
}

.puppy-details {
    padding: 48px;
}

.puppy-header {
    margin-bottom: 24px;
}

.puppy-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cta);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.status-badge {
    font-size: 0.875rem;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.status-available {
    background: var(--success);
    color: var(--white);
}

.status-reserved {
    background: var(--warning);
    color: var(--white);
}

.status-sold {
    background: #999;
    color: var(--white);
}

.puppy-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.meta-item {
    font-size: 0.95rem;
    color: #666;
}

.puppy-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cta);
    margin-bottom: 24px;
}

.personality-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.personality-tag {
    background: var(--secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.puppy-bio {
    line-height: 1.7;
    color: #666;
    margin-bottom: 24px;
}

.puppy-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        padding: 80px 0;
    }

    section {
        padding: 60px 0;
    }

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

    .puppy-card:nth-child(even) .puppy-content {
        direction: ltr;
    }

    .puppy-details {
        padding: 24px;
    }

    .puppy-main-image {
        height: 400px;
    }

    .puppy-meta {
        grid-template-columns: 1fr;
    }
}

