/* ══════════════════════════════════════
   MilkiT — Landing Page Styles
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d32f2f;
  margin-bottom: 0.75rem;
}

.optional {
  font-weight: 400;
  color: #999;
  font-size: 0.85em;
}


/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #d32f2f;
  color: #fff;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
  background: #b71c1c;
  box-shadow: 0 6px 28px rgba(211, 47, 47, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: #fff;
  color: #d32f2f;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}


/* ═══════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.35s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 40px;
  transition: filter 0.3s;
}

.nav:not(.scrolled) .nav-logo img {
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}

.nav.scrolled .nav-links a {
  color: #555;
}

.nav-links a:hover,
.nav.scrolled .nav-links a:hover {
  color: #d32f2f;
}

.nav-cta {
  background: #d32f2f;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.3s !important;
}

.nav-cta:hover {
  background: #b71c1c !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span,
.nav-toggle.active span {
  background: #333;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

.nav-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}


/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.05;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(30, 10, 10, 0.55) 0%, rgba(60, 20, 20, 0.35) 50%, rgba(40, 15, 15, 0.50) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 700px;
}

.hero-logo {
  height: 80px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-sub strong {
  color: #ff8a80;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* ═══════════════════════════════════
   ABOUT
   ═══════════════════════════════════ */
.about {
  padding: 6rem 0;
  background: #fafafa;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #d32f2f;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  font-weight: 500;
}


/* ═══════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════ */
.products {
  padding: 6rem 0;
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-header p {
  color: #666;
  font-size: 1.05rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  border-color: transparent;
}

.product-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.product-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
}


/* ═══════════════════════════════════
   CONTACT
   ═══════════════════════════════════ */
.contact {
  padding: 6rem 0;
  background: #fafafa;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info > p {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

a.contact-method:hover {
  border-color: #d32f2f;
  box-shadow: 0 4px 16px rgba(211,47,47,0.1);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #ffebee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d32f2f;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method strong {
  display: block;
  font-size: 0.8rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

/* ── Form ── */
.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  position: relative;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #eee;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fafafa;
  color: #1a1a1a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211,47,47,0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Form success state */
.form-success {
  display: none;
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #2e7d32;
  gap: 1rem;
  animation: fadeIn 0.4s ease;
}

.form-success.visible {
  display: flex;
}

.form-success p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.form-success p strong {
  color: #2e7d32;
  font-size: 1.15rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #333;
}

.footer-brand img {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #999;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: #999;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col li {
  font-size: 0.9rem;
  color: #999;
}

.footer-info {
  padding: 2rem 0;
  border-bottom: 1px solid #333;
}

.footer-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2rem;
}

.footer-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
}

.footer-info-item span:last-child {
  font-size: 0.85rem;
  color: #bbb;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #666;
}


/* ═══════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    order: -1;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
  }

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

  .nav-links a {
    font-size: 1.1rem;
    color: #333 !important;
  }

  .hero-logo {
    height: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-info-grid {
    grid-template-columns: 1fr;
  }

  .about,
  .products,
  .contact {
    padding: 4rem 0;
  }
}
