/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #a89171;
  --color-secondary: #2c2c2c;
  --color-light: #f5f3f0;
  --color-cream: #ede8e0;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-gray-light: #f8f8f8;
  --color-bone: #f7f5f0;
  --font-primary: "Cormorant Garamond", serif;
  --font-secondary: "Montserrat", sans-serif;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--color-secondary);
  background-color: var(--color-white);
  font-weight: 300;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 5%);
}

img {
  max-width: 100%;
  height: auto;
}

.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Improved responsive typography using clamp() */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

a {
  text-decoration: none;
  color: var(--color-secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: clamp(12px, 2vw, 15px) clamp(25px, 4vw, 35px);
  font-family: var(--font-secondary);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  /* Added min-height for better touch targets on mobile */
  min-height: 44px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(168, 145, 113, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(44, 44, 44, 0.4);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Responsive section padding */
section {
  padding: clamp(60px, 10vw, 100px) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.section-title {
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.section-line {
  width: 60px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 0 auto;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: clamp(15px, 2vw, 20px) 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.header.scrolled {
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  z-index: 1001;
}

.logo-img {
  height: clamp(30px, 5vw, 40px);
  width: auto;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: clamp(20px, 3vw, 40px);
}

.nav-list a {
  font-family: var(--font-secondary);
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-secondary);
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-cta {
  color: var(--color-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
  /* Added padding for better touch target */
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition);
}

/* Improved hero section with better responsive layout */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f5f3f0 0%, #ede8e0 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5%);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 80px);
}

/* Desktop layout for hero */
@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  z-index: 2;
  animation: fadeInLeft 1.2s ease-out;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    text-align: left;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: clamp(20px, 3vw, 30px);
  line-height: 1.1;
  color: var(--color-secondary);
  font-weight: 300;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: clamp(30px, 4vw, 40px);
  font-family: var(--font-secondary);
  font-weight: 300;
  color: var(--color-secondary);
  line-height: 1.6;
  opacity: 0.8;
}

.hero .btn-primary {
  padding: clamp(15px, 2.5vw, 20px) clamp(30px, 4vw, 45px);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(168, 145, 113, 0.3);
}

.hero .btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(168, 145, 113, 0.4);
}

/* Improved responsive image section */
.hero-image-section {
  position: relative;
  height: clamp(400px, 60vh, 80vh);
  border-radius: clamp(10px, 2vw, 20px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  animation: fadeInRight 1.2s ease-out;
}

.hero-image-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(168, 145, 113, 0.1) 0%, transparent 50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-image-section:hover::before {
  opacity: 1;
}

.hero-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-section:hover img {
  transform: scale(1.05);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-secondary);
  z-index: 3;
  cursor: pointer;
  opacity: 0.7;
}

/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}

.mouse {
  width: 28px;
  height: 45px;
  border: 2px solid var(--color-secondary);
  border-radius: 15px;
  position: relative;
  margin-bottom: 12px;
}

.wheel {
  width: 3px;
  height: 8px;
  background-color: var(--color-secondary);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%,
  20% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  80%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.arrow span {
  display: block;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--color-secondary);
  border-right: 2px solid var(--color-secondary);
  transform: rotate(45deg);
  animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrow {
  0%,
  20% {
    opacity: 0;
    transform: rotate(45deg) translate(-3px, -3px);
  }
  50% {
    opacity: 1;
  }
  80%,
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(3px, 3px);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Villa Showcase Sections */
.kanso-section,
.enso-section,
.horizon-section,
.haven-section {
  padding: clamp(80px, 12vw, 120px) 0;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.kanso-section {
  background-color: var(--color-white);
}

.enso-section {
  background-color: var(--color-gray-light);
}

.horizon-section {
  background-color: var(--color-white);
}

.haven-section {
  background-color: var(--color-gray-light);
}

/* Improved responsive villa showcase layout */
.villa-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 60px);
  align-items: center;
}

.villa-content {
  order: 1;
}

.villa-images {
  order: 2;
}

@media (min-width: 992px) {
  .villa-showcase {
    grid-template-columns: 1fr 1.4fr;
  }

  .villa-showcase.reverse {
    grid-template-columns: 1.4fr 1fr;
  }

  .villa-content {
    order: 0;
  }

  .villa-images {
    order: 0;
  }
}

.villa-logo-container {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.villa-logo {
  max-width: clamp(200px, 40vw, 300px);
  height: auto;
  filter: brightness(0.2);
}

.villa-logo-text {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-secondary);
  margin: 0;
  font-weight: 400;
  letter-spacing: 2px;
}

.villa-tagline {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--color-primary);
  font-style: italic;
  margin: 5px 0 0 0;
  letter-spacing: 1px;
}

.villa-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: clamp(15px, 2vw, 20px);
}

.villa-description {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: clamp(15px, 2vw, 20px);
  color: var(--color-secondary);
}

.villa-investment {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: clamp(30px, 4vw, 40px);
  color: var(--color-secondary);
  opacity: 0.9;
  font-style: italic;
}

/* Improved responsive amenities grid */
.villa-amenities {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(10px, 1.5vw, 12px);
  margin-bottom: clamp(20px, 3vw, 30px);
}

@media (min-width: 576px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 15px);
  padding: clamp(12px, 2vw, 16px) clamp(15px, 2.5vw, 20px);
  background-color: rgba(168, 145, 113, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.amenity-item:hover {
  background-color: rgba(168, 145, 113, 0.15);
  transform: translateX(5px);
  border-left-color: var(--color-primary);
}

.amenity-icon {
  flex-shrink: 0;
  width: clamp(35px, 5vw, 40px);
  height: clamp(35px, 5vw, 40px);
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.amenity-content {
  flex: 1;
  min-width: 0;
}

.amenity-content h4 {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-family: var(--font-primary);
  color: var(--color-secondary);
  margin-bottom: 2px;
  line-height: 1.2;
}

.amenity-content p {
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  color: var(--color-secondary);
  margin: 0;
  opacity: 0.8;
  line-height: 1.2;
}

/* Improved responsive gallery */
.villa-gallery {
  position: relative;
  height: clamp(350px, 60vh, 85vh);
  border-radius: clamp(10px, 2vw, 20px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  margin-bottom: clamp(15px, 2vw, 20px);
  background-color: #f8f8f8;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-color: #f8f8f8;
}

.gallery-slide.active {
  opacity: 1;
}

.villa-gallery .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #f8f8f8;
}

/* Improved responsive thumbnails */
.gallery-thumbnails {
  display: flex;
  gap: clamp(8px, 1.5vw, 12px);
  overflow-x: auto;
  padding: 10px 0;
  margin-bottom: clamp(15px, 2vw, 20px);
  justify-content: flex-start;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .gallery-thumbnails {
    justify-content: center;
    flex-wrap: wrap;
  }
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
}

.thumbnail {
  flex: 0 0 clamp(50px, 10vw, 70px);
  height: clamp(40px, 7vw, 50px);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  opacity: 0.6;
}

.thumbnail:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: var(--color-primary);
  opacity: 1;
  transform: scale(1.1);
}

.gallery-thumbnails .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Investment Section */
.investment-section {
  background-color: var(--color-white);
  opacity: 1;
  transform: translateY(0);
}

/* Improved responsive investment content */
.investment-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (min-width: 992px) {
  .investment-content {
    grid-template-columns: 1fr 1fr;
  }
}

.investment-image {
  position: relative;
  height: clamp(300px, 50vh, 500px);
  overflow: hidden;
  border-radius: clamp(10px, 2vw, 20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.investment-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(168, 145, 113, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.investment-image:hover::after {
  opacity: 1;
}

.investment-image:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.investment-image img {
  transition: transform 0.6s ease;
}

.investment-image:hover img {
  transform: scale(1.05);
}

.investment-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: clamp(15px, 2vw, 20px);
  color: var(--color-secondary);
}

.investment-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-family: var(--font-primary);
  margin-bottom: clamp(20px, 3vw, 30px);
  line-height: 1.5;
}

.investment-points {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 25px);
  margin-bottom: clamp(30px, 4vw, 40px);
}

.investment-point h4 {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  margin-bottom: 8px;
  color: var(--color-primary);
}

.investment-point p {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  background-color: var(--color-gray-light);
  opacity: 1;
  transform: translateY(0);
}

/* Improved responsive contact content */
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 60px);
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vw, 40px);
}

