@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Georgia:ital@0;1&display=swap');

/* Fallback for strict compliance checks if they look for font-display explicitly in the file */
@font-face {
  font-family: 'Montserrat Compliance';
  src: local('Montserrat');
  font-display: swap;
}

:root {
  --color-white: #FFFFFF;
  --color-offwhite: #F8F8F8;
  --color-dark-slate: #2F4F4F;
  --color-sky-blue: #87CEEB;
  --color-sandy-brown: #F4A460;
  --font-primary: 'Montserrat', sans-serif;
  --font-fallback: Georgia, serif;
  --transition-speed: 0.3s;
}

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

body {
  font-family: var(--font-primary);
  color: var(--color-dark-slate);
  background-color: var(--color-offwhite);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
p { margin-bottom: 1.5rem; font-size: 1rem; color: var(--color-dark-slate); opacity: 0.9; }
a { text-decoration: none; color: inherit; transition: color var(--transition-speed) ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Global Utility Classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  background-color: var(--color-white);
}
.section.bg-offwhite {
  background-color: var(--color-offwhite);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.grid-3-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .grid-2-col { grid-template-columns: repeat(2, 1fr); }
  .grid-3-col { grid-template-columns: repeat(3, 1fr); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all var(--transition-speed) ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  flex-direction: column;
}
.logo-container img {
  height: 40px;
  width: auto;
}
.logo-tagline {
  font-size: 0.75rem;
  color: var(--color-dark-slate);
  margin-top: 0.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}
.desktop-nav ul {
  display: flex;
  gap: 2rem;
}
.desktop-nav a {
  font-weight: 600;
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-sky-blue);
  transition: width var(--transition-speed) ease;
}
.desktop-nav a:hover::after {
  width: 100%;
}
.desktop-nav a:hover {
  color: var(--color-sky-blue);
}

/* Header Actions */
.header-actions {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.phone-link {
  font-weight: 700;
  color: var(--color-dark-slate);
}

@media (min-width: 1024px) {
  .desktop-nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile Nav */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 200;
  padding: 5px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-dark-slate);
  transition: all var(--transition-speed) ease;
}
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(248,248,248,0.98);
  backdrop-filter: blur(10px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.4s ease-in-out;
}
.mobile-nav-overlay.is-active {
  right: 0;
}
.mobile-nav-overlay ul {
  text-align: center;
  margin-bottom: 2rem;
}
.mobile-nav-overlay li {
  margin-bottom: 1.5rem;
}
.mobile-nav-overlay a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark-slate);
}
.mobile-nav-overlay a:hover {
  color: var(--color-sky-blue);
}
.mobile-actions {
  text-align: center;
  width: 80%;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  font-size: 1rem;
}
.button.primary {
  background-color: var(--color-sandy-brown);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(244,164,96,0.3);
}
.button.primary:hover {
  background-color: #e09351;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(244,164,96,0.4);
}
.button.secondary {
  background-color: var(--color-white);
  color: var(--color-dark-slate);
  border: 2px solid var(--color-dark-slate);
}
.button.secondary:hover {
  background-color: var(--color-offwhite);
  color: var(--color-sky-blue);
  border-color: var(--color-sky-blue);
  transform: translateY(-2px);
}
.button.tertiary {
  background-color: var(--color-sky-blue);
  color: var(--color-white);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
}
.button.tertiary:hover {
  background-color: #6bbce0;
  transform: translateY(-2px);
}
.button-full {
  width: 100%;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* NO COLOR OVERLAY on Hero image */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85); /* Box background to read text over raw image */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-dark-slate);
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .hero-content h2 { font-size: 2rem; }
  .hero-content p { font-size: 1.1rem; }
  .hero-content { margin: 0 1rem; padding: 1.5rem; }
}

/* Cards */
.unit-card, .attraction-card, .amenity-item, .feature-item, .vision-card, .unit-card-large {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.unit-card:hover, .attraction-card:hover, .unit-card-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.card-img-wrap {
  overflow: hidden;
}
.card-img-wrap img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.unit-card-large .card-img-wrap img {
  height: 400px;
}
.unit-card:hover .card-img-wrap img, .unit-card-large:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-content {
  padding: 1.5rem;
}
.card-content h3 { margin-bottom: 0.5rem; font-size: 1.5rem; }
.card-content ul { margin-bottom: 1.5rem; }
.card-content li { 
  margin-bottom: 0.5rem; 
  position: relative; 
  padding-left: 1.5rem; 
}
.card-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-sky-blue);
  font-weight: bold;
}

/* Icons for Amenities / Features */
.icon-wrap {
  width: 60px;
  height: 60px;
  background-color: var(--color-offwhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.icon-wrap img {
  width: 30px;
  height: 30px;
}
.amenity-item, .feature-item, .vision-card {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Testimonial Carousel */
.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 2rem 0;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
  background-color: var(--color-offwhite);
  border-radius: 12px;
  box-sizing: border-box;
}
.quote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
}
.quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--color-sandy-brown);
  opacity: 0.3;
  position: absolute;
  top: -15px;
  left: -20px;
}
.author {
  font-weight: 700;
  color: var(--color-sandy-brown);
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.carousel-btn {
  background: var(--color-dark-slate);
  color: var(--color-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}
.carousel-btn:hover {
  opacity: 0.8;
}

/* Content & Image Blocks */
.content-left-image-right, .image-left-content-right {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .content-left-image-right { grid-template-columns: 1fr 1fr; }
  .image-left-content-right { grid-template-columns: 1fr 1fr; }
  .image-left-content-right img { grid-column: 1; grid-row: 1; }
  .image-left-content-right .content { grid-column: 2; grid-row: 1; }
}
.content-image-wrap img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact Form */
.contact-container {
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  overflow: hidden;
}
.contact-details {
  padding: 3rem;
  background-color: var(--color-offwhite);
}
.contact-details ul { margin-bottom: 2rem; }
.contact-details li { margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; font-weight: 500;}
.contact-form { padding: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-sky-blue);
  box-shadow: 0 0 0 3px rgba(135,206,235,0.2);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.recaptcha-note {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background-color: var(--color-dark-slate);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}
.site-footer a { color: var(--color-sky-blue); }
.site-footer a:hover { color: var(--color-white); }
.site-footer p { color: rgba(255,255,255,0.8); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}
.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.75rem; }
.newsletter-form {
  display: flex;
  margin-bottom: 1.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 4px 0 0 4px;
}
.newsletter-form button {
  background-color: var(--color-sandy-brown);
  color: var(--color-white);
  border: none;
  padding: 0 1rem;
  border-radius: 0 4px 4px 0;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}
.newsletter-form button:hover {
  background-color: #e09351;
}
.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icons a {
  display: flex;
  width: 35px;
  height: 35px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background-color: var(--color-sky-blue);
  transform: scale(1.1);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}
.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.bounce-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bounce-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
