/* ============================================================
   modern-ui.css  —  v2.0 (Luxury & Immersive UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300;1,9..40,400&family=Satisfy&display=swap');

:root {
  /* Luxury Palette */
  --c-deep: #0A4D4A;
  --c-primary: #048a86;
  --c-accent: #D4AF37;
  /* Gold */
  --c-cream: #F0EDE8;
  /* Slightly darker cream for more mood */
  --c-text: #2C3E50;
  --c-muted: #7F8C8D;

  --glass-white: rgba(255, 255, 255, 0.7);
  --glass-dark: rgba(10, 77, 74, 0.85);
  --blur: blur(15px);

  /* Typography — clear hierarchy */
  --font-serif: 'Satisfy', cursive;
  /* Headings only */
  --font-sans: 'DM Sans', sans-serif;
  /* Body & content */
  --font-fancy: 'Satisfy', serif;
  /* Decorative accents */

  --ease-lux: cubic-bezier(0.23, 1, 0.32, 1);
  --radius-lux: 2rem;
  --shadow-lux: 0 10px 40px rgba(0, 0, 0, 0.08);

  --cursor-size: 8px;
  --cursor-blend: 20px;
}

* {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

*::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari */
}

/* ──────────────────────────────────────────
   1. GLOBAL RESET & BASE
   ────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  background-color: var(--c-cream);
  color: var(--c-text);
  overflow-x: hidden;
  line-height: 1.8;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

@media (min-width: 992px) {

  section,
  .container,
  .container-fluid,
  [class*="col"] {
    overflow: visible !important;
    height: auto !important;
  }
}

@media (max-width: 1024px) {
  body {
    cursor: auto;
  }


}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--c-deep);
  letter-spacing: -0.02em;
  text-transform: capitalize;
  position: relative;
}

h2 {
  display: block;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--c-accent);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

section {
  padding: 100px 0;
}

.fancy-accent {
  font-family: var(--font-fancy);
  color: var(--c-accent);
  font-size: 1.2em;
}

/* ──────────────────────────────────────────
   2. IMMERSIVE HERO
   ────────────────────────────────────────── */
#hero-v2 {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-deep);
}

#hero-v2 h1::after {
  display: none;
}

/* No gold line on hero title */

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: brightness(0.7) blur(1.5px);
  transform: scale(1.15);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay-v2 {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 40px;
}

.hero-title {
  font-size: 5.5rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: white;
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1s var(--ease-lux) forwards;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1s var(--ease-lux) 0.3s forwards;
}

.hero-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Profile Photo Styling */
.profile-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.profile-card {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 auto 20px;
  transition: transform 0.5s var(--ease-lux);
}

.profile-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
    font-style: italic;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  section {
    padding: 60px 0;
  }

  h2 {
    font-size: 2rem;
  }

  /* Horizontal breathing room for all content blocks */
  .card-lux,
  .timeline-item-v2,
  .timeline-content-v2,
  .card-grid-v2,
  .card-grid-v3,
  .img-frame-lux {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  /* Sections and containers get extra side padding */
  section .container,
  section>.container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ──────────────────────────────────────────
   3. FLOATING NAVBAR
   ────────────────────────────────────────── */
.nav-floating {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: var(--glass-white);
  backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  box-shadow: var(--shadow-lux);
  transition: all 0.5s var(--ease-lux);
  overflow: hidden;
  /* For progress bar line */
}

/* Scroll Progress Line */
.nav-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--c-accent);
  width: 0%;
  transition: width 0.1s linear;
}

.nav-floating.shrink {
  width: 70%;
  top: 10px;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-floating .btn-lux {
  padding: 8px 22px;
  /* era 12px 35px */
  font-size: 0.78rem;
  /* era 0.85rem */
}

.nav-brand-v2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.8rem;
  letter-spacing: none;
  text-transform: none;
  font-style: italic;
  color: var(--c-deep);
}

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

.nav-links-v2 a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-style: none;
  color: var(--c-deep);
  position: relative;
}

.nav-links-v2 a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.3s ease;
}

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

/* Ensure inputs and buttons use the unified font */
input,
textarea,
select {
  font-family: var(--font-serif) !important;
}

@media (max-width: 991px) {
  .nav-floating {
    width: 95%;
    padding: 10px 15px;
    top: 10px;
  }

  .nav-floating .btn-lux {
    padding: 8px 15px;
    font-size: 0.5rem;
  }

  .nav-brand-v2 {
    font-size: 1.1rem;
  }

  .nav-floating .btn-lux {
    padding: 8px 15px;
    font-size: 0.7rem;
  }
}

/* ──────────────────────────────────────────
   4. LUXURY CARDS (Services)
   ────────────────────────────────────────── */
/* Safari scrollbar fix */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {

    .card-lux,
    .img-frame-lux,
    .timeline-content-v2,
    section {
      overflow: clip !important;
    }
  }
}

/* Ensure rows containing cards use stretch alignment */
.row:has(.card-lux) {
  align-items: stretch;
}

