/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fefcf7;
  color: #2d2d2d;
  line-height: 1.6;
  scroll-behavior: smooth; /* fallback smooth, but we use scroll-margin */
}

/* container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.header {
  position: sticky;
  top: 0;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 10px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d2d2d;
  line-height: 1.2;
}

.logo-tagline {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: #c49b63;
  font-weight: 400;
  text-transform: uppercase;
}

.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #2d2d2d;
  transition: color 0.2s;
  font-size: 1rem;
}

.nav ul li a:hover {
  color: #c49b63;
}

/* mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #2d2d2d;
  cursor: pointer;
}

/* sections general */
.section {
  padding: 80px 0 60px;
  scroll-margin-top: 80px; /* fixed header height compensation */
}

.section:nth-of-type(even) {
  background-color: #faf7f2;
}

.bg-light {
  background-color: #faf7f2;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: #2d2d2d;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #c49b63;
  margin: 12px auto 0;
  border-radius: 3px;
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
  color: #5f5f5f;
  font-weight: 300;
  font-size: 1.1rem;
}

/* HERO */
.hero {
  position: relative;
  background: #2d2d2d; /* fallback for image placeholder */
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1600x700?text=Hero+Banner+Placeholder');
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: #f5e3c9;
}

.hero-welcome {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 20px 0 10px;
}

.welcome-message {
  background: rgba(196, 155, 99, 0.2);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 400;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 1.1rem;
}

.welcome-message i {
  margin-right: 8px;
  color: #c49b63;
}

.hero-family {
  font-size: 1.3rem;
  margin: 15px 0 30px;
  font-weight: 500;
  background: #c49b63;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 40px;
  color: #2d2d2d;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn {
  display: inline-block;
  background: transparent;
  border: 2px solid white;
  padding: 12px 36px;
  border-radius: 40px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.3s;
  margin-top: 20px;
}

.btn-primary {
  background: #c49b63;
  border-color: #c49b63;
  color: #2d2d2d;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* about grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 30px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #3e3e3e;
}

/* image placeholders (modern, light) */
.img-placeholder {
  background: #d9c9b5;
  border-radius: 20px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5b4b3a;
  font-size: 1rem;
  font-weight: 400;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  border: 2px dashed #b2977a;
}

.img-placeholder i {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #7e6953;
}

.custom-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.gallery-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: 0.2s;
  border: 1px solid #f0e4d5;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-card .img-placeholder {
  height: 200px;
  border-radius: 0;
  border: none;
  background: #e7d6c0;
}

.card-content {
  padding: 20px 15px 20px;
}

.card-content h3 {
  font-weight: 600;
  margin-bottom: 6px;
  color: #2d2d2d;
}

.card-content p {
  color: #6f6f6f;
  font-size: 0.95rem;
}

.family-card .img-placeholder {
  background: #e4c6a0;
  color: #2c2c2c;
  font-weight: 500;
}

/* services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background: white;
  padding: 30px 20px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.02);
  border: 1px solid #f3e6d9;
  transition: 0.2s;
}

.service-item:hover {
  background: #fcf8f3;
}

.service-icon {
  font-size: 2.5rem;
  color: #c49b63;
  margin-bottom: 20px;
}

.service-item h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

/* contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.contact-info i {
  color: #c49b63;
  width: 30px;
  font-size: 1.2rem;
}

address {
  font-style: normal;
  margin: 15px 0 25px 30px;
  color: #4f4f4f;
  line-height: 1.8;
}

.map-placeholder {
  background: #e7dacb;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6a5f53;
  margin-top: 20px;
  border: 1px dashed #b2977a;
}

/* footer */
.footer {
  background: #1f2a36;
  color: #eae1d7;
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer h3, .footer h4 {
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-about p {
  color: #cbbfb3;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbbfb3;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #c49b63;
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 12px;
  color: #cbbfb3;
}

.footer-contact i {
  color: #c49b63;
  margin-right: 10px;
}

.footer-bottom {
  background: #121a22;
  padding: 25px 0;
  text-align: center;
  color: #a59a8e;
}

.footer-bottom .copyright {
  font-size: 0.95rem;
}

/* responsive design */
@media screen and (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 0 0 20px 20px;
    gap: 0;
    z-index: 999;
  }
  .nav ul.show {
    display: flex;
  }
  .nav ul li {
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #f3e1d2;
  }
  .nav ul li:last-child {
    border-bottom: none;
  }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .hero-welcome { flex-direction: column; gap: 10px; align-items: center; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-contact i { margin-right: 5px; }
  .section { padding: 60px 0 40px; }
}

@media screen and (max-width: 480px) {
  .logo h2 { font-size: 1.4rem; }
  .hero-title { font-size: 1.8rem; }
  .btn { padding: 10px 25px; }
  .gallery-grid { grid-template-columns: 1fr; }
}