/* ============================================
   BDK Wheels Solutions S.R.L. — Base Styles
   Variabile, Reset, Tipografie
   ============================================ */

/* Skip-link (accesibilitate WCAG 2.4.1): invizibil pana la focus tastatura */
.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    z-index: 9999;
    padding: 10px 18px;
    background: #ff6b00;
    color: #0a1628;   /* 6.35:1 pe portocaliu — WCAG AA (alb dadea 2.86:1) */
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

:root {
    --navy: #0a1628;
    --navy-light: #1a2a4a;
    --orange: #ff6b00;               /* fundal butoane, borduri — nu text pe fundal deschis */
    --orange-text: #b34700;          /* portocaliu inchis pentru TEXT: 4.6:1 pe alb, 4.5:1 pe #f8f9fa — WCAG AA */
    --orange-light: #ff8c33;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #5a636b;   /* 5.4:1 pe #f8f9fa — WCAG AA text normal (era #6c757d = 4.45:1, sub prag) */
    --gray-800: #343a40;
    --black: #000000;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

body {
    font-family: var(--font);
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
}

/* ========== TIPOGRAFIE ========== */
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    color: var(--navy);
}

.section-header {
    text-align: left;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    /* Directiva proprietarului: etichetele de sectiune = portocaliu bold
       simplu, direct pe fundalul sectiunii, FARA buton alb (prea multe
       culori). Doua variante WCAG-conforme, in functie de fundal:
       - pe fundal DESCHIS (alb/gri): #b34700 bold = 5.22:1 pe #f8f9fa
       - pe fundal INCHIS (navy, sectiunea zone): #ff8c33 bold = 7.81:1
       Ambele peste pragul 3.0 pt. text mare/bold (WCAG 2.1 AA). */
    color: var(--orange-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Sectiunea zone e singura pe fundal navy — acolo portocaliul trebuie
   deschis, altfel #b34700 pe navy = 3.3:1 (sub prag chiar si pt. bold). */
.zone .section-tag {
    color: var(--orange-light);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== BUTOANE ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--navy);   /* 6.35:1 — WCAG AA pe fondal portocaliu */
    box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,107,0,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.2rem;
}

.btn-phone {
    display: none;
}

/* ========== ANIMAȚII ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0px); }
}

@keyframes navFadeIn {
    0% { opacity: 0; transform: translateY(-8px); }
    100% { opacity: 1; transform: translateY(0px); }
}

@keyframes pageEnter {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slowZoom {
    0% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes grainShift {
    0% { transform: translate(0px, 0px); }
    100% { transform: translate(-3%, 2%); }
}

@keyframes scrollLine {
    0% { background-position: 0px -100%; }
    100% { background-position: 0px 200%; }
}

@keyframes lazyImgFallback {
    100% { opacity: 1; filter: blur(0px); }
}

@keyframes ctaWarmth {
    0%, 100% { box-shadow: rgba(255,107,0,0.25) 0px 6px 18px, rgba(255,140,51,0.45) 0px 0px 0px 0px; }
    50% { box-shadow: rgba(255,107,0,0.4) 0px 10px 26px, rgba(255,140,51,0) 0px 0px 0px 10px; }
}

@keyframes whatsappGlow {
    0%, 100% { box-shadow: rgba(10,22,40,0.3) 0px 10px 28px, rgba(255,107,0,0.55) 0px 0px 0px 0px; }
    50% { box-shadow: rgba(10,22,40,0.3) 0px 10px 28px, rgba(255,107,0,0) 0px 0px 0px 16px; }
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.1); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(25px, -20px) scale(1.08); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0px, 0px); opacity: 0.5; }
    50% { transform: translate(-20px, 15px); opacity: 0.8; }
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,107,0,0.4); }
    50% { box-shadow: 0 4px 30px rgba(255,107,0,0.6); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes slideText {
    0% { transform: translateX(0); }
    50% { transform: translateX(var(--slide-distance, 0px)); }
    100% { transform: translateX(0); }
}

/* ========== EFFECTS ========== */
body {
    animation: pageEnter 0.5s ease;
}

.nav-link {
    animation: navFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-link:nth-child(1) { animation-delay: 0.05s; }
.nav-link:nth-child(2) { animation-delay: 0.1s; }
.nav-link:nth-child(3) { animation-delay: 0.15s; }
.nav-link:nth-child(4) { animation-delay: 0.2s; }
.nav-cta { animation: navFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both; }

.hero-badge {
    animation: fadeUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
    animation: fadeUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-desc {
    animation: fadeUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-actions {
    animation: fadeUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-stats {
    animation: fadeUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-scroll {
    animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.scroll-line {
    background: linear-gradient(to bottom, transparent 0%, var(--orange) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: scrollLine 2.5s ease-in-out infinite;
}

.noise-overlay {
    animation: grainShift 12s ease-in-out infinite;
}

.hero-bg::before {
    animation: slowZoom 22s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo img {
    filter: drop-shadow(rgba(255,107,0,0.85) 0px 0px 14px) drop-shadow(rgba(255,107,0,0.55) 0px 0px 28px) drop-shadow(rgba(255,107,0,0.3) 0px 0px 48px);
}

.btn-primary {
    animation: ctaWarmth 3s ease-in-out infinite;
}

.floating-call {
    animation: whatsappGlow 3s ease-in-out infinite;
}

.floating-home {
    animation: whatsappGlow 3s ease-in-out infinite;
}

.galerie-item img {
    filter: blur(8px);
    animation: lazyImgFallback 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.galerie-item img.loaded {
    filter: blur(0px);
}

.serviciu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.zone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

