/* --- 1. VARIABILE & RESET MODERN (Sincronizat cu Header-ul) --- */
:root {
    /* CULORI ACTUALIZATE - Exact ca în Meniul Nou */
    --color-blue-deep: #1e3a8a;    /* Tailwind Blue 900 (pentru Titluri și Footer) */
    --color-blue-vibrant: #2563eb; /* Tailwind Blue 600 (pentru Butoane și Accente) */
    --color-blue-soft: #eff6ff;    /* Tailwind Blue 50 (pentru fundaluri subtile) */
    
    --color-sand: #F1E8D9;         /* Bej Stuf - Rămâne (e specific Deltei) */
    --color-white: #ffffff;
    --color-text-body: #374151;    /* Gray 700 - Mai modern */
    
    /* Tipografie Sincronizată */
    --font-heading: 'Merriweather', serif; /* Păstrăm serif pentru eleganță la titluri */
    --font-body: 'Inter', sans-serif;      /* SCHIMBAT: Acum e Inter, la fel ca în meniu */

    /* Spatieri & UI */
    --radius-sm: 8px;
    --radius-md: 16px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text-body);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3 { 
    font-family: var(--font-heading); 
    color: var(--color-blue-deep); 
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 2rem; text-align: center; position: relative; display: inline-block; width: 100%;}

/* Linie decorativă sub titluri */
h2::after {
    content: ''; display: block; width: 60px; height: 3px; 
    background: var(--color-blue-vibrant); margin: 1rem auto 0; border-radius: 2px;
}
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; font-weight: 700; }
p { margin-bottom: 1.5rem; font-size: 1.05rem; }


/* --- 3. NAVIGATIE (REMOVED) --- 
   Aceasta sectiune a fost stearsa pentru ca noul header 
   foloseste Tailwind CSS direct in HTML.
*/


/* --- 4. HERO SECTION --- */
.hero {
    height: 100vh;
    min-height: 600px;
    /* Overlay gradient mai modern */
    background: linear-gradient(180deg, rgba(13, 44, 84, 0.3) 0%, rgba(13, 44, 84, 0.7) 100%), 
                url('../img/hero-bg.jpg'); /* Asigura-te ca imaginea e in public/img */
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    margin-top: 0;
}

.hero-content { max-width: 800px; animation: fadeUp 1s ease-out; }
.hero-content h1 { color: var(--color-white); text-shadow: 0 2px 10px rgba(0,0,0,0.3); margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2.5rem; font-weight: 400; }

/* Butoane Modernizate */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--color-blue-vibrant);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(46, 134, 171, 0.4);
}
.btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(46, 134, 171, 0.5);
    background-color: #257091; 
}
.btn.secondary { background: transparent; border-color: var(--color-blue-deep); color: var(--color-blue-deep); box-shadow: none;}
.btn.secondary:hover { background: var(--color-blue-deep); color: white; border-color: var(--color-blue-deep); }

/* --- 5. SECTIUNI & POVESTE --- */
section { padding: 6rem 5%; }
.bg-sand { background-color: var(--color-sand); }

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.story-img { position: relative; }
.story-img img { 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-md); 
    transition: var(--transition);
}
.story-img:hover img { transform: scale(1.02); box-shadow: var(--shadow-hover); }

/* --- 6. CAZARE (Cards - Legacy Style) --- */
/* NOTA: Noile carduri din Laravel folosesc Tailwind, dar pastram asta pentru fallback */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}
.room-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.room-img { height: 280px; overflow: hidden; position: relative; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-img img { transform: scale(1.08); }

.room-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.room-content h3 { display: flex; align-items: center; justify-content: space-between; }

/* Eticheta NOU */
.badge { 
    background: var(--color-blue-vibrant); color: white; 
    padding: 4px 10px; border-radius: 20px; 
    font-size: 0.7rem; font-weight: 700; letter-spacing: 1px;
}

.room-icons { 
    display: flex; gap: 15px; margin: auto 0 0; padding-top: 1.5rem;
    border-top: 1px solid #eee; color: var(--color-blue-vibrant); font-size: 1.1rem; 
}
.room-icons i { 
    background: var(--color-blue-soft); padding: 8px; border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.room-card:hover .room-icons i { background: var(--color-blue-vibrant); color: white; }

/* --- 7. EXPERIENCE / DELTAVENTURE --- */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.exp-col { padding: 5rem; color: white; display: flex; flex-direction: column; justify-content: center; }
.exp-blue { background-color: var(--color-blue-deep); position: relative; overflow: hidden; }

/* Pattern subtil */
.exp-blue::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 20%);
    pointer-events: none;
}

