:root {
  /* Cream Light Palette */
  --bg-dark: #FAF6ED; /* Cream */
  --bg-surface: #F2EBE0; /* Darker Cream */
  --color-primary: #1a365d; /* Damirsa Dark Blue for text */
  --color-accent: #7aa048; /* Damirsa Green */
  --color-accent-dark: #457a00;
  --color-muted: #5f6c7b;
  
  /* Layout */
  --container-w: 1440px;
  --radius-lg: 32px;
  --radius-xl: 60px;
  
  /* Typos */
  --font-display: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-smooth: cubic-bezier(0.77, 0, 0.175, 1);
}

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

.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s;
}

.custom-cursor.hover {
  width: 60px; height: 60px;
  background: transparent;
  border: 2px solid var(--color-accent);
}

::selection {
  background-color: var(--color-primary);
  color: #fff;
}

body {
  font-family: var(--font-display);
  background-color: var(--bg-dark);
  color: var(--color-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

/* Typography Scale */
h1 {
  font-size: clamp(4rem, 8vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

p {
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  line-height: 1.6;
  color: var(--color-muted);
}

.text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 54, 93, 0.3);
}

.smooth-wrapper {
  overflow: hidden;
}

/* Navigation */
header {
  position: fixed;
  top: 0; width: 100%;
  padding: 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.5s ease;
}

header.scrolled {
  padding: 1rem 2rem;
  background: rgba(250, 246, 237, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.logo img {
  height: 120px;
  transition: height 0.5s var(--transition-smooth);
  mix-blend-mode: multiply; /* Perfect for extracting white backgrounds on cream bg */
}

header.scrolled .logo img {
  height: 70px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 120%; right: 0;
  background: var(--bg-surface);
  min-width: 280px; padding: 1.5rem 0;
  border-radius: 12px;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--transition-smooth);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-menu a {
  display: block; padding: 0.8rem 2rem;
  font-size: 0.9rem; text-transform: none; font-weight: 500;
}

.dropdown-menu a:hover {
  background: rgba(26,54,93,0.05); color: var(--color-accent);
}

/* V2 Hero Section (Cinematic) */
.hero-v2 {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  overflow: hidden;
}

.hero-titles {
  z-index: 2;
  position: relative;
}

.title-line {
  overflow: hidden;
}

.title-line h1 {
  transform: translateY(100%);
  will-change: transform;
}

/* Video/Slide Wrapper in Hero (Reacts to Scroll) */
.hero-video-container {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 500px;
  height: 700px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  z-index: 0;
  will-change: width, height, transform, border-radius;
  box-shadow: 0 20px 50px rgba(26,54,93,0.2);
}

.hero-video-container .hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  will-change: transform, opacity;
  transition: opacity 1.5s ease-in-out;
}

.hero-video-container .hero-slide.active {
  opacity: 0.9;
}

/* Overlay gradient for legibility */
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Services V2 */
.services-v2 {
  padding: 10rem 4rem;
  position: relative;
}

.section-head {
  margin-bottom: 5rem;
  overflow: hidden;
}

.section-head h2 {
  transform: translateY(100%);
}

.service-item-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 15vh;
  opacity: 0;
  transform: translateY(100px);
}

.service-num {
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-accent);
  margin-bottom: 1rem;
}

.service-info h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.service-info .btn-primary {
  margin-top: 2rem;
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary);
  color: #fff;
}

.service-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26,54,93,0.15);
}

.service-visual img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Generic Section padding */
.section { padding: 8rem 4rem; }

/* Building Section */
.building-parallax {
  height: 120vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.bp-image img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.7;
}

.bp-content {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(250, 246, 237, 0.95);
  backdrop-filter: blur(20px);
  padding: 5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,54,93,0.1);
  max-width: 800px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.bp-content h2 { margin-bottom: 1.5rem; color: var(--color-primary); }
.bp-content p { color: var(--color-muted); }

/* Footer V2 */
.footer-v2 {
  background: #F2EBE0;
  padding: 8rem 4rem 2rem;
  border-top: 1px solid rgba(26,54,93,0.05);
}

