/* 
 * Modern Support Pages CSS
 * Stylesheet khusus untuk halaman pendukung website modern
 * Mengatasi masalah tampilan yang bertabrakan
 */

/* ===== COMMON STYLES FOR ALL SUPPORT PAGES ===== */

/* Hero Header Section */
#hero-header {
  position: relative;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Spacing */
section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Card Styles */
.card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
  border: none;
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 1.5rem;
}

/* ===== PROFILE PAGE STYLES ===== */

/* Company Profile */
.company-image img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
}

.company-info {
  padding: 20px;
}

.company-description {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 30px;
}

.company-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.highlight-item span {
  color: #2d3748;
  font-weight: 500;
}

/* Vision Mission */
.vision-card,
.mission-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-wrapper i {
  font-size: 2rem;
  color: white;
}

.mission-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.mission-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}

.mission-list li:last-child {
  border-bottom: none;
}

.mission-list li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-color);
  margin-right: 10px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  margin-bottom: 30px;
}

.timeline-content {
  position: relative;
  width: 45%;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
  float: left;
}

.timeline-item:nth-child(even) .timeline-content {
  float: right;
}

.timeline-date {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* ===== GALLERY PAGE STYLES ===== */

/* Gallery Filter */
.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  background: #f8f9fa;
  border: none;
  padding: 8px 20px;
  margin: 5px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  text-align: center;
  color: white;
}

.gallery-info h5 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gallery-info p {
  margin: 0;
  font-size: 0.9rem;
}

/* ===== CONTACT PAGE STYLES ===== */

/* Contact Info */
.contact-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.contact-icon i {
  font-size: 1.8rem;
  color: white;
}

.contact-card h4 {
  color: #2a4365;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-card p {
  color: #4a5568;
  margin: 0;
}

.contact-card a {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--primary-color);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  color: #25D366 !important;
  font-weight: 500;
  margin-top: 10px;
}

.whatsapp-link i {
  margin-right: 5px;
}

/* Map Container */
.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Contact Form */
.contact-form-container {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.contact-form-container h3 {
  color: #2a4365;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
}

.contact-form-container h3:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.contact-form .form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.contact-form label {
  color: #2d3748;
  font-weight: 500;
  margin-bottom: 8px;
}

.submit-btn {
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.submit-btn i {
  margin-right: 8px;
}

/* Business Hours */
.hours-container {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item .day {
  font-weight: 600;
  color: #2d3748;
}

.hours-item .time {
  color: #4a5568;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .company-highlights {
    grid-template-columns: 1fr;
  }

  .timeline:before {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    left: 80px !important;
  }
}

@media (max-width: 768px) {
  #hero-header {
    height: 40vh;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }

  .filter-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

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

  .contact-card {
    padding: 20px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }
}