/* ============================================
   HEROFAYE KATTENFOKKERIJ - MODERN CSS
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #8B6F47;
    --secondary-color: #D4A574;
    --accent-color: #E8D5C4;
    --dark-color: #2C2416;
    --light-color: #FAF8F5;
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 90px;
    overflow: hidden;
    background: linear-gradient(135deg, #E8D5C4 0%, #D4A574 50%, #8B6F47 100%);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    max-width: 1600px;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 36, 22, 0.7) 0%, rgba(139, 111, 71, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    animation: pulse 0.5s ease;
}

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

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

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    animation: slideInFromLeft 0.6s ease;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    animation: slideInFromLeft 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05) rotate(1deg);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

/* Cats Section */
.cats {
    background: var(--white);
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.cat-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cat-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: var(--shadow-lg);
}

.cat-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--light-color);
}

.cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cat-card:hover .cat-image img {
    transform: scale(1.1);
}

.cat-info {
    padding: 25px;
}

.cat-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.cat-breed {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.cat-description {
    color: var(--text-light);
    line-height: 1.6;
}

.cat-health {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-health li {
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.cat-pedigree {
    display: inline-block;
    margin-top: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.cat-pedigree:hover,
.cat-pedigree:focus-visible {
    border-bottom-color: var(--primary-color);
}

/* Litters Section */
.litters {
    background: var(--light-color);
}

.litters-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.litters-placeholder {
    background: var(--white);
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.litters-placeholder p {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-light);
}

.litter-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.litter-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.litter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    animation: slideInFromRight 0.8s ease;
}

.litter-image:hover img {
    transform: scale(1.05);
}

.litter-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.litter-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.litter-details {
    list-style: none;
    padding: 0;
}

.litter-details li {
    padding: 12px 0;
    border-bottom: 1px solid #E0E0E0;
    font-size: 1.05rem;
}

.litter-details li:last-child {
    border-bottom: none;
}

/* Social Feed Section */
.social-feed {
    background: var(--white);
}

.facebook-feed {
    max-width: 800px;
    margin: 0 auto;
}

.facebook-embed {
    display: flex;
    justify-content: center;
}

.facebook-embed iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

/* Certifications Section */
.certifications {
    background: var(--light-color);
}

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

.cert-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    width: 100%;
}

.cert-card:hover,
.cert-card:focus-visible {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
    outline: none;
}

.cert-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.414;
    border-radius: 10px;
    overflow: hidden;
    background: var(--light-color);
}

.cert-media img,
.cert-media embed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
}

.cert-media embed {
    pointer-events: none;
}

.cert-media-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.cert-caption {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

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

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item a {
    color: var(--text-color);
}

.info-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
    animation: pulse 0.5s ease;
}

/* Contact Form */
.contact-form {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

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

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(0.9);
}

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

.footer-text p {
    margin-bottom: 8px;
}

.footer-text a {
    color: var(--secondary-color);
}

.footer-text a:hover {
    color: var(--accent-color);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 40px 20px;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        gap: 20px;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .litters-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero {
        margin-top: 70px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-logo img {
        height: 50px;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

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

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

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

    .contact-form {
        padding: 30px 20px;
    }

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

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 100px;
}

/* Loading placeholder styles */
.cat-image,
.litter-image,
.about-image,
.cert-card img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

/* Modal */
.modal[hidden] {
    display: none !important;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.2s ease;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: min(960px, 95vw);
    width: 100%;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.25s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.modal-close {
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--primary-color);
    padding: 0 6px;
}

.modal-close:hover {
    color: var(--accent-color, var(--primary-color));
}

.modal-body {
    flex: 1;
    min-height: 0;
    display: flex;
    background: #222;
}

.modal-body img,
.modal-body iframe,
.modal-body embed {
    width: 100%;
    height: 85vh;
    max-height: 85vh;
    border: none;
    display: block;
}

.modal-body img {
    object-fit: contain;
    background: #222;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    .modal-body img,
    .modal-body iframe,
    .modal-body embed {
        height: 78vh;
    }
}

/* Print styles */
@media print {
    .navbar,
    .nav-toggle,
    .hero-overlay,
    .social-feed {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}
