/* =============================================
   GLOWBERRY — Static Site Stylesheet
   ============================================= */

:root {
  --gold: #8a7035;
  --gold-light: #b8962e;
  --dark: #1a1a1a;
  --dark-bg: #2a2a2a;
  --white: #ffffff;
  --off-white: #f9f6f1;
  --text: #333333;
  --text-light: #666666;
  --border: #e5e0d8;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- ANNOUNCEMENT BAR ---- */
.announcement-bar {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-link { flex-shrink: 0; }
.logo { height: 36px; width: auto; }

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a {
  color: var(--text);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold); }

.header-icons {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.icon-btn:hover { color: var(--gold); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 4px 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-bg);
  border-color: var(--dark-bg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  position: absolute;
  bottom: 60px;
  left: 60px;
  max-width: 480px;
  color: var(--white);
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  line-height: 1.6;
}

/* ---- TRUST SECTION ---- */
.trust-section {
  background: var(--off-white);
  padding: 60px 24px;
}

.trust-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.trust-item .trust-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.trust-item h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ---- ABOUT SECTION ---- */
.about-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.3;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ---- PRODUCTS SECTION ---- */
.products-section {
  padding: 80px 24px;
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.product-img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--off-white);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-info {
  padding: 16px;
  flex: 1;
}
.product-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}
.price {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.product-card .btn {
  margin: 0 16px 16px;
  width: calc(100% - 32px);
  padding: 10px;
  font-size: 0.85rem;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---- FAQ SECTION ---- */
.faq-section {
  background: var(--off-white);
  padding: 80px 24px;
}

.faq-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- EMAIL SECTION ---- */
.email-section {
  background: var(--dark);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}

.email-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 12px;
}

.email-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.email-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.email-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
}
.email-form input::placeholder { color: rgba(255,255,255,0.5); }
.email-form input:focus { border-color: var(--gold); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr 280px;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); }

.footer-group summary {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  margin-bottom: 12px;
}

.footer-group a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-group a:hover { color: var(--white); }

.footer-company h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-company p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--off-white);
  padding: 60px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--dark);
}

/* ---- CATALOG PAGE ---- */
.catalog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- PRODUCT PAGE ---- */
.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-page-img img {
  width: 100%;
  border-radius: 8px;
}

.product-page-info h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.product-page-info .price-large {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}

.product-page-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-page-info .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* ---- CONTACT PAGE ---- */
.contact-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 24px;
}

.contact-section h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form .btn { align-self: flex-start; }

/* ---- POLICY PAGES ---- */
.policy-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.policy-section h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 32px 0 12px;
  color: var(--dark);
}
.policy-section p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .products-grid,
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-img { height: 480px; }
  .hero-content {
    left: 24px;
    right: 24px;
    bottom: 40px;
  }
  .hero-content h1 { font-size: 2rem; }

  .trust-grid { grid-template-columns: 1fr; gap: 24px; }

  .about-inner { grid-template-columns: 1fr; }

  .product-page { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .email-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid,
  .catalog-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.6rem; }
}
