/* Wondervilla Website Mockup */

:root {
  --wv-dark: #1F2933;
  --wv-text: #374151;
  --wv-bg: #FAF7F2;
  --wv-white: #FFFFFF;
  --wv-green: #7E9B84;
  --wv-green-dark: #5F7F66;
  --wv-sand: #D9C7A3;
  --wv-cream: #F4EFE6;
  --wv-bluegrey: #6F8794;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.12);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--wv-bg);
  color: var(--wv-text);
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.btn {
  display: inline-block;
  background: var(--wv-green);
  color: var(--wv-white);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(126, 155, 132, 0.35);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background: var(--wv-green-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--wv-green-dark);
  border: 2px solid var(--wv-green);
  box-shadow: none;
}

.btn-secondary:hover {
  color: var(--wv-white);
  background: var(--wv-green);
}

.eyebrow {
  color: var(--wv-green-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  color: var(--wv-dark);
  line-height: 1.18;
  font-weight: 700;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

p {
  font-size: 18px;
  margin-bottom: 18px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 199, 163, 0.45);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--wv-dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo span {
  color: var(--wv-green-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 16px;
}

.nav-links a {
  color: var(--wv-dark);
}

.nav-links a:hover {
  color: var(--wv-green-dark);
}

/* Hero */
.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(217, 199, 163, 0.45), transparent 34%),
    linear-gradient(135deg, var(--wv-bg), var(--wv-cream));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero-copy p {
  font-size: 21px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card {
  background: var(--wv-white);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-floating {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.16);
}

.hero-floating strong {
  display: block;
  color: var(--wv-dark);
  font-size: 22px;
  margin-bottom: 4px;
}

.hero-floating span {
  color: var(--wv-green-dark);
  font-weight: 700;
}

/* Sections */
section {
  padding: 82px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 42px;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.soft-card {
  background: var(--wv-white);
  padding: 42px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--wv-white);
}

.image-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.accent-box {
  background: var(--wv-cream);
  border: 1px solid rgba(217, 199, 163, 0.7);
  border-radius: var(--radius);
  padding: 34px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  background: var(--wv-white);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.08);
  border-top: 5px solid var(--wv-sand);
  overflow: hidden;
  padding: 0 0 30px;
}

.feature-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wv-cream);
  color: var(--wv-green-dark);
  display: grid;
  place-items: center;
  font-size: 25px;
  margin: -27px 24px 18px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--wv-white);
}

.feature h3,
.feature p,
.feature .btn {
  margin-left: 24px;
  margin-right: 24px;
}

.feature p {
  font-size: 16px;
  margin-bottom: 22px;
}

/* Care Statement */
.care-statement {
  background:
    linear-gradient(rgba(31, 41, 51, 0.68), rgba(31, 41, 51, 0.68)),
    url("assets/images/wondervilla-shaded-garden.jpg");
  background-size: cover;
  background-position: center;
  color: var(--wv-white);
  text-align: center;
  padding: 110px 0;
}

.care-statement h2 {
  color: var(--wv-white);
  max-width: 760px;
  margin: 0 auto;
}

/* Gallery */
.gallery-section {
  background: var(--wv-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 235px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(31, 41, 51, 0.1);
  background: var(--wv-white);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

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

.gallery-item span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--wv-dark);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  text-align: center;
}

.gallery-cta {
  text-align: center;
  margin-top: 36px;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.testimonial {
  background: var(--wv-white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 24px;
  color: var(--wv-sand);
  font-size: 96px;
  line-height: 1;
  opacity: 0.8;
}

.testimonial p {
  position: relative;
  font-size: 20px;
  color: var(--wv-dark);
}

.testimonial strong {
  display: block;
  color: var(--wv-green-dark);
  margin-top: 18px;
}

/* Trial Section */
.trial {
  background: var(--wv-cream);
}

.trial-list {
  margin: 24px 0 30px;
  list-style: none;
}

.trial-list li {
  margin-bottom: 12px;
  font-size: 18px;
}

.trial-list li::before {
  content: "✓";
  color: var(--wv-green-dark);
  font-weight: bold;
  margin-right: 10px;
}

/* Pricing */
.pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.price-card {
  background: var(--wv-white);
  border-radius: 32px;
  padding: 46px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 199, 163, 0.6);
}

.price {
  font-size: 54px;
  color: var(--wv-dark);
  font-weight: 700;
  margin: 12px 0;
}

.price span {
  font-size: 18px;
  color: var(--wv-text);
  font-weight: 400;
}

.price-list {
  list-style: none;
  margin: 26px 0 32px;
}

.price-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(217, 199, 163, 0.45);
  font-size: 18px;
}

.price-list li::before {
  content: "•";
  color: var(--wv-green-dark);
  margin-right: 10px;
  font-size: 24px;
}

/* Contact */
.contact {
  background: var(--wv-dark);
  color: rgba(255, 255, 255, 0.84);
}

.contact h2,
.contact h3 {
  color: var(--wv-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-detail {
  margin-bottom: 18px;
  font-size: 20px;
}

.contact-detail strong {
  display: block;
  color: var(--wv-sand);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(31, 41, 51, 0.72);
  backdrop-filter: blur(7px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  width: min(760px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--wv-white);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  position: relative;
  animation: modalIn 0.24s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--wv-cream);
  color: var(--wv-dark);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.modal-close:hover {
  background: var(--wv-sand);
}

.modal-content {
  padding: 44px;
}

.modal-copy {
  margin-bottom: 26px;
  padding-right: 44px;
}

.guide-form {
  background: var(--wv-cream);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 199, 163, 0.65);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--wv-dark);
  font-weight: 700;
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid rgba(31, 41, 51, 0.18);
  background: var(--wv-white);
  color: var(--wv-dark);
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--wv-green);
  box-shadow: 0 0 0 4px rgba(126, 155, 132, 0.16);
}

.form-btn {
  width: 100%;
  font-size: 17px;
}

.form-note {
  font-size: 14px;
  margin: 14px 0 0;
  color: var(--wv-text);
}

.honeypot {
  display: none !important;
}

footer {
  background: #17202A;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 26px 0;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-links {
    gap: 14px;
    font-size: 15px;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .pricing-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }

  .hero-image {
    height: 400px;
  }

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

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 58px 0;
  }

  .features,
  .testimonials,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-auto-rows: 250px;
  }

  .soft-card,
  .price-card {
    padding: 30px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .price {
    font-size: 42px;
  }

  .modal-content {
    padding: 32px 22px 22px;
  }

  .modal-copy {
    padding-right: 36px;
  }

  .guide-form {
    padding: 22px;
  }

  .image-card img {
    height: 320px;
  }
}


/* Extra website-image gallery spacing */
.site-gallery-intro {
  margin-top: 64px;
}

.site-gallery-grid {
  margin-top: 8px;
}


/* Consent checkbox */
.consent-group {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(31, 41, 51, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.consent-label {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
  font-weight: 400 !important;
  line-height: 1.45;
  cursor: pointer;
}

.consent-label input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  accent-color: var(--wv-green-dark);
}

.consent-label span {
  color: var(--wv-dark);
  font-size: 15px;
}
