/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}


body {
  background: #b25a2a;
  color: #fff;
}

/* --- CONTAINER --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* --- PAGE WRAPPER --- */
.page {
  background: #0f0b08;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* --- HEADER --- */
header {
  padding: 25px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-block;
  height: 120px;
  width: auto;
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav ul li a {
  text-decoration: none;
  color: #ddd;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffb347;
}

/* --- HERO SLIDER --- */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 500px; /* or use min-height to maintain layout */
}

.hero-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 200%; /* 2 slides */
}

.hero-slide {
  width: 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 100px;
  box-sizing: border-box;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Hero text */
.hero-text {
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffb347;
  margin-bottom: 25px;
}

.hero-text p {
  max-width: 480px;
  color: #d6d6d6;
  font-size: 1.05rem;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}

.hero-actions .btn-primary {
  background: #e84545;
  color: #fff;
  padding: 14px 34px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, background 0.3s;
}

.hero-actions .btn-primary:hover {
  background: #ff5c5c;
  transform: translateY(-2px);
}

.hero-actions .btn-secondary {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.hero-actions .btn-secondary:hover {
  opacity: 1;
}

/* Hero image */
.hero-image {
  position: relative;
  overflow: hidden; /* ensures image/overlay stays inside slide */
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -10px 10px 10px -10px; /* reduced offset to fit slide */
  background: #ffb347;
  z-index: 0;
  border-radius: 6px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 6px;
  object-fit: cover;
}

/* --- HERO SLIDER LEFT BUTTON --- */
.hero-prev {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 20, 16, 0.7);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.hero-prev:hover {
  background: #ffb347;
  color: #0f0b08;
}

/* --- CATEGORIES --- */
.categories {
  padding: 80px 0;
  text-align: center;
}

.categories h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #1a1410;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-6px);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.4s;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #1a1410;
  opacity: 0.65;
}

.category-card span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.category-card:hover img {
  transform: scale(1.08);
}

/* --- PRODUCTS --- */
.products {
  padding: 80px 0;
  text-align: center;
}

.products h3 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.product-card {
  background: #1a1410;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.product-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: #0f0b08;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 18px;
  text-align: left;
}

.product-info h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.price {
  color: #ffb347;
  font-weight: 600;
  font-size: 1rem;
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: 80px 0;
  text-align: center;
}

.testimonials h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: #1a1410;
  padding: 30px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #ddd;
  position: relative;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.testimonial-card span {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #ffb347;
}

/* --- How To Setion --- */
.order {
  padding: 80px 0;
  text-align: center;
}

.order h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.how-to-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 15px;
}

.how-to-card {
  background: #1a1410;
  padding: 30px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #ddd;
  position: relative;
  transition: transform 0.3s;
  text-align: left;
}

/* --- CONTACT US --- */
.contact {
  padding: 80px 0;
  text-align: center;
}

.contact h3 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #1a1410;
  color: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form button {
  align-self: flex-start;
  cursor: pointer;
  padding: 12px 28px;
  background: #e84545;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  transition: background 0.3s, transform 0.3s;
}

.contact-form button:hover {
  background: #ff5c5c;
  transform: translateY(-2px);
}



/* --- FOOTER --- */
.site-footer {
  background: #0b0705;
  padding: 80px 0 30px;
  color: #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* BRAND */
.footer-logo {
  height: 150px;
  width: auto;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #aaa;
  margin-bottom: 5px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1410;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  transition: background 0.3s, transform 0.3s;
}

.footer-socials a:hover {
  background: #ffb347;
  color: #0f0b08;
  transform: translateY(-3px);
}

/* CONTACT & HOURS */
.footer-contact h4,
.footer-hours h4 {
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-contact p,
.footer-hours p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
}

.footer-hours .mt {
  margin-top: 18px;
}

/* BOTTOM BAR */
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

/* ===============================
   SMARTPHONE RESPONSIVE STYLES
   =============================== */
@media (max-width: 768px) {

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact h4,
    .footer-hours h4 {
        font-size: 9px;
    }

    /* HERO SECTION */
    .hero-slide {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-image::before {
        inset: -12px 8px 8px -12px;
    }
}