:root {
  /* Design Tokens */
  --color-background: #F9F7F2; /* Ivory */
  --color-foreground: #262626; /* Charcoal */
  
  --color-primary: #8C7335;    /* Muted Gold */
  --color-primary-hover: #BFA564;
  --color-primary-light: #F2EBD9;
  
  --color-secondary: #F2F0E9;
  --color-muted: #737373;
  --color-border: #E5E5E5;
  --color-white: #FFFFFF;
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  
  --spacing-container: 1200px;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  --radius-sm: 4px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-foreground);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

ul {
  list-style: none;
}

/* Layout Utilities */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.text-center { text-align: center; }
.min-h-screen { min-height: 100vh; }
.w-full { width: 100%; }
.hidden { display: none; }

/* Responsive Grid */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:flex-row { flex-direction: row; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
}

/* Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.btn-outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

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

.btn-ghost:hover {
  background-color: var(--color-primary-light);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  /*background: transparent;*/
  background-color: rgba(255, 255, 255, 0.95);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  text-transform: uppercase;
}

.nav-links {
  display: none;
}

.scrolled .brand-logo{
    color: var(--color-primary);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
}



.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  position: relative;
}

.scrolled .nav-item{
    color: var(--color-foreground);
}

.nav-item:hover, .nav-item.active {
  color: var(--color-primary);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-foreground);
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.3s ease-out forwards;
}

.mobile-menu.open {
  display: flex;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out 0.2s forwards;
}

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

.hero-tagline {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title { font-size: 5rem; }
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Generic Section Styles */
.section {
  padding: 6rem 0;
}

.section-secondary {
  background-color: var(--color-secondary);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--color-foreground);
  color: var(--color-background);
  padding: 4rem 0 2rem 0;
}

.footer-title {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  display: block;
  color: #999;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-primary);
}

/* Utilities specific */
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-muted); }
.uppercase { text-transform: uppercase; }
.font-serif { font-family: var(--font-serif); }
.font-bold { font-weight: 700; }
.tracking-wide { letter-spacing: 0.1em; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* Accordion (Vanilla JS) */
.accordion {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-foreground);
}

.accordion-trigger:hover {
  color: var(--color-primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-right: 1rem;
}

.accordion-inner {
  padding-bottom: 1.5rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  max-height: 500px; /* Arbitrary large height */
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Modal / Lightbox */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 4px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-modal:hover {
  color: var(--color-primary);
}




/* Announcement Bar */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-primary-hover)
  );
  color: var(--color-white);
  z-index: 1100;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  position: relative;
}

.announcement-text {
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
}

.announcement-text:hover {
  text-decoration: underline;
}

.announcement-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  opacity: 0.8;
}

.announcement-close:hover {
  opacity: 1;
}

/* Push header down when announcement exists */
.announcement-bar + .header {
  top: 42px;
}

@media (max-width: 768px) {
  .announcement-text {
    font-size: 0.75rem;
  }
}




.floating-cta {
  position: fixed;
  bottom: 20px;
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Left - Call */
.call-cta {
  left: 20px;
  background-color: #8C7335; /* Call blue */
}

/* Right - WhatsApp */
.whatsapp-cta {
  right: 20px;
  background-color: #25D366; /* WhatsApp green */
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

/* Mobile friendly */
@media (max-width: 480px) {
  .floating-cta {
    font-size: 14px;
    padding: 12px 16px;
    bottom: 15px;
  }

  .call-cta {
    left: 15px;
  }

  .whatsapp-cta {
    right: 15px;
  }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

