/*
  Global Stylesheet for Tangerang static website
  Primary color: #FF0000
  Font: Poppins
*/

:root {
  --primary-color: #ff0000;
  --secondary-color: #1f1f1f;
  --text-color: #333333;
  --muted-text: #5f6c7b;
  --light-gray: #f5f5f5;
  --border-color: rgba(0, 0, 0, 0.08);
  --max-width: 1200px;
  --transition-base: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
}

.muted {
  color: var(--muted-text);
}

button, .btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #d60000;
  box-shadow: 0 20px 35px rgba(255, 0, 0, 0.25);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--primary-color);
  color: #ffffff;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  padding-block: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header span {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-header h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  margin-top: 0.75rem;
}

.section-header p {
  max-width: 650px;
  margin: 0.75rem auto 0;
  color: var(--muted-text);
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.navbar .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.125rem;
}

.navbar .brand span {
  color: var(--primary-color);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.navbar nav a {
  color: var(--muted-text);
  font-weight: 500;
  position: relative;
  padding-block: 0.25rem;
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a:focus,
.navbar nav a.active {
  color: var(--secondary-color);
}

.navbar nav a:hover::after,
.navbar nav a:focus::after,
.navbar nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--secondary-color);
  font-size: 1.75rem;
}

.hero {
  padding-block: clamp(5rem, 12vh, 7rem);
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.08), rgba(255, 255, 255, 0));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted-text);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(255, 0, 0, 0.25);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 12% -8% -12% 8%;
  border-radius: 32px;
  border: 2px dashed rgba(255, 0, 0, 0.25);
  z-index: -1;
}

.values-grid,
.products-grid,
.projects-grid,
.timeline {
  display: grid;
  gap: 2rem;
}

.values-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-card,
.product-card,
.project-card,
.timeline-item {
  border-radius: 20px;
  background: #ffffff;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: var(--transition-base);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.highlight {
  background: var(--light);
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 0, 0, 0.08);
  display: grid;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.badge-grid .badge,
.highlight,
.card,
.contact-card,
.project-item,
.product-card__image {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.badge-grid .badge:hover,
.highlight:hover,
.card:hover,
.contact-card:hover,
.product-card__image:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.highlight::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.highlight__icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 1rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.value-card:hover,
.product-card:hover,
.project-card:hover,
.timeline-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

.value-card span {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  background: rgba(255, 0, 0, 0.1);
}

/* Responsive Highlight Grid - 2 kolom PASTI di Mobile */
@media (max-width: 768px) {
  #highlights .highlight-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    width: 100%;
  }
  
  #highlights .highlight {
    padding: 1.25rem 0.875rem;
    width: 100%;
  }
  
  #highlights .highlight__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
  }
  
  #highlights .highlight__icon img {
    width: 26px;
    height: 26px;
  }
  
  #highlights .highlight h3 {
    font-size: 0.875rem;
    line-height: 1.3;
    margin: 0.5rem 0 0.5rem;
  }
  
  #highlights .highlight p {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0;
  }
}

/* Mobile kecil - tetap 2 kolom lebih compact */
@media (max-width: 480px) {
  #highlights .highlight-grid {
    gap: 0.65rem !important;
  }
  
  #highlights .highlight {
    padding: 1rem 0.75rem;
  }
  
  #highlights .highlight h3 {
    font-size: 0.825rem;
  }
  
  #highlights .highlight p {
    font-size: 0.75rem;
  }
}

.value-card h3 {
  margin-bottom: 1rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.metric {
  border-radius: 20px;
  padding: 2rem;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}

.metric h3 {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tab {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--light);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tab.active {
  background: var(--primary);
  color: var(--light);
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(255, 0, 0, 0.25);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-controls button {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: var(--muted-text);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: var(--transition-base);
}

.tab-controls button.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.12);
}

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: var(--transition-base);
  height: auto; 
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-card img {
  margin-bottom: 1.5rem;
}

.product-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.product-card .muted {
  margin-bottom: 1.5rem;
}

.product-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.product-card ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--muted-text);
}

