/* ============================================================
   Rakikano — Deposito Bagagli — styles.css
   Bootstrap 5.3 palette + font + radius/shadow/button overrides
   ============================================================ */

:root {
  --site-primary: #7a5a75;
  --site-primary-light: #b78daf;
  --site-primary-dark: #48243f;
  --site-secondary: #9a5738;
  --site-accent: #0077dd;
  --site-bg: #f4dcf6;
  --site-surface: #fff3fc;
  --site-text: #1f0819;
  --site-text-secondary: #614d58;

  --bs-primary: #7a5a75;
  --bs-body-bg: #f4dcf6;
  --bs-body-color: #1f0819;
  --bs-body-font-family: 'PT Sans', sans-serif;
  --bs-link-color: #7a5a75;
  --bs-link-hover-color: #48243f;
}

body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', serif;
}

a { color: var(--site-primary); }
a:hover { color: var(--site-primary-dark); }

/* ---------- Utility-strip + Navbar ---------- */
.utility-bar {
  background: var(--site-primary-dark);
  color: #fff3fc;
  font-size: 0.85rem;
}
.utility-bar a {
  color: #fff3fc;
  text-decoration: none;
}
.utility-bar a:hover { color: var(--site-primary-light); }

.navbar-main {
  background: var(--site-surface);
  border-bottom: 1px solid rgba(122, 90, 117, 0.15);
}
.navbar-main .navbar-brand span {
  font-family: 'PT Serif', serif;
  font-weight: 700;
  color: var(--site-text);
}
.navbar-main .nav-link {
  color: var(--site-text);
  font-weight: 500;
}
.navbar-main .nav-link:hover { color: var(--site-primary); }
.logo-mark { height: 42px; width: 42px; object-fit: contain; }

/* ---------- Hero (fullbleed) ---------- */
.hero-fullbleed {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-fullbleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 8, 25, 0.32);
}
.hero-fullbleed .hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-fullbleed .hero-inner p,
.hero-fullbleed .hero-inner h1 {
  color: #fff;
}

/* ---------- Section rhythm: alternating tinted backgrounds ---------- */
.section-bg-tint { background-color: var(--site-bg); }
.section-bg-surface { background-color: var(--site-surface); }

section { padding-top: 5rem; padding-bottom: 5rem; }

/* ---------- Cards (grid items only) ---------- */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(122, 90, 117, 0.12);
  background: var(--site-surface);
}
.card .card-body { padding: 1.75rem; }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--site-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--site-primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ---------- Images: 24px radius ---------- */
.img-edit {
  border-radius: 24px;
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ---------- Buttons: sharp radius (0), inset-shadow soft family ---------- */
.btn {
  border-radius: 0;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease;
  border-width: 1px;
}
.btn-primary {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--site-primary-dark);
  border-color: var(--site-primary-dark);
  color: #fff;
}
.btn-outline-primary {
  color: var(--site-primary);
  border-color: var(--site-primary);
  background-color: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}
.btn-surface {
  background-color: var(--site-surface);
  color: var(--site-primary);
  border-color: transparent;
}
.btn-surface:hover, .btn-surface:focus {
  background-color: #ffffff;
  color: var(--site-primary-dark);
}

.bg-primary { background-color: var(--site-primary) !important; }
.text-primary { color: var(--site-primary) !important; }
.border-primary { border-color: var(--site-primary) !important; }

/* ---------- Forms: inputs slightly rounded (4px) ---------- */
.form-control, .form-select {
  border-radius: 4px;
  border: 1px solid rgba(122, 90, 117, 0.3);
  background-color: var(--site-surface);
  box-shadow: inset 0 1px 2px rgba(31, 8, 25, 0.05);
  padding: 0.6rem 0.85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--site-primary);
  box-shadow: 0 0 0 0.2rem rgba(122, 90, 117, 0.18);
  background-color: #ffffff;
}
label.form-label {
  font-weight: 600;
  color: var(--site-text);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  border-left: 3px solid var(--site-secondary);
  background: var(--site-surface);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(122, 90, 117, 0.1);
  padding: 1.75rem;
  height: 100%;
}
.testimonial-card cite {
  color: var(--site-text-secondary);
  font-style: normal;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--site-primary-dark);
  color: #f4dcf6;
}
.site-footer a {
  color: #f4dcf6;
  text-decoration: none;
}
.site-footer a:hover { color: var(--site-primary-light); }
.site-footer hr {
  border-color: rgba(244, 220, 246, 0.2);
}
.newsletter-form .form-control {
  border-radius: 4px;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  background: var(--site-primary-dark);
  color: #fff3fc;
  padding: 1rem 1.25rem;
  display: none;
  box-shadow: 0 -8px 24px rgba(31, 8, 25, 0.2);
}
.cookie-banner.show { display: block; }
.cookie-banner a { color: var(--site-primary-light); }

/* ---------- Confirmation message ---------- */
.form-confirmation {
  display: none;
  border-radius: 16px;
  background: var(--site-bg);
  border-left: 4px solid var(--site-secondary);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.form-confirmation.show { display: block; }

/* ---------- Map embed ---------- */
.map-frame {
  border-radius: 24px;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 24px rgba(122, 90, 117, 0.12);
  width: 100%;
  min-height: 320px;
}

/* ---------- 404 ---------- */
.notfound-main {
  min-height: 50vh;
  display: flex;
  align-items: center;
}

/* ---------- Hero background image (index) ---------- */
.hero-bg-deposito {
  background-image: url('images/hero-deposito-bagagli-roma.jpg');
}

/* ---------- Newsletter input width ---------- */
.newsletter-input {
  min-width: 200px;
}

/* ---------- Newsletter confirmation visibility ---------- */
.newsletter-confirmation {
  display: none;
}
.newsletter-confirmation.show {
  display: block;
}

/* ---------- Cookie decline button (light text on dark banner) ---------- */
.btn-cookie-outline {
  border-color: #f4dcf6;
  color: #f4dcf6;
  background-color: transparent;
}
.btn-cookie-outline:hover, .btn-cookie-outline:focus {
  background-color: #f4dcf6;
  color: var(--site-primary-dark);
  border-color: #f4dcf6;
}
