/* CSS Stylesheet for PT. Brothersindo Saudara Sejati - Rental Website
   Primary Colors from Logo: 
   Yellow: #FFDB00 / #F5C500
   Blue:   #00A8E8 / #0091D5
   Dark Accent: #1E293B
*/

:root {
  --primary-yellow: #ffdb00;
  --primary-yellow-hover: #e6c400;
  --yellow-soft: #fffbe6;

  --primary-blue: #00a8e8;
  --primary-blue-dark: #0082b5;
  --blue-soft: #e6f7ff;

  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography & Headings */
h1,
h2,
h3,
h4 {
  color: var(--text-dark);
  font-weight: 700;
}

.section-header {
  margin-bottom: 50px;
}

.section-header .sub-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-blue-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.2rem;
  line-height: 1.3;
}

.section-desc {
  color: var(--text-muted);
  margin-top: 10px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-yellow),
    var(--primary-blue)
  );
  margin: 15px auto 0;
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-yellow {
  background-color: var(--primary-yellow);
  color: #1a1a1a;
}

.btn-yellow:hover {
  background-color: var(--primary-yellow-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-blue:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0077b6 100%);
  color: var(--white);
}

.btn-primary-gradient:hover {
  box-shadow: 0 8px 20px rgba(0, 168, 232, 0.35);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--text-dark);
}

.w-100 {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 15px 0;
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  height: 42px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: 0.5px;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  letter-spacing: 1px;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary-yellow);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 168, 232, 0.2) 0%,
    rgba(255, 219, 0, 0.15) 50%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.badge-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-yellow);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.highlight-yellow {
  color: var(--primary-yellow);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-cards-preview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 24px;
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition);
}

.preview-card:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.08);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-blue {
  background-color: rgba(0, 168, 232, 0.2);
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.badge-yellow {
  background-color: rgba(255, 219, 0, 0.2);
  color: var(--primary-yellow);
  border: 1px solid var(--primary-yellow);
}

.preview-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.preview-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.btn-link {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-link:hover {
  color: var(--primary-yellow);
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bg-yellow-soft {
  background-color: var(--yellow-soft);
}
.color-yellow-dark {
  color: #b39a00;
}
.bg-blue-soft {
  background-color: var(--blue-soft);
}
.color-blue {
  color: var(--primary-blue);
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.about-image-card {
  position: relative;
  background: linear-gradient(145deg, #f8fafc, #edf2f7);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-md);
}

.image-wrapper {
  padding: 20px;
}

.about-symbol {
  max-width: 180px;
  height: auto;
}

.experience-badge {
  margin-top: 20px;
  background: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* Products Section */
.products-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

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

.product-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.product-hidden {
  display: none;
}

.products-grid.is-expanded .product-hidden {
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 8px;
  background-color: var(--white);
}

.product-card h3 {
  padding: 10px 12px 14px;
  font-size: 1rem;
  text-align: center;
}

.show-all-products {
  display: flex;
  margin: 35px auto 0;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
}

.product-modal-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.product-modal-content img {
  display: block;
  width: 100%;
  height: min(65vh, 520px);
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
}

.product-modal-content h2 {
  margin: 14px 36px 4px;
  font-size: 1.25rem;
}

.product-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--text-dark);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
}

.product-modal-close:hover {
  background: var(--primary-blue-dark);
}

body.modal-open {
  overflow: hidden;
}

.exp-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.exp-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

/* Branches Section */
.branches-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.branch-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.branch-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.border-blue {
  border-top: 5px solid var(--primary-blue);
}
.border-yellow {
  border-top: 5px solid var(--primary-yellow);
}

.branch-header {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fafafa;
  border-bottom: 1px solid #edf2f7;
}

.branch-logo-container {
  height: 50px;
}

.branch-logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.branch-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
}

.branch-body {
  padding: 30px;
  flex-grow: 1;
}

.branch-body h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.branch-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.branch-info-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.branch-info-list i {
  font-size: 1.2rem;
  margin-top: 3px;
  width: 20px;
}

.icon-blue {
  color: var(--primary-blue);
}
.icon-yellow {
  color: #d4b200;
}
.icon-green {
  color: #25d366;
}

.branch-info-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.branch-info-list p {
  font-size: 0.95rem;
  color: var(--text-dark);

  margin: 0;
}

.branch-info-list a {
  color: var(--text-dark);
  font-weight: 600;
}

.branch-info-list a:hover {
  color: var(--primary-blue);
}

.branch-footer {
  padding: 20px 30px 30px;
  background-color: var(--white);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.service-box {
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.service-box:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: transparent;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--yellow-soft), var(--blue-soft));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-blue-dark);
  margin-bottom: 20px;
}

.service-box h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
}

.contact-card-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-info-panel {
  padding: 50px;
  background: linear-gradient(
    180deg,
    rgba(0, 168, 232, 0.1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info-panel p {
  color: #94a3b8;
  margin-bottom: 30px;
}

.quick-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pill-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pill-item strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
}

.pill-item span {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.pill-item a {
  color: var(--primary-yellow);
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-form-panel {
  padding: 50px;
  background: var(--white);
  color: var(--text-dark);
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.interactive-form .form-group {
  margin-bottom: 20px;
}

.interactive-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.interactive-form input,
.interactive-form select,
.interactive-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: #f8fafc;
}

.interactive-form input:focus,
.interactive-form select:focus,
.interactive-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
  background-color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Footer */
.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding-top: 60px;
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 35px;
}

.footer-logo span {
  font-weight: 800;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.footer-col p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

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

  .contact-card-wrapper {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    padding: 40px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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