/* BWUBS TECH - Teal/Slate Tech Theme - E-Commerce */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --teal: #06b6d4;
  --teal-dark: #0891b2;
  --teal-light: #22d3ee;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --white: #ffffff;
  --bg-light: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-light);
  color: var(--slate-800);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Header - Dark bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--slate-900);
  padding: 1rem 2.5rem;
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo img {
  height: 36px;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--slate-400);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--slate-400);
}

/* Hero - Full-width carousel */
.hero-full {
  min-height: 88vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
}

.hero-copy-stack {
  display: grid;
}

.hero-copy-stack .hero-copy-block {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.hero-copy-stack .hero-copy-block.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-content .hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  background: var(--teal);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

.hero-btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dots span.active {
  background: var(--teal);
  width: 28px;
  border-radius: 5px;
}

/* Section common */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.sect-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.sect-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--slate-800);
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Products - 4-col equal cards */
.products-section {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.prod-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--slate-800);
}

.prod-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.prod-card:hover img {
  transform: scale(1.06);
}

.prod-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  color: var(--white);
}

.prod-caption h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
}

.prod-caption p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* About - Text LEFT, images RIGHT */
.about-section {
  background: var(--slate-900);
  color: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-section .sect-tag {
  color: var(--teal);
}

.about-section .sect-title {
  color: var(--white);
}

.about-text .sect-title {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--slate-400);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-gallery .main-img {
  grid-column: span 2;
  border-radius: 12px;
  overflow: hidden;
  height: 280px;
}

.about-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-gallery .sub-img {
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
}

.about-gallery .sub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Testimonials */
.testimonials-section {
  background: var(--bg-light);
}

.testimonial-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(6, 182, 212, 0.15);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  position: relative;
  transition: box-shadow 0.3s;
}

.testimonial-box:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.testimonial-box::before {
  content: '"';
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.25;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  line-height: 1;
}

.testimonial-stars {
  color: var(--teal);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-box p {
  color: var(--slate-700);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--slate-800);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Message - Left image, right form */
.message-section {
  background: var(--slate-900);
  color: var(--white);
}

.message-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.message-img {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

.message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-section .sect-tag {
  color: var(--teal);
}

.message-section .sect-title {
  color: var(--white);
}

.message-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-send {
  padding: 1rem 2rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-send:hover {
  background: var(--teal-dark);
}

/* Footer */
.site-footer {
  background: var(--slate-900);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--teal);
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-contact p,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--teal);
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.3s;
}

.footer-social-links a:hover {
  background: var(--teal);
}

.footer-copy {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
  transition: transform 0.2s;
  z-index: 999;
}

.back-top:hover {
  transform: translateY(-3px);
}

/* Contact page */
.contact-banner {
  width: 100%;
  height: 10px;
  min-height: 10px;
  overflow: hidden;
}

.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.contact-visual {
  border-radius: 12px;
  overflow: hidden;
  height: 380px;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info .contact-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-info .contact-item p,
.contact-info .contact-item a {
  color: var(--slate-700);
  text-decoration: none;
  line-height: 1.6;
}

.contact-info .contact-item a:hover {
  color: var(--teal);
}

/* About page */
.page-hero {
  height: 45vh;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.about-content {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: 'DM Serif Display', serif;
  color: var(--slate-800);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  font-weight: 400;
}

.about-content p {
  color: var(--slate-700);
  margin-bottom: 1rem;
}

.about-img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-img-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-text {
    order: 1;
  }

  .about-gallery {
    order: 2;
  }

  .testimonial-strip {
    grid-template-columns: 1fr;
  }

  .message-wrap {
    grid-template-columns: 1fr;
  }

  .message-img {
    order: 1;
    height: 280px;
  }

  .message-form {
    order: 2;
  }

  .contact-body {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--slate-900);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.open {
    right: 0;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3rem 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-social-links {
    justify-content: center;
  }

  .about-img-grid {
    grid-template-columns: 1fr;
  }
}