/* CSS Variables */
:root {
  --primary-gold: #D4AF37;
  --primary-gold-hover: #b5952f;
  --dark-bg: #111111;
  --dark-overlay: rgba(0, 0, 0, 0.4);
  --light-bg: #f9f9f9;
  --peach-scroll: #FFE5D9;
  --peach-highlight: #FFF0EB;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-grey: #666666;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

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

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn-outline-gold {
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  backdrop-filter: blur(5px);
}

.btn-outline-gold:hover {
  background: var(--primary-gold);
  color: var(--text-light);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.btn-solid-gold {
  background: var(--primary-gold);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

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

.btn-text {
  color: var(--primary-gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-text:hover {
  gap: 12px;
  /* Slight movement arrow */
}

/* SECTION 1: Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth);
  background-color: transparent;
  padding: 20px 0;
}

.site-header.scrolled {
  background-color: var(--peach-scroll);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-col .site-logo {
  height: 75px;
  width: auto;
  transition: var(--transition-fast);
}

.site-header.scrolled .site-logo {
  height: 60px;
}

.desktop-nav ul {
  display: flex;
  gap: 40px;
}

.desktop-nav a {
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

.site-header.scrolled .desktop-nav a {
  color: var(--text-dark);
}

.site-header.scrolled .btn-outline-gold {
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.site-header.scrolled .btn-outline-gold:hover {
  background: var(--text-dark);
  color: var(--peach-scroll);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--primary-gold);
  transition: var(--transition-fast);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 24px;
  cursor: pointer;
}

.site-header.scrolled .hamburger-menu {
  color: var(--text-dark);
}

/* Common Utility */
.fw-bold {
  font-weight: 700 !important;
  color: #111 !important;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: var(--light-bg);
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 4px;
  padding: 10px 0;
  margin-top: 15px; /* added gap for hover bridge */
}

/* Bridge the gap so hover doesn't break */
.nav-dropdown::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.nav-dropdown-content a {
  color: var(--text-dark);
  padding: 12px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-dropdown-content a:hover {
  background-color: var(--peach-highlight);
  color: var(--primary-gold);
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

/* Mobile Dropdown */
.mobile-dropdown-wrapper {
  width: 100%;
}

.mobile-dropdown-content {
  display: none; /* hidden by default */
  flex-direction: column;
  padding: 10px;
  background-color: var(--peach-highlight);
  border-radius: 4px;
  margin-top: 10px;
}

.mobile-dropdown-content.show {
  display: flex;
}

.mobile-dropdown-content a {
  padding: 10px 15px;
  font-size: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-dropdown-content a:last-child {
  border-bottom: none;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--light-bg);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 80px 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu a {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 500;
}

/* SECTION 1 (Part 2): Hero */
.hero-section {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

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

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* SECTION 1 (Part 3): 3 Feature Columns */
.three-features {
  padding: 40px 0;
  background-color: var(--light-bg);
  position: relative;
  top: -40px;
  z-index: 5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  padding: 40px 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: var(--dark-bg);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: var(--transition-fast);
}

.feature-card:hover .icon-circle {
  background-color: var(--primary-gold);
  color: var(--text-light);
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--text-grey);
}

/* SECTION 2: Image + 6 Features */
.image-features-section {
  padding-bottom: 40px;
}

.full-width-image {
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.full-width-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.six-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.six-feature-item {
  display: flex;
  align-items: center;
  padding: 25px;
  background-color: var(--peach-highlight);
  border-radius: 8px;
  transition: var(--transition-fast);
  cursor: default;
}

.six-feature-item:hover {
  background-color: var(--peach-scroll);
  transform: translateY(-5px);
}

.six-feature-item .icon {
  font-size: 24px;
  color: var(--primary-gold);
  margin-right: 20px;
}

.six-feature-item .text {
  font-weight: 500;
}

/* Common Section Header */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-grey);
  font-size: 1.1rem;
}

/* Custom Slider Styles */
.slider-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.slider-container {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 40px;
  /* space for shadow */
}

/* Hide scrollbar for cleanly designed sliders */
.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-container {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  color: var(--text-dark);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--dark-bg);
  color: white;
  border-color: var(--dark-bg);
}

.slider-arrow.left {
  left: 0;
}

.slider-arrow.right {
  right: 0;
}

/* SECTION 3: Villas in Focus */
.villas-slider-section {
  padding: 40px 0;
  background-color: #fff;
}

.villa-card {
  min-width: 400px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}

.villa-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.villa-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.villa-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.villa-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-gold);
  color: white;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

.villa-info {
  padding: 25px;
}

.villa-info h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.villa-loc {
  color: var(--text-grey);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* SECTION 4: Stay Standard */
.stay-standard-section {
  padding: 40px 0;
}

.masonry-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 20px;
  margin-bottom: 60px;
}

.masonry-item {
  border-radius: 12px;
  overflow: hidden;
}

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

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

.left-tall {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.mid-top {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.mid-bottom {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.right-tall {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.standard-icons-bar {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  /* Add wrap to prevent squishing */
}

/* SECTION 4: Stay Standard */
/* Update rules for standard icons */
.stay-standard-section .container:last-child {
  /* Container holding the grid and the icons below it */
  display: flex;
  flex-direction: column;
}

.std-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  flex-shrink: 0;
}

.std-icon-item img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 15px;
  padding: 12px;
  background-color: var(--peach-highlight);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.std-icon-item:hover img {
  background-color: var(--peach-scroll);
  transform: translateY(-5px);
}

.std-icon-item span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* SECTION 5: Choose a Collection Slider */
.collection-section {
  padding: 40px 0;
  background-color: #2F3538; /* Trending Luxury Subdued Slate/Taupe */
  color: white;
}

.collection-section .section-header h2 {
  color: white;
}

.collection-card {
  min-width: 350px;
  height: 450px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.col-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 50px 30px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.col-overlay h3 {
  color: white;
  font-size: 1.6rem;
  margin: 0;
}

/* SECTION 6: Trusted Partners (Now Trust Factors) */
.trusted-partners-section {
  padding: 40px 0;
  background-color: #fff;
}

.partner-tagline {
  color: var(--text-grey);
  margin-bottom: 40px;
}

.trust-factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.trust-item {
  padding: 30px;
  background-color: var(--light-bg);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.trust-icon {
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trust-icon img {
  height: 100%;
  width: auto;
}

.trust-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.trust-item p {
  color: var(--text-grey);
  font-size: 0.95rem;
}

/* SECTION 7: Footer */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 40px 0 0;
}

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

.footer-logo {
  height: 80px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  /* makes dark logo white */
}

.brand-col p {
  color: #aaaaaa;
  font-size: 0.95rem;
}

.footer-col h3 {
  color: var(--primary-gold);
  margin-bottom: 25px;
  font-size: 1.2rem;
}

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

.links-col a {
  color: #aaaaaa;
}

.links-col a:hover {
  color: var(--primary-gold);
  padding-left: 5px;
}

.contact-col p {
  color: #aaaaaa;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-col i {
  color: var(--primary-gold);
}

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

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
}

.social-links a:hover {
  background-color: var(--primary-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
  color: #888888;
  font-size: 0.9rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: #888888;
}

.footer-bottom a:hover {
  color: var(--primary-gold);
}

.text-center {
  text-align: center;
}

/* ---------- FIXED SIDE BUTTONS & SCROLL TOP ---------- */
.fixed-side-actions {
  position: fixed;
  left: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.side-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.side-btn:hover {
  transform: scale(1.1);
}

.side-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.whatsapp-btn {
  background-color: #25D366;
}

.call-btn {
  background-color: #007bff; /* Blue for call */
}

.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-gold);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-size: 20px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--primary-gold-hover);
  transform: translateY(-5px);
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1200px) {
  .container, .header-container {
    width: 95%;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .six-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .villa-card {
    min-width: 350px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 15px 0;
  }
  
  .logo-col .site-logo {
    height: 60px;
  }

  .hero-section {
    height: 70vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .trust-factors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-dropdown {
    display: none;
  }

  .mobile-dropdown-wrapper {
    display: block;
  }

  .desktop-nav,
  .hidden-mobile {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .three-features {
    top: 0;
    padding-top: 40px;
  }

  .six-features-grid {
    grid-template-columns: 1fr;
  }

  .full-width-image {
    height: 40vh;
  }

  .masonry-grid-4 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 15px;
  }

  .masonry-item {
    height: 250px;
  }

  .left-tall,
  .right-tall,
  .mid-top,
  .mid-bottom {
    grid-column: auto;
    grid-row: auto;
  }

  .standard-icons-bar {
    justify-content: center;
    gap: 20px;
  }

  .std-icon-item {
    width: 100px;
  }

  .villa-card {
    min-width: 280px;
  }

  .collection-card {
    min-width: 260px;
    height: 350px;
  }

  .slider-wrapper {
    padding: 0 15px;
  }

  .slider-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brand-col, .footer-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }

  .flex-between {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .fixed-side-actions {
    left: 15px;
    bottom: 20px;
  }
  
  .scroll-top-btn {
    right: 15px;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .villa-card {
    min-width: 100%;
  }
  
  .collection-card {
    min-width: 100%;
  }
  
  .footer-logo {
    height: 60px;
  }
}