:root {
    --primary: #FFC700;
    --primary-hover: #E5B300;
    --accent-red: #C70A33;
    --surface: #FFFFFF;
    --bg-light: #F5F5F5;
    --text-dark: #000000;
    --text-body: #525252;
    --text-muted: #8B8B8B;
    --border: #DCDDE3;
    --verde-deschis: #76BEB4;
    --verde-inchis: #005B53;

    --radius-pill: 30px;
    --radius-card: 12px;
    --radius-chip: 10px;

    /* --font-heading: 'Big Shoulders Text', sans-serif; */
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-title: 'Open Sans', sans-serif;
}

/* Hero Grid-Tile Slider */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1;  /* corespunde cu 1920x800 de pe desktop */
    background-color: #0c0c0c;
    overflow: hidden;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        aspect-ratio: 2 / 1.5;  /* corespunde cu 800x400 (crop-ul tău mobil) */
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }

/* 5x5 Grid Transition Canvas Layer */
.tile-grid-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    pointer-events: none;
    z-index: 5;
}
.tile-grid-cell {
    background-position: var(--bg-x) var(--bg-y);
    opacity: 1;
    transform: scale(1);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Dark Gradient Vignette Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 12, 0.95) 0%, rgba(12, 12, 12, 0.4) 60%, rgba(12, 12, 12, 0) 100%);
    z-index: 6;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    z-index: 10;
    color: var(--surface);
    max-width: 600px;
}
@media (max-width: 768px) {
    .hero-content {
        left: 20px;
        right: 20px;
        max-width: 100%;
        padding-right: 20px;
    }
}
.hero-subhead {
    font-family: var(--font-title);
    font-size: clamp(16px, 2.2vw, 24px);
    font-weight: 400;
    margin-bottom: 10px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(25px, 4vw, 80px);
    font-weight: 700;
    width: 70%;
    margin-bottom: clamp(15px, 3vw, 28px);
    color: var(--verde-deschis);
}

.hero-buttons {
    display: flex;
    gap: 12px;
    /* max-width: 400px; */
    flex-wrap: wrap;
}

.hero-buttons a {
    white-space: nowrap;
    color: var(--light-color);
    background-color: var(--verde-inchis);
}
.hero-buttons a:hover {
    background-color: var(--verde-deschis);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
/* Bullet Pagination */
.slider-bullets {
    position: absolute;
    bottom: 40px;
    left: 80px;
    z-index: 12;
    display: flex;
    gap: 12px;
}
.bullet-dot {
    width: 20px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}
.bullet-dot.active { background: var(--primary); width: 32px; }

/* Bottom Angled Cut / Tilt Divider */
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 11;
}
.hero-divider svg { display: block; width: 100%; height: 40px; fill: #FFFFFF; }