.footer-huge-text {
  font-size: clamp(4rem, 12vw, 15rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.05em;
  color: var(--color-primary);
  opacity: 0.05;
}

.footer-grid-v2 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-grid-v2 h4 { font-size: 1.2rem; margin-bottom: 2rem; color: var(--color-primary); }
.footer-grid-v2 ul { list-style: none; }
.footer-grid-v2 ul li { margin-bottom: 1rem; }
.footer-grid-v2 a { color: var(--color-muted); text-decoration: none; font-size: 1.1rem; }
.footer-grid-v2 a:hover { color: var(--color-accent); }

.socials-v2 { display: flex; gap: 1rem; }
.socials-v2 a {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(26,54,93,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
.socials-v2 a:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

/* V2 Interior Pages Header */
.page-header-v2 {
  height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 0 4rem 4rem;
  position: relative;
}

.header-overlay-v2 {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(250,246,237,0.95) 0%, rgba(250,246,237,0.2) 100%);
  z-index: 1;
}

.page-header-v2 h1 {
  position: relative; z-index: 2;
  font-size: clamp(3rem, 6vw, 7rem);
}

.page-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.7;
}

/* Interior Grid */
.detail-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 6rem;
  padding: 6rem 4rem;
}

.detail-content h3 { margin: 3rem 0 1.5rem; color: var(--color-accent); }

.sidebar-v2 {
  position: sticky; top: 15vh;
  background: var(--bg-surface);
  padding: 3rem; border-radius: var(--radius-lg);
  border: 1px solid rgba(26,54,93,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.sidebar-v2 h4 { margin-bottom: 2rem; color: var(--color-primary); }
.sidebar-v2 a { display: block; margin-bottom: 1.5rem; color: var(--color-muted); text-decoration: none; font-size: 1.1rem; }
.sidebar-v2 a:hover, .sidebar-v2 a.active { color: var(--color-accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.5rem; border-radius: 50px; font-weight: 600; cursor: pointer; text-decoration: none; transition: 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
  body { cursor: auto; }
  .custom-cursor { display: none; }
  .hero-v2 { padding: 0 2rem; justify-content: flex-end; padding-bottom: 4rem; }
  .hero-video-container { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 70vh; opacity: 0.8; border-radius: 0; transform: none !important; }
  .nav-links { display: none; } 
  .service-item-v2 { grid-template-columns: 1fr; }
  .detail-grid-v2 { grid-template-columns: 1fr; padding: 4rem 2rem; }
  .footer-grid-v2 { grid-template-columns: 1fr; }
  .bp-content { padding: 2rem; }
}

/* --- Booking Modal Program --- */
.booking-overlay {
    position: fixed; inset: 0;
    background: rgba(250,246,237,0.95); backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
}
.booking-overlay.active {
    opacity: 1; visibility: visible;
}
.booking-card {
    background: #fff;
    padding: 4rem; border-radius: var(--radius-lg);
    width: 90%; max-width: 600px;
    border: 1px solid rgba(26,54,93,0.1);
    position: relative;
    transform: translateY(50px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}
.booking-overlay.active .booking-card {
    transform: translateY(0);
}
.close-btn {
    position: absolute; top: 1.5rem; right: 2rem;
    background: transparent; border: none; color: var(--color-primary);
    font-size: 1.5rem; cursor: pointer; transition: 0.3s;
}
.close-btn:hover { color: var(--color-accent); }

.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; margin-bottom: 0.5rem; color: var(--color-muted); font-size: 0.9rem; font-weight: 600; }
.input-group input, .input-group select {
    width: 100%; padding: 1rem; border-radius: 8px;
    background: #FAF6ED; color: var(--color-primary);
    border: 1px solid rgba(26,54,93,0.1);
    font-size: 1rem; font-family: inherit;
    outline: none; transition: border 0.3s;
}
.input-group input:focus, .input-group select:focus {
    border-color: var(--color-accent);
}
.input-group select option { background: #fff; color: var(--color-primary); }