/* ═══════════════════════════════════════════════════════════════
   SITE PUBLIC — Refugiul Sidor
   CSS simplu (fara build), incarcat direct din public/css.
   Utilitarele Tailwind vin din CDN (configurat in site/layouts/app.blade.php).
   ═══════════════════════════════════════════════════════════════ */

/* ── Paleta unica (sursa: :root) ─────────────────────────────── */
:root {
    --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-heading: 'Merriweather', Georgia, serif;
    --brand: #1e3a8a;          /* fost --color-blue-deep */
    --action: #2563eb;         /* fost --color-blue-vibrant */
    --action-hover: #1d4ed8;
    --accent: #60a5fa;
    --accent-soft: #eff6ff;    /* fost --color-blue-soft */
    --sand: #F1E8D9;
    --page-bg: #f8fafc;
    --card-border: #e2e8f0;
    --ink: #1e293b;
    --text-body: #374151;
    --muted: #64748b;
    --ok: #16a34a;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,.1);
    --shadow-hover: 0 20px 25px -5px rgba(0,0,0,.1);
    --transition: all .3s cubic-bezier(.4,0,.2,1);

    --header-h: 56px;
}

.container { max-width: 1280px; margin-inline: auto; padding-inline: 1.25rem; }

/* ═══════════ BAZA (fost refugiul.css) ═══════════ */

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }

h1, h2, h3 { font-family: var(--font-heading); color: var(--brand); 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%;
}
h2::after {
    content: ''; display: block; width: 60px; height: 3px; background: var(--action);
    margin: 1rem auto 0; border-radius: 2px;
}
h3 { font-size: 1.4rem; margin-bottom: .5rem; font-weight: 700; }
p  { margin-bottom: 1.5rem; font-size: 1.05rem; }

section { padding: 6rem 5%; }

[hidden] { display: none !important; }

@media (max-width: 992px) { h1 { font-size: 3rem; } }
@media (max-width: 768px) { section { padding: 4rem 5%; } }

/* Patch lizibilitate desktop */
@media (min-width: 1024px) {
    html { font-size: 17px; }
    p, li { font-size: 1.15rem; line-height: 1.8; }
    h3 { font-size: 1.75rem; margin-bottom: .75rem; }
    p { max-width: 70ch; }
}

/* ═══════════ COMPONENTE ═══════════ */

.page-offset { padding-top: calc(var(--header-h) + 12px); }
.eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }

