/* ========================================================
   SHOMATOBE LODGE - Luxury Website Stylesheet
   Colors: Gold #D4AF37, Dark #1A1A1A, Off-White #FAF8F3
   ======================================================== */

/* --- 1. ROOT VARIABLES & RESET --- */
:root {
  --gold: #D4AF37;
  --gold-light: #e8cc6a;
  --gold-dark: #a88a1e;
  --dark: #1A1A1A;
  --dark-mid: #2c2c2c;
  --dark-overlay: rgba(15, 12, 5, 0.6);
  --off-white: #FAF8F3;
  --light-bg: #f5f0e8;
  --text-muted: #888;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.35s ease;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 16px 48px rgba(0, 0, 0, 0.25);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.bg-light { background: var(--light-bg); }
.dark-tones { background: var(--dark); }

/* --- 2. SECTION TITLES --- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-title.text-white h2,
.section-title.text-white p {
  color: var(--off-white);
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 12px auto 0;
}

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

.white-divider { background: var(--off-white); }

/* --- 3. BUTTONS --- */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius);
  cursor: pointer;
  margin-top: 20px;
  transition: background var(--transition), transform var(--transition);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* --- 4. NAVIGATION --- */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: var(--off-white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  color: var(--off-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--dark);
  padding: 20px 24px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  gap: 20px;
  box-shadow: var(--shadow-heavy);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--off-white);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--gold); }

/* --- 5. HERO SECTION --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  background-image: url('images/shomatobe_lodge_01.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,8,2,0.55) 0%, rgba(10,8,2,0.3) 50%, rgba(10,8,2,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--gold);
  display: block;
}

.hero-content .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  transition: color var(--transition);
}

.scroll-down-arrow:hover { color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* --- 6. BOOKING BAR --- */
.booking-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
  margin-top: 48px;
  animation: fadeInUp 1s ease 0.6s both;
}

.booking-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(212,175,55,0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}

.input-group label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.input-group input,
.input-group select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 8px;
  color: #fff;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  width: 100%;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  appearance: auto;
  color-scheme: dark;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.14);
}

.input-group select option { background: var(--dark); color: #fff; }

.booking-bar .btn-primary {
  padding: 12px 28px;
  align-self: flex-end;
  flex-shrink: 0;
}

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

.room-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.room-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

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

.room-info {
  padding: 24px;
}

.room-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.room-info p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.room-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.per-night {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.vat-note {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 18px;
  font-style: italic;
}

/* --- 8. GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { 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);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.35);
}

.gallery-item-overlay i {
  color: var(--gold);
  font-size: 2.5rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-item-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* --- 9. GALLERY MODAL --- */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 4, 0.97);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.gallery-modal.active { display: flex; }

.close-modal {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--off-white);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color var(--transition), transform var(--transition);
  z-index: 10;
}
.close-modal:hover { color: var(--gold); transform: rotate(90deg); }

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.slide-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 60px 100px 20px;
  width: 100%;
}

.main-image {
  max-height: 65vh;
  max-width: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
  transition: opacity 0.2s ease;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover { background: var(--gold); color: var(--dark); }

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.thumbnail-track-container {
  width: 100%;
  overflow-x: auto;
  padding: 16px 60px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.thumbnail-track {
  display: flex;
  gap: 10px;
  justify-content: center;
  min-width: min-content;
}

.thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: opacity var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.thumb:hover { opacity: 0.8; }
.thumb.active { opacity: 1; border-color: var(--gold); }

/* --- 10. FEATURES --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  min-width: 160px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-heavy);
}

.feature-item i {
  font-size: 2rem;
  color: var(--gold);
}

.feature-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: var(--dark);
  letter-spacing: 0.02em;
}

/* --- 10b. FUNCTIONS --- */
.functions-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}

.function-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.function-img.large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.function-img:hover img {
  transform: scale(1.05);
}

.functions-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- 11. TESTIMONIALS --- */
.testimonial-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

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

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius);
  padding: 36px;
  transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(212,175,55,0.55);
  transform: translateY(-4px);
}

.stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }

.review-text {
  color: rgba(255,255,255,0.82);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.reviewer {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --- 12. CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.contact-info p i {
  color: var(--gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe { display: block; }

/* --- 13. FOOTER --- */
footer {
  background: var(--dark);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid #333;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand p {
  color: #888;
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: #aaa;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 24px 0 16px;
}

.footer-social a {
  color: #888;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: #555;
  font-size: 0.82rem;
}

/* --- 14. ANIMATIONS --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 15. RESPONSIVE (Mobile First) --- */
@media (max-width: 1024px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(6) { grid-column: span 1; }
  .functions-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .function-img.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }
  .nav-links { display: none; }
  .hamburger { display: block; }

  .rooms-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(6) { grid-column: span 2; }

  .functions-gallery { grid-template-columns: repeat(2, 1fr); }
  .function-img.large { grid-column: span 2; grid-row: span 1; }

  .booking-bar { flex-direction: column; }
  .input-group { min-width: 100%; }

  .hero { background-attachment: scroll; }

  .slide-container { padding: 60px 20px 20px; }
  .prev-btn { left: 8px; }
  .next-btn { right: 8px; }

  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) { grid-column: span 1; }

  .functions-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .function-img.large { grid-column: span 1; grid-row: span 1; }
}

/* --- CONTACT FORM --- */
.contact-form-wrapper {
  margin-top: 60px;
}

.contact-form-container {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 48px 40px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-form-container h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.contact-form-container > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.02em;
}

.form-group .required {
  color: var(--gold-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #e0d9cc;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 8px;
}

.form-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-feedback {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-success-msg {
  background: #f0faf3;
  color: #2a7a47;
  border: 1px solid #b3dfc4;
}

.form-error-msg {
  background: #fff5f5;
  color: #b94040;
  border: 1px solid #f5c6c6;
}

.form-error-msg a {
  color: var(--gold-dark);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-container { padding: 32px 20px; }
}
