/* ==========================================
   CSS Variables & Design Tokens - Vanguardista
========================================== */
:root {
    --color-primary: #109090;
    --color-primary-dark: #0a5c5c;
    --color-bg: #fafafa;
    --color-surface: rgba(255, 255, 255, 0.6);
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    
    --font-main: 'Outfit', sans-serif;
    
    --radius-glass: 24px;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 140px 0;
}

h1, h2, h3, h4 {
    font-weight: 300;
    letter-spacing: -0.02em;
}

/* ==========================================
   Navbar - Glassmorphism
========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    padding: 24px 0;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(250, 250, 250, 0.9);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    object-fit: contain;
    transition: var(--transition-base);
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================
   Hero Section
========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    transform: scale(1.02);
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(100deg, rgba(250,250,250,0.95) 0%, rgba(250,250,250,0.7) 40%, rgba(26,26,26,0) 80%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 700px;
}

.subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-content h1 {
    font-size: 7rem;
    line-height: 0.9;
    font-weight: 100;
    color: var(--color-text);
}

.hero-content h1.highlight {
    font-weight: 700;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content .description {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin: 40px 0;
    max-width: 500px;
}

/* ==========================================
   Buttons
========================================== */
.btn-glass {
    display: inline-block;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    font-weight: 400;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-slow);
}

.btn-glass:hover {
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.btn-solid {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 40px;
    border: none;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-slow);
}

.btn-solid:hover {
    background: var(--color-primary-dark);
    transform: translateY(-4px);
}

.btn-clear {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--color-text);
    border-radius: 40px;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: 400;
    cursor: pointer;
    transition: var(--transition-slow);
}

.btn-clear:hover {
    border-color: var(--color-text);
}

/* ==========================================
   Categories (Asymmetrical Grid)
========================================== */
.categories-grid-avant {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 32px;
    grid-auto-rows: minmax(300px, auto);
}

.section-title h2 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 80px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-glass);
    overflow: hidden;
    group: hover;
    transition: var(--transition-slow);
    background: #fff; /* Fallback */
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-medium {
    grid-column: span 2;
}

.card-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content-glass {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-slow);
}

.category-card:hover .card-content-glass {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-8px);
}

.card-content-glass h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

.link-btn {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.category-card:hover .link-btn {
    opacity: 1;
    color: var(--color-primary);
}

/* ==========================================
   CTA Section
========================================== */
.cta-section {
    text-align: center;
    background: #fff;
}

.cta-content h2 {
    font-size: 4rem;
    font-weight: 100;
    margin-bottom: 40px;
}

.cta-line {
    width: 2px;
    height: 80px;
    background: var(--color-primary);
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
}

/* ==========================================
   Footer
========================================== */
footer {
    padding: 100px 0 60px;
    background: #111;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo img {
    height: 48px;
    opacity: 0.8;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 32px;
}

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links a, .footer-contact p {
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #fff;
}

/* ==========================================
   Animations
========================================== */
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive
========================================== */
@media (max-width: 1024px) {
    .categories-grid-avant {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content h1 { font-size: 5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    
    .hero-gradient {
        background: linear-gradient(180deg, rgba(250,250,250,0.8) 0%, rgba(250,250,250,0.95) 100%);
    }
    .hero-text-wrapper { text-align: center; }
    .hero-content h1 { font-size: 4rem; }
    
    .categories-grid-avant { grid-template-columns: 1fr; }
    .item-large, .item-medium { grid-column: span 1; }
    .footer-content { grid-template-columns: 1fr; }
    
    .cta-buttons { flex-direction: column; }
}