/* --- RESET STRUCTURAL --- */

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

img, video, iframe, .map-mock {
    max-width: 100%;
    height: auto;
}

body {
    background-color: #030202;
    color: #ded9d2;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.4;
    overflow-x: hidden;
}
@font-face {
    font-family: 'Adobe Thai';
    /* Schimbă formatul în 'truetype' dacă 'opentype' nu este recunoscut */
    src: url('AdobeThai-Regular.otf') format('truetype'); 
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* --- HERO SECTION --- */
.gothic-hero {
    position: relative;
    width: 100%;
    min-height: 95vh;
    background: url('hero-bg.png') no-repeat center top/cover;
    display: flex;
    flex-direction: column;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(3,2,2,0.3) 50%, #030202 100%);
    z-index: 1;
}

/* --- BARA DE NAVIGARE --- */
.top-navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8%;
    background: transparent;
}

.logo-area {
    font-family: 'Cinzel', serif;
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.6rem;
    color: #a82323;
    letter-spacing: 3px;
    font-weight: bold;
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    gap: 45px;
    align-items: center;
}

.nav-item {
	font-family: 'Adobe Thai', sans-serif; /* Aici se face schimbarea */
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #bdae9e;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.2s;
    position: relative;
}

.nav-item .nav-sub {
    font-size: 0.55rem;
    color: #70655a;
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.nav-item.active, .nav-item:hover {
    color: #fff;
}

.nav-item.active .icon-home {
    color: #a82323;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.nav-item:hover .nav-sub {
    color: #a82323;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.meta-icon {
    color: #bdae9e;
    font-size: 1.1rem;
    text-decoration: none;
}

.meta-icon:hover {
    color: #fff;
}

.btn-register-prop {
    border: 1px solid #610f11;
    background: rgba(97, 15, 17, 0.4);
    color: #fff;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-register-prop:hover {
    background: #a82323;
}

/* --- HERO CENTRAL --- */
.hero-main-content {
    position: relative;
    z-index: 5;
    text-align: center;
    margin: 180px auto 20px auto;
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #d1c9be;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.main-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 5.5rem;
    font-weight: 700;
    color: #a82323;
    letter-spacing: 3px;
    margin: 15px 0;
    line-height: 1;
    text-shadow: 0 0 30px rgba(168, 35, 35, 0.6);
}

.main-tagline {
    font-size: 1.1rem;
    color: #a89a8a;
    font-weight: 400;
    margin-bottom: 50px;
}

/* --- BARA DE CĂUTARE --- */
.search-container {
    background-color: #edeae4;
    border-radius: 6px;
    display: flex;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    align-items: center;
    text-align: left;
}

.search-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 5px 20px;
    border-right: 1px solid #ccc5ba;
}

.search-col:last-child {
    border-right: none;
}

.search-col label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #1e1b18;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-col label i {
    color: #a82323;
}

.search-col input {
    border: none;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #332f2b;
    font-weight: 600;
    outline: none;
    width: 100%;
}

.search-btn {
    background-color: #610f11;
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    margin-left: 10px;
    white-space: nowrap;
}

.search-btn:hover {
    background-color: #a82323;
}

/* Rândul de beneficii de sub bară */
.hero-benefits-row {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    padding: 0 10px;
}

.h-b-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    max-width: 230px;
}

.h-b-item i {
    color: #a82323;
    font-size: 1rem;
    margin-top: 2px;
}

.h-b-item strong {
    display: block;
    font-size: 0.72rem;
    color: #bdae9e;
    font-weight: 700;
}

.h-b-item span {
    font-size: 0.65rem;
    color: #7a7167;
    display: block;
    margin-top: 2px;
    line-height: 1.3;
}

/* --- GRID-UL CELOR 3 PANOURI --- */
.panels-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 25px;
    padding: 50px 4%;
    background-color: #030202;
}

.card-panel {
    background-color: #0c0a09;
    border: 1px solid rgba(148, 122, 71, 0.12);
    border-radius: 4px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    min-height: 490px;
}

.card-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-panel h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: #c2ab8d;
    letter-spacing: 0.5px;
}

.card-panel-header a {
    font-size: 0.68rem;
    color: #7a7167;
    text-decoration: none;
}

/* Știri pe rânduri */
.news-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.news-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-img {
    width: 75px;
    height: 65px;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    flex-shrink: 0;
}

.news-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin: 3px 0;
}

.news-info p {
    font-size: 0.7rem;
    color: #8f867c;
    line-height: 1.3;
}

.tag {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 2px;
}

.tag-red {
    background: #610f11;
    color: #fff;
}

.tag-gold {
    background: #947a47;
    color: #fff;
}