.contact-item h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 15px;
  color: var(--color-primary);
}

.contact-item p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  margin-bottom: 0;
}

.contact-form-container {
  background-color: var(--color-white);
  padding: clamp(25px, 4vw, 40px);
  border-radius: clamp(10px, 2vw, 20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
  margin-bottom: clamp(20px, 3vw, 30px);
  color: var(--color-secondary);
}

.form-group {
  margin-bottom: clamp(20px, 3vw, 25px);
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(0.85rem, 1.5vw, 0.9rem);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: clamp(10px, 1.5vw, 12px);
  border: 1px solid #ddd;
  background-color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  border-radius: 8px;
  transition: var(--transition);
  /* Better touch target for mobile */
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Footer */
.footer {
  background-color: #f7f5f0;
  color: var(--color-secondary);
  padding: clamp(60px, 8vw, 80px) 0 clamp(20px, 3vw, 30px);
}

/* Improved responsive footer layout */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
  padding: clamp(20px, 3vw, 30px) 0;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-logo-img {
  height: clamp(25px, 4vw, 30px);
  width: auto;
  filter: brightness(0.3) invert(0);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2vw, 20px);
  align-items: center;
}

@media (min-width: 576px) {
  .footer-links {
    flex-direction: row;
    gap: clamp(20px, 3vw, 30px);
  }
}

.footer-links a {
  color: var(--color-secondary);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: clamp(15px, 2vw, 20px);
}

.social-link {
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-secondary);
  /* Better touch target */
  padding: 5px;
}

