:root {
  --font-serif: "Cinzel", "Playfair Display", "Georgia", serif;
  --font-sans: "Montserrat", "Outfit", "Inter", "Segoe UI", sans-serif;
  
  --bg-color: #bfb2a2;
  --text-dark: #1e1a15;
  --text-medium: #4e443a;
  --text-light: #7c7062;
  --accent-color: #8c775d;
  
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* overflow: hidden; */
  font-family: var(--font-sans);
  background: var(--bg-color);
}

/* Hero container */
.hero {
  position: relative;
  width: 100%;
}

/* Background images */
.bg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop image visible by default */
.desktop {
  display: block;
}
.mobile {
  display: none;
}

/* Mobile switch */
@media (max-width: 768px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
}

/* Water canvas overlay */
#waterCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.55;
}

/* Optional future content */
.content-layer {
  position: relative;
  z-index: 10;
}

.call-float {
  position: fixed;
  bottom: 105px; /* 30px + 60px (whatsapp) + 15px gap */
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  z-index: 20;
  animation: pulse-blue 2.5s infinite;
  transition: transform 0.3s ease;
}

.call-float:hover {
  transform: scale(1.1);
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(0, 123, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #25d366, #1ebe5d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  z-index: 20;
  animation: pulse 2.5s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Soft luxury pulse */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Slightly smaller on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
  .call-float {
    width: 54px;
    height: 54px;
    bottom: 90px; /* 20px + 54px (whatsapp) + 16px gap */
    right: 20px;
  }
}

/* Transparent Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 25px 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 60px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

/* Hide logo in navbar on homepage */
.home-page .navbar .logo {
  display: none;
}

/* Center navbar button on homepage and style it */
.home-page .navbar-container {
  justify-content: center;
}

.home-page .navbar .nav-item {
  font-size: 15px;
  letter-spacing: 4px;
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-weight: 500;
  text-align: center;
}

.home-page .navbar .nav-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.home-page .navbar .nav-item::after {
  display: none;
}

.logo:hover {
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.nav-item {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

/* Dark Navbar version for light page backgrounds */
.navbar.navbar-dark {
  background: rgba(191, 178, 162, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.navbar-dark .logo {
  color: var(--text-dark);
}

.navbar.navbar-dark .nav-item {
  color: var(--text-dark);
}

.navbar.navbar-dark .nav-item::after {
  background-color: var(--text-dark);
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 20px;
    gap: 20px;
  }
  .logo {
    font-size: 18px;
    letter-spacing: 3px;
  }
  .nav-menu {
    gap: 15px;
    justify-content: center;
  }
  .nav-item {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .home-page .navbar .nav-item {
    font-size: 11px;
    letter-spacing: 2px;
    padding: 8px 16px;
  }
}

/* About Page Specific Styles */
.about-page {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-content {
  flex: 1;
  padding-top: 130px; /* space for the fixed navbar */
  padding-bottom: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .about-content {
    padding-top: 100px;
    padding-bottom: 50px;
  }
}

/* About Hero Section */
.about-hero {
  padding: 40px 0 60px;
  text-align: center;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 400;
  letter-spacing: 12px;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  animation: fadeInDown 1s ease;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--accent-color);
  text-transform: uppercase;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease;
}

.brand-divider {
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
  margin: 0 auto 40px;
}

.brand-paragraphs {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-medium);
  font-weight: 400;
}

.brand-paragraphs p {
  margin-bottom: 25px;
}

.brand-paragraphs p:last-child {
  margin-bottom: 0;
}

/* General Sections */
.about-section {
  padding: 60px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--text-dark);
  margin-bottom: 40px;
  position: relative;
  text-transform: uppercase;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

/* Grid layout */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .brand-title {
    font-size: 48px;
    letter-spacing: 8px;
  }
  .brand-subtitle {
    font-size: 13px;
    letter-spacing: 3px;
  }
  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
}

/* Cards */
.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.info-card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.card-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-medium);
  font-weight: 400;
}

.card-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Key highlights cards - slightly different highlight feel */
.highlight-card {
  border-left: 3px solid var(--accent-color);
}

.highlight-card:hover {
  border-left-color: var(--text-dark);
}

/* Footer Styling */
.about-footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(0, 0, 0, 0.02);
}

.about-footer p {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal Page Layout & Cards */
.legal-content {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.legal-block {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 30px;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.legal-block:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.legal-subtitle {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.legal-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .legal-block {
    padding: 20px;
    margin-bottom: 20px;
  }
  .legal-subtitle {
    font-size: 17px;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }
  .legal-block p {
    font-size: 13.5px;
    line-height: 1.7;
  }
}
