:root {
    --rok4-primary: #000000;
    --rok4-secondary: #FAFAFA;
    --rok4-white: #FFFFFF;
    --rok4-dark: #333333;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--rok4-dark);
}

/* Top Bar */
.top-bar {
    background-color: var(--rok4-primary);
    color: var(--rok4-white);
    padding: 8px 0;
    font-size: 14px;
}

/* Header */
.main-header {
    background-color: var(--rok4-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--rok4-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--rok4-primary);
}

.search-box {
    position: relative;
}

.search-box input {
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 8px 40px 8px 15px;
}

.search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rok4-white);
    text-align: center;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn-primary-custom {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 0px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--rok4-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Bestsellers Section */
.bestsellers-section {
    padding: 80px 0;
    background-color: var(--rok4-white);
}

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

.product-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card .card-text {
    color: var(--rok4-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: var(--rok4-secondary);
}

.about-content h3 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--rok4-dark);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rok4-dark);
    margin-bottom: 1.5rem;
}

.btn-outline-custom {
    border: 2px solid var(--rok4-primary);
    color: var(--rok4-primary);
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--rok4-primary);
    color: var(--rok4-white);
}

/* Specialiteiten Section */
.specialiteiten-section {
    padding: 0px 0;
    background-color: var(--rok4-white);
}

.specialiteit-block {
    position: relative;
    height: 350px;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.specialiteit-block:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.specialiteit-block .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.specialiteit-block:hover .bg-image {
    transform: scale(1.1);
}

.specialiteit-block .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialiteit-block:hover .overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.specialiteit-block .overlay-text {
    color: var(--rok4-white);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--rok4-primary);
    color: var(--rok4-white);
    padding: 60px 0 30px;
}