/* ── Butoane (o singura definitie) ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 36px; border-radius: var(--radius-pill);
    font-weight: 700; letter-spacing: .5px; white-space: nowrap; cursor: pointer;
    background: var(--action); color: #fff; border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(46,134,171,.4); transition: var(--transition);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(46,134,171,.5); background-color: #257091; color: #fff; }
.btn-secondary { background: transparent; border-color: var(--brand); color: var(--brand); box-shadow: none; }
.btn-secondary:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-wa { background: #16a34a; }
.btn-wa:hover { background: #15803d; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: .9rem; }

.badge {
    background: var(--action); color: #fff; padding: 4px 10px; border-radius: 20px;
    font-size: .7rem; font-weight: 700; letter-spacing: 1px;
}

/* ── Header (fost header_footer.css) ── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; box-shadow: 0 1px 4px rgba(30,58,138,.08); }
.sh-inner { max-width: 1280px; margin-inline: auto; padding: .6rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sh-brand { text-decoration: none; line-height: 1.05; }
.sh-brand .line { font-size: 1.25rem; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 5px; }
.sh-brand .line i, .sh-brand .line strong { color: var(--action); }
.sh-brand small { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #94a3b8; margin-top: 2px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle:checked ~ .sh-inner .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .sh-inner .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .sh-inner .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sh-drawer {
    position: fixed; inset: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(10px); z-index: 45;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.75rem;
    opacity: 0; visibility: hidden; transition: opacity .25s;
}
.nav-toggle:checked ~ .sh-drawer { opacity: 1; visibility: visible; }
.sh-drawer nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.sh-drawer nav a { font-size: 1.5rem; font-weight: 600; color: var(--brand); }
.sh-drawer-langs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 240px; }
.sh-drawer-langs a { padding: 7px 12px; border-radius: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.sh-drawer-langs a.active { background: var(--action); color: #fff; }
.sh-drawer-close { position: absolute; top: 18px; right: 20px; font-size: 1.8rem; color: var(--ink); cursor: pointer; line-height: 1; }

.sh-nav, .sh-actions { display: none; }
.sh-lang { display: flex; gap: 4px; }
.sh-lang a { font-size: .8rem; font-weight: 700; color: #94a3b8; padding: 2px 4px; }
.sh-lang a.active { color: var(--action); }
.sh-actions .btn { padding: 10px 22px; font-size: .9rem; }

@media (min-width: 768px) {
    .nav-burger, .sh-drawer { display: none !important; }
    .sh-nav { display: flex; gap: 1.75rem; }
    .sh-nav a { font-size: .9rem; font-weight: 500; color: var(--ink); }
    .sh-nav a:hover { color: var(--action); }
    .sh-actions { display: flex; align-items: center; gap: 1.25rem; }
}
.site-header.is-minimal .sh-actions { display: flex; }

/* ── Footer ── */
.site-footer { background-color: var(--brand); color: #f8fafc; padding: 5rem 5% 2rem; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4rem; max-width: 1280px; margin: 0 auto 3rem; }
.footer-col h3 {
    color: #fff; font-family: var(--font-sans); font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent); display: inline-block; padding-bottom: 5px;
}
.contact-details p { margin-bottom: 1rem; display: flex; align-items: center; gap: 12px; font-size: 1rem; color: #e0f2fe; }
.contact-details a { color: #fff; border-bottom: 1px dotted rgba(255,255,255,.5); }
.contact-details a:hover { color: #93c5fd; border-bottom: 1px solid #93c5fd; }

.social-icons { margin: 2rem 0; display: flex; gap: 15px; }
.social-icons a {
    font-size: 1.25rem; background: rgba(255,255,255,.1); color: #fff; width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2); transition: all .2s;
}
.social-icons a:hover { background: var(--action); transform: translateY(-3px); }

.legal-links { margin-top: 2rem; }
.legal-links .terms a { font-size: .8rem; text-decoration: underline; margin-right: 10px; color: #e0f2fe; }
.legal-links .logos { display: flex; gap: 10px; align-items: center; margin-top: 15px; }
.legal-links .logos img { height: 30px; width: auto; background: #fff; padding: 2px; border-radius: 4px; }

.form-col input, .form-col select {
    width: 100%; padding: 12px 15px; margin-bottom: 12px; border: 2px solid var(--accent); border-radius: 8px;
    background: #fff; color: var(--brand); font-weight: 600; font-size: .95rem; font-family: inherit;
}
.date-row { display: flex; gap: 10px; width: 100%; }
.date-row input { flex: 1; }
.form-col button {
    background-color: var(--action); color: #fff; font-weight: 700; border: none; padding: 12px; border-radius: 8px;
    cursor: pointer; width: 100%; margin-top: 5px; transition: background .2s; box-shadow: 0 4px 6px rgba(0,0,0,.2);
}
.form-col button:hover { background-color: var(--action-hover); }

.map-wrapper { height: 220px; border-radius: 12px; overflow: hidden; border: 4px solid rgba(255,255,255,.1); box-shadow: 0 10px 15px -3px rgba(0,0,0,.3); }
.map-note { font-size: .8rem; margin-top: 5px; text-align: right; }

.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; margin-top: 2rem; font-size: .9rem; opacity: .7; }
.copyright p { margin: 0 auto; max-width: none; font-size: inherit; }

@media (max-width: 768px) { .footer-container { grid-template-columns: 1fr; gap: 3rem; } }

/* ── Cookie banner (Consent Mode) ── */
.cookie-banner {
    position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 150%);
    width: min(600px, calc(100% - 24px)); background: var(--brand); color: #fff;
    padding: 14px 18px; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.35);
    display: flex; align-items: center; gap: 16px; z-index: 9999;
    transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.cookie-banner.show { transform: translate(-50%, calc(-12px - env(safe-area-inset-bottom))); }
.cookie-banner .cookie-text { margin: 0; font-size: .85rem; line-height: 1.45; flex: 1; max-width: none; }
.cookie-banner a { color: #fff; text-decoration: underline; font-weight: 600; white-space: nowrap; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
    white-space: nowrap; border: 2px solid #fff; padding: 8px 20px; font-size: .9rem; font-weight: 700;
    border-radius: 999px; cursor: pointer; transition: transform .15s, background .15s;
}
.cookie-btn:hover { transform: scale(1.04); }
.cookie-accept { background: #fff; color: var(--brand); }
.cookie-refuse { background: transparent; color: #fff; }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; text-align: center; gap: 10px; padding: 14px 16px; }
    .cookie-banner .cookie-text { font-size: .82rem; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; padding: 11px; }
}

/* ── Cazare: carduri (fost .room-card din refugiul.css, redenumit
      ca sa nu se mai ciocneasca cu .room-card din checkout) ── */
.stays-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.stay-card {
    background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm);
    transition: var(--transition); border: 1px solid rgba(0,0,0,.03); display: flex; flex-direction: column;
}
.stay-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.stay-img { height: 280px; overflow: hidden; position: relative; }
.stay-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.stay-card:hover .stay-img img { transform: scale(1.08); }
.stay-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.stay-content h3 { display: flex; align-items: center; justify-content: space-between; }
.stay-icons {
    display: flex; gap: 15px; margin: auto 0 0; padding-top: 1.5rem; border-top: 1px solid #eee;
    color: var(--action); font-size: 1.1rem;
}
.stay-icons i {
    background: var(--accent-soft); padding: 8px; border-radius: 50%; width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.stay-card:hover .stay-icons i { background: var(--action); color: #fff; }

/* ── Workation (fost stiluri inline) ── */
.workation { background: #f8f9fa; padding: 5rem 5%; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.tech-card { background: #fff; padding: 2rem; border-radius: 12px; border-left: 5px solid var(--tech-color, var(--action)); box-shadow: 0 5px 15px rgba(0,0,0,.05); }
.tech-card .tech-icon { font-size: 2.5rem; color: var(--tech-color, var(--action)); margin-bottom: 1rem; }
.tech-card ul { padding: 0; font-size: .95rem; }
.tech-card li { margin-bottom: 8px; }
.tech-card .tech-desc { font-size: .9rem; color: #666; margin-bottom: 1rem; }

/* ── Experienta DeltaVenture ── */
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.exp-col { padding: 5rem; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.exp-blue { background-color: var(--brand); position: relative; overflow: hidden; }
.exp-blue::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(255,255,255,.05) 0%, transparent 20%); pointer-events: none; }
.exp-blue h2 { color: #fff; text-align: left; }
.exp-img { background-size: cover; background-position: center; min-height: 400px; }
@media (max-width: 992px) {
    .experience-grid { grid-template-columns: 1fr; }
    .exp-col { padding: 3rem 2rem; }
    .exp-img { min-height: 250px; }
}

/* ── Galerie (folosita si de blog) ── */
.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; padding: 0; border: 0; background: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .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; }
}

.lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.9); padding: 1rem; }
.lightbox img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 8px; box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.lightbox-btn { position: absolute; color: #fff; font-weight: 700; background: rgba(0,0,0,.4); border: 0; border-radius: 999px; cursor: pointer; line-height: 1; }
.lightbox-btn:hover { background: rgba(0,0,0,.7); }
.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 2.25rem; background: none; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); font-size: 2rem; padding: .75rem 1rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Animatii (folosite si de utilitarele Tailwind din config) */
@keyframes subtle-zoom { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-subtle-zoom { animation: subtle-zoom 20s infinite alternate linear; }
.font-handwriting { font-family: 'Dancing Script', cursive; }
.font-heading { font-family: var(--font-heading); }
