/* =====================================================
   SHATA — Beauty & Makeup Products
   Main Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Playfair+Display:wght@600;700;900&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --pink: #f4c9d6;
  --pink-soft: #fbe4ea;
  --pink-deep: #e8a6b8;
  --burgundy: #7a1b3d;
  --burgundy-dark: #5c1530;
  --black: #141214;
  --black-soft: #1e1b1e;
  --cream: #faf6f2;
  --text-dark: #2b2320;
  --white: #ffffff;

  /* Fonts */
  --font-logo: 'Playfair Display', serif;
  --font-script: 'Alex Brush', cursive;
  --font-body: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style-position: inside;
}

/* =====================================================
   HEADER / NAV — appears on every page
   ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: var(--black);
}

.site-header .brand {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  color: var(--pink-soft);
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active {
  background: var(--burgundy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--black);
    padding: 10px 6%;
    gap: 4px;
    display: none;
  }
  .nav-menu.open { display: flex; }
}

/* =====================================================
   BUTTONS
   ===================================================== */

.pill-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 40px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(122, 27, 61, 0.35);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.pill-btn:hover,
.pill-btn:focus-visible {
  box-shadow: 0 10px 22px rgba(122, 27, 61, 0.45);
  transform: translateY(-3px);
}

.pill-btn.light {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--pink) 100%);
  color: var(--burgundy);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.pill-btn.light:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   HOME PAGE — HERO
   ===================================================== */

.hero {
  position: relative;
  background: radial-gradient(circle at 20% 20%, var(--pink-deep), var(--pink) 65%);
  padding: 90px 6% 70px;
  text-align: center;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "✦";
  position: absolute;
  color: rgba(122, 27, 61, 0.35);
  font-size: 2.5rem;
}

.hero::before { top: 12%; left: 10%; }
.hero::after  { bottom: 15%; right: 8%; font-size: 1.8rem; }

.hero .logo-huge {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(3.5rem, 12vw, 8rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
  text-stroke: 2px var(--white);
  letter-spacing: 6px;
}

.hero .tagline {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--burgundy-dark);
  margin: 6px 0 40px;
  letter-spacing: 1px;
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Intro / welcome section under hero */

.intro-section {
  padding: 70px 6%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-section h2 {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--burgundy);
  margin-bottom: 18px;
}

.highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
  list-style: none;
  text-align: left;
}

.highlight-list li {
  flex: 1 1 220px;
  background: var(--pink-soft);
  border-radius: 14px;
  padding: 22px;
  border-left: 4px solid var(--burgundy);
}

.highlight-list li strong {
  display: block;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.external-links {
  margin-top: 50px;
  font-size: 0.95rem;
}

.external-links a {
  color: var(--burgundy);
  border-bottom: 1px solid var(--burgundy);
  margin: 0 8px;
}

/* =====================================================
   PROFILE PAGE
   ===================================================== */

.profile-section {
  background: var(--black-soft);
  color: var(--white);
  padding: 60px 6% 90px;
}

.back-btn {
  margin-bottom: 30px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-grid h1 {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--pink);
  margin-bottom: 20px;
}

.profile-grid p {
  color: #e8dede;
  margin-bottom: 16px;
}

.profile-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile-images img {
  border-radius: 10px;
}

.profile-images img:first-child {
  grid-column: 1 / -1;
}

.values-list {
  max-width: 1100px;
  margin: 60px auto 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.values-list li {
  background: #2a2226;
  padding: 20px;
  border-radius: 10px;
  border-top: 3px solid var(--pink);
  text-align: center;
}

@media (max-width: 800px) {
  .profile-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   PRODUCTS PAGE
   ===================================================== */

.products-section {
  padding: 60px 6% 90px;
  text-align: center;
}

.products-section h1 {
  font-family: var(--font-script);
  font-size: 2.6rem;
  color: var(--burgundy);
  margin-bottom: 8px;
}

.products-section .subtitle {
  margin-bottom: 20px;
  color: #6b5c56;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--pink-soft);
  border: 1px solid var(--pink-deep);
  color: var(--burgundy);
  padding: 9px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 4px;
  padding: 16px 16px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card img {
  border-radius: 2px;
  margin-bottom: 14px;
}

.product-card .caption {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--burgundy);
}

.product-card.hidden {
  display: none;
}

.products-section .barcode {
  margin: 50px auto 30px;
  width: 140px;
  opacity: 0.7;
}

/* =====================================================
   CATALOG PAGE
   ===================================================== */

.catalog-section {
  background: var(--pink);
  padding: 60px 6% 90px;
  text-align: center;
}

.catalog-section h1 {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--burgundy-dark);
  margin-bottom: 40px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.catalog-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.catalog-card img { width: 100%; }

.catalog-card .info {
  padding: 16px;
}

.catalog-card .info .name {
  font-weight: 600;
  margin-bottom: 4px;
}

.catalog-card .info .price {
  color: var(--burgundy);
  font-weight: 600;
  font-size: 1.1rem;
}

.catalog-card .info .fav-btn {
  margin-top: 12px;
  background: none;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  padding: 7px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.catalog-card .info .fav-btn.saved {
  background: var(--burgundy);
  color: var(--white);
}

/* =====================================================
   FOOTER — appears on every page
   ===================================================== */

.site-footer {
  background: var(--black);
  color: #cfc7c7;
  padding: 50px 6% 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

.footer-grid h3 {
  color: var(--pink);
  font-family: var(--font-logo);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #cfc7c7;
}

.footer-grid a:hover { color: var(--pink); }

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 160px;
  padding: 10px 14px;
  border-radius: 30px;
  border: 1px solid #444;
  background: #1e1b1e;
  color: var(--white);
  font-family: var(--font-body);
}

.newsletter-form button {
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  background: var(--pink);
  color: var(--burgundy-dark);
  font-weight: 600;
  cursor: pointer;
}

.form-message {
  margin-top: 10px;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.form-message.success { color: #b8e0c0; }
.form-message.error { color: #e8a6a6; }

.footer-bottom {
  text-align: center;
  border-top: 1px solid #2a2626;
  padding-top: 18px;
  font-size: 0.8rem;
  color: #8a8080;
}
