/* ───────────────────────────────────────────
   Sweety's Candies — Styles
   Palette: Deep Navy (#1B2A4A) + Warm Gold (#C8A45A)
   Fonts: Playfair Display + Lato
   ─────────────────────────────────────────── */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #1B2A4A;
  background: #FFFAF0;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A45A;
  margin-bottom: 12px;
}
.section-eyebrow.light { color: #C8A45A; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1B2A4A;
  margin-bottom: 24px;
}
.section-title.light { color: #FFFAF0; }
.section-title em { font-style: italic; color: #C8A45A; }
.section-subtitle {
  font-size: 1.1rem;
  color: #4A5568;
  max-width: 600px;
  line-height: 1.8;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-gold {
  background: #C8A45A;
  color: #1B2A4A;
  border: 2px solid #C8A45A;
}
.btn-gold:hover {
  background: #B8943A;
  border-color: #B8943A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 164, 90, 0.35);
}
.btn-outline-light {
  background: transparent;
  color: #FFFAF0;
  border: 2px solid rgba(255, 250, 240, 0.6);
}
.btn-outline-light:hover {
  background: rgba(255, 250, 240, 0.1);
  border-color: #FFFAF0;
}
.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.site-header.scrolled {
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFAF0;
}
.logo-icon { color: #C8A45A; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255, 250, 240, 0.8);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8A45A;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #C8A45A; }
.nav-links a:hover::after { width: 100%; }
.nav-links .btn-gold {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFAF0;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #1B2A4A;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    #1B2A4A 0%,
    #2A3F6A 30%,
    #3D5A8A 50%,
    #2A3F6A 70%,
    #1B2A4A 100%
  );
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 20% 30%, #C8A45A 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, #C8A45A 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, #C8A45A 0.5px, transparent 0.5px);
  background-size: 60px 60px, 80px 80px, 40px 40px;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 120px 24px 80px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #C8A45A;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFAF0;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: #C8A45A;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 250, 240, 0.75);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 250, 240, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll svg { stroke: #C8A45A; }
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── ABOUT ── */
.about { background: #FFFAF0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 600px;
}
.about-img-main {
  width: 75%;
  height: 75%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 42, 74, 0.2);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(27, 42, 74, 0.25);
  border: 4px solid #FFFAF0;
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }
.about-text p {
  font-size: 1.05rem;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-item svg {
  flex-shrink: 0;
  color: #C8A45A;
  margin-top: 2px;
}
.feature-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #1B2A4A;
  margin-bottom: 4px;
}
.feature-item span {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 400px; }
}

/* ── PRODUCTS ── */
.products { background: #F7F3E8; }
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-subtitle { margin: 0 auto; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.product-card {
  background: #FFFAF0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27, 42, 74, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.15);
}
.product-img {
  height: 280px;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body {
  padding: 32px;
}
.product-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #1B2A4A;
  margin-bottom: 12px;
}
.product-body p {
  font-size: 0.95rem;
  color: #718096;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ── EXPERIENCE ── */
.experience {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.experience-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.experience-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.experience-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.88) 0%, rgba(42, 63, 106, 0.82) 100%);
}
.experience-content {
  position: relative;
  z-index: 3;
  text-align: center;
}
.experience-desc {
  font-size: 1.15rem;
  color: rgba(255, 250, 240, 0.8);
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.9;
}
.experience-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #C8A45A;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.6);
}
@media (max-width: 600px) {
  .experience-stats { gap: 40px; }
}

/* ── VISIT ── */
.visit { background: #FFFAF0; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.visit-info { padding: 20px 0; }
.visit-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 40px 0 40px;
}
.visit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.visit-item svg {
  flex-shrink: 0;
  color: #C8A45A;
  margin-top: 3px;
}
.visit-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #1B2A4A;
  margin-bottom: 4px;
}
.visit-item span, .visit-item a {
  font-size: 0.95rem;
  color: #718096;
  line-height: 1.7;
}
.visit-item a:hover { color: #C8A45A; }
.visit-map {
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.12);
}
@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { min-height: 300px; }
}

/* ── CONTACT ── */
.contact { background: #F7F3E8; }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-text p {
  font-size: 1.05rem;
  color: #4A5568;
  line-height: 1.9;
}
.contact-form {
  background: #FFFAF0;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1B2A4A;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: #1B2A4A;
  background: #F7F3E8;
  border: 1.5px solid #E2DCC8;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #C8A45A;
  box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 4px;
  color: #2E7D32;
  font-size: 0.95rem;
  text-align: center;
}
.form-success.show { display: block; }
@media (max-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* ── FOOTER ── */
.site-footer {
  background: #1B2A4A;
  color: rgba(255, 250, 240, 0.7);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.1);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 250, 240, 0.5);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 250, 240, 0.6);
  transition: color 0.3s ease;
}
.footer-links a:hover { color: #C8A45A; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}
.footer-contact svg {
  display: inline;
  margin-right: 6px;
  vertical-align: middle;
  color: #C8A45A;
}
.footer-contact a { color: rgba(255, 250, 240, 0.6); transition: color 0.3s ease; }
.footer-contact a:hover { color: #C8A45A; }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 250, 240, 0.35);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
