/* =========================================
   HOME PAGE – Specific Styles
   ========================================= */

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.05);
  animation: none;
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,14,12,0.75) 0%,
    rgba(15,14,12,0.45) 50%,
    rgba(15,14,12,0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 300;
}

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

/* HERO ARROWS */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  line-height: 1;
}

.hero-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }

/* HERO DOTS */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ---- BOOKING BAR ---- */
.booking-bar {
  background: var(--dark);
  padding: 28px 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

.booking-inner {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.booking-field {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.booking-field input,
.booking-field select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  cursor: pointer;
}

.booking-field input:focus,
.booking-field select:focus { border-color: var(--gold); }

.booking-field select option { background: var(--dark-3); color: var(--white); }

.btn-check-avail {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 11px 32px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  height: 44px;
}

.btn-check-avail:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

/* ---- ABOUT SECTION ---- */
.about-section { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-img-side img {
  width: 100%;
  height: 204px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease;
}

.about-img-side img:hover { transform: scale(1.02); }

.about-content .golden-divider { margin: 20px 0; }

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
}

.about-features { margin-bottom: 32px; }

.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.feature-icon { color: var(--gold); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0; }

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  background: rgba(201,168,76,0.06);
}

.stat-icon { font-size: 2rem; margin-bottom: 12px; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- ROOMS SECTION ---- */
.rooms-section { background: var(--cream-2); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.room-card.featured { 
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-md); 
}

.room-card-img {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.room-card:hover .room-card-img img { transform: scale(1.07); }

.room-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.room-badge.popular { background: var(--dark); }

.room-card-body { padding: 24px; }

.room-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.room-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--cream-2);
}

.room-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.room-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--cream-2);
  padding-top: 16px;
}

.room-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.room-price span { font-size: 0.75rem; color: var(--text-muted); font-family: 'Inter', sans-serif; }

.btn-room {
  background: var(--dark);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-room:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* ---- DINING SECTION ---- */
.dining-section {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
}

.dining-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A1714 0%, #2C2518 100%);
}

.dining-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dining-content .golden-divider { margin: 20px 0; }

.dining-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.dining-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dining-features li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  padding: 10px 14px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
}

.dining-images {
  position: relative;
}

.dining-img-main {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.dining-img-secondary {
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 55%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--dark-2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* ---- LOCATION SECTION ---- */
.location-section { background: var(--cream); }

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.location-card {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.location-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.loc-icon { font-size: 2.2rem; margin-bottom: 12px; }

.location-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 6px;
}

.location-card p { font-size: 0.85rem; color: var(--gold-dark); font-weight: 500; }

/* ---- GALLERY PREVIEW ---- */
.gallery-preview { background: var(--cream-2); }

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item.tall img { height: 452px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide img { height: 220px; }

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,14,12,0.65) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gallery-item.tall { grid-row: span 2; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { background: var(--dark-2); }
.testimonials-section .section-eyebrow { color: var(--gold-light); }
.testimonials-section .section-title { color: var(--white); }

.testimonials-slider { position: relative; min-height: 200px; }

.testimonial {
  display: none;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease;
}

.testimonial.active { display: block; }

.stars { color: var(--gold); font-size: 1.4rem; margin-bottom: 20px; letter-spacing: 4px; }

.test-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 28px;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.test-author span { font-size: 0.8rem; color: var(--gold-light); }

.test-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
}

.test-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.test-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ---- CTA SECTION ---- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../G Residency/IMG-20221119-WA0014.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: brightness(0.35);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { max-width: 600px; }
  .dining-grid { grid-template-columns: 1fr; }
  .dining-img-secondary { left: auto; right: 20px; bottom: -20px; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { height: 90vh; }
  .hero-arrow { display: none; }
  .booking-inner { flex-direction: column; }
  .booking-field { width: 100%; min-width: unset; }
  .btn-check-avail { width: 100%; }
  .rooms-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.tall img { height: 220px; }
  .gallery-item.wide { grid-column: span 2; }
  .dining-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-bg { background-attachment: scroll; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .location-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.wide img, .gallery-item img { height: 200px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
