/* 
   Kadepathar Resort - Premium nature-inspired stylesheet
   Color Palette: Forest Green, White, Beige, Light Brown
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color system */
  --primary: #1b4332;       /* Deep Forest Green */
  --primary-hover: #2d6a4f; /* Medium Forest Green */
  --primary-light: #d8f3dc; /* Very Light Forest Green */
  --beige: #f4f1de;         /* Sand Beige */
  --beige-dark: #e0dbcd;    /* Dark Beige */
  --brown: #8d6e63;         /* Light Clay Brown */
  --brown-dark: #5d4037;    /* Deep Earthy Brown */
  --white: #ffffff;
  --off-white: #faf9f6;     /* Alabaster White */
  --dark-text: #2c3531;     /* Charcoal with Green undertone */
  --light-text: #6b705c;    /* Olive Muted Text */
  
  /* Font variables */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Shadow & Rounding */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(27, 67, 50, 0.08), 0 4px 6px -2px rgba(27, 67, 50, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(27, 67, 50, 0.12), 0 10px 10px -5px rgba(27, 67, 50, 0.04);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* Base resets & styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brown), var(--primary-hover));
  width: 0%;
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

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

.section-title-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--brown);
  border-radius: var(--radius-full);
}

.section-desc {
  color: var(--light-text);
  font-size: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid var(--white);
}

.btn-white:hover {
  background-color: var(--beige);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-brown:hover {
  background-color: var(--brown-dark);
  transform: translateY(-2px);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(27, 67, 50, 0.05);
}

.header.scrolled {
  height: 70px;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.logo-icon,
.logo-img {
  width: 44px;
  height: 44px;
  max-height: 44px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--dark-text);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brown);
  transition: var(--transition-fast);
}

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

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

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Switcher Dropdown */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background-color: var(--white);
  border: 1px solid var(--beige-dark);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background-color: var(--beige);
  border-color: var(--brown);
}

.lang-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--light-text);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background-color: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27, 67, 50, 0.08);
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  overflow: hidden;
  z-index: 1002;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  transition: var(--transition-fast);
}

.lang-option:hover {
  background-color: var(--beige);
  color: var(--primary);
}

.lang-option.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--off-white);
  overflow: hidden;
  padding: 140px 0 100px 0;
  z-index: 1;
}

.hero-watermark {
  position: absolute;
  top: 12%;
  left: 5%;
  font-size: 14vw;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(27,67,50,0.035);
  font-family: var(--font-heading);
  pointer-events: none;
  z-index: 0;
  letter-spacing: 6px;
  user-select: none;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(120px);
  opacity: 0.35;
}

.shape-1 {
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background-color: var(--primary-light);
}

.shape-2 {
  bottom: -50px;
  left: -50px;
  width: 350px;
  height: 350px;
  background-color: var(--beige-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: left;
  opacity: 1;
}

.hero-subtitle-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  padding: 6px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--primary);
  animation: fadeInUp 1s ease 0.1s forwards;
  opacity: 0;
}

.title-light {
  font-weight: 300;
  font-style: italic;
  font-family: var(--font-heading);
  color: var(--brown);
}

.title-bold {
  font-weight: 700;
}

.hero-tagline {
  font-size: 16px;
  color: var(--light-text);
  margin-bottom: 44px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 480px;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
  opacity: 0;
}

.hero-morph-frame {
  width: 80%;
  height: 85%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(27,67,50,0.06);
  animation: morphShape 15s ease-in-out infinite;
  transition: border-radius 1s ease;
}

.hero-morph-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-detail-frame {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 45%;
  height: 45%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  z-index: 3;
  animation: floatSub 8s ease-in-out infinite;
}

.hero-detail-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-circle-badge {
  position: absolute;
  top: 20px;
  right: 0px;
  width: 110px;
  height: 110px;
  z-index: 4;
  animation: spinBadge 12s linear infinite;
}

