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

/* CSS variables for layout and brand identity */
:root {
  --brand-navy: #14213d;
  --brand-green: #1e4620;
  --brand-gold: #c9a227;
  --brand-text: #1f2937;
  --brand-text-muted: #4b5563;
  --brand-text-light: #6b7280;
  --brand-bg: #ffffff;
  --brand-bg-sec: #f8fafc;
  --brand-border: #e5e7eb;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(20, 33, 61, 0.07), 0 10px 10px -5px rgba(20, 33, 61, 0.03);
}

/* Reset and general styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--brand-bg);
  color: var(--brand-text);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

main {
  flex-grow: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

/* Container & Grids */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Sticky Header styling */
header.header-main {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--brand-bg);
  border-bottom: 1px solid #f1f5f9;
  min-height: 80px;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.header-main.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-navy);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* Navigation Links */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link-item {
  position: relative;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-text-light);
  padding: 0.375rem 0;
  transition: color 0.2s ease;
}

.nav-link-item:hover, .nav-link-item.active {
  color: var(--brand-navy);
}

.nav-link-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: var(--brand-gold);
  width: 0;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-item:hover .nav-link-underline, 
.nav-link-item.active .nav-link-underline {
  width: 100%;
}

/* Our Expertise Dropdown */
.nav-dropdown-wrapper {
  position: relative;
  padding: 0.375rem 0;
  cursor: pointer;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-text-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-dropdown-wrapper:hover .nav-dropdown-btn,
.nav-dropdown-wrapper.active .nav-dropdown-btn {
  color: var(--brand-navy);
}

.nav-dropdown-chevron {
  width: 0.875rem;
  height: 0.875rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.nav-dropdown-wrapper:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
  color: var(--brand-navy);
}

.nav-dropdown-menu {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 4px);
  top: 100%;
  margin-top: 0.5rem;
  width: 14rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background-color: var(--brand-bg);
  padding: 0.625rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-arrow {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-left: 1px solid rgba(226, 232, 240, 0.8);
  background-color: var(--brand-bg);
}

.nav-dropdown-item {
  display: block;
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4b5563;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover, .nav-dropdown-item.active {
  background-color: var(--brand-bg-sec);
  color: var(--brand-navy);
}

/* Mobile Hamburger button */
.hamburger-container {
  display: flex;
}

.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  padding: 0.5rem;
  color: var(--brand-text-light);
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hamburger-btn:hover {
  background-color: var(--brand-bg-sec);
  color: var(--brand-navy);
}

.hamburger-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Mobile Menu Drawer styling */
.mobile-menu-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--brand-border);
  background-color: var(--brand-bg);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  display: none;
  z-index: 49;
}

.mobile-menu-drawer.is-open {
  display: block;
}

.mobile-menu-content {
  padding: 0.5rem 1rem 1.25rem 1rem;
}

.mobile-nav-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.75rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4b5563;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--brand-bg-sec);
  color: var(--brand-navy);
}

.mobile-nav-link.active {
  border-left: 4px solid var(--brand-gold);
  padding-left: 0.5rem;
}

/* Mobile dropdown */
.mobile-dropdown-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  padding: 0.75rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4b5563;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-dropdown-btn:hover, .mobile-dropdown-btn.active {
  background-color: var(--brand-bg-sec);
  color: var(--brand-navy);
}

.mobile-dropdown-chevron {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.mobile-dropdown-btn.is-open .mobile-dropdown-chevron {
  transform: rotate(180deg);
}

.mobile-dropdown-list {
  display: none;
  padding-left: 1rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  background-color: rgba(248, 250, 252, 0.5);
  border-radius: 0.5rem;
  margin-top: 0.25rem;
}

.mobile-dropdown-list.is-open {
  display: block;
}

.mobile-dropdown-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  transition: all 0.2s ease;
}

.mobile-dropdown-link:hover, .mobile-dropdown-link.active {
  color: var(--brand-navy);
}

/* Primary Button Styling */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: var(--brand-navy);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid var(--brand-navy);
  box-shadow: 0 4px 6px -1px rgba(20, 33, 61, 0.1), 0 2px 4px -1px rgba(20, 33, 61, 0.06);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.btn-primary:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(30, 70, 32, 0.25);
}

.btn-primary:active {
  transform: translateY(0.5px) scale(0.97);
  transition: transform 0.1s ease;
}

/* Secondary Button Styling */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
  border: 1.5px solid var(--brand-navy);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.btn-secondary:hover {
  color: #ffffff;
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -3px rgba(30, 70, 32, 0.18);
}

.btn-secondary:active {
  transform: translateY(0.5px) scale(0.97);
  transition: transform 0.1s ease;
}

.btn-primary svg, .btn-secondary svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover svg, .btn-secondary:hover svg {
  transform: translateX(4px);
}

/* Luxury Card Styling */
.card-luxury {
  background-color: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-luxury:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 33, 61, 0.15);
}

/* Form inputs styling */
.form-input-premium {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  background-color: #ffffff;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--brand-text);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease-in-out;
}

.form-input-premium:focus {
  border-color: var(--brand-navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.1);
}

.form-input-premium:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
}

/* Typography styles */
.font-serif-heading {
  font-family: var(--font-serif);
}

.font-sans-body {
  font-family: var(--font-sans);
}

/* Section definitions */
.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

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

/* WhatsApp Floating Button styling */
.whatsapp-floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: flex;
  height: 56px;
  width: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-floating-widget:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-floating-widget:active {
  transform: scale(0.95);
}

.whatsapp-widget-icon {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.whatsapp-ping-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: flex;
  height: 14px;
  width: 14px;
}

.whatsapp-ping-animate {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
  border-radius: 9999px;
  background-color: #25D366;
  opacity: 0.75;
}

.whatsapp-ping-dot {
  position: relative;
  display: inline-flex;
  height: 14px;
  width: 14px;
  border-radius: 9999px;
  background-color: #25D366;
}

/* Footer layout */
.footer-main {
  border-top: 1px solid var(--brand-border);
  background-color: var(--brand-bg-sec);
  padding-top: 2.5rem;
  padding-bottom: 1rem;
  color: #4b5563;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-logo-img {
  height: 64px;
  width: 64px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-navy);
  line-height: 1.2;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-navy);
  border-left: 2px solid var(--brand-gold);
  padding-left: 0.5rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-list-item-link {
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  transition: color 0.2s ease;
}

.footer-list-item-link:hover {
  color: var(--brand-navy);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.footer-bottom-copyright {
  margin-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.625rem;
  color: #9ca3af;
}

/* Rich Text Styles */
.rich-text {
  line-height: 1.8;
  font-family: var(--font-sans);
  color: #374151;
}

.rich-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.rich-text h3:first-child {
  margin-top: 0;
}

.rich-text p {
  margin-bottom: 1.5rem;
}

.rich-text ul {
  list-style-type: disc;
  padding-left: 1.75rem;
  margin-bottom: 1.75rem;
}

.rich-text li {
  margin-bottom: 0.75rem;
}

.rich-text a {
  color: var(--brand-green);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.rich-text a:hover {
  color: var(--brand-gold);
}
