:root {
    --primary-color: #c9a227;
    --primary-dark: #a6851e;
    --secondary-color: #1a2332;
    --accent-color: #2d3e50;
    --light-color: #f5f3ef;
    --dark-color: #0f1419;
    --gray-100: #f8f7f5;
    --gray-200: #e8e6e1;
    --gray-600: #5c6470;
    --gradient-primary: linear-gradient(135deg, #c9a227 0%, #a6851e 100%);
    --gradient-dark: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    --gradient-hero: linear-gradient(180deg, rgba(15, 20, 25, 0.94) 0%, rgba(26, 35, 50, 0.9) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --border-radius-sm: 10px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--gray-100);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif 4', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--secondary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: 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 rgba(201, 162, 39, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loader-text {
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    font-size: 1rem;
    letter-spacing: 3px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--gradient-dark);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 0.85rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: white;
    transition: opacity var(--transition-fast);
}

.navbar-brand:hover {
    opacity: 0.9;
    color: white;
}

.brand-icon {
    filter: brightness(0) invert(1);
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-base);
}

.burger-btn.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-btn.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-collapse {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(201, 162, 39, 0.25);
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0.5rem 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-base);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    color: var(--dark-color);
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
}

.site-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px - 280px);
}

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    background: rgba(201, 162, 39, 0.25);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Source Serif 4', serif;
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 0.9rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
    color: white;
}

.btn-outline-custom {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 0.9rem 2rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    transition: var(--transition-base);
}

.btn-outline-custom:hover {
    background: white;
    color: var(--secondary-color);
    border-color: white;
}

.section {
    padding: 4.5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-light .section-title,
.section-header-light .section-subtitle {
    color: white;
}

.section-header-light .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.section-badge {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: rgba(201, 162, 39, 0.15);
    color: var(--primary-dark);
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 580px;
    margin: 0 auto;
}

.section-asymmetric {
    background: linear-gradient(165deg, #faf9f7 0%, #f0ede8 50%, #faf9f7 100%);
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card-large {
    grid-column: 1;
    grid-row: 1 / -1;
}

.category-img {
    height: 200px;
    overflow: hidden;
}

.category-card-large .category-img {
    height: 100%;
    min-height: 280px;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content {
    padding: 1.5rem;
}

.category-card-large .category-content {
    padding: 2rem;
}

.category-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
}

.category-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.category-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.category-link:hover {
    color: var(--primary-color);
}

.featured-section {
    background: var(--gradient-dark);
    padding: 5rem 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 162, 39, 0.3);
}

.featured-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50px;
}

.featured-body {
    padding: 1.75rem;
}

.featured-body h3 {
    margin-bottom: 0.75rem;
}

.featured-body h3 a {
    color: white;
}

.featured-body h3 a:hover {
    color: var(--primary-color);
}

.featured-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.featured-meta i {
    color: var(--primary-color);
    margin-right: 4px;
}

.section-tips {
    background: white;
}

.tips-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.tips-content .section-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.tips-content .section-title {
    margin-bottom: 1rem;
}

.tips-content p {
    margin-bottom: 1.25rem;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.95rem;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-img {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.tips-img img {
    width: 100%;
    height: auto;
    display: block;
}

.sources-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.source-card {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    color: var(--secondary-color);
    transition: var(--transition-base);
}

.source-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.page-header {
    background: var(--gradient-dark);
    padding: 4rem 0 3rem;
}

.page-header-content {
    text-align: center;
}

.page-header-content h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.breadcrumb-custom {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-custom a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 0.5rem;
}

.article-section {
    padding-top: 3rem;
}

.article-content {
    max-width: 780px;
    margin: 0 auto;
}

.article-narrow {
    max-width: 700px;
}

.article-meta {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.article-meta i {
    margin-right: 6px;
}

.article-hero-img {
    margin-bottom: 2rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-hero-img img {
    width: 100%;
    display: block;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content h2:first-of-type {
    margin-top: 1.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.12);
    border-radius: var(--border-radius-sm);
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.contact-info-content h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.contact-info-content p {
    margin-bottom: 0;
}

.contact-map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.site-footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.85);
}

.footer-top {
    padding: 4rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Instrument Serif', serif;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.footer-brand img {
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.footer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-contact i {
    flex-shrink: 0;
    color: var(--primary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright, .update-info {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem 2rem;
    z-index: 9998;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie-accept {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-cookie-accept:hover {
    opacity: 0.9;
}

.btn-cookie-reject {
    padding: 0.6rem 1.5rem;
    background: var(--gray-200);
    border: none;
    border-radius: var(--border-radius-sm);
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-cookie-settings {
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 2px solid var(--gray-600);
    border-radius: var(--border-radius-sm);
    color: var(--gray-600);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.cookie-modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-modal-header h5 {
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
}

.cookie-modal-body {
    padding: 1.5rem 2rem;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info h6 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.9rem;
}

.btn-cookie-save {
    width: 100%;
    padding: 0.9rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.cookie-modal-footer {
    padding: 1rem 2rem;
}

@media (max-width: 992px) {
    .burger-btn {
        display: flex;
    }

    .nav-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-dark);
        flex-direction: column;
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-collapse.active {
        max-height: 500px;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0 0 0 1.5rem;
        box-shadow: none;
        background: transparent;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0 0 1.5rem;
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card-large {
        grid-column: 1;
        grid-row: auto;
    }

    .category-card-large .category-img {
        min-height: 220px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .tips-layout {
        grid-template-columns: 1fr;
    }

    .tips-img {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
    }
}
