/* Contact Info Styles */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 2em;
}

.contact-info-icon {
  font-size: 1.5em;
  background: linear-gradient(to bottom, #9c8a3c -20%, #eee48c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-phone-group {
  display: flex;
  flex-direction: column;
}

.contact-info-wrap a {
  color: #6c6c6f;
  text-decoration: none;
}

.contact-info-wrap a:hover {
  color: #6c6c6f;
  text-decoration: none;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-wrap .card-border {
  border: none;
  position: relative;
  border-radius: 16px;
  background: linear-gradient(to top, #9c8a3c -20%, #eee48c, #ffffff);
  padding: 2px;
}

.contact-info-wrap .card-border > .contact-info-item {
  background: #fff;
  border-radius: 14px;
  margin: 0;
  height: 6em;
}

.contact-info-wrap {
  line-height: 1.4;
}

.contact-info-wrap a,
.contact-info-wrap span {
  line-height: 1.4;
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons img {
  width: 38px;
  height: 38px;
  display: block;
}

.contact-divider {
  height: 2px;
  background: linear-gradient(to right, #9c8a3c -20%, #eee48c, #ffffff);
  margin: 1rem 0;
  border-radius: 1px;
}

.footer-social-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 35px;
}

/* Payments Page Table Styles */
.payments-page-table {
  width: 100%;
}

.payments-page-table table {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.payments-page-table th {
  border: 1px solid #e5e5e5;
  background-color: #fff;
  padding: 15px 20px;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  text-transform: capitalize;
}

.payments-page-table tr:first-child th:first-child {
  border-top-left-radius: 12px;
}

.payments-page-table tr:first-child th:last-child {
  border-top-right-radius: 12px;
}

.payments-page-table td {
  border: 1px solid #e5e5e5;
  padding: 15px 20px;
  background-color: #fff;
}

.payments-page-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.payments-page-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Status kolonu için özel stiller */
.payments-page-table .status-column {
  text-align: center;
}

.payments-page-table .status-column .fa-check-circle {
  color: #2dbe61;
}

.payments-page-table .status-column .fa-times-circle {
  color: #f53212;
}

/* Corporate sayfası tablolarında period içeren td'ler için nowrap (md ve üzeri) */
/* Sadece 2. ve 3. kolonlardaki (amount ve count) td'lerde nowrap, ilk kolon wrap kalır */
@media (min-width: 768px) {
  .payments-page-table td:nth-child(2) small,
  .payments-page-table td:nth-child(3) small {
    white-space: nowrap;
  }
}

/* Mobil ekranlar için contact-info-wrap padding */
@media (max-width: 768px) {
  .contact-info-wrap {
    padding: 0 !important;
  }
  
  .payments-page-table table {
    width: 100%;
  }
  
  .payments-page-table th {
    font-size: 15px;
    padding: 15px;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .payments-page-table td {
    font-size: 14px;
    padding: 15px;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .payments-page-table td small {
    white-space: normal;
    word-wrap: break-word;
  }
}

@media (max-width: 400px) {
  .payments-page-table th {
    font-size: 15px;
    padding: 15px;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .payments-page-table td {
    padding: 15px;
    white-space: normal;
    word-wrap: break-word;
  }
}

/* Organization Chart PDF iframe scroll kaldırma ve arkaplan */
iframe[src*="organizasyon-sema"] {
  overflow: hidden !important;
  background-color: #ffffff !important;
}

iframe[src*="organizasyon-sema"]::-webkit-scrollbar {
  display: none !important;
}

iframe[src*="organizasyon-sema"] {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Partners carousel resimleri için placeholder ve loading optimizasyonu */
.partners-logo img {
  min-width: 120px;
  min-height: 80px;
  display: block;
  object-fit: contain;
}

/* Partners carousel için minimum yükseklik - layout shift önleme */
.partners-logo.owl-carousel {
  min-height: 80px;
  /* Carousel başlatılana kadar kesinlikle gizle - cache sorununu önler */
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
  height: 80px;
}

/* Carousel başlatıldığında göster */
.partners-logo.owl-carousel.owl-loaded {
  opacity: 1 !important;
  visibility: visible !important;
  height: auto;
}

/* Resimlerin carousel başlamadan önce kesinlikle görünmesini engelle */
.partners-logo:not(.owl-loaded) {
  overflow: hidden !important;
  height: 80px !important;
  position: relative;
}

.partners-logo:not(.owl-loaded)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  z-index: 10;
}

.partners-logo:not(.owl-loaded) img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

.partners-logo.owl-loaded img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  left: auto !important;
}

/* Layered Banner - Clean & Simple */
.banner-layered {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: none !important; /* Override old banner.v18 */
}

/* Background Layer */
.banner-layered .banner-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.banner-layered .banner-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Object Layers (Left & Right) */
.banner-layered .banner-left-object,
.banner-layered .banner-right-object {
  position: absolute;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 3;
}

/* Content Layer */
.banner-layered .banner-content-layer {
  position: relative;
  z-index: 4;
  width: 100%;
}

.banner-layered .ban-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Typography */
.banner-layered .ban-content h2 {
  color: #fff;
  font-size: 48px;
  line-height: 1.3;
  font-weight: 700;
}

.banner-layered .ban-content p {
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
}

.banner-layered .ban-content .text-mm {
  font-size: 16px;
  font-style: italic;
}

/* Responsive - Font Sizes Only */
@media (min-width: 1400px) {
  .banner-layered .ban-content h2 { font-size: 56px; }
  .banner-layered .ban-content p { font-size: 20px; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .banner-layered .ban-content h2 { font-size: 52px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .banner-layered .ban-content h2 { font-size: 42px; }
  .banner-layered .ban-content p { font-size: 17px; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .banner-layered .ban-content h2 { font-size: 36px; }
  .banner-layered .ban-content p { font-size: 16px; }
  .banner-layered .banner-left-object,
  .banner-layered .banner-right-object { opacity: 0.8; }
}

@media (min-width: 576px) and (max-width: 767px) {
  .banner-layered .ban-content h2 { font-size: 32px; }
  .banner-layered .ban-content p { font-size: 15px; }
  .banner-layered .banner-left-object,
  .banner-layered .banner-right-object { opacity: 0.6; }
}

@media (max-width: 575px) {
  .banner-layered .ban-content { padding: 0 20px; }
  .banner-layered .ban-content h2 { font-size: 28px; line-height: 1.2; }
  .banner-layered .ban-content p { font-size: 14px; line-height: 1.6; }
  .banner-layered .ban-content .text-mm { font-size: 13px; }
  .banner-layered .banner-left-object,
  .banner-layered .banner-right-object { opacity: 0.4; }
}

@media (max-width: 479px) {
  .banner-layered .ban-content h2 { font-size: 24px; }
  .banner-layered .ban-content p { font-size: 13px; }
  .banner-layered .banner-left-object,
  .banner-layered .banner-right-object { display: none; }
}

/* Customer Type Buttons Styles */
.customer-type-buttons {
  padding: 60px 0 0;
  background-color: #fff;
}

.customer-buttons-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.customer-btn {
  display: inline-block;
  padding: 8px 40px;
  border: 2px solid;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
}

.customer-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.customer-btn-individual {
  border-color: #2b2b2b;
  background-color: rgba(43, 43, 43, 0.10);
  color: #2b2b2b;
}

.customer-btn-individual:hover {
  background-color: rgba(43, 43, 43, 0.20);
  color: #2b2b2b;
}

.customer-btn-corporate {
  border-color: #9c8a3c;
  background-color: rgba(156, 138, 60, 0.10);
  color: #9c8a3c;
}

.customer-btn-corporate:hover {
  background-color: rgba(156, 138, 60, 0.20);
  color: #9c8a3c;
}

.customer-btn-representative {
  border-color: #eee48c;
  background-color: rgba(238, 228, 140, 0.10);
  color: #9c8a3c;
}

.customer-btn-representative:hover {
  background-color: rgba(238, 228, 140, 0.20);
  color: #9c8a3c;
}

/* Responsive */
@media (max-width: 768px) {
  .customer-buttons-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  
  .customer-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Flag Icon Styling */
.flag-icon {
  display: inline-block;
  width: 1.2em;
  height: 0.9em;
  line-height: 1;
  vertical-align: middle;
}

