:root {
  --gold: #d4af37;
  --bg-dark: #0b0f19;
  --muted: rgba(255,255,255,0.85);
  --card-bg: rgba(11,15,25,0.9);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg-dark);
  color: #fff;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

/* hide container until intro dismissed */
.hidden { display: none !important; }

/* ============================
   INTRO SCREEN
   ============================ */
#intro {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  z-index: 1001;
  transition: opacity 1.4s ease, visibility 0.4s ease;
  overflow: hidden;
}

.intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1);
  transition: transform 1.4s ease, opacity 0.6s ease;
}

#intro.fade-out .intro-bg { opacity: 0.9; }

#intro.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 480px) {
  .intro-bg { transform: scale(1.08); object-position: center; }
  #intro.fade-out .intro-bg { transform: scale(1); }
}

/* ============================
   HEADER & NAV
   ============================ */
header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  width: calc(100% - 8%);
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1002;
  background: transparent;
  opacity: 1;
  transition: opacity 1.2s ease;
}

.hidden-header { opacity: 0; pointer-events: none; }

header nav ul { list-style: none; display: flex; gap: 2rem; }

header nav a {
  text-decoration: none;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1.15rem;
  position: relative;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-split { display: inline-flex; flex-direction: column; line-height: 1; }

header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
header nav a:hover::after { width: 100%; }

header nav a.active { color: #fff; font-size: 1.3rem; transform: scale(1.05); }
header nav a.active::after { width: 100%; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { display:block; width:25px; height:2px; background-color:var(--gold); border-radius:2px; transition:0.3s; }

@media (max-width: 768px) {
  .hamburger { display:flex; position:absolute; top:10px; right:15px; z-index:1100; }
  .nav-right .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(11, 15, 25, 0.98);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    display: none;
    border-left: 1px solid rgba(212,175,55,0.2);
    border-bottom: 1px solid rgba(212,175,55,0.2);
    width: 100%;
    max-width: 260px;
    transition: all 0.3s ease;
    animation: slideDown 0.35s ease forwards;
  }
  .nav-right .nav-links.active { display:flex; }
  @keyframes slideDown { from{opacity:0;transform:translateY(-15px);} to{opacity:1;transform:translateY(0);} }
  header nav ul { flex-direction: column; gap: 1.5rem; }
}

/* HERO BLOCKS */
.home-block, .about-block, .experience-hero, .contact-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
}

.home-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.55); z-index:1; }

.tab-content.active .home-content {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.home-content {
  position:relative;
  z-index:2;
  text-align:center;
  max-width:800px;
  opacity:0;
  transform:translateY(25px);
  transition:opacity 1s ease, transform 1s ease;
  padding:2rem;
}

.home-content h1, .home-content h2 { font-family:"Cinzel", serif; font-size:2.8rem; margin-bottom:1rem; }

.home-content p { font-size:1rem; color:rgba(255,255,255,0.9); max-width:700px; margin:0 auto; }

/* ABOUT HERO 3 */
.about-hero-3 { background-size:92%; background-position:top center; }
@media (max-width:900px){ .about-hero-3{ background-size:cover; background-position:center; } }

/* EXPERIENCE / BOOKING */
#experience .booking-box{
  max-width:900px; 
  margin:4rem auto; 
  background:rgba(0,0,0,0.45); 
  border:1px solid var(--gold); 
  border-radius:12px; 
  padding:3rem; 
  text-align:center; 
  box-shadow:0 0 25px rgba(212,175,55,0.15);
}

#experience .two-column-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem 1.5rem;
  align-items: start;
  text-align: left;
}
#experience .two-column-form label {
  display:block; 
  font-weight:600; 
  margin-bottom:0.35rem; 
  color:var(--muted);
}
#experience .two-column-form input,
#experience .two-column-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,175,55,0.12);
  color: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
}
#experience .two-column-form textarea {
  min-height: 110px;
  resize: vertical;
  grid-column: 1 / -1;
}
.form-actions { grid-column: 1 / -1; text-align:center; }

#experience button[type="submit"]{
  background: var(--gold);
  color: #0b0f19;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px){
  #experience .two-column-form { grid-template-columns: 1fr; }
  #experience .two-column-form textarea { grid-column: 1 / -1; }
}

/* Calendar */
.calendar-container { display:flex; justify-content:center; margin-top:1.5rem; }
.calendar { background:var(--card-bg); border:1px solid var(--gold); border-radius:14px; padding:14px; width:360px; max-width:92%; text-align:center; color:#fff; }

.calendar-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.calendar-header button { background: transparent; border: none; color: var(--gold); font-size: 1.05rem; padding:6px 10px; cursor:pointer; }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-weekday {
  font-size:0.8rem;
  color: rgba(255,255,255,0.7);
  text-align:center;
  padding:6px 4px;
}

.calendar-day,
.calendar-empty {
  min-height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-weight:600;
}

/* empty spacing cells */
.calendar-empty { opacity:0; }

.calendar-day.unavailable {
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.08);
  cursor: not-allowed;
}

.calendar-day.available {
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
}
.calendar-day.available:hover {
  background: rgba(212,175,55,0.1);
}

.calendar-day.today {
  border: 1px solid var(--gold);
}

.calendar-day.selected {
  background: var(--gold);
  color: #0b0f19;
}

/* GALLERY */
#gallery { text-align:center; padding-top:10rem; padding-bottom:6rem; }
#gallery .gallery-stack img { width:90%; max-width:900px; border-radius:10px; object-fit:cover; box-shadow:0 0 30px rgba(0,0,0,0.5); }

/* CONTACT */
.contact-hero { position:relative; width:100vw; height:100vh; background-size:cover; background-position:center; display:flex; justify-content:center; align-items:center; }
.contact-hero .home-content { position:relative; z-index:2; text-align:center; padding:2rem; }

/* FOOTER */
footer { text-align:center; padding:2rem; border-top:1px solid rgba(212,175,55,0.1); color:var(--gold); font-size:0.95rem; }
