@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-color: #2c5f6e;
    --secondary-color: #d4a574;
    --accent-color: #8b4513;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-cream: #faf6f1;
    --bg-sand: #f5ebe0;
    --bg-ocean: #e8f4f8;
    --white: #ffffff;
    --border-light: #e0d8cf;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-cream);
    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-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d47 100%);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c4956a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.logo-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--white);
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav ul li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-menu span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 75px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 95, 110, 0.7) 0%,
        rgba(26, 61, 71, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 60px 20px;
    max-width: 900px;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 35px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--secondary-color);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
    transition: var(--transition);
}

.hero-cta:hover {
    background: #c4956a;
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.page-hero {
    min-height: 50vh;
    margin-top: 75px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.bg-sand {
    background-color: var(--bg-sand);
}

.bg-ocean {
    background-color: var(--bg-ocean);
}

.bg-white {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3d47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.08);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.article-content {
    padding: 28px;
}

.article-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--text-dark);
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-link:hover {
    color: var(--secondary-color);
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.content-text h2 {
    margin-bottom: 20px;
}

.content-text p {
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.content-text ul {
    list-style: none;
    margin-bottom: 25px;
}

.content-text ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.content-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1a3d47;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #c4956a;
    color: var(--white);
}

.contact-section {
    background: linear-gradient(135deg, var(--bg-ocean) 0%, var(--bg-sand) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c4956a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.contact-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
    word-break: break-word;
}

.faq-section {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-cream);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.faq-question {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-sand);
}

.faq-question h4 {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    padding-right: 20px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    transition: var(--transition);
}

.faq-toggle::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 25px 22px;
}

.faq-answer p {
    margin: 0;
    font-size: 0.95rem;
}

footer {
    background: linear-gradient(135deg, #1a3d47 0%, var(--primary-color) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom a {
    color: var(--secondary-color);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid var(--primary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-weight: 600;
}

.cookie-accept {
    background: var(--primary-color);
    color: var(--white);
}

.cookie-accept:hover {
    background: #1a3d47;
}

.cookie-reject {
    background: var(--bg-sand);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.cookie-reject:hover {
    background: var(--border-light);
}

.update-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-sand);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.update-info svg {
    width: 14px;
    height: 14px;
    fill: var(--secondary-color);
}

.breadcrumb {
    padding: 15px 0;
    background: var(--bg-sand);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-list li::after {
    content: '/';
    color: var(--text-light);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: var(--primary-color);
}

.breadcrumb-list span {
    color: var(--text-light);
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
}

.external-link svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.source-list {
    margin-top: 40px;
    padding: 25px;
    background: var(--bg-sand);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.source-list h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.source-list ul {
    list-style: none;
}

.source-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.source-list a {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .content-block {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 20px;
        transform: translateX(-100%);
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    nav ul li a {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 40px 20px;
    }
    
    .content-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-block.reverse {
        direction: ltr;
    }
    
    .content-image img {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 12px 15px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    
    .hero-cta {
        padding: 14px 30px;
        font-size: 0.85rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
