:root{
  --primary: #0d6efd;
  --brand-dark: #0b2a2e;
  --muted: #6c757d;
  --max-width: 1200px;
  --radius: 12px;
  font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  color:#222;
  background: #ffffff;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* NAVBAR */
.navbar-brand { text-decoration: none; }
.brand-logo{ width:56px; height:56px; object-fit:cover; border-radius:8px; }
.brand-title{ font-weight:700; font-size:1rem; display:block; letter-spacing:0.2px; }
.brand-sub{ font-size:0.75rem; color:var(--muted); }

/* shrink nav on scroll */
#mainNav{ transition: all .25s ease; padding:18px 0; }
#mainNav.scrolled{ padding:8px 0; background:linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.9)); box-shadow:0 6px 18px rgba(12,12,12,0.06); }

/* HERO SLIDE */
.hero-slide{
  min-height: 70vh;
  background-size:cover;
  background-position:center;
  position:relative;
  color:#fff;
  padding:80px 0;
}
.hero-slide::after{
  content:"";
  position:absolute;
  left:0; right:0; top:0; bottom:0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 100%);
  z-index:0;
}
.hero-slide .container, .hero-slide h1, .hero-slide p, .hero-slide a{ position:relative; z-index:2; }
.hero-slide h1{ font-weight:700; color:#fff; margin-bottom:16px; }
.hero-slide p{ color:rgba(255,255,255,0.92); }

/* Section spacing */
section{ padding:60px 0; }
.section-header h3{ font-weight:700; margin-bottom:6px; }
.section-header p{ margin-bottom:24px; color:var(--muted); }

/* Product card */
.product-card img{ height:220px; object-fit:cover; border-top-left-radius:12px; border-top-right-radius:12px; }
.product-card{ border-radius: var(--radius); overflow:hidden; }

/* Gallery */
#gallery img{ height:220px; width:100%; object-fit:cover; }

/* CONTACT dark */
#contact{ padding-top:56px; padding-bottom:56px; }

/* Footer */
footer{ border-top:1px solid #eee; }

/* responsive tweaks */
@media (max-width: 991px){
  .hero-slide{ min-height:56vh; padding:40px 0; }
  .brand-logo{ width:46px; height:46px; }
}

/* small utilities */
.btn-outline-light{ border-color:rgba(255,255,255,0.6); color:#fff; }
.btn-outline-light:hover{ color:#fff; background:rgba(255,255,255,0.06); }

/* subtle card shadow */
.card{ box-shadow: 0 6px 20px rgba(16,24,40,0.04); border:none; }

/* contact form */
.contact-form input, .contact-form textarea { border-radius:8px; }

/* small hero text size */
@media (max-width: 576px){
  .hero-slide h1{ font-size:1.5rem; }
  .hero-slide p{ font-size:0.95rem; }
}


.hero-slide {
  background: #f9f9f9;
  min-height: 90vh;
  position: relative;
}

.hero-product {
  max-height: 400px;
  transition: transform 0.5s ease;
}

.carousel-item.active .hero-product {
  transform: scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) brightness(0.5);
}


/* Slider CSSS */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* Hero Section */
#hero {
  height: 80vh; /* reduced from 100vh */
  position: relative;
}

.carousel-item {
  height: 70vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

/* dark overlay to make text visible */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

/* Centered caption */
.carousel-caption {
  bottom: 25%;
  text-align: left;
  left: 10%;
  right: auto;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f9c74f;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.carousel-caption p {
  font-size: 1.1rem;
  color: #f1f1f1;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
  max-width: 500px;
}

/* Buttons */
.btn-warning {
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 25px;
}

/* Adjust responsive behavior */
@media (max-width: 768px) {
  #hero, .carousel-item {
    height: 40vh;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}
