/* === VARIABILE DE CULORI & FONTURI === */
:root {
    --primary-color: #063a24; /* Verde Molid */
    --secondary-color: #232323; /* Gri foarte închis */
    --accent-color: #063a24; /* Verde Molid */
    --bg-color: #FFFFFF; /* Alb */
    --text-main: #232323;
    --text-light: #555555;
    --white: #FFFFFF;
    
    --font-main: 'Poppins', sans-serif;
}

/* === RESETĂRI DE BAZĂ === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === BUTOANE === */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 58, 36, 0.4);
}

.btn-primary:hover {
    background: #042718;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(6, 58, 36, 0.6);
}

.btn-secondary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #111111;
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.2rem;
    padding: 20px 45px;
}

.btn-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2f5;
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid #ddd;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    background: linear-gradient(to bottom, rgba(35, 35, 35, 0.8) 0%, rgba(6, 58, 36, 0.4) 100%), url('images/hero3.png') center/cover;
    background-color: var(--secondary-color);
    min-height: 100vh;
    color: var(--white);
    display: flex;
    flex-direction: column;
    border-bottom: 30px solid var(--primary-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1px;
    color: var(--white);
}

.logo span {
    color: var(--white);
    font-style: normal;
    opacity: 0.8;
}

.hamburger {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 100;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 60px 20px 0;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-bottom-group {
    margin-top: auto;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 750px;
    margin-bottom: 30px;
    font-weight: 400;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.location-pill {
    background: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px; /* Redus de la 60px pentru o grupare mai strânsă pe desktop */
}

.hero-cta {
    margin-bottom: 0; /* Margin-ul final e gestionat de hero-bottom-group */
}

.btn-hero-white {
    background: #fff;
    color: #000;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-hero-white i {
    margin-left: 8px;
    font-size: 0.9rem;
}

.btn-hero-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

/* === PROGRAM SECTION === */
.program-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--white);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    font-weight: 500;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 800;
}

/* === SCHEDULE UI === */
.schedule-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: left;
}

/* TABS */
.schedule-tabs {
    display: flex;
    overflow-x: auto;
    background: var(--primary-color);
    scrollbar-width: none; /* Hide scrollbar for clean look */
}

.schedule-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    background: transparent;
    border: none;
    padding: 20px 10px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid transparent;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.tab-btn.active {
    color: var(--primary-color);
    background: var(--white);
    border-bottom: 4px solid var(--primary-color);
}

.day-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.day-date {
    font-size: 0.85rem;
}

/* TAB CONTENT & TIMELINE */
.schedule-content {
    padding: 40px;
    min-height: 400px;
}

.tab-content {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab-content.active {
    opacity: 1;
}

.timeline {
    position: relative;
    border-left: 3px solid #e0e0e0;
    padding-left: 30px;
    margin-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px; /* Aliniem peste border-left-ul timeline-ului */
    top: 5px;
    width: 17px;
    height: 17px;
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: inline-block;
    background: #f0f4f2;
    padding: 4px 12px;
    border-radius: 20px;
}

.event-info h4 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 700;
}

.event-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* LOCKED CONTENT STYLE */
.locked-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background-color: #fcfcfc;
    border-radius: 15px;
    border: 2px dashed #ddd;
}

.locked-content i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.8;
}

.locked-content h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 800;
}

.locked-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 400px;
}

/* === ACTIVITĂȚI SECTION === */
.activities-section {
    padding: 30px 0;
    background-color: #161614; /* Dark textured look from inspiration */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    color: #F8F3E5; /* Cream color */
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.activities-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 40px;
    color: #F8F3E5;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.activities-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 50px;
}

.carousel-img-wrapper {
    width: 100%;
    max-width: 600px;
    height: 380px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 8px 15px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}

.carousel-caption {
    font-family: 'Courier New', Courier, monospace;
    color: #F8F3E5;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: transparent;
    color: rgba(248, 243, 229, 0.6);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 10px;
}

.carousel-btn:hover {
    color: #F8F3E5;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: rgba(248, 243, 229, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active, .carousel-dot:hover {
    background: #F8F3E5;
}

/* === LOCATION SECTION === */
.location-section {
    padding: 100px 0;
    background: var(--white);
}

.location-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.location-text {
    flex: 1;
    min-width: 300px;
}

.location-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.location-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.location-map {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
}

/* === REGISTER SECTION === */
.register-section {
    padding: 100px 0;
    text-align: center;
    background: var(--accent-color);
    color: var(--white);
}

.register-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.register-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === FOOTER === */
.footer {
    background: #191B1F;
    color: #e0e0e0;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-about p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-about i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-donate ul {
    margin-top: 15px;
}

.footer-donate li {
    margin-bottom: 8px;
    font-family: monospace;
    font-size: 1.05rem;
}

.footer-donate strong {
    color: var(--accent-color);
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* === RESPONSIVITATE === */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .schedule-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        background: linear-gradient(to bottom, rgba(35, 35, 35, 0.8) 0%, rgba(6, 58, 36, 0.4) 100%), url('images/hero.png') center/cover;
    }

    .hamburger {
        display: block !important;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        background: var(--primary-color);
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        text-align: center;
        gap: 0;
    }
    
    .nav-links.active {
        max-height: 300px;
    }

    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .location-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .location-map iframe {
        height: 250px;
    }
    
    .locked-content {
        padding: 50px 15px;
    }
    
    .locked-content h3 {
        font-size: 1.5rem;
    }
    
    .activities-title {
        font-size: 1.3rem;
        letter-spacing: 4px;
        margin-bottom: 25px;
    }
    
    .carousel-caption {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .carousel-slide {
        padding: 0 40px;
    }
    
    .carousel-btn {
        font-size: 1.4rem;
    }

    .register-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 20px 5%;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 25px; /* Spațiu mai mare sub titlu pentru a evita înghesuiala */
    }
    
    .hero-content {
        padding-top: 30px;
    }
    
    .hero-bottom-group {
        margin-bottom: 40px; /* Ridică ușor elementele pe telefoane mici */
    }
    
    .location-pill {
        font-size: 0.85rem;
        padding: 10px 20px;
        margin-bottom: 25px; /* Redus spațiul dintre locație și buton */
    }
    
    .btn-hero-white {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .schedule-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .tab-btn {
        min-width: 100px;
        padding: 15px 5px;
    }
    
    .day-name {
        font-size: 1rem;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }

    .activities-carousel {
        text-align: center;
        margin: 0 auto;
    }

    .carousel-slide {
        padding: 0 15px; /* Reduce padding on mobile to give images more space */
        align-items: center;  
        justify-content: center;
    }
    
    .carousel-img-wrapper {
        align-items: center; /* Ensures images float to center on their own area */
        height: 250px;       /* Shrink container so small mobile screens don't force a huge space */
    }

    .carousel-btn {
        font-size: 1.2rem;
    }
}
