/* ==============================
    RESET & BASE STYLES
============================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.hidden-body {
    overflow: hidden !important;
}

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
    color: #111827;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ==============================
    ADVERTISEMENT TOP BAR
============================== */
.top-advertisement-bar {
    background-color: #111827;
    color: #e5e7eb;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==============================
    NAVIGATION
============================== */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    color: #111827;
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #4b5563;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #111827;
}

.btn-primary {
    background-color: #111827;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #374151;
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-block {
    display: flex;
    width: 100%;
    margin-top: 15px;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #111827;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: #ffffff;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 60px 30px;
}

.mobile-menu-overlay.menu-active {
    right: 0;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #111827;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    font-size: 1.2rem;
    color: #111827;
    font-weight: 600;
}

/* ==============================
    BANNER
============================== */
.banner {
    background-color: #111827;
    color: #ffffff;
    padding: 12px 0;
    font-size: 0.9rem;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
}

.badge {
    background-color: #ffffff;
    color: #111827;
    padding: 2px 10px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.banner-link {
    text-decoration: underline;
    font-weight: 600;
}

/* ==============================
    MAIN CONTENT GRID
============================== */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
    align-items: start;
}

/* Articles Area */
.articles-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
}

.card-image-wrap {
    position: relative;
    overflow: hidden;
}

.article-img {
    width: 100%;
    transition: transform 0.5s ease;
}

.card:hover .article-img {
    transform: scale(1.03);
}

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #111827;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    z-index: 10;
}

.card-body {
    padding: 30px;
}

.meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 12px;
    font-weight: 500;
}

.text-accent {
    color: #4b5563;
    font-weight: 800;
    text-transform: uppercase;
}

.article-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111827;
}

.prose {
    color: #374151;
    font-size: 1.1rem;
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.5rem;
}

.highlight-box {
    background-color: #f3f4f6;
    border-left: 4px solid #111827;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.highlight-box p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.btn-dark {
    display: inline-block;
    background-color: #111827;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-dark:hover {
    background-color: #374151;
}

/* Secondary Articles */
.secondary-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card-small .article-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-small .prose {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-small .card-body {
    padding: 20px;
}

.link-text {
    color: #111827;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid #111827;
    padding-bottom: 2px;
}

.link-text:hover {
    color: #4b5563;
    border-color: #4b5563;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.widget-dark {
    background-color: #111827;
    color: #ffffff;
    border: none;
}

.badge-hot {
    display: inline-block;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-img {
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature-list {
    margin-bottom: 20px;
}

.feature-list li {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 8px;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px;
    border: 1px solid #4b5563;
    border-radius: 6px;
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
}

.newsletter-input::placeholder {
    color: #9ca3af;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ffffff;
}

/* Sections Styling */
.page-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

.section-header {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #111827;
}

.feature-title {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-text {
    color: #4b5563;
}

.testimonials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-item {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    font-style: italic;
}

.testimonial-author {
    margin-top: 10px;
    font-weight: 700;
    font-style: normal;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #f9fafb;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.faq-question {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
    color: #111827;
}

.faq-answer {
    color: #4b5563;
    font-size: 0.95rem;
}

/* ==============================
    FOOTER
============================== */
.footer {
    background-color: #ffffff;
    padding: 60px 0;
    margin-top: 60px;
    border-top: 1px solid #e5e7eb;
}

.footer-clean-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    color: #111827;
    margin-bottom: 0px;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.85rem;
}

.footer-links-inline {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.footer-links-inline a {
    color: #6b7280;
    font-size: 0.85rem;
    transition: color 0.3s;
    text-decoration: none;
    text-transform: capitalize;
}

.footer-links-inline a:hover {
    color: #111827;
}

.footer-right {
    max-width: 500px;
}

.footer-disclosure-box {
    background-color: #f9fafb;
    border: 1px solid #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-disclosure-box strong {
    color: #4b5563;
}

/* ==============================
    MODALS & COOKIES
============================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f2937;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    max-width: 600px;
    width: 90%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 0.875rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    background-color: #374151;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.3s;
}

.cookie-accept {
    background-color: #ffffff;
    color: #111827;
}

.cookie-accept:hover {
    background-color: #e5e7eb;
}

.cookie-reject:hover {
    background-color: #4b5563;
}

/* ==============================
    MEDIA QUERIES
============================== */
@media (max-width: 992px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links, .desktop-only {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }

    .secondary-articles {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .footer-clean-content {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 30px;
    }
    
    .footer-links-inline {
        flex-wrap: wrap;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
}
