* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-primary: "Cormorant Garamond", serif;
  --font-secondary: "Source Sans 3", sans-serif;
}

body {
  font-family: var(--font-primary);
  background: #F7F3EE;
}

html {
  font-size: 16px;
}

/* ===================== HEADER ===================== */
.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

/* ===================== NAV CONTAINER ===================== */
.nav-header .nav-bar-container {
  background-color: #F7F3EE;
  height: 90px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
}

/* ===================== LOGO (OUTSIDE NAV) ===================== */
.nav-header .logo-outside {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-header .logo {
  height: 52px;
  width: auto;
}

/* ===================== NAV BAR (PILL) ===================== */
.nav-header .nav-bar {
  background-color: #eee5d8;
  width: 100%;
  max-width: 1100px;
  padding: 0.75rem 2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-left: auto;
  box-shadow: 0px 2px 2px 0px #5a3e2b;
}

/* ===================== NAV LINKS ===================== */
.nav-header .nav-bar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-header .nav-bar ul li {
  position: relative;
}

.nav-header .nav-bar ul li a {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  font-weight: 600;
  color: #5a3e2b;
  text-decoration: none;
  padding: 10px 4px;
  transition: color 0.25s ease;
  position: relative;
  display: inline-block;
}

.nav-header .nav-bar ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background-color: #5a3e2b;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-header .nav-bar ul li a:hover::after {
  width: 100%;
}

.nav-header .nav-bar ul li a:hover {
  color: #3f2f22;
}

.nav-header .nav-bar ul li.active a {
  color: #3f2f22;
}

.nav-header .nav-bar ul li.active a::after {
  width: 100%;
}

/* click press effect */
.nav-header .nav-bar ul li a:active {
  transform: scale(0.96);
}

/* ===================== SEARCH BOX ===================== */
.nav-header .nav-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 100px;
  max-width: 300px;
  height: 42px;
  padding: 8px 16px;
  background-color: transparent;
  border: 1.5px solid #5a3e2b;
  border-radius: 999px;
  cursor: text;
  transition: box-shadow 0.3s ease;
}

.nav-header .nav-search-box:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.nav-header .nav-search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  color: #5a3e2b;
}

.nav-header .nav-search-box input::placeholder {
  color: #5a3e2b;
}

/* ===================== MOBILE MENU BUTTON ===================== */
.nav-header .nav-bar-open-btn-sm {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b5b4b;
  background-color: #eee5d8;
    width: auto;
    padding: .5rem;
    border-radius: 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 2px 2px 0px #5a3e2b;
	position:absolute;
}

/* ===================== MOBILE OVERLAY ===================== */
.nav-header .nav-bar-sm-container {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1000;
}

.nav-header .nav-bar-sm-container.show {
  display: block;
}

/* ===================== MOBILE SIDEBAR ===================== */
.nav-header .nav-bar-sm {
  width: 260px;
  height: 100%;
  background-color: #eee5d8;
  padding: 1.5rem;
  animation: slideIn 0.35s ease forwards;
  overflow-y: auto;
}

/* ===================== MOBILE SEARCH ===================== */
.nav-header .nav-search-box-sm {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  gap: 5px;
  margin-bottom: 1rem;
  height: 44px;
  padding: 10px 16px;
  background-color: transparent;
  border: 1.5px solid #5a3e2b;
  border-radius: 999px;
  cursor: text;
  transition: box-shadow 0.3s ease;
}

.nav-header .nav-search-box-sm:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.nav-header .nav-search-box-sm input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  color: #5a3e2b;
}

.nav-header .nav-search-box-sm input::placeholder {
  color: #5a3e2b;
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===================== GLASS EFFECT ON SCROLL ===================== */
@media (min-width: 911px) {
  .nav-header.scrolled .nav-bar-container {
    background: #eee5d891;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-header.scrolled .nav-bar {
    background: transparent;
    box-shadow: none;
    border: none;
  }
}

.nav-header .nav-search-box:focus-within {
  box-shadow: 0 0 0 2px rgba(90, 62, 43, 0.25);
}

@media (max-width: 1200px) {
	.nav-header .nav-bar ul{
		gap: 16px;
	}
}


@media (max-width: 1100px) {
	.nav-header .nav-bar ul{
		gap: 8px;
	}
}

/* ===================== MOBILE LINKS ===================== */
.nav-header .nav-bar-sm ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 2.5rem;
}

.nav-header .nav-bar-sm ul li a {
  font-family: "Cormorant Garamond", serif;
  color: #5a4633;
  text-decoration: none;
  display: block;
  padding: 12px 10px;
  border-radius: 8px;
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  font-weight: 600;
  transition:
    background-color 0.25s ease,
    transform 0.15s ease;
}

.nav-header .nav-bar-sm ul li a:hover {
  background-color: rgba(90, 62, 43, 0.1);
}

.nav-header .nav-bar-sm ul li a:active {
  transform: scale(0.97);
}

.nav-header .nav-search-box-sm:focus-within {
  box-shadow: 0 0 0 2px rgba(90, 62, 43, 0.25);
}

/* ===================== CLOSE BUTTON ===================== */
.nav-header .nav-close-btn {
  display: flex;
}

.nav-header .nav-close-btn button {
  background: none;
  border: none;
  font-size: 1.4rem;
  margin-left: auto;
  cursor: pointer;
  color: #6b5b4b;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1050px) {
  .nav-header .nav-bar ul li a {
    font-size: 1.1rem;
  }

  .nav-header .nav-search-box {
    width: 150px;
  }
}