.hero-circle-badge svg {
  width: 100%;
  height: 100%;
}

.hero-circle-badge text {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 600;
  fill: var(--primary);
  letter-spacing: 2.2px;
}

.badge-center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--brown);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* Float & Morph Animations Keyframes */
@keyframes morphShape {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 40% 60% 70% 30% / 50% 60% 40% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

@keyframes floatSub {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes spinBadge {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Floating Quick Booking Bar */
.booking-bar {
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  position: relative;
  z-index: 10;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.booking-bar-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr auto;
  gap: 20px;
  align-items: flex-end;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.booking-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.booking-input {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--beige-dark);
  background-color: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
  transition: var(--transition-fast);
  width: 100%;
  height: 44px;
}

.booking-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,67,50,0.08);
}

select.booking-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231b4332'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 32px;
}

.booking-bar-btn {
  height: 44px;
  width: 100%;
  padding: 0 32px;
  font-size: 14px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.about-content.animate {
  opacity: 1;
  transform: translateY(0);
}

.about-text {
  font-size: 17px;
  color: var(--light-text);
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-highlight-icon {
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-highlight-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

.about-highlight-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.about-highlight-desc {
  font-size: 13px;
  color: var(--light-text);
  line-height: 1.4;
}

.about-media {
  position: relative;
  opacity: 0;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.about-media.animate {
  opacity: 1;
  transform: scale(1);
}

.about-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--brown);
  border-radius: var(--radius-lg);
  transform: translate(12px, 12px);
  z-index: -1;
  transition: var(--transition-smooth);
}

.about-media:hover .about-img-wrapper::after {
  transform: translate(8px, 8px);
}

/* Rooms Section */
.rooms-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.room-card {
  flex: 0 1 calc(33.333% - 22px);
  min-width: 320px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(27, 67, 50, 0.03);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}

.room-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 67, 50, 0.08);
}

.room-img-container {
  height: 250px;
  position: relative;
  overflow: hidden;
  background-color: #eee;
}

.room-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-img-container img {
  transform: scale(1.08);
}

.room-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.room-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.room-title {
  font-size: 22px;
  font-weight: 600;
}

.room-price-tag {
  text-align: right;
  flex-shrink: 0;
}

.room-price-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--brown);
  display: block;
}

.room-price-unit {
  font-size: 11px;
  color: var(--light-text);
}

.room-desc {
  color: var(--light-text);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.room-meta {
  display: flex;
  gap: 20px;
  border-top: 1px solid rgba(27, 67, 50, 0.06);
  padding-top: 16px;
  margin-bottom: 24px;
}

.room-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--light-text);
}

.room-meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--brown);
}

.room-card .btn {
  width: 100%;
}

/* Events Section */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.event-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(27, 67, 50, 0.03);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.event-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 67, 50, 0.08);
}

.event-img-container {
  height: 240px;
  overflow: hidden;
  background-color: #eee;
}

.event-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-img-container img {
  transform: scale(1.08);
}

.event-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.event-card-desc {
  color: var(--light-text);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.event-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-text);
  font-weight: 500;
}

.event-features svg {
  width: 18px;
  height: 18px;
  fill: var(--brown);
  flex-shrink: 0;
}

.event-card .btn {
  width: 100%;
}

/* Amenities Section */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.amenity-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(27, 67, 50, 0.02);
  opacity: 0;
  transform: translateY(20px);
}

.amenity-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--beige-dark);
}

.amenity-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background-color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  transition: var(--transition-smooth);
}

.amenity-icon-wrapper svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  transition: var(--transition-smooth);
}

.amenity-card:hover .amenity-icon-wrapper {
  background-color: var(--primary);
}

.amenity-card:hover .amenity-icon-wrapper svg {
  fill: var(--white);
  transform: scale(1.1);
}

.amenity-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.amenity-desc {
  font-size: 13px;
  color: var(--light-text);
}

/* Gallery Section */
.gallery-filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--beige-dark);
  background-color: var(--white);
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 220px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}

