@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
  --color-black: #050505;
  --color-white: #FFFFFF;
  --color-gold: #d4af37;
  --color-gold-light: #f3e5ab;
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F5F5F5;
  --color-gray-800: #1f1f1f;
  
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --spacing-4: 16px;
  --spacing-6: 24px;
  --spacing-8: 32px;
  --spacing-12: 48px;
  --spacing-16: 64px;
  --spacing-24: 96px;
  --spacing-32: 128px;
  
  --container-max: 1400px;
  --radius-none: 0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background: var(--color-white);
}

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

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

ul {
  list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-black);
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-6);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--spacing-4);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  margin-bottom: var(--spacing-4);
}

p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: var(--spacing-4);
}

/* ========================================
   LAYOUT
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-8);
  }
}

section {
  padding: var(--spacing-16) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--spacing-24) 0;
  }
}

section.dark {
  background: var(--color-black);
  color: var(--color-white);
}

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

section.dark p {
  color: rgba(255, 255, 255, 0.7);
}

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

nav {
  background: #000; /* Pure black */
  padding: 24px 0;
  position: fixed; /* FIXED HEADER - ROBUST */
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

body {
    padding-top: 100px; /* Offset for fixed header */
}

/* Ensure mobile menu works with fixed header */
@media (max-width: 900px) {
    body { padding-top: 80px; }
}

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

nav .logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: block;
}

@media (max-width: 900px) {
  nav .logo {
    font-size: 1.0rem; /* Reduced logo size on mobile */
    max-width: 70%;    /* Prevent it from pushing toggle */
    line-height: 1.2;
  }
}

nav ul.nav-menu {
  display: flex;
  gap: 40px; /* Wider gap */
  align-items: center;
  margin: 0;
  padding: 0;
}

nav a.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  position: relative;
}

nav a.nav-link:hover, nav a.nav-link.active {
  color: var(--color-white);
}

nav a.nav-link:not(.cta-link)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

nav a.nav-link:not(.cta-link):hover::after {
  width: 100%;
}

nav .cta-link {
  border: 1px solid var(--color-white);
  padding: 10px 24px;
  color: var(--color-white) !important;
  transition: all 0.3s ease;
}

nav .cta-link:hover {
  background: var(--color-white);
  color: var(--color-black) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    padding: 10px; /* Increased padding for better touch target */
    min-width: 44px; /* Minimum accessible touch target size */
    min-height: 44px;
    display: flex; /* Centering the icon */
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
}

@media (max-width: 900px) {
  nav { padding: 15px 0; }
  .mobile-menu-toggle { display: block; }
  
  nav ul.nav-menu {
    display: flex; /* Ensure flex is active */
    position: fixed;
    top: 0; left: 0; width: 100%; 
    height: 100vh;
    height: 100dvh; /* Dynamic Viewport Height for Mobile Browsers */
    background: #000;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center items horizontally */
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    padding-bottom: 2rem;
  }
  
  nav ul.nav-menu.active { transform: translateY(0); }
  nav a.nav-link { font-size: 1.5rem; }
}

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

.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-24) var(--spacing-6);
  background: #111;
  margin-top: 0;
}

.hero.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Darker overlay for text legibility */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 2.5rem;
  font-style: italic;
  max-width: 600px;
}

/* ========================================
   PREMIUM FORM STYLING
   ======================================== */

.booking-section {
  background: var(--color-gray-50);
  padding: 0; /* Remove padding here, handle in grid */
}

.booking-wrapper {
  display: flex;
  flex-direction: column;
  background: #fff;
}

@media (min-width: 900px) {
  .booking-wrapper {
    flex-direction: row;
    min-height: 100vh; /* Split screen effect if wanted, or just distinct */
  }
}

/* Left Side: Dark Info Panel */
.booking-info {
  background-color: #000;
  color: #fff;
  padding: 4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.booking-info h3 { color: #fff; font-size: 2.5rem; margin-bottom: 2rem; }
.booking-info p { color: #aaa; margin-bottom: 2rem; }

.booking-features li {
  color: #ddd;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  display: flex; 
  gap: 1rem;
}
.booking-features i { color: var(--color-gold); }

/* Right Side: Form */
.booking-form-container {
  padding: 4rem;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.75rem;
}

/* Styled Inputs */
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 1.25rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0; /* Sharp */
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #000;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #000;
}

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

/* Button Styling */
.booking-form-container .btn-primary {
  width: 100%;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.5rem;
  border: none;
  border-radius: 0;
  margin-top: 1rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.booking-form-container .btn-primary:hover {
  opacity: 0.8;
}

/* ========================================
   CARDS & GRIDS
   ======================================== */

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  display: block;
  text-decoration: none;
}

.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

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

.card-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.card-meta {
  font-size: 0.95rem;
  color: #555;
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* ========================================
   BUTTONS GENERAL
   ======================================== */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background: #333;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-title { margin-bottom: 0.5rem; }
.section-subtitle { font-family: var(--font-serif); font-style: italic; color: #666; font-size: 1.2rem; margin: 0; }

footer {
  background: #000;
  color: #fff;
  padding: 5rem 0;
  margin-top: 5rem;
}

footer a { color: #888; transition: color 0.3s; }
footer a:hover { color: #fff; }
