:root {
    --gold: #c5a059;
    --black: #0a0a0a;
    --white: #ffffff;
    --smoke: rgba(255, 255, 255, 0.1);
}

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

a {
    color: #d4af37;
    /* Soft gold for links */
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #f1c40f;
    /* Brighter gold on hover */
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.4);
    text-decoration: none;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background with Overlay */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../clovecigars.webp') no-repeat center center/cover;
    filter: brightness(0.4) contrast(1.1);
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--black) 90%);
    z-index: 0;
}

/* Global Navigation */
header {
    z-index: 100;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

/* Content Wrapper */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    padding: 2rem 0;
    /* Padding on top/bottom, 0 on sides to let container handle it */
}

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

.section-spacer {
    margin-top: 6rem;
}

.content {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 4rem auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.5s ease-out forwards 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 0.2rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

p.tagline {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 3rem;
    letter-spacing: 0.1rem;
    color: #d1d1d1;
}

/* Article Styling */
article {
    text-align: left;
    background: rgba(10, 10, 10, 0.8);
    padding: 3rem;
    border: 1px solid var(--smoke);
    backdrop-filter: blur(10px);
}

article h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin: 2rem 0 1rem;
}

article p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ccc;
}

.image_container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--smoke);
}

.image_caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

/* Card Grid Layout */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--smoke);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 160, 89, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.card .card-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--smoke);
}

.card .card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: sepia(0.3) brightness(0.8);
}

.card:hover .card-image-container img {
    transform: scale(1.1);
    filter: sepia(0) brightness(1);
}

.card .card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

.card .read-more {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05rem;
    transition: letter-spacing 0.3s ease;
}

.card:hover .read-more {
    letter-spacing: 0.15rem;
}

.card .card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--smoke);
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}


/* Notification Section */
.notify-container {
    margin-top: 2rem;
}

.btn-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.4);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    color: #555;
    z-index: 10;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }


    header {
        padding: 1.5rem 1rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-spacer {
        margin-top: 4rem;
    }

    article {
        padding: 1.5rem;
    }
}