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

:root {
  --bg-dark: #050505;
  --bg-light: #FFFFFF;
  --text-main: #FFFFFF;
  --text-inv: #000000;
  --gold-primary: #D4AF37;
  --gold-light: #F2D24B;
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);

  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

/* Navbar (Consistent with Home) */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  padding: 15px 0;
  border-bottom: var(--glass-border);
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .dot {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
}

.nav-link {
  color: #A1A1AA !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary) !important;
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold-primary);
  background: transparent;
  color: var(--gold-primary);
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

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

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn.ghost:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  background: #000;
  overflow: hidden;
}

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

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

.page-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #ccc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.25rem;
  color: #aaa;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Alternating Sections */
.section-white {
  background: #FFFFFF;
  color: #000000;
  padding: 120px 0;
}

.section-black {
  background: #050505;
  color: #FFFFFF;
  padding: 120px 0;
}

.sec-heading {
  font-size: 3rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.section-white .sec-heading {
  color: #000;
}

.section-black .sec-heading {
  color: #fff;
}

.section-white .sec-heading::after {
  background: var(--gold-primary);
}

.section-black .sec-heading::after {
  background: var(--gold-primary);
}

.lead-text {
  font-size: 1.15rem;
  opacity: 0.8;
  margin-bottom: 30px;
  font-weight: 300;
}

/* Images */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.img-frame img {
  width: 100%;
  display: block;
  transition: transform 0.7s ease;
}

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

/* Grid Layouts */
.journey-grid,
.values-grid {
  margin-top: 60px;
}

/* Value Cards */
.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  height: 100%;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold-primary);
}

.section-white .value-card {
  background: #f9f9f9;
  border: 1px solid #eee;
}

.section-white .value-card h3 {
  color: #000;
}

.section-white .value-card p {
  color: #555;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--gold-primary);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

/* Footer CTA */
.footer-cta {
  padding: 120px 0;
  /* Same gradient as home page final CTA */
  background: radial-gradient(600px 300px at 20% 0%, rgba(194, 31, 48, .35), transparent 60%), radial-gradient(800px 400px at 80% 100%, rgba(242, 210, 75, .3), transparent 60%), #0a0a0c;
  text-align: center;
  border-top: 1px solid #222;
}

/* Footer */
footer {
  background: #000;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #111;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and Below (max-width: 991px) */
@media (max-width: 991px) {
  .header {
    padding: 15px 0;
  }

  .header.scrolled {
    padding: 10px 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-collapse {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px;
    margin-top: 15px;
    border-radius: 8px;
    border: var(--glass-border);
  }

  .navbar-nav {
    gap: 0 !important;
  }

  .navbar-nav .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .navbar-nav .nav-item:last-child .btn {
    margin-top: 15px;
    width: 100%;
    text-align: center;
  }

  .hero {
    height: 70vh;
    padding-top: 100px;
  }

  .page-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .section-white,
  .section-black {
    padding: 80px 0;
  }

  .sec-heading {
    font-size: 2.25rem;
    margin-bottom: 20px;
  }

  .lead-text {
    font-size: 1rem;
  }

  .img-frame {
    margin-top: 30px;
  }

  .value-card {
    padding: 30px;
  }

  .value-icon {
    font-size: 2.5rem;
  }

  .value-card h3 {
    font-size: 1.25rem;
  }

  .footer-cta {
    padding: 80px 0;
  }

  .footer-cta h2 {
    font-size: 1.75rem !important;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .hero {
    height: 60vh;
    min-height: 400px;
    padding-top: 80px;
  }

  .hero-content {
    padding: 0 15px;
  }

  .page-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-subtitle {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .section-white,
  .section-black {
    padding: 60px 0;
  }

  .sec-heading {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }

  .sec-heading.text-center {
    text-align: left !important;
    width: auto;
  }

  .lead-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* ZigZag layout stacks on mobile */
  .row.flex-row-reverse {
    flex-direction: column !important;
  }

  .img-frame {
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .value-card {
    padding: 25px 20px;
    margin-bottom: 15px;
  }

  .value-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .value-card p {
    font-size: 0.9rem;
  }

  .footer-cta {
    padding: 60px 0;
  }

  .footer-cta h2 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }

  .footer-cta p {
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.8rem;
  }

  footer {
    padding: 30px 15px;
    font-size: 0.8rem;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .navbar-brand {
    font-size: 1.1rem;
  }

  .brand .dot {
    width: 6px;
    height: 6px;
  }

  .hero {
    height: 55vh;
    min-height: 350px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 0.875rem;
  }

  .section-white,
  .section-black {
    padding: 50px 0;
  }

  .sec-heading {
    font-size: 1.5rem;
  }

  .lead-text {
    font-size: 0.9rem;
  }

  .value-card {
    padding: 20px 15px;
  }

  .value-icon {
    font-size: 1.75rem;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }

  .footer-cta h2 {
    font-size: 1.25rem !important;
  }

  /* Inline list on philosophy section */
  ul[style] li {
    font-size: 0.9rem !important;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .value-card:hover {
    transform: none;
  }

  .img-frame:hover img {
    transform: none;
  }

  .btn:hover {
    background: transparent;
    color: var(--gold-primary);
  }

  .btn.ghost:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
  }
}

/* Floating Action Buttons */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  animation: pulse 2s infinite;
}

.floating-btn.whatsapp:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
  color: #fff;
}

.floating-btn.call {
  background: linear-gradient(135deg, var(--gold-primary), #B4941F);
}

.floating-btn.call:hover {
  background: linear-gradient(135deg, #B4941F, #8B7016);
  color: #fff;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 767px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }

  .floating-btn {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 480px) {
  .floating-btn {
    width: 50px;
    height: 50px;
  }
}