/* GENERAL */
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

:root {
  --wood-dark: #3a2a1e;
  --wood-light: #c7a47a;
  --accent: #d7b892;
  --bg: #f5f2ef;
  --text: #3e2d20;
}

body.dark {
  --bg: #1e1e1e;
  --text: #f5f5f5;
  --wood-dark: #d7b892;
  --wood-light: #3a2a1e;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: var(--wood-dark);
  color: white;
  padding: 10px 20px;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
}

.dark-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: white;
  margin-left: 10px;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: #3a2a1e; /* match video background */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px; /* space above video */
}

.hero-video {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* show full logo animation */
  display: block;
  margin: 0 auto;
}

.hero-content {
  margin-top: 30px; /* ensures text sits below video */
  text-align: center;
  z-index: 1;
}

.title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  margin: 10px 0;
}

.subtitle {
  max-width: 600px;
  margin: auto;
  font-size: 1.2rem;
  opacity: 0.85;
}

.hero-buttons {
  margin-top: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1.1rem;
  color: white;
  background: var(--wood-light);
  border-radius: 6px;
  text-decoration: none;
  margin: 5px 10px;
  transition: 0.3s;
}

.btn:hover {
  background: var(--wood-dark);
}

/* SERVICES */
.services {
  text-align: center;
  padding: 70px 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  padding-top: 40px;
}

.service-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.service-card img {
  width: 100%;
  border-radius: 12px;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* GALLERY */
.gallery {
  text-align: center;
  padding: 70px 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.06);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav .prev,
.lightbox-nav .next {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 20px;
}

/* REVIEWS */
.reviews {
  text-align: center;
  padding: 70px 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.review-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ARTICLES */
.articles {
  text-align: center;
  padding: 70px 20px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.article-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* CONTACT */
.contact {
  text-align: center;
  padding: 70px 20px;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  background: var(--wood-light);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: var(--wood-dark);
}

/* FOOTER */
footer {
  background: var(--wood-dark);
  padding: 20px;
  text-align: center;
  color: white;
}

/* ANIMATIONS */
[data-animate] {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.8s ease-out;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="zoom-in"] {
  transform: scale(0.85);
}

[data-animate="zoom-in"].animated {
  transform: scale(1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--wood-dark);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .title {
    font-size: 2rem;
  }
}