/* ===========================
   CSS RESET & CUSTOM PROPERTIES
   =========================== */

:root {
  --deep-charcoal: #2C2C2C;
  --antique-gold: #C6A664;
  --aegean-blue: #3B6F8F;
  --warm-ivory: #FAF6F0;
  --med-sand: #E8DFD0;
  --ischia-night: #1A2E3B;
  --terra-ischia: #C27C4E;
  --garden-green: #8BA888;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

  --container: 1200px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--deep-charcoal);
  background: var(--warm-ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   UTILITY
   =========================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--ivory { background: var(--warm-ivory); }
.section--sand  { background: var(--med-sand); }
.section--dark  { background: var(--ischia-night); color: #fff; }

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.section__title--left { text-align: left; }
.section__title--light { color: #fff; }

.section__subtitle {
  text-align: center;
  font-weight: 300;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.85;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--antique-gold);
  margin: 0 auto 32px;
}

.gold-divider--left { margin-left: 0; }

/* ===========================
   BUTTONS
   =========================== */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 12px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn--gold {
  background: var(--antique-gold);
  color: #fff;
}

.btn--gold:hover {
  background: var(--terra-ischia);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 166, 100, 0.35);
}

.btn--outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.btn--outline:hover {
  background: #fff;
  color: var(--deep-charcoal);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn--full { width: 100%; }

/* ===========================
   NAVIGATION
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  height: var(--nav-height);
}

.nav--scrolled {
  background: rgba(26, 46, 59, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.nav__logo span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--antique-gold);
}

.nav__menu {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav__link:hover { color: var(--antique-gold); }

.nav__cta {
  padding: 10px 24px;
  font-size: 0.8rem;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 46, 59, 0.6) 0%,
    rgba(26, 46, 59, 0.4) 50%,
    rgba(26, 46, 59, 0.7) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   TWO-COL LAYOUT
   =========================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col--reverse .two-col__image { order: -1; }

.two-col__text p {
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.two-col__image img {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===========================
   COUNTERS
   =========================== */

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  text-align: center;
}

.counter__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--antique-gold);
  line-height: 1;
}

.counter__label {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

/* ===========================
   AMENITIES GRID
   =========================== */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.amenity-card {
  background: var(--warm-ivory);
  padding: 32px 24px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.amenity-card__icon {
  width: 40px;
  height: 40px;
  color: var(--antique-gold);
  margin: 0 auto 16px;
}

.amenity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.amenity-card p {
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.7;
}

/* ===========================
   CAMERE GALLERY
   =========================== */

.camere-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.camere-gallery img {
  border-radius: 8px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===========================
   FAMILY BANNER
   =========================== */

.family-banner {
  background: var(--ischia-night);
  color: #fff;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.family-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.family-banner__items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.family-banner__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.family-banner__discount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--antique-gold);
  line-height: 1;
}

.family-banner__age {
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 4px;
  opacity: 0.8;
}

/* ===========================
   SPA CARDS
   =========================== */

.spa-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.spa-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(198, 166, 100, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.spa-card__icon svg {
  width: 48px;
  height: 48px;
  color: var(--garden-green);
  margin: 0 auto 20px;
  display: block;
}

.spa-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.spa-card p {
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.spa-shuttle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: rgba(139, 168, 136, 0.12);
  border-radius: 8px;
  font-size: 0.95rem;
}

.spa-shuttle svg { color: var(--garden-green); flex-shrink: 0; }

/* ===========================
   GALLERY
   =========================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery__item {
  overflow: hidden;
  border-radius: 8px;
}

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info__item svg {
  color: var(--antique-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__item a {
  color: var(--antique-gold);
  transition: opacity 0.3s;
}

.contact-info__item a:hover { opacity: 0.8; }

.contact-info__item p { font-weight: 300; font-size: 0.95rem; }

.contact-map { margin-top: 24px; }

/* ===========================
   FORM
   =========================== */

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid rgba(198, 166, 100, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--antique-gold);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 12px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer__brand span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--antique-gold);
}

.footer__col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.footer__col a:hover { color: var(--antique-gold); }

.footer__col p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer__social a:hover { color: var(--antique-gold); }

.footer__bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
}

.footer__bottom a {
  color: var(--antique-gold);
  transition: opacity 0.3s;
}

.footer__bottom a:hover { opacity: 0.8; }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1200px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .nav__menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(26, 46, 59, 0.98);
    padding: 24px;
    gap: 16px;
    text-align: center;
  }

  .nav__cta.active {
    display: inline-block;
    position: absolute;
    top: calc(var(--nav-height) + 200px);
    left: 50%;
    transform: translateX(-50%);
  }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse .two-col__image { order: 0; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .spa-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .camere-gallery { grid-template-columns: 1fr; }
  .camere-gallery img { height: 240px; }
  .family-banner__items { gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

@media (max-width: 576px) {
  .counters { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .counter__number { font-size: 2.2rem; }
  .amenities-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .gallery__item--tall { grid-row: span 1; }
  .hero__title { font-size: 2.2rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
