/* ===========================
Fonts
=========================== */
@font-face {
    font-family: 'Butler';
    src: url('fonts/Butler_Medium.otf') format('opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'Cheyenne Sans';
    src: url('fonts/CheyenneSans-Light.ttf') format('truetype');
    font-weight: 300;
}

/* ===========================
Base reset
=========================== */
* {
    box-sizing: border-box;
}

/* ===========================
Base layout
=========================== */
body.project {
    margin: 0;
    font-family: 'Cheyenne Sans', sans-serif;
    color: #282d26;
    line-height: 1.6;

    background: url("img/ORG_DSC02426.jpg") no-repeat center center fixed;
    background-size: cover;

    padding-top: 90px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===========================
Header
=========================== */
body.project header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.8rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

body.project header .logo img {
    height: 45px;
}

/* ===========================
Navigation
=========================== */
body.project nav {
    display: flex;
    gap: 0.5rem;
}

body.project nav a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    padding: 0 0.5rem;
    transition: 0.2s ease;
}

body.project nav a:hover {
    font-weight: 600;
    color: #000;
}

/* ===========================
Section container
=========================== */
body.project section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
}

/* ===========================
Typography
=========================== */
body.project h2 {
    font-family: 'Butler', serif;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

/* ===========================
Project gallery
=========================== */
body.project .project-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

body.project .project-gallery img {
    max-width: 300px;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

body.project .project-gallery img:hover {
    transform: scale(1.03);
}

/* ===========================
Back button
=========================== */
body.project .back-button-container {
    max-width: 800px;
    margin: 2rem auto;
}

body.project .back-button {
    margin-top: 1rem;

    padding: 0.7rem 1.3rem;

    background-color: #282d26;
    color: white;

    text-decoration: none;
    border-radius: 8px;

    transition: all 0.3s ease;
}

body.project .back-button:hover {
    background-color: #444;
    transform: scale(1.05);
}

/* ===========================
Footer
=========================== */
body.project footer {
    margin-top: auto;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

/* ===========================
Lightbox
=========================== */
body.project .lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

body.project .lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
}

body.project .project-quote {
    margin: 2.5rem 0;
    
    font-family: 'Butler', serif;
    font-size: 2rem;
    line-height: 1.3;

    text-align: right;
    color: #1f241c;

    max-width: 700px;
    margin-left: auto;   /* zorgt voor rechts positioneren binnen container */
}
body.project .quote-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    margin: 2.5rem 0;
}

body.project .quote-section img {
    width: 250px;
    max-width: 40%;
    border-radius: 10px;
}

body.project .project-quote {
    margin: 0;

    font-family: 'Butler', serif;
    font-size: 2rem;
    line-height: 1.3;

    text-align: right;
    color: #1f241c;

    flex: 1;
}

body.project .quote-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
}

body.project .ingredients-button {
    margin-top: 1rem;

    padding: 0.7rem 1.3rem;

    background-color: #282d26;
    color: white;

    text-decoration: none;
    border-radius: 8px;

    transition: all 0.3s ease;
}

body.project .ingredients-button:hover {
    background-color: #444;
    transform: translateY(-2px);
}

.ingredients-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;

    margin-top: 2rem;
}

.ingredients-gallery img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;

    transition: transform 0.3s ease;
}

.ingredients-gallery img:hover {
    transform: scale(1.03);
}

.product-card {
    position: relative;
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-card img:hover {
    transform: scale(1.03);
}

.img-credit {
    position: absolute;
    bottom: 8px;
    right: 10px;

    font-size: 0.65rem;
    color: rgba(255,255,255,0.85);

    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    border-radius: 6px;

    pointer-events: none;
}

@media (max-width: 768px) {

    body.project .quote-section {
        flex-direction: column;
    }

    body.project .quote-content {
        align-items: center;
    }

    body.project .project-quote {
        text-align: center;
    }

    .ingredients-gallery {
        grid-template-columns: 1fr;
    }
}

