/* Stanvee Blog Archive CSS */

:root {
    --primary: #002147; /* Dark Blue */
    --accent: #FFD700;  /* Gold */
    --secondary: #00152e;
    --text-main: #333;
    --text-muted: #666;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --shadow-main: 0 10px 30px rgba(0, 33, 71, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 33, 71, 0.2);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--text-main);
}

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

/* Header Mockup */
.main-header {
    background: var(--primary);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Reduced Logo Size for cleaner header */
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    opacity: 1;
}

.btn-gold {
    background: var(--accent);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.btn-gold:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* Archive Hero */
.archive-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 100px 0 60px;
    color: var(--white);
    text-align: center;
}

.archive-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.archive-hero p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}


/* Grid Section */
.latest-blogs {
    padding: 60px 0 100px;
    background: var(--bg-light);
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styling */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-main);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: initial;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.card-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
    line-height: 1.4;
}

.card-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View More btn styling */
.view-more-container {
    text-align: center;
    margin-top: 60px;
}

.btn-view-more {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-main);
    transition: var(--transition);
}

.btn-view-more:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Footer Styling */
.main-footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo p {
    max-width: 300px;
    opacity: 0.7;
}

.footer-links h4, .footer-contact h4 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 18px;
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav-links a {
        margin: 0 10px;
    }
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
}
