/* Import Google Fonts: Cinzel for logo, Playfair Display for headings, Inter for body text */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --bg-dark: #0A0A0A;
  --bg-dark-card: #121212;
  --bg-dark-accent: #1A1A1A;
  
  --bg-cream: #FAF8F5;
  --bg-cream-accent: #F3EFE9;
  
  --color-gold: #C5A059;
  --color-gold-light: #E5C158;
  --color-gold-dark: #A47E3B;
  
  --text-dark: #121212;
  --text-dark-muted: #555555;
  --text-light: #E5E5E5;
  --text-light-muted: #A0A0A0;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-logo: 'Cinzel', serif;
  
  --border-light: rgba(197, 160, 89, 0.15);
  --border-medium: rgba(197, 160, 89, 0.3);
  --border-solid-gold: #C5A059;
  
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.25s ease;
  
  --container-width: 1280px;
}

/* Base Styles & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Typography & Global Layout */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.03em;
}

h2 {
  font-size: 2.8rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  h2 {
    font-size: 2.2rem;
  }
}

p {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.gold-text {
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--bg-dark);
  border: 1px solid var(--color-gold);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-gold);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

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

/* Sections Configuration */
section {
  padding: 7.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-cream {
  background-color: var(--bg-cream);
  color: var(--text-dark);
}

.section-cream h1,
.section-cream h2,
.section-cream h3,
.section-cream h4 {
  color: var(--text-dark);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 4.5rem auto;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title-divider {
  width: 60px;
  height: 1px;
  background-color: var(--color-gold);
  margin: 1.5rem auto;
}

/* Animations Triggered on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1),
              transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

/* 1. Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.8rem 0;
}

header.scrolled {
  background-color: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(15px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-logo);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: #FFFFFF;
}

.logo span {
  color: var(--color-gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.header-cta .btn {
  padding: 0.7rem 1.6rem;
  font-size: 0.8rem;
}

/* Mobile Nav Toggle */
.burger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 1100;
}

.burger div {
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  margin: 5px;
  transition: var(--transition-fast);
}

@media (max-width: 991px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-dark-card);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    transition: var(--transition-smooth);
    padding: 2rem;
    border-left: 1px solid var(--border-light);
  }
  
  nav.open {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }
  
  .nav-links a {
    font-size: 1.1rem;
  }
  
  .burger {
    display: block;
  }
  
  /* Burger Animation */
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
  }
  .burger.toggle .line2 {
    opacity: 0;
  }
  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -5px);
  }
}

/* 2. Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #050505;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(10,10,10,0.1) 0%, rgba(5,5,5,0.7) 100%),
              url('images/hero_dining.png') no-repeat center center/cover;
  transform: scale(1.05);
  animation: slowZoom 25s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.9) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.25;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

.hero-title span {
  display: block;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-light-muted);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.3;
  }
  .hero-title span {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    margin-bottom: 0.8rem;
  }
  .hero-desc {
    font-size: 0.85rem;
    margin-bottom: 2.2rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-actions .btn {
    text-align: center;
    width: 100%;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light-muted);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 20px;
  height: 35px;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* 3. Introduction / About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text-content {
  padding-right: 2rem;
}

.about-philosophy {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
  color: var(--text-dark-muted);
}

.about-details {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  margin-bottom: 3rem;
}

.about-signature {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-dark);
}

.about-image-wrapper {
  position: relative;
  padding-left: 2rem;
}

.about-image-frame {
  position: relative;
  border: 1px solid var(--color-gold);
  padding: 1.2rem;
  transition: var(--transition-smooth);
}

.about-image-frame::after {
  content: '';
  position: absolute;
  top: -1.2rem;
  left: -1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
  z-index: 1;
}

.about-image-frame img {
  width: 100%;
  height: 580px;
  transition: var(--transition-smooth);
}

.about-image-frame:hover img {
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-text-content {
    padding-right: 0;
  }
  .about-image-wrapper {
    padding-left: 0;
    max-width: 500px;
    margin: 0 auto;
  }
  .about-image-frame img {
    height: 480px;
  }
}

/* 4. Event Spaces */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.space-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.space-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-medium);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.space-img-container {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.space-img-container img {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.space-card:hover .space-img-container img {
  transform: scale(1.08);
}

.space-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.space-info {
  padding: 2.2rem;
}

.space-title {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  transition: var(--transition-fast);
}

.space-card:hover .space-title {
  color: var(--color-gold);
}

.space-desc {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-bottom: 1.8rem;
}

.space-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.space-capacity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.space-capacity svg {
  fill: var(--color-gold);
  width: 16px;
  height: 16px;
}

.space-link {
  color: var(--color-gold);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.space-link::after {
  content: '→';
  transition: var(--transition-fast);
}

.space-card:hover .space-link::after {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .spaces-grid {
    grid-template-columns: 1fr;
  }
}

/* 5. Menu Section */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
}

.menu-tab-btn {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-dark-muted);
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.menu-tab-btn:hover,
.menu-tab-btn.active {
  background-color: var(--color-gold);
  color: var(--bg-dark);
  border-color: var(--color-gold);
  box-shadow: 0 6px 15px rgba(197, 160, 89, 0.2);
}

.menu-content {
  position: relative;
  min-height: 400px;
}

.menu-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 5rem;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .menu-panel.active {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.menu-item {
  display: flex;
  flex-direction: column;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-dark);
  font-weight: 500;
}

.menu-item-divider {
  flex-grow: 1;
  border-bottom: 1px dotted var(--border-medium);
  margin: 0 1rem;
}

.menu-item-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.menu-item-description {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  line-height: 1.6;
}

.menu-section-footer {
  margin-top: 5rem;
  text-align: center;
}

.menu-note {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dark-muted);
  margin-bottom: 2rem;
}

/* 6. Gallery Section */
.gallery-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 4rem;
}

