:root {
  --ocean-blue: #3bafd9;
  --sand-beige: #f2e5d5;
  --sunset-coral: #ff8f70;
  --deep-blue: #1f3b4d;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-soft: #f9f7f4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-soft);
}

/* Layout helpers */

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: linear-gradient(to right, var(--ocean-blue), var(--sunset-coral));
  color: var(--text-light);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  text-decoration: underline;
}

/* Hero */

.hero {
  position: relative;
  height: 70vh;
  background-image: url("../images/beach-hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.55)
  );
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Buttons */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--sunset-coral);
  color: var(--text-light);
}

.btn-secondary {
  background-color: var(--bg-light);
  color: var(--deep-blue);
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
}

/* Sections */

.intro,
.highlights,
.cta,
.condo-section,
.location-details,
.contact-section {
  padding: 3rem 0;
  background-color: var(--bg-soft);
}

.intro h2,
.highlights h2,
.condo-section h2,
.location-details h2,
.contact-section h2 {
  margin-bottom: 0.75rem;
}

.highlights {
  background-color: var(--bg-light);
}

.highlights-grid {
  display: grid;
  gap: 1.5rem;
}

.highlight-card {
  background-color: var(--bg-soft);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.text-link {
  color: var(--ocean-blue);
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

/* Page hero */

.page-hero.small-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(to right, var(--ocean-blue), var(--sand-beige));
  color: var(--text-light);
}

/* Condos */

.condo-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.condo-section.alt {
  background-color: var(--bg-light);
}

.condo-text ul {
  padding-left: 1.2rem;
}

.condo-list li {
  margin-bottom: 0.35rem;
}

.condo-image-placeholder,
.map-placeholder {
  background: linear-gradient(135deg, var(--sand-beige), var(--ocean-blue));
  border-radius: 1rem;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #dddddd;
  font-size: 0.95rem;
}

/* Notes */

.note {
  font-size: 0.85rem;
  color: #666666;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: right;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-decoration: none;
}

.icon {
  width: 100%;
  height: 100%;
  fill: var(--text-light);
  transition: fill 0.3s ease, transform 0.3s ease;
}

.site-header .icon {
  fill: var(--text-light);
}

.site-footer .icon {
  fill: var(--sand-beige);
}

.icon-link:hover .icon {
  fill: var(--ocean-blue);
  transform: scale(1.15);
}


/* Footer */

.site-footer {
  background-color: var(--deep-blue);
  color: var(--text-light);
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-content {
  text-align: center;
}

.site-footer a {
  color: var(--sand-beige);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  text-decoration: none;
}

.icon {
  width: 100%;
  height: 100%;
  fill: var(--deep-blue);
  transition: fill 0.3s ease, transform 0.3s ease;
}

.icon-link:hover .icon {
  fill: var(--ocean-blue);
  transform: scale(1.15);
}

.hero {
  position: relative;
  height: 80vh;
  background-image: url("../images/hero.jpg"); /* ← Replace with your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* Darkens image for readability */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.btn-primary {
  background: var(--ocean-blue);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--deep-blue);
}


/* Responsive */

@media (min-width: 700px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .condo-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 3rem;
  }
  
.social-links a {
  margin-left: 10px;
  font-size: 1.4rem;
  text-decoration: none;
}

.social-links a:hover {
  opacity: 0.7;
}
  
}