.gallery-item.animate {
  opacity: 1;
  transform: scale(1);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(27,67,50,0) 40%, rgba(27,67,50,0.8) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--transition-smooth);
  z-index: 1;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}

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

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-title {
  color: var(--white);
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 18px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-fast);
  z-index: 2001;
}

.lightbox-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev svg, .lightbox-next svg, .lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

.contact-info-side {
  opacity: 0;
  transform: translateX(30px);
  transition: var(--transition-smooth);
}

.contact-info-side.animate {
  opacity: 1;
  transform: translateX(0);
}

.contact-card-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-fast);
  border: 1px solid rgba(27, 67, 50, 0.02);
}

.contact-item-card:hover {
  transform: translateX(4px);
  border-color: var(--beige-dark);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary);
}

.contact-item-details h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-details p, .contact-item-details a {
  font-size: 14px;
  color: var(--light-text);
}

.whatsapp-widget {
  background-color: #25D366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-widget svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.contact-form-side {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(27, 67, 50, 0.03);
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition-smooth);
}

.contact-form-side.animate {
  opacity: 1;
  transform: translateX(0);
}

.contact-form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--beige-dark);
  background-color: var(--off-white);
  font-size: 15px;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form-side .btn {
  width: 100%;
  margin-top: 10px;
}

.form-feedback {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  text-align: center;
  display: none;
  animation: fadeInUp 0.4s ease forwards;
}

.form-feedback.success {
  display: block;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(27, 67, 50, 0.15);
}

/* Map Wrapper */
.map-section {
  padding-bottom: 0;
}

.map-wrapper {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background-color: #0b1a14;
  color: #a7b5ae;
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--brown);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col-about h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-about h3 svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.footer-about-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--brown);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--brown);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-contact-list svg {
  width: 16px;
  height: 16px;
  fill: var(--brown);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-copyright {
  color: #7b8e85;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #7b8e85;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* Floating Actions */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
  }
  
  .hero-subtitle-line {
    justify-content: center;
  }
  
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    height: 460px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-morph-frame {
    width: 80%;
    height: 80%;
  }
  
  .hero-detail-frame {
    width: 45%;
    height: 45%;
  }

  .booking-bar-form {
    grid-template-columns: 1fr 1fr;
  }

  .booking-bar-btn {
    grid-column: span 2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .hero {
    padding: 100px 0 60px 0;
    min-height: auto;
  }
  
  .hero-watermark {
    display: none; /* Hide watermark on small devices */
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-tagline {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  .hero-visual {
    height: 380px;
  }
  
  .hero-circle-badge {
    width: 90px;
    height: 90px;
    top: 10px;
    right: -10px;
  }

  .booking-bar {
    padding: 20px;
    margin-top: 30px;
  }

  .booking-bar-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .booking-bar-btn {
    grid-column: span 1;
  }
  
  /* Mobile menu implementation */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(-100%);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .header-right {
    margin-right: 16px;
  }
  
  .header-right .btn-primary {
    display: none;
  }
  
  /* Hamburger menu transformations when active */
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-visual {
    height: 300px;
  }
  
  .hero-circle-badge {
    display: none; /* Hide badge on mobile */
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  
  .events-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Planning Console (Hero Upgrade)
   ========================================================================== */
.planner-console {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: 20px;
  padding: 24px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  width: 100%;
}

.planner-console-title {
  font-family: var(--font-header);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.planner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.planner-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.planner-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.1);
}

.planner-icon {
  background: rgba(27, 67, 50, 0.08);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.planner-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  transition: all 0.3s ease;
}

.planner-card:hover .planner-icon {
  background: var(--primary);
}

.planner-card:hover .planner-icon svg {
  fill: white;
}

.planner-details {
  display: flex;
  flex-direction: column;
}

.planner-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-text);
}

.planner-tagline {
  font-size: 0.75rem;
  color: var(--light-text);
  margin-top: 2px;
}

/* ==========================================================================
   Stay & Venue Cards Styles
   ========================================================================== */
.venue-tag {
  background: var(--brown) !important;
}

.venue-card {
  border: 1px solid rgba(45, 106, 79, 0.15);
}

/* ==========================================================================
   Dynamic Inquiry Form Tabs & Conditional Fields
   ========================================================================== */
.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.form-tabs::-webkit-scrollbar {
  height: 4px;
}

.form-tabs::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}

.form-tab {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--light-text);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.form-tab:hover {
  background: rgba(27, 67, 50, 0.05);
  color: var(--primary);
}

.form-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(27, 67, 50, 0.15);
}