.gallery-container {
  display: flex;
  gap: 2rem;
  cursor: grab;
  user-select: none;
  transition: transform 0.1s ease-out;
}

.gallery-container.active {
  cursor: grabbing;
}

.gallery-item {
  flex: 0 0 calc(33.333% - 1.333rem);
  height: 420px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 991px) {
  .gallery-item {
    flex: 0 0 calc(50% - 1rem);
    height: 350px;
  }
}

@media (max-width: 600px) {
  .gallery-item {
    flex: 0 0 100%;
    height: 300px;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.1) 70%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
}

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

.gallery-overlay h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.gallery-btn:hover {
  background-color: var(--color-gold);
  color: var(--bg-dark);
  border-color: var(--color-gold);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.4);
}

.gallery-btn-prev {
  left: 0.5rem;
}

.gallery-btn-next {
  right: 0.5rem;
}

/* 7. Reservation / Inquiry Form */
.inquiry-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Styled Reservation Form */
.inquiry-form-container {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  padding: 3.5rem;
  position: relative;
}

@media (max-width: 576px) {
  .inquiry-form-container {
    padding: 2rem;
  }
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light-muted);
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-medium);
  padding: 0.8rem 0;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  transition: var(--transition-fast);
}

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

/* Custom Select styling replacement */
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23C5A059' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

/* Calendar Date custom layout */
.form-group input[type="date"] {
  position: relative;
}

.form-group textarea {
  height: 120px;
  resize: none;
}

.form-error {
  color: #E05C5C;
  font-size: 0.75rem;
  margin-top: 0.4rem;
  position: absolute;
  bottom: -1.2rem;
  left: 0;
  opacity: 0;
  transition: var(--transition-fast);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-bottom-color: #E05C5C;
}

.form-group.has-error .form-error {
  opacity: 1;
}

/* Contact Info Column */
.contact-info-column {
  padding-left: 1rem;
}

@media (max-width: 991px) {
  .contact-info-column {
    padding-left: 0;
  }
}

.contact-details-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  fill: var(--color-gold);
  width: 18px;
  height: 18px;
}

.contact-detail-content h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.contact-detail-content p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  white-space: pre-line;
}

/* Interactive Map Placeholder styling */
.map-container {
  height: 320px;
  border: 1px solid var(--border-light);
  position: relative;
  background-color: var(--bg-dark-card);
  overflow: hidden;
}

.map-placeholder-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(18,18,18,0.2) 0%, rgba(10,10,10,0.85) 100%),
              url('images/gallery_ambience.png') no-repeat center center/cover;
  opacity: 0.25;
  filter: grayscale(100%) contrast(1.2);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  z-index: 2;
}

.map-pin {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.15);
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  animation: floatPin 3s infinite ease-in-out;
}

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

.map-pin svg {
  fill: var(--color-gold);
  width: 22px;
  height: 22px;
}

.map-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.map-overlay p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}

/* 8. Footer Section */
footer {
  background-color: #050505;
  border-top: 1px solid var(--border-light);
  padding: 6rem 0 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 5rem;
  margin-bottom: 5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
}

.footer-brand .footer-logo {
  font-family: var(--font-logo);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.footer-brand .footer-logo span {
  color: var(--color-gold);
}

.footer-brand p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-bottom: 2.2rem;
  max-width: 320px;
}

@media (max-width: 991px) {
  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

@media (max-width: 991px) {
  .footer-socials {
    justify-content: center;
  }
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link svg {
  fill: var(--text-light-muted);
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.social-link:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
}

.social-link:hover svg {
  fill: var(--bg-dark);
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.8rem;
  color: #FFFFFF;
}

.footer-links-list {
  display: grid;
  gap: 1rem;
}

.footer-links-list a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-newsletter p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.newsletter-form {
  position: relative;
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-medium);
  padding: 0.8rem 0;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  outline: none;
  border-bottom-color: var(--color-gold);
}

.newsletter-submit {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-medium);
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.8rem 1rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.newsletter-submit:hover {
  color: #FFFFFF;
  border-bottom-color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

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

/* Toast Success Notification System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--color-gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
  padding: 1.5rem 2.2rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 320px;
  transform: translateX(120%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  fill: var(--color-gold);
  width: 14px;
  height: 14px;
}

.toast-body h5 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.toast-body p {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   Space Detail Pages
   ========================================================================== */

.space-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
}

.space-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.9) 100%);
  z-index: 1;
}

.space-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.space-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.space-hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  margin-bottom: 1rem;
}

.space-detail-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  padding: 6rem 0;
}

@media (max-width: 991px) {
  .space-detail-container {
    grid-template-columns: 1fr;
  }
}

.space-detail-text h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.space-detail-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.space-features-list {
  list-style: none;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.space-features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light-muted);
}

.space-features-list svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
}

.space-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

.space-gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.space-gallery-img:hover {
  border-color: var(--color-gold);
  transform: scale(1.02);
}

.space-booking-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-medium);
  padding: 3rem 2.5rem;
  position: sticky;
  top: 120px;
}

.space-booking-card h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ==========================================================================
   Custom Modal (Alert Replacement)
   ========================================================================== */

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(5px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-modal {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--color-gold);
  padding: 3rem 2.5rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.custom-modal-overlay.show .custom-modal {
  transform: translateY(0) scale(1);
}

.custom-modal-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.custom-modal-icon svg {
  fill: var(--color-gold);
  width: 30px;
  height: 30px;
}

.custom-modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.custom-modal-text {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.custom-modal-btn {
  background-color: var(--color-gold);
  color: var(--bg-dark);
  border: none;
  padding: 0.8rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-modal-btn:hover {
  background-color: var(--color-gold-light);
}