@media (max-width: 1000px) {
  .nav-header .nav-bar {
    padding: 0.75rem 1.5rem;
  }
}

@media (max-width: 910px) {
  .nav-header .nav-bar ul,
  .nav-header .nav-search-box {
    display: none;
  }

  .nav-header .nav-bar {
    justify-content: flex-end;
    gap: 1rem;
  }

  .nav-header .nav-bar-open-btn-sm {
    display: flex;
  }

  .nav-header .logo-outside{
	margin: auto;
  }
	
	
  .nav-header .nav-bar {
    background-color: #eee5d8;
    width: auto;
    padding: 1rem 1rem 0.5rem 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    box-shadow: 0px 2px 2px 0px #5a3e2b;
  }
	
  .nav-header .nav-bar{
 		display:none;
  }
}

@media (max-width: 600px) {
  .nav-header .nav-bar-container {
    justify-content: space-between;
    padding: 0 1rem;
  }

  .nav-header .nav-bar-container {
    height: 70px;
  }

  .nav-header .nav-bar {
    width: auto;
    padding: 0.5rem 0.5rem 0rem 0.5rem;
  }

  .nav-header .logo {
    height: 46px;
  }

  .nav-header .nav-bar-sm ul {
    gap: 5px;
    margin-top: 1rem;
  }
}

/* ===================== FOOTER ===================== */

.footer-sec {
  padding: 4rem 1.5rem 0 1.5rem;
  background: #F7F3EE;
  font-family: var(--font-secondary);
}

.footer-sec .footer-sec-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #eee5d8;
  border-radius: 32px;
  padding: 3rem;
}

/* Top */
.footer-sec .footer-sec-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-sec .footer-sec-top-left {
  min-width: 180px;
}

.footer-sec .footer-sec-top h3 {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: #5a3e2b;
}

.footer-sec .footer-sec-top p {
  font-size: 0.9rem;
  color: #5a3e2b;
}

.footer-sec .footer-sec-form {
  width: 100%;
  max-width: 420px;
  min-width: 200px;
}

.footer-sec .footer-sec-input-wrap {
  position: relative;
  width: 100%;
  height: 52px;
  border-radius: 999px;
  border: 1.5px solid #5a3e2b;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 4px;
}

.footer-sec .footer-sec-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 1.2rem;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: #5a3e2b;
}

.footer-sec .footer-sec-input-wrap input::placeholder {
  color: #5a3e2b;
  opacity: 0.85;
}

.footer-sec .footer-sec-input-wrap button {
  height: 100%;
  flex-shrink: 0;
  padding: 0 1.8rem;
  border-radius: 999px;
  border: none;
  background: #5a3e2b;
  color: #ffffff;
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Hover */
.footer-sec .footer-sec-input-wrap button:hover {
  background: #3f2f22;
}

/* Divider */
.footer-sec .footer-sec-divider {
  height: 1px;
  background: #5a3e2b;
  opacity: 0.4;
  margin: 2.5rem 0;
}

.footer-sec .footer-sec-logo img {
  width: 230px;
  height: 125px;
}

/* Bottom Content */
.footer-sec .footer-sec-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
  gap: 2rem;
}

.footer-sec .footer-sec-content h4 {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 700;
  color: #5a3e2b;
  margin-bottom: 1rem;
}

.footer-sec .footer-sec-content p,
.footer-sec .footer-sec-content a {
  font-size: 0.9rem;
  color: #5a3e2b;
  line-height: 1.6;
  text-decoration: none;
}

.footer-sec .footer-sec-links ul {
  list-style: none;
}

.footer-sec .footer-sec-links li + li {
  margin-top: 0.5rem;
}

.footer-sec .footer-social-icons {
  display: flex;
  gap: 1rem;
}

.footer-sec .footer-social-icons a svg {
  height: 24px;
  width: 24px;
  transition: transform 0.25s ease;
}

.footer-sec .footer-social-icons a:hover svg {
  transform: scale(1.1);
}

.footer-sec .footer-bottom {
  width: 100%;
  padding: 1.25rem 1rem;
  background: #F7F3EE;
  text-align: center;
}

.footer-sec .footer-bottom p {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  color: #5a3e2b;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-sec .footer-sec-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-sec .footer-sec-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-sec .footer-sec-divider {
    margin: 1rem 0;
  }

  .footer-sec .footer-sec-logo img {
    width: 200px;
    height: 100px;
  }

  .footer-sec .footer-sec-container {
    padding: 2rem;
  }

  .footer-sec .footer-sec-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-sec .footer-social-icons {
    justify-content: center;
  }

  .footer-sec .footer-sec-form {
    width: 100%;
    min-width: 200px;
  }

  .footer-bottom {
    padding: 1rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  .footer-sec .footer-sec-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }

  .footer-sec .footer-sec-links li + li {
    margin-top: 0;
  }

  .footer-sec .footer-sec-content h4 {
    margin-top: 0.5rem;
  }

  .footer-sec .footer-bottom {
    padding: 0.5rem 0rem;
  }
}

@media (max-width: 480px) {
	.footer-sec .footer-sec-container {
    padding: 1rem;
  }
}

/* animation using jQuery */

/* ===== Scroll Reveal Base ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Variations */
.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  transform: none;
}

.text-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(25px);
}

.text-word.active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

#scrollToTop {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #5a3e2b;
  color: #f7f3ee;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}
