/* ============================================
   BeautyCraft — Stylesheet Principale
   Palette: Sage Green + Warm Gold + Bianco
   ============================================ */

:root {
  --sage: #8fae8b;
  --sage-light: #d4e4d0;
  --sage-dark: #5e7a5a;
  --gold: #c4a35a;
  --gold-light: #e8d5a0;
  --cream: #faf8f4;
  --charcoal: #2c2c2c;
  --grey: #6b6b6b;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --transition: 0.3s ease;
}

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

body {
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.center {
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--gold);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--sage-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}
.brand-img {
  height: 48px;
  width: auto;
}
.main-nav a {
  margin-left: 32px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.main-nav a:hover {
  color: var(--sage-dark);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Welcome Panel (Hero) --- */
.welcome-panel {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.welcome-bg {
  position: absolute;
  inset: 0;
}
.welcome-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(94, 122, 90, 0.85) 0%,
    rgba(44, 44, 44, 0.7) 100%
  );
}
.welcome-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  color: var(--white);
}
.welcome-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.welcome-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

/* --- Sections --- */
.section-pad {
  padding: 80px 0;
}
.bg-light {
  background: var(--cream);
}
.bg-sage {
  background: var(--sage-light);
}
.section-head {
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 8px;
}
.section-head p {
  color: var(--grey);
  max-width: 560px;
  margin: 12px auto 0;
}
.label-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage-dark);
  background: var(--sage-light);
  padding: 4px 14px;
  border-radius: 50px;
}

/* --- Grid Two --- */
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.text-block h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0 16px;
}
.text-block p {
  color: var(--grey);
  margin-bottom: 16px;
}
.img-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.product-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  border: 2px solid var(--sage-light);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--sage-dark);
}
.card-img {
  border-radius: 8px;
  margin-bottom: 0;
}
.featured-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--grey);
  font-size: 0.92rem;
}
.price-tag {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.price-tag strong {
  color: var(--sage-dark);
  font-size: 1.1rem;
}
.price-lg strong {
  font-size: 1.4rem;
  color: var(--gold);
}
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-top: 8px;
}

/* --- Features --- */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 24px;
}
.feature-num {
  font-size: 3rem;
  font-weight: 200;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 16px;
}
.feature-icon {
  font-size: 2.5rem;
  color: var(--sage-dark);
  margin-bottom: 16px;
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-item p {
  color: var(--grey);
  font-size: 0.9rem;
}

/* --- Address --- */
.address-block {
  margin: 32px auto;
  max-width: 400px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.address-line {
  margin: 4px 0;
  font-size: 0.95rem;
}
.hours-block {
  margin-top: 24px;
}
.hours-block h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.hours-block p {
  color: var(--grey);
  font-size: 0.9rem;
  margin: 2px 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0;
  font-size: 0.85rem;
}
.footer-inner {
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 24px;
}
.footer-links a:hover {
  color: var(--gold);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .welcome-content h1 {
    font-size: 2rem;
  }
  .welcome-panel {
    min-height: 400px;
  }
  .welcome-content {
    padding: 48px 0;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .features-row {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-bottom: 1px solid var(--sage-light);
    box-shadow: var(--shadow);
  }
  .main-nav.open a {
    margin: 8px 0;
  }
  .menu-toggle {
    display: block;
  }
  .flex-between {
    flex-direction: column;
    gap: 12px;
  }
  .section-pad {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .welcome-content h1 {
    font-size: 1.6rem;
  }
  .btn-primary {
    padding: 12px 24px;
    font-size: 0.85rem;
  }
}
