:root {
  /* Color Palette */
  --color-beige: #F9F6F0;
  /* Soft, warm beige for backgrounds */
  --color-beige-dark: #EAE2D6;
  --color-rose: #E6C8C3;
  /* Elegant feminine rose */
  --color-rose-dark: #D4AFA9;
  --color-white: #FFFFFF;
  --color-gold: #C5A059;
  /* Luxury gold accent */
  --color-gold-light: #DFBA73;
  --color-gold-dark: #A88645;
  /* Darker champagne-gold for hover states */
  --color-text-dark: #333333;
  /* Dark gray for readability */
  --color-text-light: #7A7A7A;
  /* Softer text for secondary information */
  --color-overlay: rgba(0, 0, 0, 0.4);

  /* Typography */
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;

  /* Transitions & Shadows */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-bg-beige {
  background-color: var(--color-beige);
}

.text-center {
  text-align: center;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-icon-wrapper {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.cart-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.cart-icon-wrapper:hover svg {
  stroke: var(--color-gold);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text-dark);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  /* Elegant pill shape */
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold-dark);
  /* Rich champagne gold */
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.btn-primary:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 134, 69, 0.35);
  /* Subtle champagne shadow */
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(168, 134, 69, 0.25);
}

.btn-primary:active::before {
  background-color: #9C7C40;
  /* Slightly darker on click */
}

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

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold-dark);
  z-index: -1;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
}

.btn-outline:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  border-color: var(--color-gold-dark);
  box-shadow: 0 8px 20px rgba(168, 134, 69, 0.3);
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(168, 134, 69, 0.2);
}

.btn-outline:active::before {
  background-color: #9C7C40;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--color-beige);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.8;
  /* Slight overlay */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.7));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text-dark);
  margin-bottom: 40px;
}

/* Page Headers (Other pages) */
.page-header {
  height: 50vh;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-beige);
  margin-top: 0;
  /* Header overlaps */
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards (Services, Products, Testimonials) */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background-color: var(--color-white);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-beige-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-rose);
}

/* Footer */
footer {
  background-color: var(--color-beige);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-beige-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--color-text-light);
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Forms */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-beige-dark);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
    /* Above mobile menu */
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
/* Cart Drawer Styles */
#cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

#cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

#cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background-color: var(--color-white);
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

#cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 2rem;
  border-bottom: 1px solid var(--color-beige-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
  text-align: left;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.cart-close:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
}

.empty-cart-msg {
  text-align: center;
  color: var(--color-text-light);
  margin-top: 3rem;
}

.cart-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-beige);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-beige);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.cart-item-price {
  color: var(--color-gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-btn {
  background-color: var(--color-beige);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background-color: var(--color-beige-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0.25rem;
}

.cart-item-remove:hover {
  color: #ff4d4d;
}

.cart-footer {
  padding: 2rem;
  border-top: 1px solid var(--color-beige-dark);
  background-color: var(--color-beige);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.cart-subtotal-amount {
  color: var(--color-gold);
  font-size: 1.25rem;
}

.cart-footer .btn {
  width: 100%;
  margin-bottom: 1rem;
}
