/* ============================================================
   FAMILJA MULLARAMA — PEJË · HERITAGE WEBSITE
   Elegant, Historical, Emotional Design
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
    --color-gold: #C9A84C;
    --color-gold-light: #E4C76B;
    --color-gold-dark: #9A7A32;
    --color-cream: #FAF6EE;
    --color-cream-dark: #F0E8D6;
    --color-brown: #4A3728;
    --color-brown-light: #6B5040;
    --color-green: #1DB87B;
    --color-green-dark: #159E68;
    --color-green-deep: #0D6E48;
    --color-sepia: #8B6355;
    --color-ink: #1C1410;
    --color-text: #2D2017;
    --color-text-light: #6B5040;
    --color-white: #FFFFFF;
    --color-overlay: rgba(28, 20, 16, 0.85);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-script: 'Dancing Script', cursive;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Lato', sans-serif;

    --shadow-sm: 0 2px 12px rgba(74, 55, 40, 0.12);
    --shadow-md: 0 8px 32px rgba(74, 55, 40, 0.18);
    --shadow-lg: 0 16px 60px rgba(74, 55, 40, 0.25);
    --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.35);

    --radius: 4px;
    --radius-lg: 12px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--color-cream);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- PARTICLES CANVAS ---- */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(28, 20, 16, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-monogram {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-gold);
}

/* ---- NAVBAR LOGO ---- */
.nav-logo-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1.5px rgba(201,168,76,0.45), 0 2px 12px rgba(201,168,76,0.3);
    transition: box-shadow 0.4s, transform 0.4s cubic-bezier(0.4,0,0.2,1);
    background: transparent;
}

.nav-brand:hover .nav-logo-wrap {
    transform: rotate(8deg) scale(1.12);
    box-shadow: 0 0 0 2px rgba(201,168,76,0.8), 0 4px 20px rgba(201,168,76,0.5);
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    filter: brightness(1.3) contrast(1.05) saturate(1.1);
    transition: filter 0.4s;
    display: block;
}

.nav-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--color-gold);
    transition: width 0.3s;
}

.nav-links a:hover { color: var(--color-gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--color-ink);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 40px 40px;
}

.mobile-menu.open { right: 0; }

.mobile-menu ul { display: flex; flex-direction: column; gap: 28px; }

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--color-gold); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-ink);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(29, 184, 123, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(201, 168, 76, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0D1A12 0%, #1C1410 50%, #12150A 100%);
    z-index: 1;
}

.hero-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
    opacity: 0.5;
}

/* ---- HERO LOGO ---- */
.hero-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.hero-logo-wrap {
    width: clamp(110px, 18vw, 160px);
    height: clamp(110px, 18vw, 160px);
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 0 0 2px rgba(201,168,76,0.35),
        0 0 0 8px rgba(201,168,76,0.08),
        0 0 50px rgba(201,168,76,0.3),
        0 12px 40px rgba(0,0,0,0.6);
    animation: hero-logo-float 6s ease-in-out infinite;
    transition: box-shadow 0.4s;
}

.hero-logo-wrap:hover {
    box-shadow:
        0 0 0 2px rgba(201,168,76,0.7),
        0 0 0 12px rgba(201,168,76,0.12),
        0 0 80px rgba(201,168,76,0.55),
        0 16px 60px rgba(0,0,0,0.7);
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    filter: brightness(1.3) contrast(1.05) saturate(1.1);
    display: block;
    transition: filter 0.4s;
}

.hero-logo-wrap:hover .hero-logo-img {
    filter: brightness(1.5) contrast(1.1) saturate(1.2);
}

@keyframes hero-logo-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%       { transform: translateY(-8px) rotate(1deg); }
    66%       { transform: translateY(-4px) rotate(-0.5deg); }
}

.hero-ornament {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    z-index: 2;
    opacity: 0.06;
}