.tag-blue {
    background: #235175;
    color: #fff;
}

.date {
    font-size: 0.6rem;
    color: #524b43;
    display: block;
    margin-top: 3px;
}

/* Harta stilizată */
.map-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-mock {
    flex: 1;
    background: #0d1112 url('https://images.unsplash.com/photo-1524661135-423995f22d0b?q=80&w=500') no-repeat center center/cover;
    border-radius: 4px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.4);
    filter: grayscale(0.2) brightness(0.7);
    min-height: 280px;
}

.map-pin-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #a82323;
}

.map-pin-main i {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px #a82323);
}

.map-pin-main div {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.1;
}

.map-pin-main span {
    color: #8f867c;
    font-size: 0.65rem;
    font-weight: 400;
}

.map-controls {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.map-controls button {
    width: 26px;
    height: 26px;
    background: rgba(12,10,9,0.9);
    border: 1px solid rgba(255,255,255,0.1);
    color: #bdae9e;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.7rem;
}

/* --- PANOU DREAPTA --- */
.panel-border {
    width: 100%;
    height: 100%;
    border: 2px solid #5a4b35;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: linear-gradient(to bottom, rgba(3, 2, 2, 0.1), rgba(3, 2, 2, 0.5)), url('gothic-house-bg.png') no-repeat center center;
    background-size: 100% 100%;
}

.comm-sub {
    font-size: 0.65rem;
    color: #c2ab8d;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.btn-accent-red {
    background-color: #610f11;
    color: #fff;
    border: 1px solid #8a1517;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    width: 250px;
    margin: 0 auto;
}

.btn-accent-red:hover {
    background-color: #a82323;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #020101;
    border-top: 1px solid rgba(148, 122, 71, 0.08);
    padding: 60px 4% 30px 4%;
}

.footer-benefits-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
    text-align: center;
}

.f-benefit-card {
    flex: 1;
    max-width: 240px;
}

.f-benefit-card i {
    font-size: 1.5rem;
    color: #a82323;
    margin-bottom: 12px;
    display: inline-block;
}

.f-benefit-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    color: #e8e3dc;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.f-benefit-card p {
    font-size: 0.68rem;
    color: #6e655c;
    line-height: 1.3;
}

.footer-newsletter-row {
    border-top: 1px solid rgba(255,255,255,0.02);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-txt h5 {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    color: #947a47;
    letter-spacing: 0.5px;
}

.newsletter-txt p {
    font-size: 0.7rem;
    color: #6e655c;
    margin-top: 2px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    width: 340px;
}

.newsletter-form input {
    flex: 1;
    background: #0c0a09;
    border: 1px solid #231f1b;
    padding: 11px 14px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.8rem;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
    background: #610f11;
    border: none;
    color: #fff;
    padding: 0 18px;
    border-radius: 4px;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #a82323;
}

.footer-copyright {
    text-align: center;
    font-size: 0.65rem;
    color: #423b35;
    margin-top: 40px;
}

/* --- REPARARE RESPONSIVĂ CURATĂ --- */
@media (max-width: 950px) {
    /* 1. Bara de căutare: O facem compactă și verticală */
    .search-container { 
        flex-direction: column !important; 
        padding: 10px !important; 
        width: 90% !important; 
        margin: 0 auto !important;
    }
    .search-col { 
        border-right: none !important; 
        border-bottom: 1px solid #ccc5ba !important; 
        width: 100% !important; 
        padding: 10px 0 !important;
    }
    .search-btn { 
        width: 100% !important; 
        margin-left: 0 !important; 
        margin-top: 10px !important; 
    }

    /* 2. Rândul de beneficii: Le stivuim 2 pe 2 sau una sub alta */
    .hero-benefits-row {
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
        margin-top: 20px !important;
    }
    .h-b-item {
        max-width: 45% !important; /* Două pe rând */
        min-width: 140px;
    }

    /* 3. Grid-ul de jos */
    .panels-grid { grid-template-columns: 1fr !important; }
    
    /* 4. Meniu și restul */
    .top-navbar { flex-direction: column; gap: 20px; }
}


/* --- REPARARE BUTON HAMBURGER --- */
.hamburger-btn { 
    display: none; 
    background: none; 
    border: none; 
    color: white; 
    font-size: 1.8rem; 
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 950px) {
    .hamburger-btn { display: block !important; }
    .nav-menu { 
        display: none; 
        flex-direction: column;
        width: 100%;
        background: #030202;
        padding: 20px;
        position: absolute;
        top: 80px;
        left: 0;
        z-index: 100;
    }
}

/* --- HARTA GOTICĂ --- */

#map {
    width: 100%;
    height: 400px;
    border: 2px solid #5a4b35;
    background-color: #030202;
    
    /* FILTRUL PENTRU VERDE GOTIC: */
    /* hue-rotate(130deg) - aduce harta în spectrul de verde */
    /* brightness(0.6) - întunecă harta pentru a părea profundă */
    /* contrast(1.3) - face drumurile să iasă în evidență pe nuanța de verde */
    filter: hue-rotate(130deg) brightness(1.6) contrast(1.3) saturate(0.8);
}
/* Ascunde bara de atribuire Leaflet */
.leaflet-control-attribution {
    display: none !important;
}

