/* Folder structure setup with styles.css and gallery.js (with smooth transitions) */

/* styles.css */
:root {
  --primary: #c59d5f;
  --secondary: #fff8f0;
  --dark: #222222;
  --accent: #fce3c2;
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--secondary);
  color: var(--dark);
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
nav {
  background: var(--accent);
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: sticky;
  top: 0;
}
nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s;
}
nav a:hover, nav a.active {
  color: var(--primary);
}
header {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideFade 1.2s ease forwards;
}
@keyframes slideFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
header h1, header p, header a {
  position: relative;
  z-index: 1;
}
header h1 {
  font-size: 3rem;
  color: var(--primary);
}
header a {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background 0.3s;
  opacity: 0;
  animation: fadeIn 2s ease forwards 0.8s;
}
header a:hover { background: #b5894f; }
main {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 0.5s;
}
footer {
  background: var(--accent);
  text-align: center;
  padding: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1s;
}
.carousel img { width: 100%; border-radius: 8px; transition: opacity 0.5s ease; opacity: 0; }
.carousel img.active { opacity: 1; }

/* ===== Services page layout ===== */
.services {
  padding: 6rem 10% 3rem;
  background: linear-gradient(180deg, var(--secondary), #fff);
  text-align: center;
}
.services h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: .5rem;
}
.services .sub {
  margin: 0 auto 2rem;
  max-width: 700px;
  opacity: .85;
}

/* Filter tabs */
.tabs {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 6px;
  gap: 6px;
  margin: 1rem auto 3rem;
}
.tab-btn {
  border: none;
  background: transparent;
  color: var(--dark);
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .1s, color .2s;
}
.tab-btn.active { background: var(--accent); color: var(--primary); }
.tab-btn:active { transform: translateY(1px); }

/* Card grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, opacity .3s ease;
  opacity: 0;
  animation: fadeIn .8s ease forwards;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.09);
}
.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.service-card-content { padding: 1.25rem 1.25rem 1.5rem; }
.service-card-content h3 {
  margin: 0 0 .35rem;
  color: var(--primary);
  font-size: 1.15rem;
}
.service-card-content p {
  margin: .25rem 0 0;
  font-size: .95rem;
  line-height: 1.55;
  opacity: .9;
}

/* Small label chip used in cards */
.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--dark);
  margin-bottom: .5rem;
}

/* Burger / mobile nav (matches your existing nav) */
.burger { display: none; flex-direction: column; gap: 5px; position: absolute; right: 20px; top: 15px; cursor: pointer; }
.burger div { width: 25px; height: 3px; background: var(--dark); }

@media (max-width: 768px) {
  nav { flex-direction: column; align-items: flex-start; }
  nav a { display: none; padding: .8rem 0; width: 100%; }
  nav.active a { display: block; }
  nav.active {padding-bottom: 1.5rem;  }
  .burger { display: flex; }
}


/* --- Contact page additions --- */
.contact { padding: 6rem 10% 3rem; background: linear-gradient(180deg, var(--secondary), #fff); }
.contact h1 { font-size: 3rem; color: var(--primary); text-align: center; margin: 0 0 1.25rem; }
.contact .sub { text-align: center; opacity: .85; margin: 0 auto 2.25rem; max-width: 760px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.06); padding: 1.25rem; }
.card h3 { margin: .2rem 0 .35rem; color: var(--primary); font-size: 1.05rem; }
.card p, .card a { margin: 0; line-height: 1.55; color: var(--dark); text-decoration: none; }
.card a:hover { text-decoration: underline; }

.map-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06); }

.contact-form { max-width: 720px; margin: 2rem auto; background: #fff; padding: 1.5rem; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.contact-form label { display: block; font-weight: 600; margin: .25rem 0 .35rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: .9rem; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; background: #fff;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .actions { margin-top: .75rem; display: flex; gap: .75rem; align-items: center; }
.contact-form button {
  padding: .9rem 1.4rem; font-size: 1rem; background: var(--primary); color: #fff; border: none; border-radius: 8px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.contact-form button[disabled]{ opacity: .6; cursor: not-allowed; }
.note { font-size: .9rem; opacity: .8; }
.hidden-hp { position: absolute; left: -9999px; visibility: hidden; }

.alert { display: none; margin: .75rem 0 0; padding: .8rem 1rem; border-radius: 10px; font-weight: 600; }
.alert.success { display: block; background: #e8f6ee; color: #18794e; }
.alert.error   { display: block; background: #ffefef; color: #b32626; }

/* Burger/mobile nav already in your CSS; included here in case contact.html lacks it */
.burger { display: none; flex-direction: column; gap: 5px; position: absolute; right: 20px; top: 15px; cursor: pointer; }
.burger div { width: 25px; height: 3px; background: var(--dark); }
@media (max-width: 768px) {
  nav { flex-direction: column; align-items: flex-start; position: relative; }
  nav a { display: none; padding: .5rem 0; width: 100%; }
  nav.active a { display: block; }
  .burger { display: flex; }
}


/* Global CTA button */
a.cta {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
  display: inline-block;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
a.cta:hover {
  background: #b5894f; /* darker gold */
}
/* Center CTA block on services page */
.cta-wrap {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 0rem; /* <-- this creates breathing room above footer */
}

.cta-wrap-bottom {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem; /* <-- this creates breathing room above footer */
}


nav {
      background: var(--accent);
      padding: 1rem 5%;
      padding-bottom: 30px;
      display: flex;
      justify-content: center;
      gap: 2rem;
      font-size: 1.1rem;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    nav a {
      text-decoration: none;
      color: var(--dark);
      font-weight: 600;
      transition: color 0.3s;
    }
