/* ===================================
   Variables & Reset
   =================================== */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #d4af37;
    --color-accent: #8b7355;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-background-light: #f8f8f8;
    --color-border: #e0e0e0;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-background);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Header
   =================================== */
.header {
    background-color: var(--color-background);
    border-bottom: 2px solid var(--color-secondary);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.navigation {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.navigation a {
    font-family: var(--font-sans);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    color: var(--color-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-bottom: 2px solid transparent;
}

.navigation a:hover {
    color: var(--color-secondary);
    border-bottom-color: var(--color-secondary);
}

/* ===================================
   Main Content
   =================================== */
.main-content {
    padding: var(--spacing-xl) 0;
}

.article {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.category {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-background);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.article-title {
    margin: var(--spacing-md) 0;
    color: var(--color-primary);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.separator {
    color: var(--color-secondary);
}

/* ===================================
   Featured Image
   =================================== */
.featured-image {
    margin: var(--spacing-lg) 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder svg {
    width: 100%;
    height: auto;
}

/* ===================================
   Article Content
   =================================== */
.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
}

.article-content strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ===================================
   Highlight Boxes
   =================================== */
.highlight-box {
    background-color: var(--color-background-light);
    border-left: 4px solid var(--color-secondary);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: 4px;
}

.highlight-box h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--color-border);
}

.highlight-box li:last-child {
    border-bottom: none;
}

/* ===================================
   Quote
   =================================== */
.quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-accent);
    border-left: 4px solid var(--color-secondary);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    background-color: var(--color-background-light);
}

/* ===================================
   Grid Cards
   =================================== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.card {
    background-color: var(--color-background-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-top: 3px solid var(--color-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ===================================
   Conclusion Box
   =================================== */
.conclusion-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-background);
    padding: var(--spacing-lg);
    border-radius: 8px;
    margin: var(--spacing-lg) 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.conclusion-box h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.conclusion-box p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===================================
   Article Footer
   =================================== */
.article-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--color-border);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.tag {
    background-color: var(--color-background-light);
    color: var(--color-text);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--color-secondary);
    color: var(--color-background);
    border-color: var(--color-secondary);
}

.share {
    text-align: center;
    margin-top: var(--spacing-md);
}

.share p {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-background);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo-img {
    height: 100px;
    width: auto;
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    padding: var(--spacing-xs) 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--color-secondary);
    padding-left: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .navigation {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo {
        height: 60px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .separator {
        display: none;
    }
    
    .grid-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo-img {
        margin: 0 auto var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }
    
    .navigation a {
        font-size: 0.8rem;
        padding: var(--spacing-xs);
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .quote {
        font-size: 1.2rem;
        padding: var(--spacing-sm);
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .header,
    .navigation,
    .share,
    .footer {
        display: none;
    }
    
    .article {
        max-width: 100%;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.6;
    }
}