/* ----------------------------------------------------------
   VARIABLES & RESET
---------------------------------------------------------- */
:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --dark: #0f2027;
  --dark-2: #1a2432;
  --dark-3: #2a3b4c;
  --light: #f1faee;
  --accent: #a8dadc;
  --accent-dark: #457b9d;
  --text-light: #ffffff;
  --text-secondary: #b5c6d6;
  --text-muted: #8fa3b8;
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  --border: rgba(168, 218, 220, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

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

/* ----------------------------------------------------------
   HERO SECTION
---------------------------------------------------------- */
.hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  width: 100%;
  overflow: hidden;
}

.img-hero {
  width: 100%;
  height: 100%;
}

.img-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(35%);
  transform: scale(1.05);
  transition: transform 10s ease;
}

.hero:hover .img-hero img {
  transform: scale(1);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(15,32,39,0.2) 0%, rgba(15,32,39,0.8) 100%);
}

.teks-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1s ease;
}

.teks-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  animation: fadeInUp 1s ease 0.2s both;
}

.teks-hero a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.teks-hero a:hover {
  color: var(--accent);
}

.teks-about {
  color: var(--primary);
  font-weight: 700;
}

/* ----------------------------------------------------------
   CONTACT SECTION
---------------------------------------------------------- */
.contact-section {
  padding: 100px 20px;
  background: var(--dark);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-block;
  background: var(--gradient);
  color: var(--text-light);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  color: var(--text-light);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   CONTACT GRID LAYOUT
---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 100px;
}

/* ----------------------------------------------------------
   CONTACT INFO
---------------------------------------------------------- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-header {
  margin-bottom: 1rem;
}

.info-header h3 {
  color: var(--text-light);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.info-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--dark-2);
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  gap: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.info-card:hover::before {
  transform: scaleY(1);
}

.info-card.highlight {
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border-color: var(--accent);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-card:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
}

.info-content {
  flex: 1;
}

.info-content h4 {
  color: var(--text-light);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.info-content p {
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.info-content small {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.wa-link:hover {
  color: var(--text-light);
  transform: translateX(5px);
}

.benefits-list {
  list-style: none;
  margin-top: 0.5rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.benefits-list i {
  color: var(--success);
  font-size: 1.1rem;
}

.time-schedule p {
  margin-bottom: 0.25rem;
}

.time-schedule strong {
  color: var(--text-light);
}

/* ----------------------------------------------------------
   CONTACT FORM
---------------------------------------------------------- */
.contact-form {
  background: var(--dark-2);
  padding: 3rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-badge {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.form-header h3 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.form-input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
  border-radius: 15px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
  transform: translateY(-2px);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input option {
  background: var(--dark-2);
  color: var(--text-light);
  padding: 1rem;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--error);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ----------------------------------------------------------
   SUBMIT BUTTON
---------------------------------------------------------- */
.submit-btn {
  width: 100%;
  padding: 1.5rem 2rem;
  background: var(--gradient);
  border: none;
  color: var(--text-light);
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-loading {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.spin {
  animation: spin 1s linear infinite;
}

/* ----------------------------------------------------------
   MAP SECTION
---------------------------------------------------------- */
.map-section {
  margin-bottom: 100px;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 500px;
}

#map {
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------
   BRANCHES SECTION
---------------------------------------------------------- */
.branches-section {
  margin-bottom: 50px;
}

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

.branch-card {
  background: var(--dark-2);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.branch-card:hover::before {
  transform: scaleX(1);
}

.branch-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.branch-card:hover .branch-icon {
  transform: scale(1.1) rotate(10deg);
}

.branch-card h4 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.branch-info {
  margin-bottom: 1.5rem;
}

.branch-info p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.branch-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 50px;
}

.branch-link:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   WHATSAPP FLOATING BUTTON
---------------------------------------------------------- */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.2rem;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  text-decoration: none;
}

.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.wa-tooltip {
  position: absolute;
  right: 80px;
  background: var(--dark-2);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  border: 1px solid var(--border);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--dark-2);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.floating-wa:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ----------------------------------------------------------
   ANIMATIONS
---------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ----------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 50vh;
    min-height: 400px;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }

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

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

  .info-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .info-icon {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 60px 15px;
  }

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

  .section-title {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .form-input {
    padding: 1rem 1.25rem;
  }

  .submit-btn {
    padding: 1.25rem 1.5rem;
  }

  .floating-wa {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    bottom: 20px;
    right: 20px;
  }

  .breadcrumb {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: rgba(168, 218, 220, 0.6);
  }

  .form-input {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating-wa {
    animation: none;
  }
}
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-content a {
    color: white;
}
.hero-content p {
    color: #e63946;
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
