
/* Loader */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #E6C888;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Sidebar Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background-color: #E6C888;
  color: #3e2f1c;
  padding: 30px 20px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}
nav h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 40px;
}
.nav-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
}
.nav-links a {
  font-weight: 600;
  font-size: 18px;
  color: #3e2f1c;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}
.nav-links a:hover {
  background-color: #a5b36c;
  color: white;
}
.socials {
  font-weight: 600;
  font-size: 14px;
  color: #3e2f1c;
}
.socials p {
  margin-bottom: 8px;
}
.socials a {
  display: block;
  margin-bottom: 6px;
  color: #3e2f1c;
  text-decoration: none;
}
.socials a:hover {
  text-decoration: underline;
}

/* Main content */
.main {
  margin-left: 240px; /* leave space for sidebar */
  max-width: 960px;
  padding: 20px;
  box-sizing: border-box;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
  color: #3e2f1c;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.logo {
  max-height: 150px;
  width: auto;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #E6C888;
  font-size: 3rem;
  margin: 0;
}
.hero-content h2 {
  font-weight: 400;
  font-size: 1.6rem;
  color: #555;
  min-height: 30px; /* avoid layout shift */
  margin: 0;
}
.hero-content p {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  margin: 0;
}

/* Section Titles */
h2 {
  font-family: 'Playfair Display', serif;
  color: #E6C888;
  font-weight: 600;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
}

/* Divider */
.divider {
  width: 80px;
  height: 3px;
  background-color: #E6C888;
  margin: 0 auto 20px auto;
  border-radius: 3px;
}

/* About Section text */
#about p {
  max-width: 800px;
  margin: 0 auto 15px auto;
  color: #4b3a1c;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* Cards container */
.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 40px auto;
}

/* Individual card */
.card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 220px;
  text-align: center;
  color: #3e2f1c;
  transition: transform 0.3s ease;
  cursor: default;
}
.card:hover {
  transform: translateY(-5px);
}
.card i {
  font-size: 2.5rem;
  color: #E6C888;
  margin-bottom: 15px;
}
.card h3 {
  font-family: 'Playfair Display', serif;
  color: #E6C888;
  margin-bottom: 10px;
}
.card p {
  font-size: 1rem;
  color: #555;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact form */
#contact-form {
  max-width: 600px;
  margin: 0 auto 40px 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;
  resize: vertical;
}
#contact-form button {
  background-color: #E6C888;
  border: none;
  color: #3e2f1c;
  font-weight: 600;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}
#contact-form button:hover {
  background-color: #c4a66a;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px 20px;
  color: #3e2f1c;
  font-size: 0.9rem;
  margin-top: 50px;
}

/* Scroll to Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #E6C888;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: #3e2f1c;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  z-index: 1500;
}
#scrollTopBtn:hover {
  background-color: #c4a66a;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px;
    box-shadow: none;
  }
  .main {
    margin-left: 0;
    padding: 20px;
  }
  .cards {
    justify-content: center;
  }
  .hero-content {
    flex-direction: column;
  }
}
/* Hide sidebar nav on mobile */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .main {
    margin-left: 0;
    padding: 20px;
  }

  footer .mobile-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  footer .mobile-nav a {
    color: #3e2f1c;
    text-decoration: none;
    font-weight: 600;
  }

  footer .mobile-nav a:hover {
    text-decoration: underline;
  }
}
/* === Hide Sidebar for Mobile View === */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  #hamburger {
    display: none;
  }

  .main {
    margin-left: 0;
    padding: 20px;
  }
}