.hero-ornament.top-left {
    top: -100px; left: -100px;
    background: var(--color-green);
}
.hero-ornament.top-right {
    top: -50px; right: -80px;
    background: var(--color-gold);
    width: 200px; height: 200px;
}
.hero-ornament.bottom-left {
    bottom: -80px; left: 10%;
    background: var(--color-green);
    width: 250px; height: 250px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 140px 40px 120px;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.badge-text {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.badge-line {
    display: block;
    width: 50px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold));
}

.badge-line:last-child {
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.hero-title {
    margin-bottom: 8px;
    line-height: 1.1;
}

.title-familia {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.06em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.title-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 6.5rem);
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    letter-spacing: 0.02em;
}

.hero-city {
    margin-bottom: 24px;
}

.city-script {
    font-family: var(--font-script);
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--color-green);
    text-shadow: 0 4px 30px rgba(29, 184, 123, 0.4);
    display: inline-block;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 32px;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.divider-line {
    display: block;
    width: 80px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5));
}

.hero-divider .divider-line:last-child {
    background: linear-gradient(90deg, rgba(201,168,76,0.5), transparent);
}

.divider-star {
    color: var(--color-gold);
    font-size: 0.6rem;
}

.hero-desc {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.9;
    margin-bottom: 48px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 16px 42px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-ink);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    box-shadow: var(--shadow-gold);
    transition: all 0.35s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.55);
}

.btn-outline {
    padding: 16px 42px;
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.35s;
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.08);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    animation: fadeInUp 2s 2s both;
}

.scroll-mouse {
    width: 24px; height: 38px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scroll-wheel 2s infinite;
}

.scroll-indicator span {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* Hero Collage Preview */
.hero-collage-preview {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 280px;
    opacity: 0.18;
    pointer-events: none;
    filter: sepia(0.4);
}

.collage-float-img {
    width: 100%;
    border-radius: 8px;
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.quote-section {
    position: relative;
    z-index: 10;
    background: var(--color-cream);
    padding: 100px 40px;
    text-align: center;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-ornament {
    font-family: var(--font-display);
    font-size: 15rem;
    color: var(--color-green);
    opacity: 0.08;
    line-height: 1;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    user-select: none;
}

.quote-text {
    font-family: var(--font-body);
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
    color: var(--color-brown);
    line-height: 1.9;
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.quote-author {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 16px;
}

.section-eyebrow.light { color: var(--color-green); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--color-brown);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-title.light { color: var(--color-white); }

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-divider span {
    display: block;
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold));
}

.section-divider span:last-child {
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

.section-divider i {
    color: var(--color-gold);
    font-size: 0.8rem;
}

.section-divider.light span { background: linear-gradient(90deg, transparent, rgba(201,168,76,0.6)); }
.section-divider.light span:last-child { background: linear-gradient(90deg, rgba(201,168,76,0.6), transparent); }
.section-divider.light i { color: var(--color-gold-light); }

/* ============================================================
   HISTORIA SECTION
   ============================================================ */
.historia-section {
    position: relative;
    z-index: 10;
    padding: 120px 40px;
    background: var(--color-cream);
}

.historia-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.historia-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.historia-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold);
}

.card-image-wrap {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: sepia(0.2) saturate(0.9);
}

.historia-card:hover .card-img { transform: scale(1.08); }

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,20,16,0.6) 0%, transparent 50%);
}

.card-content {
    padding: 32px;
}

.card-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1rem;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-brown);
    margin-bottom: 16px;
    line-height: 1.3;
}

.card-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-tag {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    border-top: 1px solid var(--color-cream-dark);
    padding-top: 16px;
    display: block;
}

/* ============================================================
   SHKA PËRPARIMI BANNER
   ============================================================ */
.perparimi-banner {
    max-width: 1200px;
    margin: 72px auto 0;
    background: linear-gradient(135deg, #0d1a12 0%, #1c1410 60%, #0a100e 100%);
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.perparimi-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(29,184,123,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 20%, rgba(201,168,76,0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Decorative top accent line */
.perparimi-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), var(--color-green), var(--color-gold), transparent);
}

.perparimi-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 52px 56px;
    position: relative;
    z-index: 1;
}

