/* =========================================================
   MARE ALBANIA — CSS
   Tema: Mediterranean Editorial
   Font: Playfair Display (titoli) + DM Sans (corpo)
   ========================================================= */

/* ── VARIABLES ──────────────────────────────────────────── */
:root {
  --sea:        #01204E;   /* blu profondo */
  --adriatic:   #028391;   /* turchese */
  --adriatic-l: #0AB7C8;
  --sand:       #F5F0E8;   /* sabbia */
  --sand-d:     #EAE2D4;
  --sunset:     #E85D26;   /* arancio tramonto */
  --gold:       #F0A500;
  --text:       #1A1A2E;
  --text-muted: #6B7280;
  --white:      #FFFFFF;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(1,32,78,0.12);
  --shadow-lg:  0 12px 48px rgba(1,32,78,0.18);
  --transition: 0.25s ease;
  --max-w:      1200px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
em { font-style: italic; color: var(--adriatic); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 780px; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(1, 32, 78, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
  height: 64px; display: flex; align-items: center; gap: 2rem;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.25rem; color: var(--white); font-weight: 500;
  flex-shrink: 0;
}
.nav__logo strong { font-weight: 700; color: var(--adriatic-l); }
.nav__logo-icon { font-size: 1.4rem; }
.nav__links {
  display: flex; gap: 0.25rem; align-items: center; margin-left: auto;
}
.nav__links a {
  color: rgba(255,255,255,0.8); padding: 0.5rem 0.875rem;
  border-radius: 6px; font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav__cta {
  background: var(--adriatic) !important; color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
}
.nav__cta:hover { background: var(--adriatic-l) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding-top: 64px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(2,131,145,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(240,165,0,0.15) 0%, transparent 50%),
    linear-gradient(160deg, #01204E 0%, #013d6e 40%, #015f7a 70%, #01204E 100%);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  text-align: center; color: var(--white);
  padding: 2rem 1.5rem; max-width: 800px;
  animation: fadeUp 0.8s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__badge {
  display: inline-block; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  padding: 0.4rem 1.25rem; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 1.5rem; letter-spacing: 0.03em;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero__sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.8); font-weight: 300;
  margin-bottom: 2rem; line-height: 1.7;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero__actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}
.hero__wave {
  position: absolute; bottom: 0; left: 0; right: 0;
}
.hero__wave svg { display: block; width: 100%; height: 60px; }
.hero__scroll {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5); font-size: 1.5rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.75rem; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn--large { padding: 1rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn--primary { background: var(--adriatic); color: var(--white); }
.btn--primary:hover { background: var(--adriatic-l); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(2,131,145,0.4); }
.btn--ghost { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }
.btn--week { background: var(--sea); color: var(--white); }
.btn--week:hover { background: #023770; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(1,32,78,0.3); }
.btn--life { background: var(--gold); color: var(--sea); }
.btn--life:hover { background: #e0960a; transform: translateY(-2px); }
.btn--super { background: var(--sunset); color: var(--white); font-size: 1.05rem; animation: pulse 2s infinite; }
.btn--super:hover { background: #c94d1c; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,93,38,0.4); } 50% { box-shadow: 0 0 0 10px rgba(232,93,38,0); } }

/* ── WEATHER BAR ─────────────────────────────────────────── */
.weather-bar {
  background: var(--sea); color: var(--white);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.75rem 1.5rem; overflow-x: auto;
  font-size: 0.88rem; flex-wrap: wrap;
}
.weather-bar__label { font-weight: 600; color: rgba(255,255,255,0.6); white-space: nowrap; }
.weather-city { display: flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.weather-city strong { color: var(--adriatic-l); }
.weather-bar__rate { margin-left: auto; font-weight: 500; color: var(--gold); white-space: nowrap; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--alt { background: var(--sand); }
.section--life { background: var(--sea); }
.section--super { background: linear-gradient(135deg, #c0340e 0%, #e85d26 100%); }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__header--light h2,
.section__header--light p { color: var(--white); }
.section__header h2 { margin: 0.5rem 0; }
.section__header p { color: var(--text-muted); font-size: 1.05rem; }
.section__badge {
  display: inline-block; padding: 0.35rem 1rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 0.75rem;
}
.badge--fire  { background: #FEF2E8; color: var(--sunset); border: 1px solid #F8C8A8; }
.badge--week  { background: #E8EFF8; color: var(--sea); border: 1px solid #B8CCE0; }
.badge--life  { background: rgba(240,165,0,0.15); color: var(--gold); border: 1px solid rgba(240,165,0,0.3); }

/* ── OFFER CARD ──────────────────────────────────────────── */
.offer-card {
  background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transition: transform var(--transition);
}
.offer-card:hover { transform: translateY(-4px); }
.offer-card--week { background: var(--white); }
.offer-card__timer {
  background: linear-gradient(90deg, var(--sunset), #f07a40);
  color: var(--white); padding: 0.65rem 1.5rem;
  font-size: 0.9rem; font-weight: 500;
}
.offer-card__timer--week {
  background: linear-gradient(90deg, var(--sea), #023770);
}
.offer-card__body {
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; padding: 2rem;
}
.offer-card__title { color: var(--sea); margin-bottom: 0.5rem; }
.offer-card__sub { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.offer-card__side { min-width: 240px; display: flex; flex-direction: column; gap: 1rem; }

/* ── HIGHLIGHTS ──────────────────────────────────────────── */
.offer-highlights { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.offer-highlights li { font-size: 0.92rem; color: var(--text); }
.offer-highlights--life li { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ── SEATS ALERT ─────────────────────────────────────────── */
.seats-alert {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--sunset); font-weight: 600;
}
.seats-dot {
  display: block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sunset); animation: blink 1.2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ── PRICE BOX ───────────────────────────────────────────── */
.price-box {
  background: var(--sand); border-radius: 12px; padding: 1.25rem;
  text-align: center; border: 2px solid var(--sand-d);
}
.price-box--week  { border-color: rgba(1,32,78,0.15); }
.price-box--life  { background: rgba(255,255,255,0.06); border-color: rgba(240,165,0,0.3); }
.price-box--super { background: rgba(255,255,255,0.12); border: none; }
.price-box__label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.25rem; }
.price-box--life .price-box__label,
.price-box--super .price-box__label { color: rgba(255,255,255,0.6); }
.price-box__amount { display: block; font-family: 'Playfair Display', serif; font-size: 2.75rem; font-weight: 700; color: var(--sea); line-height: 1; margin-bottom: 0.25rem; }
.price-box--life .price-box__amount,
.price-box--super .price-box__amount { color: var(--white); }
.price-box__note { display: block; font-size: 0.8rem; color: var(--text-muted); }
.price-box--life .price-box__note,
.price-box--super .price-box__note { color: rgba(255,255,255,0.6); }
.price-saving { font-size: 0.82rem; color: #16A34A; background: #F0FDF4; padding: 0.5rem 0.75rem; border-radius: 6px; text-align: center; }
.offer-disclaimer { font-size: 0.75rem; color: var(--text-muted); text-align: center; }

/* ── AMENITIES ───────────────────────────────────────────── */
.amenities { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.amenity-pill { background: var(--sand); color: var(--sea); font-size: 0.78rem; padding: 0.25rem 0.65rem; border-radius: 100px; font-weight: 500; }

/* ── SUPER BANNER ────────────────────────────────────────── */
.super-banner {
  display: flex; align-items: center; gap: 2rem;
  background: rgba(255,255,255,0.08); border-radius: 16px;
  padding: 2rem; flex-wrap: wrap;
}
.super-banner__badge {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--white); background: rgba(0,0,0,0.2);
  width: 100px; height: 100px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; flex-shrink: 0; line-height: 1;
  font-size: 1.8rem;
}
.super-banner__body { flex: 1; color: var(--white); }
.super-banner__body h2 { color: var(--white); font-size: 1.8rem; }
.super-banner__body p  { color: rgba(255,255,255,0.8); margin: 0.4rem 0 0.75rem; }
.super-banner__timer   { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.super-banner__timer strong { color: var(--white); font-size: 1.1rem; }
.super-banner__action  { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }

/* ── OFFERTA DELLA VITA ──────────────────────────────────── */
.offer-life {
  display: grid; grid-template-columns: 1fr 320px; gap: 3rem;
  background: rgba(255,255,255,0.04); border-radius: 16px;
  padding: 3rem; border: 1px solid rgba(255,255,255,0.1);
}
.offer-life__left h3 { color: var(--white); font-size: 1.8rem; margin-bottom: 0.5rem; }
.offer-life__sub { color: var(--adriatic-l); font-style: italic; margin-bottom: 1rem; }
.offer-life__desc { color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 1.5rem; }
.offer-life__right { display: flex; flex-direction: column; gap: 1rem; }
.offer-life__note { font-size: 0.8rem; color: rgba(255,255,255,0.45); text-align: center; }
.testimonial {
  background: rgba(255,255,255,0.06); border-left: 3px solid var(--adriatic);
  padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; margin-top: 1rem;
}
.testimonial p { color: rgba(255,255,255,0.8); font-style: italic; font-size: 0.9rem; margin-bottom: 0.4rem; }
.testimonial cite { color: var(--adriatic-l); font-size: 0.8rem; font-style: normal; }

/* ── DESTINATIONS GRID ───────────────────────────────────── */
.dest-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.dest-card {
  background: var(--sand); border-radius: 12px; padding: 1.5rem 1rem;
  text-align: center; transition: all var(--transition); cursor: pointer;
  border: 2px solid transparent;
}
.dest-card:hover { border-color: var(--adriatic); transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.dest-card__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.dest-card h3 { font-size: 1.1rem; color: var(--sea); margin-bottom: 0.25rem; }
.dest-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ── LAST UPDATE BAR ─────────────────────────────────────── */
.last-update {
  text-align: center; padding: 1rem; background: var(--sand-d);
  font-size: 0.82rem; color: var(--text-muted); border-top: 1px solid var(--sand);
}

/* ── OFFER EMPTY ─────────────────────────────────────────── */
.offer-empty {
  text-align: center; padding: 3rem; background: var(--sand);
  border-radius: 12px; color: var(--text-muted);
}

/* ── ERROR PAGE ──────────────────────────────────────────── */
.error-page { min-height: calc(100vh - 64px); display: flex; align-items: center; padding-top: 64px; }
.error-page__content { text-align: center; padding: 2rem; }
.error-page__emoji { font-size: 5rem; margin-bottom: 1rem; }
.error-page h1 { font-size: 6rem; color: var(--sea); margin-bottom: 0; line-height: 1; }
.error-page h2 { margin: 0.5rem 0 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; padding: 2rem; background: var(--sand); border-radius: 16px; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--sea); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem; border: 2px solid var(--sand-d);
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  background: var(--white); transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--adriatic); }
.form-group--check { flex-direction: row; align-items: flex-start; }
.form-group--check input { width: auto; margin-top: 3px; }
.form-group--check label { font-weight: 400; cursor: pointer; }
.contact-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; padding: 1rem; border-radius: 8px; }

/* ── COOKIE TABLE ────────────────────────────────────────── */
.cookie-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.cookie-table th, .cookie-table td { padding: 0.75rem; border: 1px solid var(--sand-d); font-size: 0.9rem; text-align: left; }
.cookie-table th { background: var(--sand); font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--sea); color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer__logo { font-size: 1.3rem; color: var(--white); margin-bottom: 0.75rem; font-weight: 500; }
.footer__logo strong { color: var(--adriatic-l); }
.footer__brand p { font-size: 0.88rem; line-height: 1.7; }
.footer__links h4 { color: var(--white); font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.footer__links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links a { font-size: 0.88rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; text-align: center; }
.footer__bottom p { font-size: 0.8rem; margin-bottom: 0.4rem; }
.footer__gdpr { color: rgba(255,255,255,0.5); }
.footer__gdpr a { color: var(--adriatic-l); }

/* ── PRIVACY/COOKIE PAGES ────────────────────────────────── */
.container--narrow h1 { margin: 2rem 0 0.5rem; color: var(--sea); }
.container--narrow h2 { font-size: 1.2rem; margin: 1.5rem 0 0.4rem; color: var(--sea); }
.container--narrow p  { margin-bottom: 1rem; line-height: 1.8; }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .offer-card__body { grid-template-columns: 1fr; }
  .offer-card__side { min-width: 0; }
  .offer-life { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .super-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--sea); flex-direction: column; padding: 1rem; gap: 0; }
  .nav-open .nav__links { display: flex; }
  .nav__burger { display: flex; }
  .hero__actions { flex-direction: column; align-items: center; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid .dest-card:last-child { grid-column: span 2; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .weather-bar { gap: 1rem; }
  .offer-card__body { padding: 1.25rem; }
}
