/* VagaWild - Premium Designer System (2026 Edition) */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,600;12..96,800&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;1,9..144,300&display=swap');

:root {
    --primary: #1B2E1D; /* Deep Forest */
    --accent: #D4A373; /* Earthy Sand */
    --bg: #F9F7F2; /* Bone White */
    --text: #121412; /* Obsidian */
    --muted: #6B705C; /* Mossy Grey */
    --white: #FFFFFF;
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --font-heading: 'Fraunces', serif;
    --font-body: 'Bricolage Grotesque', sans-serif;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* Reveal Animation */
@keyframes reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: reveal 1s var(--transition-smooth) forwards;
}

/* Layout Elements */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    font-style: italic;
}

.section-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 1rem;
    display: block;
}

/* Unique Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(249, 247, 242, 0.9);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 3vw, 3rem);
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-links a:hover::after { width: 100%; }

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    text-decoration: none;
    color: var(--primary);
}

.nav-actions {
    justify-self: end;
}

/* Robust Hero Grid */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-image {
        height: 50vh;
    }
}

.hero-content {
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 70vh;
    background: url('image/hero.webp') center/cover;
    border-radius: 40px;
    filter: sepia(0.3) contrast(1.1) brightness(0.9);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* Buttons */
.btn-vaga {
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}

.btn-vaga:hover {
    transform: scale(1.05);
    background: var(--text);
}

/* Article Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.article-card {
    grid-column: span 4;
    transition: var(--transition-smooth);
}

.article-card:nth-child(even) {
    transform: translateY(40px);
}

.article-card .img-wrap {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 10rem 0 4rem;
    margin-top: 10rem;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

@media (max-width: 968px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
}

/* Responsive Updates */
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-image {
        height: 45vh;
        order: -1; /* Image on top on mobile */
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions { scale: 0.9; }
    .hero-title { font-size: 3.5rem !important; }
    .article-card { grid-column: span 12; }
    .footer-main { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.8rem !important; }
    .container { padding: 0 1.2rem; }
    .btn-vaga { width: 100%; text-align: center; padding: 1rem; }
    .hero-image { height: 35vh; }
}