.perparimi-icon-wrap {
    flex-shrink: 0;
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gold);
    box-shadow: 0 8px 32px rgba(201,168,76,0.15);
}

.perparimi-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.perparimi-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-green);
}

.perp-dot {
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0.6;
    flex-shrink: 0;
}

.perparimi-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
}

.perparimi-title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.perparimi-text {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.9;
}

.perparimi-text strong {
    color: rgba(255,255,255,0.92);
}

.perparimi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.perparimi-tags span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 40px;
    padding: 7px 16px;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.perparimi-tags span:hover {
    background: rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.4);
    color: var(--color-gold-light);
}

.perparimi-tags i {
    font-size: 0.7rem;
    color: var(--color-gold);
}

@media (max-width: 700px) {
    .perparimi-inner {
        flex-direction: column;
        padding: 36px 28px;
        gap: 24px;
    }
    .perparimi-icon-wrap {
        width: 60px; height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================================
   TRASHEGIMIA SECTION
   ============================================================ */
.trashegimia-section {
    position: relative;
    z-index: 10;
    padding: 140px 40px;
    overflow: hidden;
}

.trashegimia-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-city-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: sepia(0.6) saturate(0.7);
}

.bg-city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 26, 18, 0.93) 0%, rgba(28, 20, 16, 0.88) 100%);
}

.trashegimia-content {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
}

.trashegimia-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(201, 168, 76, 0.25);
    margin: 0 20px;
}

.trashegimia-text {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    text-align: center;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto 72px;
}

.trashegimia-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-item {
    text-align: center;
    padding: 40px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-lg);
    transition: all 0.4s;
}

.pillar-item:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.4);
    transform: translateY(-6px);
}

.pillar-item i {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: block;
}

.pillar-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.pillar-item p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.timeline-section {
    position: relative;
    z-index: 10;
    padding: 120px 40px;
    background: var(--color-cream-dark);
    overflow: hidden;
}

.timeline-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A3728' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0L80 12v2L54 40h-2zm4 0L80 16v2L58 40h-2zm4 0L80 20v2L62 40h-2zm4 0L80 24v2L66 40h-2zm4 0L80 28v2L70 40h-2zm4 0L80 32v2L74 40h-2zm4 0L80 36v2L78 40h-2zm4 0L80 40zM56 0l24 24v2L54 2h2zm-4 0l24 28v2L50 2h2zm-4 0l24 32v2L46 2h2zm-4 0l24 36v2L42 2h2zm-4 0l24 40H66L38 2h2zm-4 0l22 40h-2L36 4V2h2zm-4 0l18 40h-2L34 6V2h2zm-4 0l14 40h-2L32 8V2h2zm-4 0l10 40h-2L30 10V2h2zm-4 0l6 40h-2L28 12V2h2zm-4 0l2 40h-2V14L24 2h2zm4 0v2L0 40v-2l28-38h2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.timeline-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-gold) 10%, var(--color-gold) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 60px 40px 0;
}

.timeline-item.right {
    left: 50%;
    padding: 20px 0 40px 60px;
}

.tl-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(201, 168, 76, 0.12);
    transition: all 0.4s;
}

.tl-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
}

/* Arrow indicators */
.timeline-item.left .tl-content::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 32px;
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid var(--color-white);
}

.timeline-item.right .tl-content::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 32px;
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid var(--color-white);
}

.tl-icon {
    position: absolute;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(29, 184, 123, 0.4);
}

.timeline-item.left .tl-icon {
    right: -84px;
    top: 28px;
}

.timeline-item.right .tl-icon {
    left: -84px;
    top: 28px;
}

.tl-date {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 12px;
}

.tl-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-brown);
    margin-bottom: 16px;
    line-height: 1.3;
}

.tl-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

.tl-img {
    width: 100%;
    border-radius: var(--radius);
    margin-top: 20px;
    filter: sepia(0.3) saturate(0.8);
    transition: filter 0.4s;
}

.tl-img:hover { filter: sepia(0) saturate(1); }

.tl-logo-showcase {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 20px;
}

