/* ============================
   1. CSS VARIABLES (design tokens)
   ============================ */
:root {
  --color-primary: #ED6F21;
  --color-primary-dark: #D4601A;
  --color-black: #1A1A1A;
  --color-white: #FFFFFF;
  --color-grey-light: #F5F5F5;
  --color-grey-mid: #666666;
  --color-border: #E0E0E0;

  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================
   2. RESET (removes browser defaults)
   ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================
   3. LAYOUT HELPERS
   ============================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   4. HEADER
   ============================ */
.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-weight: 500;
  color: var(--color-black);
}

.main-nav a:hover {
  color: var(--color-primary);
}

/* ============================
   5. BUTTONS
   ============================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-whatsapp {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background-color: var(--color-primary-dark);
}

/* ============================
   6. FOOTER
   ============================ */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-inner h3 {
  margin-bottom: 12px;
  color: var(--color-primary);
}

.footer-inner p,
.footer-inner a {
  color: #CCCCCC;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.footer-inner a {
  display: block;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.85rem;
}

/* ============================
   7. MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ============================
   8. HERO SECTION
   ============================ */
.hero {
  padding: 100px 0;
  text-align: center;
  background-color: var(--color-grey-light);
}

.hero-inner {
  max-width: 700px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--color-grey-mid);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* ============================
   9. SERVICES OVERVIEW
   ============================ */
.services-overview {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  color: var(--color-grey-mid);
  margin-bottom: 12px;
}

.price-from {
  font-weight: 700;
  color: var(--color-primary);
}

/* ============================
   10. TRUST STRIP
   ============================ */
.trust-strip {
  background-color: var(--color-black);
  padding: 60px 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.trust-item p {
  color: #CCCCCC;
}

/* ============================
   11. HOME PAGE MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================
   12. INNER PAGE HERO (About/Services/Contact etc.)
   ============================ */
.page-hero {
  padding: 60px 0;
  background-color: var(--color-grey-light);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

/* ============================
   13. ABOUT PAGE
   ============================ */
.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-text h2 {
  margin-bottom: 12px;
}

.about-text p {
  color: var(--color-grey-mid);
  margin-bottom: 12px;
}

/* ============================
   14. SERVICES PAGE
   ============================ */
.services-detail {
  padding: 80px 0;
}

.services-detail .service-card .btn {
  margin-top: 8px;
}

.warranty-note {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 50px 0;
  text-align: center;
}

.warranty-note h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.warranty-note p {
  color: #CCCCCC;
}

/* ============================
   15. ABOUT/SERVICES MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   16. CONTACT PAGE
   ============================ */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2,
.contact-form-wrap h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 16px;
  color: var(--color-grey-mid);
}

.contact-info a {
  color: var(--color-black);
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-weight: 600;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.map-section iframe {
  display: block;
}

/* ============================
   17. CONTACT PAGE MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   18. LEGAL PAGES (Privacy, Returns)
   ============================ */
.legal-content {
  padding: 80px 0;
}

.legal-text {
  max-width: 800px;
}

.legal-text h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-text p {
  color: var(--color-grey-mid);
  margin-bottom: 12px;
}

/* ============================
   19. REVIEWS CAROUSEL
   ============================ */
.reviews-section {
  padding: 80px 0;
  background-color: var(--color-grey-light);
}

.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-track {
  flex: 1;
  overflow: hidden;
}

.reviews-page {
  display: none;
  gap: 24px;
}

.reviews-page.active {
  display: grid;
}

.reviews-desktop .reviews-page {
  grid-template-columns: repeat(3, 1fr);
}

.reviews-mobile .reviews-page {
  grid-template-columns: 1fr;
}



.review-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.review-stars {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.review-text {
  color: var(--color-grey-mid);
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-style: italic;
}

.review-author {
  font-weight: 700;
}

.carousel-arrow {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.carousel-arrow:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
}

.dot.active {
  background-color: var(--color-primary);
}

/* ============================
   20. REVIEWS MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 768px) {
  .reviews-page {
    grid-template-columns: 1fr;
  }
}

/* ============================
   21. DESKTOP vs MOBILE CAROUSEL SWITCH
   ============================ */

/* Default (desktop): show the desktop carousel, hide the mobile one */
.reviews-mobile {
  display: none;
}

.reviews-desktop {
  display: flex;
}

/* Below 768px: flip it — hide desktop, show mobile */
@media (max-width: 768px) {
  .reviews-desktop {
    display: none;
  }

  .reviews-mobile {
    display: flex;
  }
}

.carousel-dots.reviews-mobile {
  display: none;
}

.carousel-dots.reviews-desktop {
  display: flex;
}

@media (max-width: 768px) {
  .carousel-dots.reviews-desktop {
    display: none;
  }

  .carousel-dots.reviews-mobile {
    display: flex;
  }
}

/* ============================
   22. SHOP PAGE — PRODUCT GRID
   ============================ */
.shop-section {
  padding: 80px 0;
}

.paypal-button-box {
  margin-top: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background-color: var(--color-grey-light);
}


.stock-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.stock-ok {
  background-color: #E6F4EA;
  color: #1E7C34;
}

.stock-low {
  background-color: #FFF4E5;
  color: #B36B00;
}

.stock-out {
  background-color: #FBE9E7;
  color: #C62828;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-description {
  color: var(--color-grey-mid);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.product-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.product-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================
   23. SHOP PAGE MOBILE RESPONSIVENESS
   ============================ */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================
   24. ABOUT PAGE GALLERY
   ============================ */
.gallery-section {
  padding-top: 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  border-radius: var(--radius);
  height: 220px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}