/* =============================================
   HOMESTEAD LUXE — TROPICAL MODERN LUXURY
   ============================================= */

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

:root {
  --bg-white:    #fdfcf9;
  --bg-sand:     #f3ede5;
  --accent:      #2d8659;
  --accent-dark: #1a5a3a;
  --accent-light: #4db876;
  --navy:        #1a3a52;
  --navy-md:     #2d5a7a;
  --navy-lt:     #4a7a99;
  --gold:        #d4a574;
  --white:       #ffffff;
  --border:      #e8dfd5;
  --divider:     #ddd0c5;
  --shadow-sm:   0 2px 6px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 16px 40px rgba(0,0,0,0.12);
  --radius:      14px;
  --transition:  0.35s ease;
  --font-head:   'Segoe UI', 'Helvetica Neue', sans-serif;
  --font-body:   'Segoe UI', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.6rem); }
h4 { font-size: 1.05rem; }

p { color: var(--navy-lt); }

/* ── Layout Utilities ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 84px 0; }
.section-alt { background: var(--bg-sand); }

.section-label {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 13px;
}

.section-title {
  margin-bottom: 17px;
  font-weight: 700;
}

.section-sub {
  font-size: 1.07rem;
  color: var(--navy-lt);
  max-width: 550px;
  margin-bottom: 42px;
  line-height: 1.76;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45,134,89,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--accent);
  transform: translateY(-2px);
}

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

/* ── Navigation ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(253,252,249,0.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-size: 0.61rem;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy-lt);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 17px;
}
.nav-phone {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.nav-phone:hover { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
}

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 8s ease;
}
#hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(253,252,249,0.68) 0%,
    rgba(253,252,249,0.48) 60%,
    rgba(45,134,89,0.12) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  margin-bottom: 26px;
}

.hero-title {
  color: var(--navy);
  max-width: 710px;
  margin-bottom: 17px;
}

.hero-tagline {
  font-size: 1.13rem;
  color: var(--navy-lt);
  max-width: 530px;
  margin-bottom: 42px;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* ── Services Overview Strip ── */
#services-strip {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 26px;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.service-strip-item:last-child { border-right: none; }
.service-strip-item:hover { background: var(--bg-sand); }

.service-strip-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-sand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.55rem;
  margin-bottom: 13px;
}

.service-strip-item h4 {
  font-size: 0.94rem;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 600;
}
.service-strip-item p {
  font-size: 0.79rem;
  line-height: 1.65;
}

/* ── About ── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-text .section-sub { margin-bottom: 30px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 34px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.89rem;
  color: var(--navy-md);
  font-weight: 500;
}
.about-feature::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Services ── */
#services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-icon {
  font-size: 2.1rem;
  margin-bottom: 17px;
}
.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 11px;
}
.service-card p {
  font-size: 0.89rem;
  line-height: 1.72;
}

/* ── Why Choose Us ── */
#why .why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}

.why-img img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.why-benefits {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.benefit-row {
  display: flex;
  gap: 17px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--divider);
}
.benefit-row:last-child { border-bottom: none; }

.benefit-row-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-sand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.benefit-row h4 {
  font-size: 1.04rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}
.benefit-row p {
  font-size: 0.86rem;
  line-height: 1.72;
}

/* ── Process ── */
#process { background: var(--bg-sand); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(12.5% + 21px);
  right: calc(12.5% + 21px);
  height: 1px;
  background: var(--divider);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 15px;
  transition: all var(--transition);
}
.process-step:hover .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

.step-icon {
  font-size: 1.55rem;
  margin-bottom: 10px;
}
.process-step h4 {
  font-size: 0.97rem;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}
.process-step p {
  font-size: 0.79rem;
  line-height: 1.72;
}

/* ── Gallery ── */
#gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,134,89,0.0);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(45,134,89,0.27);
}
.gallery-overlay-icon {
  color: var(--white);
  font-size: 1.7rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}
.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── Contact ── */
#contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 13px; }
.contact-info > p { margin-bottom: 34px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 34px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-sand);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-lt);
  margin-bottom: 3px;
}
.contact-detail-text a,
.contact-detail-text span {
  font-size: 0.93rem;
  color: var(--navy);
  font-weight: 500;
}
.contact-detail-text a:hover { color: var(--accent); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 0.89rem; margin-bottom: 26px; }

#wallpaperContactForm .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

#wallpaperContactForm .form-group {
  margin-bottom: 17px;
}

#wallpaperContactForm label {
  display: block;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--navy-md);
  margin-bottom: 7px;
}

#wallpaperContactForm input,
#wallpaperContactForm textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
#wallpaperContactForm input:focus,
#wallpaperContactForm textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,134,89,0.11);
}
#wallpaperContactForm textarea { resize: vertical; min-height: 98px; }

#wallpaperContactForm .form-submit { margin-top: 9px; }
#wallpaperContactForm .btn { width: 100%; justify-content: center; }

#form-success {
  display: none;
  text-align: center;
  padding: 38px 22px;
}
#form-success .success-icon {
  font-size: 2.9rem;
  margin-bottom: 13px;
}
#form-success h3 { margin-bottom: 8px; color: var(--accent); }
#form-success p  { font-size: 0.93rem; }

/* ── Map ── */
#map { padding: 0; }
.map-wrap {
  position: relative;
  height: 410px;
  overflow: hidden;
  border-radius: var(--radius);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-label {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--white);
  color: var(--navy);
  padding: 11px 17px;
  border-radius: var(--radius);
  font-size: 0.79rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

/* ── Footer ── */
#footer {
  background: var(--navy);
  padding: 58px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo-name {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 4px;
}
.footer-brand .footer-logo-sub {
  font-size: 0.63rem;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  color: var(--accent-light);
  display: block;
  margin-bottom: 17px;
}
.footer-brand p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.76;
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 19px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-light); }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-contact-list li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact-list a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-contact-list a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--accent-light); }

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-strip-grid { grid-template-columns: repeat(2, 1fr); }
  #about .about-grid,
  #why .why-grid { grid-template-columns: 1fr; gap: 46px; }
  #services .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .process-timeline::before { display: none; }
  #gallery .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 62px 0; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.65rem; }

  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  #navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(253,252,249,0.98);
    padding: 22px;
    gap: 18px;
    border-top: 1px solid var(--border);
  }

  .services-strip-grid { grid-template-columns: 1fr 1fr; }
  #services .services-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; }
  #gallery .gallery-grid { grid-template-columns: 1fr; }
  #contact .contact-grid { grid-template-columns: 1fr; }
  #wallpaperContactForm .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .services-strip-grid { grid-template-columns: 1fr; }
  #gallery .gallery-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .contact-form-wrap { padding: 22px; }
}
