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

:root {
    /* Custom Properties - facilitează temele ulterioare */
    --primary-color: #f7a120; /* Orange cald pentru Șură */
    --secondary-color: #333;
    --bg-light: #f9f9f9;
    --text-dark: #222;
    --text-light: #fff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth; /* Navigare lină între secțiuni */
    font-size: 16px;
    font-family: var(--font-main);
    color: var(--text-dark);
}

body {
    line-height: 1.6;
}

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

/* --- Accesibilitate: Skip Link --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 8px;
    z-index: 1000;
    transition: top var(--transition-speed);
}
.skip-link:focus {
    top: 0;
}

/* --- HERO CU VIDEO (Fullscreen) --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Fullscreen */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asigură că video acoperă zona fără a se deforma */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay întunecat pentru contrast text */
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Control Video (Accesibilitate) */
.video-control-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}
.video-control-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

/* --- BUTOANE --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color var(--transition-speed);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: #ffb84d;
}

/* --- SECTIUNI --- */
.section {
    padding: 80px 0;
}
.section-alt {
    background-color: var(--bg-light);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* GRIDS */
.grid-2, .grid-3 {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.img-col img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* CARDS */
.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}