.product-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--primary-color);
}

.product-card .table-responsive {
  margin: 1.5rem 0;
}

.product-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.table-responsive th {
  background: var(--light-gray);
  font-weight: 600;
}

.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 0, 0, 0.2);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 1.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 6px rgba(255, 0, 0, 0.15);
}

.timeline-item h3 {
  margin-bottom: 0.35rem;
}

.timeline-item span {
  color: var(--primary-color);
  font-weight: 600;
}

.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-grid figure {
  position: relative;
  margin-bottom: 1.5rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.gallery-grid img {
  transition: var(--transition-base);
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-grid figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(31, 31, 31, 0.7));
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-grid figure:hover figcaption {
  opacity: 1;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-controls button {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: var(--transition-base);
  color: var(--muted-text);
}

.filter-controls button.active,
.filter-controls button:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.12);
}

.projects-grid {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
}

.project-card {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.project-card img {
  border-radius: 0;
  height: 100%;
 max-width: 100%;
  object-fit: cover;
}

.project-info h3 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.card-list .card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.card-list .card h4 {
  margin-bottom: 0.5rem;
}

.project-card .project-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(31, 31, 31, 0.85));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition-base);
}

.project-card:hover .project-info {
  opacity: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 40px rgba(15, 23, 42, 0.1);
}

.contact-card form {
  display: grid;
  gap: 1.25rem;
}

.contact-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  font-size: 1rem;
  transition: var(--transition-base);
  background: #fdfdfd;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.12);
}

.contact-card textarea {
  min-height: 160px;
  resize: vertical;
}

.map-wrapper {
  display: grid;
  gap: 1rem;
}

.map-wrapper .contact-card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15,23,42,0.06);
  font-size: 0.95rem;
}

.contact-card h3 {
  margin: 0 0 .75rem 0;
  font-size: 1.05rem;
  color: var(--secondary-color);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.contact-item .icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.contact-meta {
  color: var(--text-color);
}

.contact-actions {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

.btn-mini {
  display: inline-block;
  padding: .45rem .75rem;
  border-radius: 8px;
  font-size: .9rem;
  text-decoration: none;
  color: #fff;
  background: var(--primary-color);
}

.btn-mini.wa {
  background: #25D366;
  color: #052016;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition-base);
}

.social-links a:hover {
  background: var(--primary-color);
  color: #ffffff;
}

footer {
  background: #0f172a;
  color: #e2e8f0;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

footer ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.5rem;
}

footer h3 {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

footer a {
  color: #e2e8f0;
  transition: var(--transition-base);
}

footer a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(226, 232, 240, 0.7);
}

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--primary-color);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 35px rgba(255, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-base);
  z-index: 99;
  font-size: 1.8rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top svg {
  width: 28px;
  height: 28px;
}


/* ======================================
   RETTO Product Carousel Styles
   Namespace: .retto-carousel
   File: carousel-products.css
   ====================================== */

/* Carousel Container */
/* ======================================
   RETTO Product Carousel Styles
   Namespace: .retto-carousel
   File: carousel-products.css
   ====================================== */

/* Carousel Container */
.retto-carousel {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
  padding: 2rem 0;
}

.retto-carousel * {
  box-sizing: border-box;
}

.retto-carousel .carousel-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Carousel Container */
.retto-carousel .carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.retto-carousel .carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
}

/* Product Slide */
.retto-carousel .product-slide {
  min-width: calc(33.333% - 1.35rem);
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.retto-carousel .product-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(227,30,36,0.2);
  border-color: #e31e24;
}

/* Image Gallery Carousel */
.retto-carousel .image-gallery {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  cursor: pointer;
}

.retto-carousel .gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.retto-carousel .gallery-track img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
  background: #fff;
  padding: 1rem;
}

/* Gallery Navigation */
.retto-carousel .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  flex-shrink: 0;
}

.retto-carousel .product-slide:hover .gallery-nav {
  opacity: 1;
}

