/* Modern Design System */
:root {
    --primary: #d97706;
    --primary-dark: #b45309;
    --primary-light: #fbbf24;
    --accent: #f59e0b;
    --dark: #1f2937;
    --light: #f9fafb;
    --gray: #6b7280;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
}

/* Modern Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.55) 0%, rgba(180, 83, 9, 0.65) 100%),
                url('img/Site global img/yorkshire-terrie hero section.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    padding: 3rem 0 4rem;
}

.hero-overlay {
    display: none;
}

@media (min-width: 768px) {
    .hero-section {
        background-attachment: fixed;
        min-height: 90vh;
    }

    .hero-content {
        padding: 5rem 0 6rem;
    }
}

/* Modern Navigation — header only (not footer nav) */
body > nav {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

/* Modern Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline {
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Modern Cards */
.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
    display: block;
}

.card:hover .card-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Modern Icon Circle */
.icon-circle {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15);
}

/* Modern Section Title */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Modern Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* Modern Form Styles */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

/* Modern Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(60px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-close {
    color: #9ca3af;
    float: right;
    font-size: 32px;
    font-weight: 300;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

/* Modern Puppy Card */
.puppy-card {
    cursor: pointer;
    position: relative;
}

.puppy-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    backdrop-filter: blur(10px);
}

/* Modern Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Modern Gradient Backgrounds */
.bg-gradient-modern {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
}

/* Glassmorphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Site Footer */
.site-footer {
    background: #111827;
    color: white;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-brand {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f59e0b;
    text-decoration: none;
    margin-bottom: 0.75rem;
}

.footer-brand:hover {
    color: #fbbf24;
}

.footer-text {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 28rem;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #f59e0b;
}

.footer-cta {
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 2.5rem;
    padding: 1.5rem 0;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
}

/* Thank You Page */
.thank-you-section {
    padding: 7rem 0 4rem;
    min-height: calc(100vh - 12rem);
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #fffbeb 0%, #f9fafb 100%);
}

.thank-you-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.thank-you-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-next {
    background: #fffbeb;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.thank-you-step {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 0.15rem;
}

@media (min-width: 640px) {
    .thank-you-card {
        padding: 3rem;
    }

    .thank-you-next {
        padding: 1.75rem;
    }
}

/* Mobile nav spacing */
#mobile-menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

#mobile-menu a:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
        padding: 0 0.5rem;
    }
    
    .card-img {
        height: 240px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 20px;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .gallery-img {
        height: 140px;
        border-radius: 12px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 12px 24px;
    }

    .hero-content .btn-primary,
    .thank-you-card .btn-primary,
    .thank-you-card .btn-outline,
    section[aria-label="Call to action"] .btn-secondary {
        width: 100%;
        max-width: 20rem;
        text-align: center;
    }

    .site-footer {
        padding-top: 2.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(217, 119, 6, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hover Effects for Links */
a {
    transition: all 0.3s ease;
}

/* Modern Shadow Utilities */
.shadow-modern {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-modern-lg {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Accent Colors */
.text-accent {
    color: var(--accent);
}

.bg-accent {
    background: var(--accent);
}

/* Modern Spacing */
.container {
    max-width: 1280px;
}


/* Reviews Page - Remove any overlays and increase image visibility */
.card .relative::before,
.card .relative::after {
    display: none !important;
}

.card img {
    opacity: 1 !important;
    filter: brightness(1) !important;
}

/* Ensure no dark overlays on images */
.card-img::before,
.card-img::after {
    content: none !important;
}

/* Make review images pop */
.card:hover img {
    filter: brightness(1.05) saturate(1.1) !important;
}


/* Modern Puppy Cards */
.puppy-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.puppy-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.2);
}

.puppy-image-container {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: #f9fafb;
}

.puppy-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.puppy-card-modern:hover .puppy-image {
    transform: scale(1.05);
}

.puppy-adopt-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.puppy-adopt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.puppy-info {
    padding: 24px;
}

.puppy-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.puppy-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.puppy-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.detail-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.detail-sex {
    background: #f3f4f6;
    color: #374151;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.detail-sex.is-female {
    background: #fce7f3;
    color: #9d174d;
}

.detail-sex.is-male {
    background: #dbeafe;
    color: #1e40af;
}

.puppy-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.puppy-meta-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.detail-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* Included Cards */
.included-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.included-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.included-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .puppy-image-container {
        height: 280px;
    }
    
    .puppy-name {
        font-size: 1.5rem;
    }
    
    .detail-price {
        font-size: 1.25rem;
    }
}


/* Reviews Page - Contained Images */
.card .card-img {
    object-fit: contain;
    background: #f9fafb;
}


/* Netlify honeypot — visually hidden, still in DOM for spam bots */
.netlify-honeypot {
    position: absolute !important;
    left: -9999px !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Screen Reader Only - for accessibility and SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
