/* CHSSGY INC - E-commerce Goods - Dark Teal Theme */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --teal-dark: #0d4f4f;
  --teal-mid: #1a6b6b;
  --teal-light: #2d8f8f;
  --sand: #f5f0eb;
  --cream: #faf8f5;
  --charcoal: #2c3e50;
  --gray-500: #64748b;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: linear-gradient(to bottom, rgba(13,79,79,0.9), transparent);
  transition: background 0.3s;
}
.site-header.scrolled { background: var(--teal-dark); }
.header-inner {
  max-width: 1200px;
  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(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-menu a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--sand); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: white; }

.site-header.page-header {
  position: relative;
  background: var(--teal-dark);
  padding: 1rem 2rem;
}

/* Hero Carousel */
.hero-carousel-wrap {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,79,79,0.75) 0%, rgba(13,79,79,0.4) 100%);
}
.hero-slide .slide-content {
  position: absolute;
  bottom: 20%;
  left: 5%;
  right: 5%;
  max-width: 600px;
  color: white;
  z-index: 2;
}
.hero-slide .slide-content h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-slide .slide-content p {
  font-size: 1.1rem;
  opacity: 0.95;
}
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}
.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dots span.active {
  background: white;
  transform: scale(1.2);
}

/* Sections */
.section-pad { padding: 5rem 2rem; }
.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
}
.sect-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-mid);
  margin-bottom: 0.5rem;
}
.sect-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--teal-dark);
  margin-bottom: 2rem;
}

/* Products - 4-col fixed grid */
.products-section { background: white; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.prod-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.prod-card .prod-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.prod-card .prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-card .prod-caption {
  padding: 1.25rem;
}
.prod-card h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.prod-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* About Section */
.about-section { background: var(--teal-dark); color: white; }
.about-section .sect-tag { color: rgba(255,255,255,0.8); }
.about-section .sect-title { color: white; }
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.about-img-wrap img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.about-text p { margin-bottom: 1rem; opacity: 0.95; }

/* Testimonials */
.testimonials-section { background: var(--sand); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: white;
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.testimonial-card .stars { color: #eab308; margin-bottom: 0.75rem; font-size: 1rem; }
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  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(--teal-dark); }
.testimonial-role { font-size: 0.85rem; color: var(--gray-500); }

/* Message Section - left img right form */
.message-section {
  padding: 5rem 2rem;
  background: white;
}
.message-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.message-img-wrap {
  border-radius: 12px;
  overflow: hidden;
}
.message-img-wrap img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.message-form .form-group {
  margin-bottom: 1.25rem;
}
.message-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}
.message-form input,
.message-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.message-form textarea { min-height: 120px; resize: vertical; }
.message-form input:focus,
.message-form textarea:focus {
  outline: none;
  border-color: var(--teal-mid);
}
.btn-send {
  background: var(--teal-dark);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-send:hover { background: var(--teal-mid); }

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: white;
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.footer-nav h4, .footer-contact h4 {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-nav ul { list-style: none; }
.footer-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.4rem;
}
.footer-nav a:hover { color: white; }
.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.95;
  margin-bottom: 0.5rem;
}
.footer-contact a { color: white; }
.footer-social h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-social-links {
  display: flex;
  gap: 0.75rem;
}
.footer-social-links a {
  color: white;
  font-size: 1.2rem;
  opacity: 0.9;
}
.footer-social-links a:hover { opacity: 1; }
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

/* Contact Page */
.contact-banner {
  height: 350px;
  overflow: hidden;
}
.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-content {
  padding: 3rem 2rem;
}
.contact-split {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-img-wrap {
  border-radius: 12px;
  overflow: hidden;
}
.contact-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.contact-info h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.75rem;
  color: var(--teal-dark);
  margin-bottom: 1.5rem;
}
.contact-info .info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-info .info-item i {
  color: var(--teal-mid);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}
.contact-info .info-item a { color: var(--teal-dark); }

/* About Page */
.about-page-content {
  padding: 4rem 2rem;
}
.about-page-content .container-narrow { max-width: 900px; }
.about-page-content .sect-title { text-align: center; margin-bottom: 2rem; }
.about-page-content .about-img-main {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.about-page-content .about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.about-page-content p { margin-bottom: 1rem; }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: white;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 99;
  transition: background 0.2s;
}
.back-top:hover { background: var(--teal-mid); }

/* Responsive */
@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .message-wrap { grid-template-columns: 1fr; }
  .message-img-wrap { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-img-wrap { order: -1; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0; right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--teal-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s;
    z-index: 200;
  }
  .nav-menu.open { right: 0; }
  .menu-toggle { display: block; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-pad { padding: 3rem 1.25rem; }
  .hero-slide .slide-content { bottom: 15%; }
}