.retto-carousel .gallery-nav:hover {
  background: var(--primary-color, #ff0000);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.3);
}

.retto-carousel .gallery-nav.prev {
  left: 12px;
}

.retto-carousel .gallery-nav.next {
  right: 12px;
}

.retto-carousel .gallery-nav svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
  display: block;
}

/* Gallery Indicators */
.retto-carousel .gallery-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.retto-carousel .gallery-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.retto-carousel .gallery-indicator.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

/* Image Counter */
.retto-carousel .image-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 5;
  backdrop-filter: blur(4px);
}

/* Product Info */
.retto-carousel .product-info {
  padding: 2rem;
}

.retto-carousel .product-info h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}

.retto-carousel .product-info p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Product Button */
.retto-carousel .product-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #e31e24;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.retto-carousel .product-btn:hover {
  background: #c01a1f;
  transform: translateX(4px);
}

/* Carousel Navigation Buttons */
.retto-carousel .carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color, #ff0000);
  border: none;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 35px rgba(255, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
  color: #ffffff;
  padding: 0;
  flex-shrink: 0;
}

.retto-carousel .carousel-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 25px 40px rgba(255, 0, 0, 0.4);
}

.retto-carousel .carousel-nav:disabled {
  background: #cccccc;
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.retto-carousel .carousel-nav:disabled:hover {
  transform: translateY(-50%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.retto-carousel .carousel-nav.prev {
  left: 0;
}

.retto-carousel .carousel-nav.next {
  right: 0;
}

.retto-carousel .carousel-nav svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
  display: block;
}

/* Carousel Dots */
.retto-carousel .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.retto-carousel .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.retto-carousel .dot.active {
  background: #e31e24;
  width: 32px;
  border-radius: 6px;
}

/* Carousel Controls */
.retto-carousel .carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.retto-carousel .auto-play-toggle {
  padding: 0.6rem 1.25rem;
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.retto-carousel .auto-play-toggle:hover {
  background: #e0e0e0;
}

.retto-carousel .auto-play-toggle.playing {
  background: #e31e24;
  color: white;
}

/* ======================================
   RESPONSIVE STYLES
   ====================================== */

/* Tablet */
@media (max-width: 1024px) {
  .retto-carousel .product-slide {
    min-width: calc(50% - 1rem);
  }
  
  .retto-carousel .gallery-track img {
    height: 380px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .retto-carousel .section-header h2 {
    font-size: 1.75rem;
  }

  .retto-carousel .carousel-container {
    padding: 0 50px;
  }

  .retto-carousel .product-slide {
    min-width: 100%;
  }

  .retto-carousel .carousel-nav {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .retto-carousel .carousel-nav svg {
    width: 22px;
    height: 22px;
  }

  .retto-carousel .gallery-track img {
    height: 320px;
    padding: 0.5rem;
  }
  
  .retto-carousel .product-info {
    padding: 1.5rem;
  }
  
  .retto-carousel .product-info h3 {
    font-size: 1.3rem;
  }
  
  .retto-carousel .product-info p {
    font-size: 0.95rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.08);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.badgev1 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 40px rgba(15, 23, 42, 0.12);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 0, 0, 0.4));
}

.video-card button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary-color);
  font-size: 2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay .lb-img {
  max-width: min(100%, 1200px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.lightbox-overlay .lb-prev,
.lightbox-overlay .lb-next,
.lightbox-overlay .lb-close {
  position: absolute;
  background: rgba(255,255,255,.15);
  border: 0;
  padding: .7rem 1rem;
  cursor: pointer;
  color: #fff;
  border-radius: 999px;
  transition: background .3s ease;
}

.lightbox-overlay .lb-prev:hover,
.lightbox-overlay .lb-next:hover,
.lightbox-overlay .lb-close:hover {
  background: rgba(255,255,255,.25);
}

.lightbox-overlay .lb-close {
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  padding: .5rem 1rem;
}

.lightbox-overlay .lb-prev { left: 1rem; }
.lightbox-overlay .lb-next { right: 1rem; }

.lightbox-overlay .lb-prev,
.lightbox-overlay .lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.lightbox-overlay .lb-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0,0,0,.5);
  padding: .7rem 1.2rem;
  border-radius: 8px;
  max-width: 90%;
  text-align: center;
}

/* Make featured products a strict 3-column single row on desktop,
    with responsive fallbacks for tablet/phone */
#featured-products .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* Ensure product cards fill the column height so buttons align */
#featured-products .products-grid .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Responsive adjustments for featured section */
@media (max-width: 992px) {
  #featured-products .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  #featured-products .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .navbar nav {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(.77,0,.18,1);
    z-index: 1001;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
  }

  .navbar nav.open {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }

  body.nav-open {
    overflow: hidden !important;
    height: 100vh;
    position: fixed;
    width: 100vw;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 1100;
    position: relative;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
  .project-card {
    height: 280px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
    text-align: center;
  }
  .hero-media {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-media img {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(255,0,0,0.12);
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 2rem;
  }
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--max-width));
    padding-block: 3rem;
  }

  .navbar {
    padding-block: 0.75rem;
  }

  .hero {
    padding-block: 4.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-grid {
    columns: 1;
  }

  footer .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    height: 240px;
  }
}

