:root {
  --beige-light: #f8f3ec;
  --beige: #ede3d3;
  --beige-dark: #d8c4a4;
  --brown: #6b5641;
  --brown-dark: #4a3b2a;
  --text: #3d332a;
  --accent: #b08d57;
  --white: #fffdfa;
}

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

body {
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--beige-light);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--brown-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 243, 236, 0.95);
  backdrop-filter: blur(6px);
  z-index: 100;
  border-bottom: 1px solid var(--beige-dark);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown-dark);
}
.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brown-dark);
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--beige) 0%, var(--beige-light) 100%);
  padding: 60px 24px;
}

.hero-kicker {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--brown);
  max-width: 480px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: "Lato", sans-serif;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn-primary {
  background: var(--brown-dark);
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(74, 59, 42, 0.25);
}

/* About */
.about {
  padding: 40px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(107, 86, 65, 0.2);
}
.about-text h2 {
  margin-bottom: 18px;
  font-size: 2.2rem;
}
.about-text p {
  margin-bottom: 14px;
  color: var(--brown);
}

/* Services */
.services {
  background: var(--beige);
  padding: 90px 0;
  text-align: center;
}
.services h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--brown);
  margin-bottom: 40px;
}

.calculator {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 30px;
  box-shadow: 0 10px 30px rgba(107, 86, 65, 0.12);
}

.calc-field {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 6px;
}

.calc-field label {
  font-size: 0.85rem;
  color: var(--brown);
}

.calc-field select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--beige-dark);
  background: var(--beige-light);
  font-family: "Lato", sans-serif;
  font-size: 1rem;
}

.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 24px;
  border-left: 2px solid var(--beige);
}
.calc-label {
  font-size: 0.85rem;
  color: var(--brown);
}
.calc-price {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 700;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 20px;
  box-shadow: 0 8px 20px rgba(107, 86, 65, 0.1);
}
.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.price-card .amount {
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}
.price-card p {
  color: var(--brown);
  font-size: 0.95rem;
}

/* Gallery */
.gallery {
  padding: 90px 0;
  text-align: center;
}
.gallery h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s;
  box-shadow: 0 8px 20px rgba(107, 86, 65, 0.08);
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Reviews */
.reviews {
  background: var(--beige);
  padding: 90px 0;
}
.reviews h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.review-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(107, 86, 65, 0.1);
}
.review-card .stars {
  color: var(--accent);
  margin-bottom: 8px;
}
.review-card p.text {
  color: var(--brown);
  margin-bottom: 12px;
  font-style: italic;
}
.review-card .name {
  font-weight: 700;
  color: var(--brown-dark);
}

.review-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(107, 86, 65, 0.1);
}
.review-form h3 {
  text-align: center;
  margin-bottom: 18px;
}
.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--beige-dark);
  font-family: "Lato", sans-serif;
  background: var(--beige-light);
}
.review-form textarea {
  min-height: 90px;
  margin-bottom: 14px;
  resize: vertical;
}

/* Contact */
.contact {
  padding: 90px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.contact-details {
  list-style: none;
  margin-top: 20px;
  color: var(--brown);
}
.contact-details li {
  margin-bottom: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--beige-dark);
  background: var(--beige);
  font-family: "Lato", sans-serif;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 65px; /* moved up 15px (was 40px) */
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: none; /* disable the upward shift on hover */
  background-color: #20ba5a;
  color: #fff;
}

.whatsapp-icon {
  margin-top: 2px;
}

/* Footer */
.site-footer {
  background: var(--brown-dark);
  color: var(--beige-light);
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 18px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(248, 243, 236, 0.98);
    flex-direction: column;
    padding: 20px 18px;
    display: none;
    border-bottom: 1px solid var(--beige-dark);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    min-height: 68vh;
    padding: 52px 18px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .calc-result {
    border-left: none;
    border-top: 2px solid var(--beige);
    padding-left: 0;
    padding-top: 16px;
    width: 100%;
    align-items: flex-start;
  }
  .calculator {
    flex-direction: column;
  }
  .price-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
  }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 18px;
    bottom: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .logo {
    font-size: 1.1rem;
  }
  .hero-kicker {
    letter-spacing: 1px;
    font-size: 0.72rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
  .services,
  .gallery,
  .reviews,
  .contact {
    padding: 64px 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img {
    min-height: 180px;
  }
  .review-form {
    padding: 20px 16px;
  }
}

/* Responsive gallery grid */
#galleryGrid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: stretch;
  padding: 0;
  margin: 0;
}

#galleryGrid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}

/* Slightly tighter on small phones */
@media (max-width: 420px) {
  #galleryGrid {
    gap: 8px;
    grid-template-columns: repeat(1, 1fr);
  }
}

/* More columns on tablets / small desktops */
@media (min-width: 900px) {
  #galleryGrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Force 3 columns for the gallery on larger screens */
@media (min-width: 900px) {
  #galleryGrid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
  }
}
