@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Montserrat:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-color: #2C5F7C;
    --secondary-color: #1D3557;
    --accent-color: #D4A574;
    --bg-dark: #1a1a2e;
    --bg-medium: #16213e;
    --bg-light: #f8f5f0;
    --text-dark: #2c2c2c;
    --text-light: #f5f5f5;
    --gold: #D4A574;
    --cream: #FDF8E8;
    --teal: #2C5F7C;
    --sage: #9CAF88;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 76px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
    letter-spacing: 1px;
}

.navbar-custom {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f2744 100%);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #0f2744 0%, var(--secondary-color) 100%);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.brand-text {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream) !important;
}

.brand-text span {
    color: var(--gold);
}

.nav-link-custom {
    font-family: 'Montserrat', sans-serif;
    color: var(--cream) !important;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 70%;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--gold) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212, 165, 116, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f2744 50%, var(--bg-dark) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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(212, 165, 116, 0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    color: var(--gold);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-custom {
    font-family: 'Montserrat', sans-serif;
    padding: 12px 35px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-gold {
    background: var(--gold);
    color: var(--secondary-color);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline-light-custom {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
}

.btn-outline-light-custom:hover {
    background: var(--cream);
    color: var(--secondary-color);
}

.section-pattern {
    background-color: var(--cream);
    position: relative;
}

.section-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 0L60 30L30 60L0 30Z" fill="none" stroke="rgba(44, 95, 124, 0.05)" stroke-width="1"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
}

.intro-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--cream) 100%);
}

.intro-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.25rem;
    line-height: 1.9;
    color: #444;
}

.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    margin: 1.5rem auto;
}

.recipe-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: none;
    position: relative;
}

.recipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold), var(--teal));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.recipe-card:hover::before {
    transform: scaleY(1);
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.recipe-card-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.4s ease;
}

.recipe-card:hover .recipe-card-img {
    transform: scale(1.05);
}

.recipe-card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.recipe-card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.recipe-card-body {
    padding: 1.5rem;
}

.recipe-card-title {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.recipe-card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.recipe-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--cream);
    color: var(--teal);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.read-more-link {
    font-family: 'Montserrat', sans-serif;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--teal);
    gap: 12px;
}

.featured-section {
    padding: 100px 0;
    background: var(--secondary-color);
    position: relative;
}

.featured-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(212, 165, 116, 0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.featured-content {
    position: relative;
    z-index: 2;
}

.featured-title {
    color: var(--cream);
    font-size: 2.5rem;
}

.featured-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    line-height: 1.8;
}

.featured-image {
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border: 5px solid var(--gold);
}

.tradition-section {
    padding: 80px 0;
    background: var(--cream);
}

.tradition-item {
    padding: 2rem;
    background: #fff;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.tradition-item:hover {
    border-left-color: var(--teal);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tradition-title {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.footer-custom {
    background: linear-gradient(135deg, #0a1628 0%, var(--secondary-color) 100%);
    padding: 60px 0 30px;
    color: var(--cream);
}

.footer-title {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-text {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.update-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f2744 100%);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--cream);
}

.page-hero-title {
    font-family: 'Merriweather', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    color: var(--gold);
    font-style: italic;
}

.content-section {
    padding: 60px 0;
}

.article-content {
    padding: 60px 0;
}

.article-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 2rem;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
}

.article-body h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.article-body h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    color: var(--teal);
    margin: 1.5rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.2rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-image {
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border: 3px solid var(--cream);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ingredient-box {
    background: var(--cream);
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--gold);
}

.ingredient-title {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.sidebar-widget {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sidebar-title {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.sidebar-link {
    display: block;
    padding: 0.5rem 0;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    color: var(--teal);
    padding-left: 10px;
}

.contact-section {
    padding: 60px 0;
}

.contact-card {
    background: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--gold);
}

.contact-card-title {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-card-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.contact-card-email {
    font-family: 'Montserrat', sans-serif;
    color: var(--teal);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-card-email:hover {
    color: var(--gold);
}

.faq-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.faq-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--gold);
}

.faq-question {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.faq-answer {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.about-section {
    padding: 60px 0;
}

.about-image {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 5px solid var(--cream);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

.policy-section {
    padding: 60px 0;
}

.policy-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    color: var(--cream);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--gold);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: var(--gold);
    color: var(--secondary-color);
}

.cookie-btn-accept:hover {
    background: #c4955a;
}

.cookie-btn-reject {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--cream);
}

.cookie-btn-reject:hover {
    background: rgba(255,255,255,0.1);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    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: 3px solid var(--cream);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Merriweather', serif;
    color: var(--cream);
    margin-top: 1rem;
    font-size: 1.2rem;
}

.external-link {
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1px dotted var(--teal);
    transition: all 0.3s ease;
}

.external-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.breadcrumb-custom {
    background: var(--cream);
    padding: 1rem 0;
}

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #888;
}

.intro-text-contact {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: var(--secondary-color);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 4px;
    }
    
    .nav-link-custom {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link-custom:last-child {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .contact-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.8rem;
    }
    
    .recipe-card-body {
        padding: 1rem;
    }
    
    .recipe-card-title {
        font-size: 1.1rem;
    }
}
