/* Gebze Logar - Shared Stylesheet */
:root {
  --gl-danger: #dc3545;
  --gl-dark: #212529;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  display: block;
}

.page-header {
  background-color: #f8f9fa;
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}

.hero-section {
  background-color: #1c2228;
  background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), url('../images/vidanjor-araci.jpg');
  background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)), image-set(
    url('../images/vidanjor-araci.webp') type('image/webp'),
    url('../images/vidanjor-araci.jpg') type('image/jpeg')
  );
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #fff;
  padding: 120px 0;
}

.hero-highlight {
  color: #ff6b6b;
  background: linear-gradient(90deg, #ff5c5c 0%, #ff9f43 50%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.service-card {
  transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.service-card .icon {
  font-size: 48px;
  color: var(--gl-danger);
}

.blog-card {
  transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.content-photo {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.cta-section {
  background-color: var(--gl-danger);
  color: #fff;
}

.service-scope-item i,
.contact-info i {
  font-size: 1.75rem;
  color: var(--gl-danger);
}

.service-process .step {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.service-process .step .icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gl-danger);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.blog-content h2,
.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.blog-meta {
  color: #6c757d;
}

.map-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}
.map-container-square {
  padding-top: 75%;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.list-group-item-action {
  font-weight: 500;
}
.list-group-item-action .badge {
  font-size: 0.9em;
}

.accordion-button:not(.collapsed) {
  color: var(--gl-danger);
  background-color: #fdf2f2;
}
.accordion-button:focus,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gl-danger);
  outline-offset: 2px;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Testimonials Slider */
.testimonial-slider {
  overflow: hidden;
  position: relative;
}
.testimonial-track {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  animation: gl-scroll-rtl 40s linear infinite;
  will-change: transform;
}
.testimonial-slider:hover .testimonial-track {
  animation-play-state: paused;
}
.testimonial-card {
  min-width: 320px;
  max-width: 320px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: .75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .05);
  padding: 1.25rem;
}
.testimonial-card .stars {
  color: #ffc107;
}
.testimonial-card .name {
  font-weight: 700;
}
@keyframes gl-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 576px) {
  .testimonial-card {
    min-width: 260px;
    max-width: 260px;
  }
  .hero-section {
    padding: 80px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}
