/* PROVENCE AIX - Industrial Plastic/Rubber Theme - Distinctive Layout */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --amber-400: #fbbf24;
  --white: #f8fafc;
  --gray-300: #cbd5e1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--slate-900);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header - Minimal Top Bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 212, 191, 0.15);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-500);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--gray-300);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--teal-500);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Carousel */
.hero-section {
  min-height: 85vh;
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  height: 85vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 700px;
}

.hero-content .hero-sub {
  font-size: 1.2rem;
  color: var(--teal-500);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  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-500);
  transform: scale(1.2);
}

/* Section Common */
section {
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-500);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

/* Products - Bento Grid */
.products-section {
  background: var(--slate-800);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.product-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 280px;
}

.product-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 2/1; }
.product-card:nth-child(2) { grid-column: 3; grid-row: 1; }
.product-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.product-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.product-card:nth-child(5) { grid-column: 3; grid-row: 2; aspect-ratio: 1; }

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--gray-300);
}

/* About - Split Layout */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.about-images .img-main {
  grid-column: 1 / -1;
  height: 280px;
}

.about-images .img-sub {
  height: 180px;
}

.about-content p {
  color: var(--gray-300);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Testimonials - Horizontal Cards */
.testimonials-section {
  background: var(--slate-800);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--slate-900);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(45, 212, 191, 0.1);
  transition: border-color 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--teal-500);
}

.testimonial-stars {
  color: var(--amber-400);
  margin-bottom: 0.75rem;
}

.testimonial-text {
  color: var(--gray-300);
  font-size: 0.95rem;
}

/* Contact Form - User Message */
.message-section {
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
}

.message-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--slate-900);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--teal-600);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: var(--teal-500);
}

/* Footer */
.site-footer {
  background: var(--slate-900);
  border-top: 1px solid rgba(45, 212, 191, 0.15);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-500);
  margin-bottom: 1rem;
  display: block;
}

.footer-desc {
  color: var(--gray-300);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--teal-500);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav a {
  color: var(--gray-300);
  text-decoration: none;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--teal-500);
}

.footer-contact p {
  color: var(--gray-300);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--teal-500);
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--teal-600);
  color: var(--white);
}

.footer-copy {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--gray-300);
  font-size: 0.9rem;
}

/* About Page */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

/* Contact Page */
.contact-section {
  padding: 10rem 2rem 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 2rem;
  background: var(--slate-800);
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.1);
}

.contact-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--teal-500);
}

.contact-card p, .contact-card a {
  color: var(--gray-300);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--teal-500);
}

/* Responsive */
@media (max-width: 968px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card:nth-child(1),
  .product-card:nth-child(2),
  .product-card:nth-child(3),
  .product-card:nth-child(4),
  .product-card:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4/3;
  }
  
  .about-section {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: var(--slate-800);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s;
    border-left: 1px solid rgba(45, 212, 191, 0.2);
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  .about-images {
    grid-template-columns: 1fr;
  }
  
  .about-gallery {
    grid-template-columns: 1fr;
  }
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--teal-600);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 999;
}

.back-top:hover {
  opacity: 1;
}