.footer h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--rok4-white);
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer a {
    color: var(--rok4-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.footer .social-links a:hover {
    background-color: rgba(255,255,255,0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.payment-methods img {
    height: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content h3 {
        font-size: 2rem;
    }
    
    .specialiteit-block {
        height: 280px;
    }
    
    .specialiteit-block .overlay-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .specialiteit-block {
        height: 250px;
    }
    
    .specialiteit-block .overlay-text {
        font-size: 1.3rem;
    }
}

/* Popup Section */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
    overflow: hidden;
}

.popup-overlay.show {
    display: flex;
}

.popup-container {
    background-color: var(--rok4-primary);
    color: var(--rok4-white);
    max-width: 500px;
    width: 100%;
    min-height: 100vh;
    height: 100%;
    padding: 60px 50px;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.popup-overlay.show .popup-container {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .popup-container {
        min-height: auto;
        max-height: 90vh;
    }
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--rok4-white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    padding: 0;
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-title {
    font-size: 4.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: normal;
}

.popup-subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}

.popup-content p {
    margin-bottom: 15px;
}

.popup-content .highlight {
    font-weight: bold;
    text-decoration: underline;
    font-size: 1.2rem;
}

.popup-content .bold {
    font-weight: bold;
    font-size: 1.2rem;
}

.popup-button {
    background-color: var(--rok4-white);
    color: var(--rok4-primary);
    border: 2px solid var(--rok4-white);
    padding: 12px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.popup-button:hover {
    background-color: transparent;
    color: var(--rok4-white);
}

@media (max-width: 768px) {
    .popup-container {
        max-width: 90%;
        padding: 40px 30px;
    }
    
    .popup-title {
        font-size: 3rem;
    }
    
    .popup-content {
        font-size: 1rem;
    }
}

/* Webshop Section */
.webshop-section {
    padding: 40px 0;
    min-height: 60vh;
}

.sidebar-filters {
    background-color: var(--rok4-secondary);
    padding: 30px 20px;
    min-height: calc(100vh - 200px);
}

.filter-panel {
    background-color: var(--rok4-white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--rok4-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--rok4-primary);
}

.filter-group {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-header {
    width: 100%;
    background: none;
    border: none;
    padding: 12px 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--rok4-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filter-group-header:hover {
    color: var(--rok4-primary);
}

.filter-group-header i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.filter-group-header[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.filter-options {
    padding: 10px 0 10px 15px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--rok4-dark);
    transition: color 0.3s ease;
}

.filter-checkbox:hover {
    color: var(--rok4-primary);
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--rok4-primary);
}

.filter-checkbox span {
    user-select: none;
}

/* Product Listing */
.product-listing {
    padding: 20px 30px;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--rok4-secondary);
}

.listing-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--rok4-dark);
    margin: 0;
}

.listing-controls {
    display: flex;
    gap: 15px;
}

.listing-controls .form-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 8px 15px;
    font-size: 0.95rem;
}

.product-grid-item {
    margin-bottom: 30px;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.webshop-product-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.webshop-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Product image container voor hover effect */
.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.webshop-product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Eerste foto (voorkant) - standaard zichtbaar */
.product-image-primary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Tweede foto (achterkant) - verborgen standaard */
.product-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}



/* Hover effect: toon tweede foto (alleen als deze bestaat) */
/* Gebruik :has() selector om te checken of er een tweede foto is */
.product-image-container:has(.product-image-hover):hover .product-image-primary {
    opacity: 0;
    transform: scale(0.95);
}

.product-image-container:has(.product-image-hover):hover .product-image-hover {
    opacity: 1;
    transform: scale(1);
}

/* Als er geen tweede foto is, blijf eerste foto altijd zichtbaar */
.product-image-container:not(:has(.product-image-hover)) .product-image-primary,
.product-image-container:not(:has(.product-image-hover)):hover .product-image-primary {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* JavaScript fallback: als class 'no-hover-image' is toegevoegd */
.product-image-container.no-hover-image:hover .product-image-primary {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.webshop-product-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.webshop-product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--rok4-dark);
}

.webshop-product-card .card-text {
    color: var(--rok4-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: auto;
}

.webshop-product-card .card-delivery {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.product-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--rok4-primary);
    color: var(--rok4-white);
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    border-radius: 3px;
}

.webshop-product-card {
    position: relative;
}

@media (max-width: 992px) {
    .sidebar-filters {
        min-height: auto;
        margin-bottom: 30px;
    }
    
    .product-listing {
        padding: 20px 15px;
    }
    
    .listing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .webshop-section {
        padding: 20px 0;
    }
    
    .listing-header h1 {
        font-size: 2rem;
    }
    
    .filter-title {
        font-size: 1.3rem;
    }
}

/* Product Detail Section */
.product-detail-section {
    padding: 40px 0;
    min-height: 60vh;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--rok4-dark);
    text-decoration: none;
}

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

.breadcrumb-item.active {
    color: var(--rok4-primary);
}

.product-image-main {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: var(--rok4-white);
    margin-bottom: 20px;
}

.product-image-main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-image-thumbnails .thumbnail-image {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    padding: 5px;
}

.product-image-thumbnails .thumbnail-image:hover,
.product-image-thumbnails .thumbnail-image.active {
    border-color: var(--rok4-primary);
}

.product-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--rok4-dark);
    margin-bottom: 20px;
}

.product-price {
    font-size: 2rem;
    font-weight: 600;
    color: var(--rok4-primary);
}

.price-amount {
    font-size: 2.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rok4-dark);
}

.product-description p {
    margin-bottom: 15px;
}

.product-options .form-select {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.quantity-controls {
    max-width: 200px;
}

.quantity-controls .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls input {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.product-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
}

.product-info-box {
    background-color: var(--rok4-secondary);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.product-info-box h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--rok4-dark);
    margin-bottom: 15px;
}

.product-info-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.product-info-box ul li:last-child {
    border-bottom: none;
}

.related-products {
    padding-top: 40px;
    border-top: 2px solid var(--rok4-secondary);
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .product-image-thumbnails {
        margin-top: 15px;
    }
}

/* About Page Section */
.about-page-section {
    padding: 60px 0;
    min-height: 60vh;
}

.about-page-content {
    padding: 20px 0;
}

.about-page-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--rok4-dark);
    margin-bottom: 30px;
}

.about-page-content .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--rok4-dark);
    margin-bottom: 20px;
}

.about-page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rok4-dark);
    margin-bottom: 15px;
}

.about-story {
    padding: 40px 0;
}

.about-story .section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--rok4-dark);
    margin-bottom: 30px;
    text-align: center;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rok4-dark);
}

.about-feature-card {
    padding: 30px 20px;
    background-color: var(--rok4-secondary);
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--rok4-primary);
}

.about-feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rok4-dark);
    margin-bottom: 15px;
}

.about-feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rok4-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .about-page-title {
        font-size: 2.5rem;
    }
    
    .about-page-content .lead {
        font-size: 1.1rem;
    }
    
    .about-story .section-title {
        font-size: 2rem;
    }
    
    .about-feature-card {
        margin-bottom: 20px;
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    min-height: 60vh;
}