/* Columns containing cards become flex to allow height: 100% to work on child */
[class*="col"]:has(.card-lux) {
  display: flex;
  flex-direction: column;
}

.card-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 20px;
}

.card-grid-v3 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.img-frame-lux {
  position: relative;
  overflow: clip;
  border-radius: 2rem;
  box-shadow: var(--shadow-lux);
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: 2rem;
  /* Spacing for mobile by default */
}

@media (min-width: 992px) {
  .img-frame-lux {
    margin-top: 0;
  }
}

.img-frame-lux img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-lux);
}

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

.rounded-plus {
  border-radius: 2rem !important;
}

.card-lux {
  background: white;
  border-radius: var(--radius-lux);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-lux);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.5s var(--ease-lux);
  position: relative;
  overflow: clip;

  /* Equal height layout */
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
}

.card-lux::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--c-primary);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-lux);
}

.card-lux:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.card-lux:hover::before {
  transform: scaleX(1);
}

.card-lux i {
  font-size: 2.2rem;
  color: var(--c-accent);
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.card-lux h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: -0.01em;
}

.card-lux p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  flex-grow: 1;
  /* Push content to fill available space */
}

@media (max-width: 768px) {
  .card-lux {
    padding: 20px;
  }

  .card-lux i {
    font-size: 1.8rem;
  }
}

/* ──────────────────────────────────────────
   5. TIMELINE LUXURY
   ────────────────────────────────────────── */
/* ──────────────────────────────────────────
   5. LUXURY TIMELINE (About Section)
   ────────────────────────────────────────── */
.timeline-v2 {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* The vertical line */
.timeline-v2::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--c-accent), var(--c-accent), transparent);
  opacity: 0.6;
}

.timeline-item-v2 {
  position: relative;
  margin-bottom: 35px;
  /* Tighter grouping on mobile */
  padding-left: 50px;
  /* Closer to the line */
}

/* Luxury Ring Dot */
.timeline-item-v2::after {
  content: '';
  position: absolute;
  left: 11px;
  /* Centers a 20px dot perfectly on the 2px line at left: 20px */
  top: 24px;
  /* Aligns beautifully with the top area of the card */
  width: 20px;
  height: 20px;
  background: var(--c-cream);
  /* Hollow look matching background */
  border: 4px solid var(--c-accent);
  /* Golden ring */
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  z-index: 1;
}

.timeline-content-v2 {
  background: white;
  padding: 30px;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lux);
  border: 1px solid rgba(212, 175, 55, 0.1);
  /* Subtle gold border */
  position: relative;
  transition: transform 0.4s var(--ease-lux);
}

.timeline-content-v2:hover {
  transform: translateX(10px);
}

.timeline-content-v2 p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-text);
  font-weight: 300;
}

@media (max-width: 768px) {
  .timeline-content-v2 {
    padding: 20px;
  }

  .timeline-content-v2 p {
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) {
  .timeline-v2::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item-v2 {
    width: 50%;
    padding: 0 40px;
  }

  .timeline-item-v2:nth-child(odd) {
    margin-left: 0;
    text-align: right;
  }

  .timeline-item-v2:nth-child(even) {
    margin-left: 50%;
    text-align: left;
  }

  .timeline-item-v2::after {
    left: auto;
    right: -10px;
    /* Centers 20px ring exactly */
  }

  .timeline-item-v2:nth-child(even)::after {
    left: -10px;
    /* Centers 20px ring exactly */
    right: auto;
  }
}

/* ──────────────────────────────────────────
   6. CONTACT & CTAs
   ────────────────────────────────────────── */
.btn-lux {
  font-family: var(--font-sans);
  background: var(--c-deep);
  color: white;
  padding: 12px 35px;
  border-radius: 50px;
  /* Full 'Pill' rounding */
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  transition: all 0.4s var(--ease-lux);
  border: 1px solid var(--c-deep);
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  line-height: normal;
  vertical-align: middle;
}

.btn-lux:hover {
  background: white;
  color: var(--c-deep);
  border-color: var(--c-accent);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.btn-whatsapp-v2 {
  background: #2d5a43;
  /* Muted Forest Green */
  border-color: #2d5a43;
  color: white;
}

.btn-whatsapp-v2:hover {
  color: #2d5a43;
  background: white;
  border-color: #2d5a43;
}

/* ──────────────────────────────────────────
   7. REVEAL SCRIPTS
   ────────────────────────────────────────── */

/* Desktop: full slide-up + fade animation */
@media (min-width: 769px) {
  .reveal-v2 {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.5s var(--ease-lux);
  }

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

/* Mobile: Micro slide-up + fade animation (avoids scroll traps but still animates nicely) */
@media (max-width: 768px) {
  .reveal-v2 {
    opacity: 0;
    transform: translateY(15px);
    transition: all 1.2s var(--ease-lux);
  }

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

  /* Ensure page-level scrolling only */
  html,
  body {
    height: auto !important;
    overflow-x: hidden;
    overflow-y: auto;
  }
}