/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  background: #ccc6a1;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .nav-underline {
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: black;
  transition: all 0.3s ease;
  width: 0;
  left: 0;
}


.navbar ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-weight: 600;
}
.navbar a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}


/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
  background: #ccc6a1;
  padding-bottom: 100px; /* Ensure enough scroll height */
}
.hero-content {
  flex: 1 1 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-image {
  flex: 1 1 100%;
  height: 400px;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Layout (Mobile First) */
.section {
  display: block;
  width: 100%;
}
.section-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.section-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.section-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.section-content p {
  font-size: 1rem;
  max-width: 600px;
}

/* Button */
.cta-button {
  display: inline-block;
  background: white;
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  margin-top: 1.5rem;
  transition: all 0.2s ease-in-out;
  width: max-content;
  align-self: center;
}
.cta-button:hover {
  background: #e0e0e0;
}

/* Desktop Layout */
@media screen and (min-width: 768px) {
  .hero {
    flex-wrap: nowrap;
  }
  .hero-content,
  .hero-image {
    flex: 1 1 50%;
  }
  .hero-image {
    height: 100vh;
  }

  .section {
    display: flex;
    flex-wrap: nowrap;
    min-height: 100vh;
  }

  .section-image,
  .section-content {
    flex: 1 1 50%;
    min-height: 100vh;
  }

  .section-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .section.reverse {
    flex-direction: row-reverse;
  }
}




#about {
  background-color: #ffffff;
  color: white; /* Optional: improves contrast */
}

#about .section-content {
  color: rgb(0, 0, 0);
}



#services {
  background-color: #ccc6a1;
  color: white; /* Optional: improves contrast */
}

#services .section-content {
  color: white;
}


#contact {
  background-color: white;
}

.service-card {
  margin-top: 20px;
  background: white;
  color: black;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.service-card a.cta-button {
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.service-card {
  text-align: center;
}

.service-card .cta-button {
  margin-top: 1rem;
}


/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 500px;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px;
}

/* ===== MOBILE HERO FIX ===== */
@media screen and (max-width: 767px) {
  .hero {
    flex-direction: column;
  }

  .hero-image {
    order: -1; /* Put the image on top */
    height: 400px;
    position: relative;
  }

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

  .hero-content h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 90%;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    z-index: 1;
  }

  .hero-content {
    padding-top: 2rem;
  }
}


/* style.css */
/* … your existing rules above … */

/* ── BLOG STYLING ───────────────────────────────────────────────── */

body.blog-page {
  background: #f8f2e9;
}

.blog-container {
  max-width: 700px;
  margin: 3rem auto;
  padding: 0 1rem;
  font-family: 'Inter', sans-serif;
}

.blog-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #3a3a3a;
}

.blog-post {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ccc6a1;
}

.blog-post h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.blog-post .date {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
  font-style: italic;
}

.blog-post .post-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.blog-post .post-content p {
  margin-bottom: 1rem;
}

.blog-post .post-content ul,
.blog-post .post-content ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.blog-post .post-content a {
  color: #336699;
  text-decoration: underline;
}

.blog-post hr {
  border: none;
  border-top: 1px solid #e0d8b0;
  margin: 2rem 0;
}
