:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #CD853F;
    --dark-color: #2C1810;
    --light-color: #FFF8F0;
    --cream-color: #F5E6D3;
    --text-color: #3D2914;
    --border-color: #D4B896;
    --shadow-light: rgba(139, 69, 19, 0.1);
    --shadow-medium: rgba(139, 69, 19, 0.2);
    --gradient-warm: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    --gradient-cream: linear-gradient(180deg, #FFF8F0 0%, #F5E6D3 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--gradient-cream);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.3;
}

p {
    font-family: 'Lora', serif;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--cream-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.site-header {
    background: linear-gradient(180deg, var(--dark-color) 0%, #4A2C17 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cream-color);
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    color: var(--cream-color);
    padding: 0.6rem 1.2rem;
    margin: 0 0.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

.dropdown-menu {
    background: var(--dark-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.dropdown-item {
    font-family: 'Open Sans', sans-serif;
    color: var(--cream-color);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.burger-menu {
    border: none;
    padding: 8px;
    background: transparent;
}

.burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--cream-color);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu:hover .burger-line {
    background: var(--accent-color);
}

.burger-menu[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-content {
    flex: 1;
    padding: 0;
}

.hero-section {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.9) 0%, rgba(139, 69, 19, 0.85) 100%),
                url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Prag_2006_117.jpg/1280px-Prag_2006_117.jpg') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--light-color), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 1rem;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--cream-color);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.btn-primary-custom {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    background: var(--gradient-warm);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-medium);
    color: white;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-warm);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    text-align: center;
    color: var(--primary-color);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.recipe-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.recipe-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.recipe-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-card-img img {
    transform: scale(1.1);
}

.recipe-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-warm);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recipe-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recipe-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.recipe-card-text {
    color: #666;
    font-size: 0.95rem;
    flex: 1;
}

.recipe-card-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.recipe-meta-item {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.recipe-card-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.recipe-card-link:hover {
    color: var(--secondary-color);
}

.featured-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #4A2C17 100%);
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    background-size: 30px 30px;
}

.featured-content {
    position: relative;
    z-index: 2;
}

.featured-title {
    color: var(--cream-color);
}

.featured-title::after {
    background: var(--accent-color);
}

.featured-text {
    color: rgba(255,255,255,0.85);
}

.info-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--shadow-light);
    height: 100%;
    border-left: 5px solid var(--primary-color);
}

.info-box-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-family: 'Lora', serif;
    position: relative;
    padding-left: 1.5rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.article-header {
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.95) 0%, rgba(139, 69, 19, 0.9) 100%),
                url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Prag_2006_117.jpg/1280px-Prag_2006_117.jpg') center/cover no-repeat;
    padding: 8rem 0 5rem;
    text-align: center;
}

.article-header-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.article-header-meta {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--cream-color);
}

.article-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 50px var(--shadow-light);
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.article-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
}

.article-image {
    border-radius: 15px;
    overflow: hidden;
    margin: 2rem 0;
    box-shadow: 0 10px 30px var(--shadow-light);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image figcaption {
    background: var(--cream-color);
    padding: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    color: var(--text-color);
    text-align: center;
}

.recipe-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--cream-color);
    border-radius: 15px;
}

.recipe-info-item {
    text-align: center;
    padding: 1rem;
}

.recipe-info-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.recipe-info-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
}

.ingredients-box {
    background: var(--light-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--border-color);
}

.ingredients-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.sidebar-box {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    display: block;
    transition: all 0.3s ease;
}

.sidebar-links a:hover {
    padding-left: 10px;
    color: var(--secondary-color);
}

.about-section {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.about-image img {
    width: 100%;
    height: auto;
}

.contact-section {
    background: var(--cream-color);
}

.contact-info-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px var(--shadow-light);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-warm);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.contact-details a {
    color: var(--primary-color);
}

.site-footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, #1A0F09 100%);
    color: var(--cream-color);
    margin-top: auto;
}

.footer-top {
    padding: 4rem 0 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 35px;
    height: auto;
    border-radius: 4px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-note {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #4A2C17 100%);
    padding: 1.5rem;
    z-index: 9998;
    box-shadow: 0 -5px 30px var(--shadow-medium);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    font-family: 'Playfair Display', serif;
    color: var(--cream-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    font-family: 'Open Sans', sans-serif;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.btn-cookie {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--accent-color);
    color: white;
}

.btn-accept:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-reject {
    background: transparent;
    color: var(--cream-color);
    border: 2px solid var(--cream-color);
}

.btn-reject:hover {
    background: rgba(255,255,255,0.1);
}

.btn-essential {
    background: rgba(255,255,255,0.2);
    color: var(--cream-color);
}

.btn-essential:hover {
    background: rgba(255,255,255,0.3);
}

.breadcrumb-nav {
    background: var(--cream-color);
    padding: 1rem 0;
}

.breadcrumb {
    margin: 0;
    background: transparent;
}

.breadcrumb-item {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: #666;
}

.policy-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px var(--shadow-light);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content ul {
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.update-info {
    background: var(--cream-color);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--dark-color);
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 1rem;
        box-shadow: 0 10px 30px var(--shadow-medium);
    }

    .navbar-nav .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .dropdown-menu {
        background: rgba(255,255,255,0.05);
        border: none;
        margin-top: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .article-header-title {
        font-size: 2.2rem;
    }

    .article-content {
        padding: 2rem;
        margin: 0 1rem;
        margin-top: -2rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .article-header {
        padding: 6rem 0 4rem;
    }

    .article-header-title {
        font-size: 1.8rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .recipe-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .footer-top {
        padding: 3rem 0 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .brand-text {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .btn-primary-custom {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .recipe-card-img {
        height: 200px;
    }

    .recipe-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}