.form-conditional-section {
  transition: all 0.3s ease;
}

.form-conditional-section.hidden {
  display: none !important;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-item label {
  font-size: 0.88rem;
  color: var(--dark-text);
  cursor: pointer;
  user-select: none;
}

/* ==========================================================================
   Google Maps Navigation Container Card
   ========================================================================== */
.map-container-wrapper {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.map-container-wrapper .map-wrapper {
  height: 450px;
  margin-bottom: 0;
}

.map-overlay-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: 12px;
  padding: 24px;
  max-width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

.map-overlay-card h4 {
  font-family: var(--font-header);
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.map-overlay-card p {
  font-size: 0.85rem;
  color: var(--light-text);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ==========================================================================
   Floating Social Media Sidebar Badge
   ========================================================================== */
.floating-social-widget {
  position: fixed;
  right: 20px;
  top: 55%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.social-widget-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-widget-btn svg {
  width: 26px;
  height: 26px;
  fill: white;
}

.social-widget-btn:hover {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.social-widget-btn.whatsapp {
  background: #25d366;
}

.social-widget-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Fix review button visibility in contact card details */
.contact-item-details .btn-review.btn-secondary {
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  background-color: transparent !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
  border-radius: var(--radius-full) !important;
  transition: var(--transition-fast) !important;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
}

.contact-item-details .btn-review.btn-secondary:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Overrides for upgrades
   ========================================================================== */
@media (max-width: 992px) {
  .planner-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .map-overlay-card {
    position: relative;
    bottom: 0;
    right: 0;
    max-width: 100%;
    margin: 16px;
    box-shadow: none;
    background: var(--beige);
    border: 1px solid rgba(27, 67, 50, 0.08);
  }
  
  .map-container-wrapper .map-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .rooms-grid .room-card {
    flex: 1 1 100%;
  }

  .floating-social-widget {
    right: 12px;
    gap: 8px;
  }
  
  .social-widget-btn {
    width: 44px;
    height: 44px;
  }
  
  .social-widget-btn svg {
    width: 22px;
    height: 22px;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Prevent horizontal translateX animation from causing mobile page overflow */
  .contact-info-side, .contact-form-side {
    transform: translateY(20px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .contact-info-side.animate, .contact-form-side.animate {
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  .planner-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .planner-console {
    padding: 20px;
    margin-top: 24px;
  }

  .contact-form-side {
    padding: 20px 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-tabs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding-bottom: 8px;
    gap: 6px;
  }

  .form-tab {
    padding: 8px 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .contact-item-card {
    padding: 16px;
    gap: 12px;
  }
}

/* Custom spacing for map section to prevent it touching the footer */
.map-section {
  padding-bottom: 100px !important;
}

/* Visited/Clicked links styling in contact and footer details */
.contact-link {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--primary) !important;
}

/* Light background (Contact Details section) Visited state - Visible blue */
.contact-info-side .contact-link:visited,
.contact-info-side .contact-link:active {
  color: #2563eb !important; /* High visibility royal blue on light background */
}

/* Dark background (Footer section) Visited state - Light sky blue */
.footer-contact-list .contact-link:visited,
.footer-contact-list .contact-link:active {
  color: #63b3ed !important; /* High visibility light blue on dark forest background */
}
