/* CSS Variables */
:root {
  --warm-white: #faf9f7;
  --soft-beige: #f4f1eb;
  --muted-cream: #ede7dd;
  --natural-oak: #d4b896;
  --walnut-brown: #8b6f47;
  --forest-green: #2d4a3a;
  --matte-black: #1a1a1a;
  --brushed-gold: #c9a961;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(20px);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--matte-black);
  text-decoration: none;
  letter-spacing: -0.5px;
  z-index: 1003;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--matte-black);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brushed-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--brushed-gold);
}

.nav-links a:hover::after {
  width: 100%;
}

.contact-btn {
  background: var(--matte-black);
  color: var(--warm-white) !important;
  padding: 12px 24px;
  border-radius: 0;
  transition: all 0.3s ease;
  border: 2px solid var(--matte-black);
}

.contact-btn:hover {
  background: transparent;
  color: var(--matte-black) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--matte-black);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--warm-white);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 60px);
  margin-top: 100px;
  padding: 0 40px;
  text-align: center;
  overflow: hidden;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 60px;
}

.mobile-nav-links li {
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

/* Staggered Animation for Menu Items */
.mobile-menu.active .mobile-nav-links li:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.mobile-menu.active .mobile-nav-links li:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.mobile-nav-link {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--matte-black);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--brushed-gold);
  transform: scale(1.05);
}

.mobile-nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--brushed-gold);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
  width: 100%;
}

/* Mobile Contact Section */
.mobile-contact {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  margin-top: 40px;
}

.mobile-menu.active .mobile-contact {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--walnut-brown);
}

.mobile-contact-item span:first-child {
  font-size: 20px;
}

/* Backdrop blur effect when menu is open */
.mobile-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  background: rgba(250, 249, 247, 0.95);
  z-index: -1;
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-container {
    padding: 0 20px;
  }
}