/**
 * homepagetpl.css
 * Sadece ana sayfa (homepage.tpl) için kullanılır.
 * Tüm seçiciler .hp-page altında ve hp- öneki ile sadece bu sayfayı etkiler.
 */

/* Header ile banner arası boşluğu tamamen kapat (sadece homepage) */
#main-body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
#main-body > .container {
  padding-top: 0 !important;
}
#main-body > .container > .row {
  margin-top: 0 !important;
}
#main-body .primary-content {
  padding-top: 0 !important;
}
.primary-content > .modern-banner-wrapper {
  margin-top: 0 !important;
}

/* ===================== 6 Kutu (İşletmeniz İçin...) - 3-3 düzen, box arası mesafe ===================== */
.hp-features-section .hp-features-row {
  row-gap: 2rem;
}
.hp-features-section .hp-features-row > [class*="col-"] {
  margin-bottom: 1.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
@media (min-width: 992px) {
  .hp-features-section .hp-features-row {
    row-gap: 2.5rem;
  }
  .hp-features-section .hp-features-row > [class*="col-"] {
    margin-bottom: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===================== VDS Plan Section ===================== */
.hp-page .hp-plan-section {
  margin-bottom: 40px;
}

.hp-page .hp-server-type-buttons {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hp-page .hp-server-type-btn {
  background: #ffffff;
  border: 2px solid #e9ecef;
  color: #495057;
  padding: 20px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.hp-page .hp-server-type-btn:hover {
  background: #f8f9fa;
  border-color: #00c9b7;
  color: #00c9b7;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 201, 183, 0.2);
}

.hp-page .hp-server-type-btn.hp-active {
  background: linear-gradient(135deg, #00c9b7 0%, #03256c 100%);
  border-color: #00c9b7;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 201, 183, 0.3);
}

.hp-page .hp-server-type-btn.hp-active .hp-btn-icon {
  filter: brightness(0) invert(1);
}

.hp-page .hp-btn-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.hp-page .hp-plan-features-header {
  background: linear-gradient(135deg, #00c9b7 0%, #03256c 100%);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  color: white;
  font-weight: 600;
  overflow-x: auto;
}

.hp-page .hp-plan-features-header h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.hp-page .hp-plan-rows {
  min-height: 80px;
}

@media (max-width: 768px) {
  .hp-page .hp-server-type-buttons { gap: 15px; }
  .hp-page .hp-server-type-btn {
    min-width: 180px;
    padding: 16px 32px;
    font-size: 16px;
    height: 50px;
  }
  .hp-page .hp-btn-icon { width: 28px; height: 28px; }
  .hp-page .hp-plan-features-header { display: none; }
}

@media (max-width: 480px) {
  .hp-page .hp-server-type-btn {
    min-width: 160px;
    padding: 14px 28px;
    font-size: 14px;
  }
  .hp-page .hp-btn-icon { width: 24px; height: 24px; }
}

/* ===================== Data Center Section ===================== */
/* Yeni Nesil Donanım bölümü - banner gibi sağa sola sonsuz tam genişlik arka plan */
.hp-page .hp-datacenter-wrap {
  background: #f8f9fa;
  padding: 50px 0;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
}
.hp-page .hp-datacenter-wrap .container.container-1200 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.hp-page .hp-datacenter-title {
  text-align: center;
  margin-bottom: 40px;
}

.hp-page .hp-datacenter-title h2 {
  color: #03256c;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hp-page .hp-datacenter-title h3 {
  color: #00c9b7;
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.hp-page .hp-datacenter-img-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.hp-page .hp-datacenter-img-box img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hp-page .hp-datacenter-feature-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hp-page .hp-datacenter-feature-box h3 {
  color: #03256c;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-page .hp-datacenter-feature-box h3 i {
  font-size: 16px;
}

.hp-page .hp-datacenter-feature-box p {
  color: #6c757d;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.hp-page .hp-datacenter-feature-box.hp-border-teal { border-left: 3px solid #00c9b7; }
.hp-page .hp-datacenter-feature-box.hp-border-purple { border-left: 3px solid #667eea; }
.hp-page .hp-datacenter-feature-box.hp-border-green { border-left: 3px solid #28a745; }

/* TIER III / Yedekli Yapı / +150 Peering 3 kutu arası boşluk */
.hp-page .hp-datacenter-wrap .col-lg-7 .row.g-3 {
  row-gap: 1.5rem;
}

.hp-page .hp-datacenter-animate-left,
.hp-page .hp-datacenter-animate-right,
.hp-page .hp-datacenter-animate-bottom,
.hp-page .hp-datacenter-animate-top {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hp-page .hp-datacenter-animate-left { transform: translateX(-50px); }
.hp-page .hp-datacenter-animate-right { transform: translateX(50px); }
.hp-page .hp-datacenter-animate-bottom { transform: translateY(30px); transition-delay: 0.4s; }
.hp-page .hp-datacenter-animate-top { transform: translateY(-30px); }

.hp-page .hp-datacenter-animate-left.hp-visible,
.hp-page .hp-datacenter-animate-right.hp-visible,
.hp-page .hp-datacenter-animate-bottom.hp-visible,
.hp-page .hp-datacenter-animate-top.hp-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.hp-page .hp-logocarts-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 35px auto 0;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.hp-page .hp-logocarts-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  aspect-ratio: 2/1;
  min-height: 80px;
  border: 2px solid transparent;
  padding: 12px;
}

.hp-page .hp-logocarts-img {
  max-width: 80%;
  max-height: 60%;
  object-fit: contain;
}

.hp-page .hp-logocarts-card svg.hp-logocarts-img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hp-page .hp-logocarts-slider {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    padding: 30px;
  }
  .hp-page .hp-logocarts-card { min-height: 60px; }
}

@media (max-width: 480px) {
  .hp-page .hp-logocarts-slider {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    padding: 20px;
  }
  .hp-page .hp-logocarts-card { min-height: 50px; }
}

/* ===================== Plan Description Section ===================== */
.hp-page .hp-plan-desc-block {
  text-align: left;
  padding: 20px 40px;
  height: 100%;
}

.hp-page .hp-plan-desc-block h4 {
  display: block;
  font-size: clamp(26px, 4vw, 30px);
  font-weight: 800;
  color: #081131;
  margin-top: 0;
  margin-bottom: 1rem;
}

.hp-page .hp-plan-desc-block p {
  font-size: clamp(15px, 3vw, 18px);
  color: #666666;
  margin-bottom: 0.5rem;
}

.hp-page .hp-plan-desc-block img {
  max-width: 100%;
  height: auto;
}

/* ===================== Review Platforms Section ===================== */
.hp-page .hp-review-section {
  background: transparent;
  padding: 20px 0;
  margin-bottom: 40px;
}

.hp-page .hp-review-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.hp-page .hp-review-grid::before,
.hp-page .hp-review-grid::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.hp-page .hp-review-grid::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
}

.hp-page .hp-review-grid::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
}

.hp-page .hp-review-logo-container {
  display: flex;
  gap: 100px;
  animation: hp-slide-left 30s linear infinite;
  white-space: nowrap;
  will-change: transform;
  align-items: center;
}

@keyframes hp-slide-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hp-page .hp-platform-logo-img {
  max-width: 120px;
  height: 60px;
  display: block;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.05);
  transition: all 0.3s ease;
}

.hp-page .hp-platform-logo-img:hover {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.1);
}

/* ===================== CTA Section (Sizlere Nasıl Yardımcı Olabiliriz) ===================== */
/* Sizlere Nasıl Yardımcı Olabiliriz - banner gibi sağa sola sonsuz tam genişlik arka plan */
.hp-page .hp-cta-section {
  background: #f0f0f0;
  padding: 60px 0;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
}
.hp-page .hp-cta-section .container.container-1200 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.hp-page .hp-cta-heading {
  margin-bottom: 20px;
}

.hp-page .hp-cta-heading h2 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #03256c;
}

.hp-page .hp-cta-heading .hp-sec-bold {
  font-weight: 700;
  color: #00c9b7;
}

.hp-page .hp-cta-heading p {
  font-size: 18px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1rem;
}

.hp-page .hp-cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #00c9b7;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.hp-page .hp-cta-btn:hover {
  background: #03256c;
  color: #fff;
  transform: translateY(-2px);
}

.hp-page .hp-cta-img-wrap {
  position: relative;
  text-align: right;
}

.hp-page .hp-cta-img-wrap img {
  max-width: 100%;
  height: auto;
}

.hp-page .hp-online-indicator {
  position: absolute;
  top: 100px;
  left: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hp-page .hp-online-pulse {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 3px solid #00c9b7;
  border-radius: 50%;
  animation: hp-pulse 4s infinite;
  opacity: 0.7;
}

.hp-page .hp-online-pulse.hp-pulse-1 { animation-delay: 0s; }
.hp-page .hp-online-pulse.hp-pulse-2 { animation-delay: 1.3s; }
.hp-page .hp-online-pulse.hp-pulse-3 { animation-delay: 2.6s; }

.hp-page .hp-online-dot {
  position: relative;
  width: 105px;
  height: 105px;
  background: linear-gradient(135deg, #00c9b7 0%, #03256c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(0, 201, 183, 0.6);
  z-index: 2;
}

.hp-page .hp-online-dot span {
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes hp-pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.3; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 992px) {
  .hp-page .hp-cta-img-wrap { transform: none; text-align: center; margin-top: 30px; }
  .hp-page .hp-online-indicator { left: 50%; transform: translateX(-50%); }
}

/* ===================== FAQ Accordion Section ===================== */
.hp-page .hp-faq-accordion {
  list-style: none;
  margin: 20px auto;
  overflow: hidden;
  background: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
  padding: 40px;
  border-radius: 26px;
  border: 1px solid #03256c;
}

.hp-page .hp-faq-accordion > li {
  border-bottom: 1px solid rgba(3, 37, 108, 0.2);
  padding: 15px 10px 15px 30px;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
}

.hp-page .hp-faq-accordion > li::before {
  content: '+';
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 18px;
  transition: all 0.4s;
}

.hp-page .hp-faq-accordion > li.hp-faq-open::before {
  content: '-';
}

.hp-page .hp-faq-accordion > li:hover {
  border-bottom-color: #00c9b7;
  background-color: rgba(0, 201, 183, 0.05);
}

.hp-page .hp-faq-accordion > li.hp-faq-header {
  border-bottom: none;
  cursor: default;
  padding-left: 0;
}

.hp-page .hp-faq-accordion > li.hp-faq-header:hover {
  border-bottom-color: transparent;
  background-color: transparent;
}

.hp-page .hp-faq-accordion > li.hp-faq-header::before {
  display: none;
}

.hp-page .hp-faq-accordion > li.hp-faq-header p {
  display: block !important;
  color: #666;
  font-size: 16px;
  margin-top: 10px;
  line-height: 1.6;
}

.hp-page .hp-faq-accordion > li h5 {
  margin: 0;
  font-size: 20px;
  color: #03256c;
}

.hp-page .hp-faq-accordion > li > p {
  display: none;
  padding: 10px 0;
  margin: 0;
  color: #555;
  font-size: 15px;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.hp-page .hp-faq-accordion > li.hp-faq-open > p {
  display: block !important;
}

@media (max-width: 768px) {
  .hp-page .hp-faq-accordion { padding: 24px 20px; }
  .hp-page .hp-datacenter-title h2 { font-size: 28px; }
  .hp-page .hp-datacenter-title h3 { font-size: 24px; }
}
