/* Extra styles for Nereide (cookie banner, contacts, minor fixes) */

/* Ensure anchored sections don't hide behind the fixed navbar */
#about,
#contatti {
  scroll-margin-top: 110px;
}

/* Replace old inline footer style */
.footer-fineprint {
  color: rgba(255,255,255,0.2);
  margin-top: 0.5rem;
  font-size: 0.6rem;
}

/* ─── CONTACTS ─── */
#contatti {
  background: var(--cream);
}

.contacts-section {
  padding: 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 0;
  height: 85vh;
  align-items: stretch;
}

.contacts-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.contacts-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.contacts-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.contacts-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.15;
}

.contacts-left {
  padding: clamp(3rem, 6vw, 6rem) clamp(2.5rem, 5vw, 5.5rem);
}

.contacts-meta {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-mid);
  line-height: 1.85;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.contacts-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contacts-row--tel {
  gap: 0.6rem;
}

.contacts-social {
  display: flex;
  gap: 16px;
}

.contacts-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}

.contacts-social-link i {
  font-size: 26px;
  color: var(--gold);
  transition: transform 0.2s, color 0.2s;
}

.contacts-social-link:hover i {
  color: var(--gold-light);
  transform: translateY(-1px);
}

.contacts-row strong {
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.65rem;
  color: var(--gold);
}

.contacts-underline {
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
  width: fit-content;
}

.contacts-link {
  color: var(--text-dark);
  text-decoration: none;
}

.contacts-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-light);
}

.contacts-map {
  background: transparent;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

@media (max-width: 900px) {
  /* Mobile nav toggle (burger) */
  #navbar .nav-links {
    display: none;
  }

  #navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    padding: 1.8rem 6% 2rem;
    background: rgba(14, 14, 12, 0.92);
    backdrop-filter: blur(12px);
    z-index: 101;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .contacts-left {
    padding: 3rem 6%;
  }

  .contacts-map iframe {
    min-height: 380px;
    height: 380px;
  }
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(14, 14, 12, 0.95);
  color: rgba(255,255,255,0.9);
  border-top: 1px solid rgba(184,149,106,0.35);
  padding: 18px 6%;
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-text {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.cookie-btn:hover {
  border-color: var(--gold-light);
  color: #fff;
}

.cookie-btn--primary {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark);
}

.cookie-btn--primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
}

@media (max-width: 700px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
