:root {
    --primary-color: #d4af37;
    /* Metallic Gold */
    --secondary-color: #1a1a1a;
    /* Deep Black */
    --accent-color: #fdfdfd;
    /* Off White */
    --text-color: #e0e0e0;
    --bg-color: #0d0d0d;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1549488344-1f9b8d2bd1f3?auto=format&fit=crop&q=80&w=1600') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:hover {
    background: #c5a02c;
    transform: translateY(-3px);
}

.btn-secondary {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

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

/* Recipe Grid */
.section {
    padding: 100px 50px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.recipe-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.recipe-image-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #151515;
    position: relative;
    overflow: hidden;
}

.recipe-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a, #0d0d0d);
    opacity: 0.3;
}

.siamois-img {
    background: url('https://www.certivet.com/guides-conseils/wp-content/uploads/2025/08/Image-bandeau-article-blog-2.png') center/cover;
}

.maine-coon-img {
    background: url('https://www.agriapet.co.uk/.netlify/images?w=750&h=372&fit=cover&position=center&fm=jpg&q=75&url=https%3A%2F%2Fagria.uksouth01.umbraco.io%2Fmedia%2Fc1kpn0c3%2Fmaine-coon-original-istock-1452473392.jpg%3Fwidth%3D2000%26quality%3D80&cd=0e4ca064bc9ea60799df13e061cf49f4') center/cover;
}

.persan-img {
    background: url('https://www.eleveurs-online.com/storage/745/conversions/149.1000-optimized.jpg') center/cover;
}

.sphynx-img {
    background: url('https://i.pinimg.com/736x/14/df/25/14df25588dfc3bd934e0aebf571d8907.jpg') center/cover;
}

.bengal-img {
    background: url('https://i.pinimg.com/originals/2f/cb/be/2fcbbe8f2bb4e030e38b8ccd3c7f3b2d.jpg') center/cover;
}

.ragdoll-img {
    background: url('https://preview.redd.it/is-anyone-elses-ragdolls-ever-just-so-ugly-sometimes-v0-rv6b7l62mare1.jpeg?width=3072&format=pjpg&auto=webp&s=f041752767b4f2ba4c2f884738fc6f5a20ef0875') center/cover;
}

.gouttiere-img {
    background: url('https://sf.doctissimo.fr/wp-content/uploads/doctissimo/2024/06/chat-moche-ugly-bat-boy-b965a9b2e12c7d67.jpeg') center/cover;
}

.ecrase-img {
    background: url('https://flexible.img.hani.co.kr/flexible/normal/520/333/imgdb/resize/2008/0320/120590735308_20080320.webp') center/cover;
}

.placeholder-text {
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-style: italic;
}

.recipe-info {
    padding: 30px;
    text-align: center;
}

.recipe-info h3 {
    margin-bottom: 10px;
}

.recipe-info p {
    margin-bottom: 1.5rem;
}

/* Testimonials */
.dark-bg {
    background: #050505;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 30px;
    background: var(--glass-bg);
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.testimonial-card cite {
    display: block;
    margin-top: 20px;
    font-style: normal;
    font-weight: bold;
    color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-color);
    margin: 5% auto;
    padding: 50px;
    border: 1px solid var(--primary-color);
    width: 70%;
    max-width: 800px;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Animations */
.fade-in {
    animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .navbar {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }

    .modal-content {
        width: 90%;
        padding: 30px;
    }
}

/* Recipe Detail Page Styles */
.recipe-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.recipe-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.recipe-image-large {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 2rem;
}

.recipe-content-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.recipe-lists {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.ingredients ul,
.steps ol {
    padding-left: 1.5rem;
}

.ingredients li,
.steps li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.comments-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.comment-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.comment-card p {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: #333;
}

.comment-card cite {
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .recipe-detail-grid {
        grid-template-columns: 1fr;
    }

    .recipe-image-large {
        height: 300px;
        position: static;
    }
}

/* Print Styles */
.btn-print {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 10px;
}

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

@media print {

    .navbar,
    .footer,
    .btn-primary,
    .btn-print,
    .comments-section {
        display: none !important;
    }

    .hero {
        height: auto !important;
        min-height: auto !important;
        background: none !important;
        padding: 20px 0;
    }

    .hero-content {
        position: static;
        transform: none;
        padding: 0;
    }

    .hero h1 {
        color: black;
        text-shadow: none;
    }

    .hero .subtitle {
        color: #666;
    }

    .recipe-detail-container {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .recipe-detail-grid {
        display: block;
    }

    .recipe-image-large {
        height: 300px;
        width: 100%;
        position: static;
        border: 1px solid #ddd;
        margin-bottom: 2rem;
        box-shadow: none;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    body {
        background: white;
        color: black;
    }

    .recipe-content-block {
        color: black;
    }
}