.tl-arian-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.04));
    border: 1px solid rgba(201,168,76,0.25);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
}

.tl-arian-credit i {
    color: var(--color-gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.tl-arian-credit strong { color: var(--color-gold-light); }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section {
    position: relative;
    z-index: 10;
    padding: 130px 40px;
    overflow: hidden;
}

.video-section-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(29, 184, 123, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, #0b1a10 0%, #1a1208 50%, #0a100e 100%);
    z-index: 0;
}

.video-section-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.video-inner {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.video-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 16px;
}

/* Player */
.video-player-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.video-player-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(201, 168, 76, 0.2),
        0 24px 80px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(29, 184, 123, 0.08);
    background: #000;
    aspect-ratio: 16/9;
}

.video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Custom play overlay */
.video-overlay-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 8, 6, 0.45);
    transition: opacity 0.3s;
    pointer-events: none;
}

.video-overlay-play.hidden { opacity: 0; }

.play-btn-circle {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.95), rgba(154, 122, 50, 0.95));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 12px rgba(201, 168, 76, 0.15),
        0 0 0 24px rgba(201, 168, 76, 0.07),
        0 8px 32px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.play-btn-circle i {
    color: var(--color-ink);
    font-size: 1.6rem;
    margin-left: 4px;
}

.video-player-frame:hover .play-btn-circle {
    transform: scale(1.12);
    box-shadow:
        0 0 0 16px rgba(201, 168, 76, 0.2),
        0 0 0 32px rgba(201, 168, 76, 0.08),
        0 12px 48px rgba(0,0,0,0.6);
}

.video-caption-bar {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.video-caption-bar i { color: var(--color-gold); font-size: 0.85rem; }

/* Info Panel */
.video-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
}

.video-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(29, 184, 123, 0.1);
    border: 1px solid rgba(29, 184, 123, 0.25);
    border-radius: 40px;
    padding: 8px 20px;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-green);
    width: fit-content;
}

.video-info-badge i { font-size: 0.8rem; }

.video-info-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: -8px;
}

.video-info-subtitle {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: var(--color-gold);
}

.video-info-divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
    border-radius: 1px;
}

.video-info-text {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.9;
}

.video-info-text strong { color: rgba(255,255,255,0.9); }

.video-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vtag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    padding: 7px 16px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.55);
    transition: all 0.3s;
}

.vtag:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.3);
    color: var(--color-gold-light);
}

.vtag i { font-size: 0.7rem; color: var(--color-gold); }

.video-info-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(201, 168, 76, 0.06);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 8px 8px 0;
}

.video-info-link i {
    color: var(--color-gold);
    font-size: 1.2rem;
    opacity: 0.6;
    margin-top: 2px;
    flex-shrink: 0;
}

.video-info-link em {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .video-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .video-section { padding: 80px 24px; }
}

/* ============================================================
   GALERIA SECTION
   ============================================================ */
.galeria-section {
    position: relative;
    z-index: 10;
    padding: 120px 40px;
    background: var(--color-cream);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: sepia(0.25) saturate(0.85);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    filter: sepia(0) saturate(1);
    transform: scale(1.06);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,20,16,0.85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px;
    gap: 12px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.gallery-info p {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-light);
}

.gallery-zoom {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    align-self: flex-end;
    transition: color 0.3s;
}

.gallery-zoom:hover { color: var(--color-gold); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 6, 0.95);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#lightbox-img {
    max-width: 85vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 80px rgba(0,0,0,0.7);
}

.lightbox-caption {
    text-align: center;
}

.lightbox-caption h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}

.lightbox-caption p {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-light);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 20;
    font-size: 1rem;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(201, 168, 76, 0.3);
    border-color: var(--color-gold);
}

.lightbox-close { top: -60px; right: 0; }
.lightbox-prev { left: -70px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -70px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    z-index: 10;
    background: var(--color-ink);
    color: var(--color-white);
    text-align: center;
}

.footer-top {
    padding: 100px 40px 80px;
    position: relative;
    overflow: hidden;
}