.contact-page-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--rok4-dark);
}

.contact-form {
    background-color: var(--rok4-secondary);
    padding: 30px;
    border-radius: 8px;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--rok4-dark);
    margin-bottom: 8px;
}

.contact-form .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--rok4-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

.contact-info {
    padding: 20px 0;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--rok4-dark);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--rok4-primary);
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--rok4-dark);
    margin-bottom: 5px;
}

.contact-info-item p {
    margin: 0;
    color: var(--rok4-dark);
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--rok4-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Contact Gallery Section */
.contact-gallery-section {
    padding: 60px 0;
    background-color: var(--rok4-secondary);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Newsletter Section */
.newsletter-section {
    padding: 40px 0;
    background-color: var(--rok4-white);
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--rok4-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .contact-page-title {
        font-size: 2.5rem;
    }
    
    .contact-info-title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-gallery-section {
        padding: 40px 0;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
}

/* Recipes Hero Section */
.recipes-hero-section {
    position: relative;
    height: 35vh;
    min-height: 300px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('upload/fotos/home1.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
}

.recipes-hero-title {
    font-size: 5rem;
    font-weight: 300;
    color: var(--rok4-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Recipes Section */
.recipes-section {
    padding: 40px 0 80px;
}

.recipe-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.recipe-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.recipe-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.recipe-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.recipe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.recipe-difficulty {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rok4-white);
    z-index: 2;
}

.difficulty-easy {
    background-color: #28a745;
}

.difficulty-medium {
    background-color: #000000;
    color: var(--rok4-secondary);
}

.difficulty-hard {
    background-color: var(--rok4-primary);
}

.recipe-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.recipe-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--rok4-dark);
    line-height: 1.4;
}

.recipe-card .card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Recipe Detail Section */
.recipe-detail-section {
    padding: 40px 0 80px;
}

.recipe-detail-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--rok4-dark);
    line-height: 1.2;
    font-weight: bold;
}

.recipe-description {
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--rok4-dark);
}

.recipe-source {
    padding: 15px 20px;
    background-color: var(--rok4-secondary);
    border-radius: 5px;
}

.recipe-image-main {
    border-radius: 8px;
    overflow: hidden;
}

.recipe-image-main img {
    width: 100%;
    height: auto;
}

.recipe-details-table {
    background-color: var(--rok4-secondary);
    padding: 16px;
    border-radius: 7px;
}

.recipe-detail-item {
    text-align: center;
}

.recipe-detail-item strong {
    display: block;
    font-size: 0.8rem;
    color: #2b2b2b;
    margin-bottom: 10px;
    text-transform: uppercase;
    /* letter-spacing: 0.5px; */
    font-weight: 600;
}

.recipe-detail-item p {
    font-size: 1.2rem;
    /* font-weight: 500; */
    color: var(--rok4-dark);
    margin: 0;
}

.recipe-section-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--rok4-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--rok4-primary);
}

.recipe-list {
    padding: 0;
    margin: 0;
}

.recipe-ingredients .recipe-list {
    list-style: none;
}

.recipe-ingredients .recipe-list li {
    padding: 13px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
    line-height: 0.1;
    color: var(--rok4-dark);
    /* border-bottom: 1px solid #e0e0e0; */
}

.recipe-ingredients .recipe-list li:last-child {
    border-bottom: none;
}

.recipe-ingredients .recipe-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 12px;
    font-weight: 600;
    color: var(--rok4-primary);
    font-size: 1.5rem;
}

.recipe-instructions .recipe-list {
    list-style: decimal;
    padding-left: 25px;
}

.recipe-instructions .recipe-list li {
    padding: 12px 0;
    padding-left: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rok4-dark);
    border-bottom: 1px solid #e0e0e0;
}

.recipe-instructions .recipe-list li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .recipes-hero-title {
        font-size: 3rem;
    }
    
    .recipe-detail-title {
        font-size: 2rem;
    }
    
    .recipe-description {
        font-size: 1rem;
    }
    
    .recipe-section-title {
        font-size: 1.5rem;
    }
    
    .recipe-detail-item p {
        font-size: 1.2rem;
    }
}


.nav-previous a, .nav-next a{ color:black;}

.underline-none {
    text-decoration:none;
}