:root {
  --purple: #4b2e83;
  --purple-dark: #372163;
  --black: #1a1a1a;
  --grey-bg: #eeeeee;
  --hero-bg: #dfe6e5;
  --white: #ffffff;
  --whatsapp-green: #25d366;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a {
  color: var(--white);
}

/* Header / nav */
.header {
  border-bottom: 1px solid #eee;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 92px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  display: inline-block;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 4px;
}

nav.main-nav a:hover {
  background: var(--grey-bg);
}

nav.main-nav a.active {
  background: var(--purple);
  color: var(--white);
}

/* Hero */
.hero {
  background: var(--hero-bg);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-text {
  flex: 1;
  min-width: 260px;
}

.hero-text h1 {
  font-size: 2.6rem;
  margin: 0 0 16px;
}

.hero-text h1 span {
  color: var(--purple);
}

.hero-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 440px;
}

.hero-image {
  flex: 1;
  min-width: 260px;
  text-align: center;
}

.hero-image img {
  max-height: 420px;
  margin: 0 auto;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn:hover {
  background: var(--purple-dark);
}

/* Section heading */
.section {
  padding: 60px 0;
}

.section-heading {
  font-size: 1.8rem;
  margin: 0 0 6px;
}

.section-heading span {
  color: var(--purple);
}

.section-underline {
  width: 60px;
  height: 4px;
  background: var(--purple);
  margin-bottom: 36px;
}

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

.product-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.product-card .product-id {
  text-align: center;
  font-weight: 700;
  padding: 14px 0;
}

/* About */
.about-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-block img {
  border-radius: 4px;
  max-width: 320px;
}

.about-block .about-text {
  flex: 1;
}

.about-text p {
  line-height: 1.7;
  margin: 0 0 18px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 32px;
}

.contact-card h3 {
  margin-top: 0;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-card.map-card {
  padding: 0;
  overflow: hidden;
  min-height: 420px;
}

.contact-card.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* Footer */
footer {
  background: #2b2b2b;
  color: #ddd;
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

footer h4 {
  color: var(--white);
  margin-top: 0;
}

footer a {
  color: #ddd;
}

footer a:hover {
  color: var(--white);
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 10px;
}

footer p {
  margin: 0 0 10px;
  line-height: 1.5;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 100;
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-block {
    flex-direction: column;
  }

  .about-block img {
    max-width: 100%;
  }
}

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

  nav.main-nav {
    display: none;
    width: 100%;
  }

  nav.main-nav.open {
    display: block;
  }

  nav.main-nav ul {
    flex-direction: column;
  }

  .header .container {
    flex-wrap: wrap;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-text,
  .hero-image {
    min-width: 0;
    width: 100%;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    gap: 4px;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

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

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