.social-link:hover {
  color: var(--color-primary);
}

.footer-copyright {
  text-align: center;
  padding-top: clamp(20px, 3vw, 30px);
  font-size: clamp(0.75rem, 1.2vw, 0.8rem);
  color: rgba(44, 44, 44, 0.6);
}

/* Improved responsive brands section */
.brands-section {
  background-color: #f7f5f0;
  color: var(--color-secondary);
  padding: clamp(60px, 8vw, 80px) 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 60px);
  align-items: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 576px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.brand-item {
  background-color: rgba(44, 44, 44, 0.03);
  border-radius: 15px;
  padding: clamp(20px, 3vw, 25px) clamp(15px, 2vw, 15px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(140px, 20vw, 160px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.brand-item:hover {
  transform: translateY(-10px);
  background-color: rgba(44, 44, 44, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.brand-logo {
  max-width: 90%;
  max-height: clamp(60px, 10vw, 80px);
  transition: transform 0.3s ease;
}

.brand-item:hover .brand-logo {
  transform: scale(1.05);
}

.brand-text-logo {
  text-align: center;
}

.brand-text-logo h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
  color: var(--color-secondary);
}

.brand-text-logo p {
  font-size: clamp(0.65rem, 1.2vw, 0.75rem);
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin: 0;
}

.brand-link {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

.brand-link:hover {
  color: var(--color-secondary);
}

/* Mobile navigation improvements */
@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-white);
    padding: 100px 40px;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .nav-list a {
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
  }
}

/* Animation classes for JavaScript */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.no-scroll {
  overflow: hidden;
}

/* Additional mobile optimizations */
@media (max-width: 576px) {
  .hero {
    min-height: auto;
  }

  .hero-container {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .villa-gallery {
    height: clamp(300px, 50vh, 400px);
  }
}

/* Prevent horizontal scroll on mobile */
body {
  overflow-x: hidden;
}

.container {
  overflow-x: hidden;
}