.harta-legenda {
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: #0c0b0b; /* Fundalul negru */
    border: 1px solid #332b21; /* Rama subțire */
    padding: 15px;
    color: #d1c7ac; /* Culoarea textului (auriu-șters) */
    font-family: 'Arial', sans-serif;
    border-radius: 8px;
    margin-top: 5px;
}

.item-legenda {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.item-legenda img {
    width: 25px; /* Dimensiunea iconiței în legendă */
    height: 25px;
}

.hero-benefits-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    /* Adăugăm un fundal negru semi-transparent pentru contrast */
    background: rgba(0, 0, 0, 0.6); 
    border: 1px solid rgba(139, 0, 0, 0.3); /* Bordură roșu închis subtilă */
    border-radius: 8px;
}

.h-b-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.h-b-item:hover {
    transform: translateY(-5px); /* Efect de ridicare la hover */
}
.h-b-item img {
    width: 55px;
    height: 55px;
    filter: drop-shadow(0px 0px 8px rgba(255, 0, 0, 0.6)); /* Glow roșu */
    object-fit: contain;
}


/* Stilul de bază (Desktop) - 4 coloane */
.hero-benefits-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Contrast ușor pentru vizibilitate */
    border-radius: 10px;
    margin-top: 20px;
}

/* Stilul pentru Mobil - Rearanjare pe 1 sau 2 coloane */
@media (max-width: 768px) {
    .hero-benefits-row {
        grid-template-columns: repeat(2, 1fr); /* 2 coloane pe tablete/telefoane mai mari */
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-benefits-row {
        grid-template-columns: 1fr; /* 1 coloană pe telefoane mici */
    }
    
    .h-b-item {
        justify-content: center; /* Centrare pentru un aspect mai curat */
        text-align: center;
    }
}

/* Asigură-te că imaginea/iconița nu este prea mare pe mobil */
.h-b-item img {
    max-width: 40px; 
    height: auto;
}
.footer-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #0a0a0a, #1a0000); /* Un mic gradient dark pentru profunzime */
    border-top: 1px solid #4a0000;
}

.f-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03); /* Fundal foarte subtil pentru a defini cardul */
    border: 1px solid rgba(139, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.f-benefit-card:hover {
    background: rgba(139, 0, 0, 0.1);
    border-color: rgba(139, 0, 0, 0.6);
}

.f-benefit-card img {
    margin-bottom: 15px;
    filter: drop-shadow(0px 0px 5px rgba(255, 0, 0, 0.5)); /* Glow roșu pentru iconițe */
}

.f-benefit-card h4 {
    color: #e0e0e0; /* Text mai deschis pentru lizibilitate */
    font-family: 'Cinzel', serif;
    margin-bottom: 5px;
}

.f-benefit-card p {
    color: #a0a0a0; /* Text gri pentru contrast */
    font-size: 0.9em;
}
@media (max-width: 768px) {
    .footer-benefits-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 coloane pe tabletă */
    }
}

@media (max-width: 480px) {
    .footer-benefits-grid {
        grid-template-columns: 1fr; /* 1 coloană pe mobil */
    }
}
/* Layout-ul pentru noile coloane */
.footer-top {
    padding: 60px 20px;
    border-bottom: 1px solid #222;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 { font-family: 'Cinzel'; color: #fff; }
.footer-col h4 { color: #d4af37; margin-bottom: 15px; font-size: 13px; }
.footer-col a { display: block; color: #a0a0a0; margin-bottom: 8px; text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: #fff; }

/* Separare vizuală pentru zona de jos */
.footer-bottom {
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.02);
}

/* Stil pentru iconițele sociale */
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a { padding: 5px 10px; border: 1px solid #333; }
/* --- RESPONSIVITATE FOOTER --- */

/* Pentru tablete (mai mici de 992px) - trecem la 3 coloane */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pentru telefoane (mai mici de 768px) - trecem la 2 coloane */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Pentru ecrane foarte mici (mai mici de 480px) - totul pe 1 coloană */
@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}
.footer-copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: 12px;
    color: #661A1A; /* Roșu sângeriu */
    font-weight: 600; /* Opțional, pentru a fi mai vizibil */
}