.exp-img { 
    background: url('../images/DeltaVenture.webp'); /* Asigura-te de path */
    background-size: cover; background-position: center; min-height: 400px; 
}

/* --- 8. FOOTER --- */
footer {
    background-color: var(--color-blue-deep);
    color: rgba(255,255,255,0.7);
    padding: 5rem 5% 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-col h3 { color: white; margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { transition: var(--transition); display: inline-block; }
.footer-links a:hover { color: white; transform: translateX(5px); }

.social-links { margin-top: 1.5rem; display: flex; gap: 1rem; }
.social-links a { 
    font-size: 1.5rem; color: white; opacity: 0.8; transition: var(--transition); 
}
.social-links a:hover { opacity: 1; transform: translateY(-3px); color: var(--color-blue-vibrant); }

.copyright { 
    text-align: center; border-top: 1px solid rgba(255,255,255,0.1); 
    padding-top: 2rem; font-size: 0.9rem; opacity: 0.6; 
}

/* --- 9. RESPONSIVE --- */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    .story-container { grid-template-columns: 1fr; gap: 3rem; }
    .story-text { order: 2; }
    .story-img { order: 1; }
    .experience-grid { grid-template-columns: 1fr; }
    .exp-col { padding: 3rem 2rem; }
    .exp-img { min-height: 250px; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    section { padding: 4rem 5%; }
}

/* Animatii */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- GDPR COOKIE BANNER --- */
.cookie-banner {
    position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 600px;
    background: rgba(13, 44, 84, 0.95);
    backdrop-filter: blur(10px); color: white;
    padding: 1rem 1.5rem; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    z-index: 9999; transition: bottom 0.5s ease-out;
}
.cookie-banner a { color: var(--color-blue-vibrant); text-decoration: underline; }
.cookie-banner button {
    white-space: nowrap; background: white; color: var(--color-blue-deep);
    border: none; padding: 8px 20px; font-size: 0.9rem; cursor: pointer; border-radius: 4px;
}
.cookie-banner.show { bottom: 20px; }
@media (max-width: 600px) { .cookie-banner { flex-direction: column; text-align: center; } }

/* --- GALERIE FOTO --- */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; grid-auto-rows: 250px; grid-auto-flow: dense;
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm); cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }

@media (min-width: 768px) {
    .item-large { grid-column: span 2; grid-row: span 2; }
    .item-wide { grid-column: span 2; }
    .item-tall { grid-row: span 2; }
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
    .item-large, .item-wide, .item-tall { grid-column: span 1; grid-row: span 1; }
}

/* =========================================
   PATCH: LIZIBILITATE PE DESKTOP
   ========================================= */

@media (min-width: 1024px) {
    
    /* 1. Mărim baza (Micul secret) */
    /* Schimbând html la 18px, toate elementele definite cu 'rem' se măresc automat */
    html {
        font-size: 17px; 
    }

    /* 2. Paragrafe și Liste (Corpul de text) */
    p, li, .prose {
        font-size: 1.15rem; /* Aprox 19.5px - Mult mai citeț */
        line-height: 1.8;   /* Mai mult spațiu între rânduri (aerisit) */
        color: #111827;     /* Gray 900 - Contrast maxim (aproape negru) */
        font-weight: 400;   /* Ne asigurăm că nu e prea subțire */
    }

    /* 3. Titlurile (H3 - Cardurile de pachete) */
    h3 {
        font-size: 1.75rem; /* Titluri mai impunătoare pe carduri */
        margin-bottom: 0.75rem;
    }

    /* 4. Prețurile */
    .price-tag, .text-3xl {
        font-size: 2.5rem; /* Prețul trebuie să sară în ochi */
    }

    /* 5. Regula de Aur: Lungimea rândului */
    /* Dacă rândul e prea lung, ochiul obosește. Îl limităm. */
    p {
        max-width: 70ch; /* Maxim 70 de caractere pe rând */
    }
    
    /* Excepție: Hero text poate fi puțin mai mare */
    .hero-content p {
        font-size: 1.35rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}


@keyframes subtle-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.animate-subtle-zoom {
    animation: subtle-zoom 20s infinite alternate linear;
}

.font-handwriting {
    font-family: 'Dancing Script', cursive;
}