/* Make sure the footer stays at the bottom of the viewport */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full screen height */
  color: #ffffff;
}

/* Whatever wraps your main content */
main {
  flex: 1; /* pushes the footer down */
}

/* Footer stays at bottom */
footer {
  margin-top: auto; /* ensures footer is at the bottom */
}



/* ============================= */
/* NAVBAR BASE */
/* ============================= */
.navbar {
  background-color: #ffffff;
  border-bottom: 2px solid #000;
  font-family: "Baskerville", serif;
}

.navbar-container {
  display: flex;
  align-items: center;
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

/* ============================= */
/* BRAND */
/* ============================= */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.navbar-logo {
  width: 70px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  font-size: 28px;
  font-weight: bold;
  color: rgb(216, 188, 27);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* ============================= */
/* HAMBURGER */
/* ============================= */
.navbar-toggle {
  margin-left: auto;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background-color: #000;
}

/* ============================= */
/* NAV LINKS (DESKTOP) */
/* ============================= */
.navbar-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
  padding: 0;
}

.navbar-links a {
  text-decoration: none;
  color: rgb(216, 188, 27);
  font-weight: bold;
  font-size: 18px;
}

.navbar-links a:hover {
  color: #000;
}

/* ============================= */
/* DROPDOWN (DESKTOP) */
/* ============================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  top: 100%;
  left: 0;
  min-width: 180px;
  border: 1px solid #ddd;
  border-radius: 6px;
  z-index: 10;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu a {
  color: rgb(216, 188, 27);
}

/* Hover open on desktop */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ============================= */
/* DROPDOWN ARROW ANIMATION */
/* ============================= */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* ============================= */
/* MOBILE LAYOUT */
/* ============================= */
@media (max-width: 992px) {

  /* Show hamburger */
  .navbar-toggle {
    display: flex;
  }

  /* Hide menu by default */
  .navbar-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    display: none;
    border-bottom: 2px solid #000;
  }

  /* Show menu when toggled */
  .navbar-links.active {
    display: flex;
  }

  .navbar-links li {
    padding: 0.5rem 0;
  }

  /* Disable hover dropdown on mobile */
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  /* Mobile dropdown closed by default */
  .dropdown-menu {
    position: static;
    border: none;
    display: none;
    text-align: center;
  }

  /* Show dropdown when active */
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* ============================= */
/* SMALL PHONE FONT FIX */
/* ============================= */
@media (max-width: 360px) {
  .brand-text {
    font-size: 22px;
  }
}






/* ============================= */
/* PRICING SECTION */
/* ============================= */
.pricing {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ============================= */
/* HEADINGS */
/* ============================= */
.pricing-heading {
  font-family: "Baskerville", serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: bold;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 0.5rem;
}

.pricing-subheading {
  font-family: "Baskerville", serif;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 0.5rem;
}

.pricing-text {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #000;
  margin-bottom: 3rem;
}

/* ============================= */
/* GRID LAYOUT */
/* ============================= */
.sections {
  display: grid;
  gap: 2rem;
}

/* 1 column on phones */
@media (max-width: 767px) {
  .sections {
    grid-template-columns: 1fr;
  }
}

/* 2 columns on tablets */
@media (min-width: 768px) and (max-width: 1023px) {
  .sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 columns on desktop */
@media (min-width: 1024px) {
  .sections {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================= */
/* PRICING CARDS */
/* ============================= */
.pricing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid rgb(216, 188, 27);
  border-radius: 8px;
  height: 100%;
}

/* Card heading */
.pricing-section .section-heading {
  font-family: "Baskerville", serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 0.5rem;
}

/* Price / subheading */
.pricing-section .section-subheading {
  font-family: "Baskerville", serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 1rem;
}

/* Description text */
.pricing-section .section-text,
.pricing-section .section-options {
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* ============================= */
/* BUTTON ALIGNMENT */
/* ============================= */
.pricing-section {
  justify-content: space-between; /* ensures button sits at bottom */
}

/* Button */
.section-button {
  margin-top: 1.5rem;
  text-decoration: none;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: "Baskerville", serif;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #000;
  background-color: #ead258;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.section-button:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
}








/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  background-color: #ffffff;
  color: rgb(216, 188, 27);
}

/* ============================= */
/* FOOTER MAIN BAR */
/* ============================= */
.footer {
  padding: 2rem 1rem;
  border-top-style: solid;
  border-color: #000;
}

/* Layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================= */
/* FOOTER LOGO / ADDRESS */
/* ============================= */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: rgb(216, 188, 27);
  line-height: 1.4;
}

.footer-logo img {
  width: 60px;
  height: auto;
}

/* ============================= */
/* FOOTER NAV LINKS */
/* ============================= */
.footer-foot {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-item {
  list-style: none;
}

.footer-link {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: rgb(216, 188, 27);
}

.footer-link:hover {
  color: #000;
}

/* ============================= */
/* POLICIES */
/* ============================= */
.policies {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background-color: #ffffff;
  margin: 0;
}

.policy_text {
  text-decoration: none;
  font-family: "Baskerville", serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: rgb(216, 188, 27);
}

.policy_text:hover {
  color: #000;
}

/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-foot {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-logo {
    justify-content: center;
    text-align: center;
  }
}