.footer-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(29, 184, 123, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(201, 168, 76, 0.06) 0%, transparent 50%);
}

.footer-rose {
    font-size: 3rem;
    color: var(--color-green);
    margin-bottom: 24px;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.footer-monogram {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-ink);
    margin: 0 auto 28px;
    box-shadow: var(--shadow-gold);
    position: relative;
    z-index: 1;
}

/* ---- FOOTER LOGO ---- */
.footer-logo-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
}

.footer-logo-circle {
    width: clamp(130px, 16vw, 175px);
    height: clamp(130px, 16vw, 175px);
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 2px rgba(201,168,76,0.3),
        0 0 0 8px rgba(201,168,76,0.07),
        0 0 50px rgba(201,168,76,0.25),
        0 10px 40px rgba(0,0,0,0.5);
    transition: box-shadow 0.4s, transform 0.4s;
}

.footer-logo-circle:hover {
    transform: scale(1.06) rotate(3deg);
    box-shadow:
        0 0 0 2.5px rgba(201,168,76,0.65),
        0 0 0 12px rgba(201,168,76,0.1),
        0 0 70px rgba(201,168,76,0.5),
        0 16px 55px rgba(0,0,0,0.6);
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    filter: brightness(1.3) contrast(1.05) saturate(1.1);
    display: block;
    transition: filter 0.4s;
}

.footer-logo-circle:hover .footer-logo-img {
    filter: brightness(1.5) contrast(1.1) saturate(1.2);
}

.footer-family {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.footer-city {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-green);
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-dedication {
    max-width: 640px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.footer-quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--color-gold);
    opacity: 0.2;
    line-height: 0.7;
    margin-bottom: 16px;
}

.footer-quote-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.9;
    margin-bottom: 16px;
}

.footer-quote-source {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    opacity: 0.7;
}

.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-divider span {
    display: block;
    width: 100px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4));
}

.footer-divider span:last-child {
    background: linear-gradient(90deg, rgba(201,168,76,0.4), transparent);
}

.footer-divider i { color: var(--color-gold); font-size: 0.7rem; }

.footer-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-pillar i {
    font-size: 1.3rem;
    color: var(--color-gold);
    opacity: 0.7;
}

.footer-pillar span {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 24px 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.3);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up, .reveal-left, .reveal-right, .reveal-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-fade { transform: scale(0.97); }

.revealed {
    opacity: 1 !important;
    transform: none !important;
}

.delay-1 { transition-delay: 0.15s !important; }
.delay-2 { transition-delay: 0.3s !important; }
.delay-3 { transition-delay: 0.45s !important; }
.delay-4 { transition-delay: 0.6s !important; }
.delay-5 { transition-delay: 0.75s !important; }
.delay-6 { transition-delay: 0.9s !important; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1100px) {
    .historia-grid { grid-template-columns: repeat(2, 1fr); }
    .trashegimia-pillars { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .historia-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.large { grid-column: span 2; }

    .timeline-line { left: 24px; }
    .timeline-item,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding: 0 0 40px 80px;
    }

    .timeline-item.left .tl-icon,
    .timeline-item.right .tl-icon {
        left: -56px;
        right: auto;
        top: 28px;
    }

    .timeline-item.left .tl-content::after,
    .timeline-item.right .tl-content::after {
        right: auto;
        left: -12px;
        border-left: none;
        border-right: 12px solid var(--color-white);
    }

    .trashegimia-stats { flex-direction: column; gap: 32px; }
    .stat-divider { display: none; }
    .hero-collage-preview { display: none; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; }
}

@media (max-width: 600px) {
    .nav-container { padding: 0 20px; }
    .hero-content { padding: 140px 24px 100px; }
    .historia-section,
    .timeline-section,
    .galeria-section { padding: 80px 24px; }
    .trashegimia-section { padding: 80px 24px; }
    .trashegimia-pillars { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.large { grid-column: span 2; }
    .footer-pillars { gap: 28px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .quote-section { padding: 60px 24px; }
}