.swipe-hero {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
  margin-top: -1rem;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.product-card[hidden] {
  display: none;
}

.product-card:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.map-wrapper iframe {
  border: 0;
  border-radius: 24px;
  width: 100%;
  min-height: 420px;
  box-shadow: 0 25px 40px rgba(15, 23, 42, 0.1);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 920px;
  margin-inline: auto;
}

.faq {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  padding: 0;                 /* padding di summary & content */
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq:hover {
  border-color: #f3f4f6;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

.faq__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: #111827;
  outline: none;
}

.faq__summary::-webkit-details-marker { display: none; }

.faq__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff2f2;       /* subtle brand tint */
  color: #ff0000;            /* RETTO red */
}

.faq__chevron {
  transition: transform .25s ease;
}

details[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__question {
  line-height: 1.4;
}

.faq__content {
  padding: 0 20px 18px 60px;  /* indent sejajar dengan grid summary */
  color: #4b5563;
  font-size: .975rem;
  line-height: 1.7;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
}

details[open] .faq__content {
  max-height: 600px;          /* cukup untuk teks 2–3 paragraf */
  opacity: 1;
}

.faq:focus-within {
  border-color: #ff0000;
  box-shadow: 0 0 0 3px rgba(255,0,0,.15);
}

.faq__cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}


.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.highlight__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: none;
  box-shadow: none;
  overflow: visible;         
  width: auto;            
  height: auto;
}

.highlight__icon img {
  max-width: auto;           
  height: auto;              
  object-fit: contain;
  display: block;
  transform: scale(1);
  transition: transform 0.25s ease;
}

.highlight:hover .highlight__icon img {
  transform: scale(1.1);      
}



.highlight h3 {
  font-weight: 600;
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.highlight p {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.975rem;
}

/* Grid 6 keunggulan responsif */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.highlight {
  background: #fff;
  border: 1px solid #f0f2f5;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.highlight__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff2f2;      /* nuansa brand merah RETTO */
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(255,0,0,.10);
}

.highlight__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.highlight h3 {
  font-size: 1.06rem;
  font-weight: 600;
  color: #111827;
  margin: 6px 0 8px;
}

.highlight p {
  color: #4b5563;
  line-height: 1.65;
  font-size: .965rem;
}

/* Desktop default (silakan sesuaikan jumlah kolom) */
.products-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Tablet: 2 kolom */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 kolom PASTI */
@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr !important; /* paksa override auto-fit/minmax lama */
  }
  .product-card {
    width: 100%;
    padding: 1.25rem;
  }
  .product-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}



.gallery-grid figcaption h3 {
  color: #fff; /* warna putih */
}
