/* bootstrap css */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css");

/* bootstrap icon */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

/* google fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600;700&family=Dancing+Script:wght@700&display=swap");

:root {
  --footer: #537d5d;
  --bg-main: #f8fae5;
  --card-bg: #b19470;
  --text: #76453b;
  --accent: #76453b;
  --nav-height: 90px;
  --soft-pink: #ffd6e0;
  --light-teal: #c1f0e6;
}

body {
  background-color: var(--bg-main);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding-top: var(--nav-height);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.3;
}

/* 
 Navbar 
*/
.navbar {
  min-height: var(--nav-height);
  background: linear-gradient(to right, rgba(83, 125, 93, 0.95), rgba(83, 125, 93, 0.9));
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 1rem;
  backdrop-filter: blur(5px);
}

/* Wavy bottom edge  */
.navbar:not(.show)::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fae5' d='M0,10L60,15C120,20,240,30,360,25C480,20,600,0,720,0C840,0,960,20,1080,25C1200,30,1320,20,1380,15L1440,10L1440,30L1380,30C1320,30,1200,30,1080,30C960,30,840,30,720,30C600,30,480,30,360,30C240,30,120,30,60,30L0,30Z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat bottom;
  background-size: 100% 100%;
  z-index: -1;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 10px;
  width: 100%;
}

.navbar-brand {
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  color: white !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.3);
}

/* Navigation links */
.navbar-nav {
  gap: 0.5rem;
  padding: 1rem 0;
  align-items: center;
}

.nav-link {
  color: white !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-item {
  width: fit-content;
}

/* Active link */
.nav-item.active .nav-link {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile menu button */
.navbar-toggler {
  border: none;
  color: white;
  font-size: 1.75rem;
  padding: 0.5rem;
}

/* Mobile menu */
.navbar-collapse {
  margin: 0 -1rem;
  padding: 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Desktop styles */
@media (min-width: 992px) {
  .navbar {
    padding: 0 2rem;
  }

  .navbar-collapse {
    background: transparent;
    margin: 0;
    padding: 0;
    border-top: none;
    box-shadow: none;
  }

  .navbar-nav {
    padding: 0;
  }

  .nav-link {
    padding: 0.5rem 1.25rem !important;
  }

  .navbar:not(.show)::after {
    bottom: -3px;
    height: 25px;
  }
}

/* 
  Footer 
*/
.footer {
  background: linear-gradient(to right, var(--footer), #476a52);
  color: white;
  padding: 8rem 0 2rem;
  position: relative;
  margin-top: 6rem;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  width: 100%;
  height: 6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fae5' d='M0,64L60,58C120,52,240,40,360,40C480,40,600,52,720,64C840,76,960,88,1080,82C1200,76,1320,52,1380,40L1440,28L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat bottom;
  background-size: 100% 100%;
  z-index: 1;
}

/* Footer content styling */
.footer-content {
  position: relative;
  z-index: 3;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

/* Main Content Styles */
.main-content {
  padding-top: 5rem;
  position: relative;
}

.section-title {
  font-family: "Playfair Display", serif;
  color: var(--text);
  position: relative;
  margin-bottom: 3rem;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
}

/* button style */
.btn {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.btn-light {
  background-color: white;
  color: var(--text);
}

.btn-outline-light {
  border: 2px solid white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--text);
}

.bg-accent {
  background-color: var(--accent) !important;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  border: none;
}

.btn-accent:hover {
  background-color: #5a362f;
  color: white;
}

.btn-outline-accent {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-outline-accent:hover {
  background-color: var(--accent);
  color: white;
}
