:root {
    --black: #0f0f0f;
    --dark: #1a1a1a;
    --darker: #141414;
    --gold: #d4af37;
    --gold-dim: rgba(212, 175, 55, 0.5);
    --white: #ffffff;
    --gray: #888888;
    --font-main: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

/* Hero Section */
.blog-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 1)), url('../images/watches_header_bg.png') center/cover;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.blog-card {
    background: var(--darker);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--dark);
    z-index: 1;
}

.category {
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.blog-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--gold);
}

/* Featured Post (Full Width) */
.featured {
    flex-direction: row;
    margin-bottom: 4rem;
}

.featured .card-image {
    height: 400px;
    width: 60%;
}

.featured .card-content {
    width: 40%;
    justify-content: center;
}

.featured h2 {
    font-size: 2.5rem;
}

/* Grid Layout for remaining posts */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 4rem 0 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.footer-section p {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .featured {
        flex-direction: column;
    }
    .featured .card-image, .featured .card-content {
        width: 100%;
    }
    .featured .card-image {
        height: 300px;
    }
    .navbar {
        padding: 1rem 2rem;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        right: -100%;
        left: auto;
        width: 250px;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        transition: right 0.4s ease;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links a {
        font-size: 1rem;
    }
    .nav-links a i {
        display: inline-block;
        width: 25px;
        text-align: center;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .hamburger span {
        width: 25px;
        height: 2px;
        background: var(--white);
    }
    .hero-content h1 {
        font-size: 3rem;
        color: var(--gold);
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }
}

/* Modal Styles */
.blog-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Black w/ opacity */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--darker);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 3rem;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
    animation: modalFadeIn 0.3s ease-out forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--gray);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--gold);
}
