/* Müşteri Hizmetleri Sayfası CSS */

/* Hero Section - Müşteri Hizmetleri Teması */
.musteri-hizmetleri-hero {
  width: 100%;
  height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.18) 0%,
    rgba(25, 118, 210, 0.15) 20%,
    rgba(156, 39, 176, 0.12) 40%,
    rgba(255, 152, 0, 0.1) 60%,
    rgba(0, 150, 136, 0.13) 80%,
    rgba(220, 20, 60, 0.16) 100%
  );
  border-radius: 12px;
  text-align: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  animation: customerHeroFlow 15s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(220, 20, 60, 0.15);
}

@keyframes customerHeroFlow {
  0%,
  100% {
    background: linear-gradient(
      135deg,
      rgba(220, 20, 60, 0.18) 0%,
      rgba(25, 118, 210, 0.15) 20%,
      rgba(156, 39, 176, 0.12) 40%,
      rgba(255, 152, 0, 0.1) 60%,
      rgba(0, 150, 136, 0.13) 80%,
      rgba(220, 20, 60, 0.16) 100%
    );
    filter: brightness(1) saturate(1);
  }
  25% {
    background: linear-gradient(
      225deg,
      rgba(156, 39, 176, 0.2) 0%,
      rgba(255, 152, 0, 0.17) 20%,
      rgba(0, 150, 136, 0.14) 40%,
      rgba(220, 20, 60, 0.11) 60%,
      rgba(25, 118, 210, 0.13) 80%,
      rgba(156, 39, 176, 0.18) 100%
    );
    filter: brightness(1.08) saturate(1.25);
  }
  50% {
    background: linear-gradient(
      315deg,
      rgba(0, 150, 136, 0.19) 0%,
      rgba(220, 20, 60, 0.16) 20%,
      rgba(25, 118, 210, 0.13) 40%,
      rgba(156, 39, 176, 0.1) 60%,
      rgba(255, 152, 0, 0.14) 80%,
      rgba(0, 150, 136, 0.17) 100%
    );
    filter: brightness(0.96) saturate(1.15);
  }
  75% {
    background: linear-gradient(
      45deg,
      rgba(255, 152, 0, 0.18) 0%,
      rgba(0, 150, 136, 0.15) 20%,
      rgba(220, 20, 60, 0.12) 40%,
      rgba(25, 118, 210, 0.11) 60%,
      rgba(156, 39, 176, 0.14) 80%,
      rgba(255, 152, 0, 0.16) 100%
    );
    filter: brightness(1.06) saturate(1.35);
  }
}

.musteri-hizmetleri-hero::before {
  content: "💼";
  position: absolute;
  font-size: 18rem;
  opacity: 0.1;
  animation: briefcaseRotate 22s ease-in-out infinite;
  top: -4%;
  left: 6%;
  transform-origin: center;
  filter: blur(1px);
}

.musteri-hizmetleri-hero::after {
  content: "📞";
  position: absolute;
  font-size: 14rem;
  opacity: 0.12;
  animation: phoneFloat 11s ease-in-out infinite;
  bottom: -2%;
  right: 9%;
  filter: blur(1px);
}

@keyframes briefcaseRotate {
  0%,
  100% {
    transform: rotate(0deg) scale(1) translateY(0);
    opacity: 0.1;
  }
  25% {
    transform: rotate(18deg) scale(1.28) translateY(-25px);
    opacity: 0.15;
  }
  50% {
    transform: rotate(-12deg) scale(0.88) translateY(15px);
    opacity: 0.08;
  }
  75% {
    transform: rotate(22deg) scale(1.12) translateY(-20px);
    opacity: 0.13;
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.12;
  }
  30% {
    transform: translateY(-45px) rotate(18deg) scale(1.35);
    opacity: 0.17;
  }
  60% {
    transform: translateY(-75px) rotate(-12deg) scale(0.82);
    opacity: 0.09;
  }
}

.musteri-hizmetleri-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
  text-shadow: 0 6px 20px rgba(220, 20, 60, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  animation: customerTitle 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
  transform: translateY(-100px) scale(0.3) rotateX(90deg);
  text-transform: uppercase;
}

@keyframes customerTitle {
  0% {
    opacity: 0;
    transform: translateY(-100px) scale(0.3) rotateX(90deg);
  }
  60% {
    opacity: 0.8;
    transform: translateY(10px) scale(1.1) rotateX(-5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
  }
}

.musteri-hizmetleri-hero p {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.98);
  max-width: 700px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  animation: customerDesc 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
  opacity: 0;
  transform: translateY(80px) scale(0.8);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes customerDesc {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.8);
  }
  60% {
    opacity: 0.7;
    transform: translateY(-8px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.customer-service-page {
  background: #f8f9fa;
  padding: 3rem 0;
  min-height: 70vh;
}

.customer-service-page .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Tabs */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  flex: 1;
  max-width: 250px;
  padding: 1.2rem 2rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn i {
  font-size: 1.3rem;
}

.tab-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Wrapper */
.form-wrapper {
  background: #fff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-description {
  color: var(--grey);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Form Styles */
.service-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-form .form-group {
  margin-bottom: 1.5rem;
}

.service-form label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.service-form .required {
  color: var(--primary);
}

.service-form input[type="text"],
.service-form input[type="email"],
.service-form input[type="tel"],
.service-form input[type="date"],
.service-form select,
.service-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  background: #fff;
}

.service-form input:focus,
.service-form select:focus,
.service-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(169, 20, 70, 0.1);
}

.service-form textarea {
  resize: vertical;
  min-height: 100px;
}

.service-form input[type="file"] {
  padding: 0.6rem;
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
}

.service-form small {
  display: block;
  color: var(--grey);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* Form Actions */
.form-actions {
  margin-top: 2rem;
  text-align: center;
}

.form-actions .btn {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-message i {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.success-message p {
  font-size: 1.1rem;
  color: var(--grey);
}

/* Responsive */
@media (max-width: 768px) {
  .musteri-hizmetleri-hero {
    height: 300px;
    padding: 2rem 1.5rem;
  }

  .musteri-hizmetleri-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
  }

  .musteri-hizmetleri-hero p {
    font-size: clamp(0.9rem, 2vw, 1.1rem) !important;
    max-width: 100%;
    padding: 0 1rem;
  }

  .musteri-hizmetleri-hero::before {
    font-size: 10rem;
    opacity: 0.08;
  }

  .musteri-hizmetleri-hero::after {
    font-size: 8rem;
    opacity: 0.08;
  }

  .customer-service-page {
    padding: 2rem 0;
  }

  .customer-service-page .container {
    padding: 0 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .service-tabs {
    flex-direction: column;
    gap: 0.8rem;
  }

  .tab-btn {
    max-width: 100%;
  }

  .form-wrapper {
    padding: 2rem 1.5rem;
  }

  .form-wrapper h2 {
    font-size: 1.5rem;
  }

  .service-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-actions .btn {
    width: 100%;
    padding: 0.9rem 2rem;
  }
}

@media (max-width: 480px) {
  .musteri-hizmetleri-hero {
    height: 250px;
    padding: 1.5rem 1rem;
  }

  .musteri-hizmetleri-hero h1 {
    font-size: 1.5rem !important;
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
  }

  .musteri-hizmetleri-hero p {
    font-size: 0.85rem !important;
    padding: 0 0.5rem;
    line-height: 1.5;
  }

  .musteri-hizmetleri-hero::before {
    font-size: 7rem;
    opacity: 0.06;
  }

  .musteri-hizmetleri-hero::after {
    font-size: 6rem;
    opacity: 0.06;
  }

  .page-header h1 {
    font-size: 1.7rem;
  }

  .page-header p {
    font-size: 0.95rem;
  }

  .form-wrapper {
    padding: 1.5rem 1rem;
  }

  .tab-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* Other Store Input Styling */
#other-store {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e0e4e7;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

#other-store:focus {
  outline: none;
  border-color: #dc143c;
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
  background: white;
}

#other-store::placeholder {
  color: #6c757d;
  font-style: italic;
}

/* Info Note Styling */
.info-note {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-note i {
  color: #1976d2;
  font-size: 16px;
}

.info-note small {
  color: #424242;
  font-size: 13px;
  line-height: 1.4;
}

.info-note strong {
  color: #1565c0;
}

/* Warning Modal Styles */
.warning-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.warning-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.warning-modal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 450px;
  overflow: hidden;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s ease;
}

.warning-modal-overlay.show .warning-modal {
  transform: scale(1) translateY(0);
}

.warning-modal-header {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.warning-modal-header i {
  font-size: 24px;
  color: #fff;
}

.warning-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.warning-modal-body {
  padding: 24px;
  text-align: center;
}

.warning-modal-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #424242;
}

.warning-modal-footer {
  padding: 16px 24px;
  background: #f8f9fa;
  text-align: center;
  border-top: 1px solid #e9ecef;
}

.btn-warning {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

/* Very Small Screens */
@media (max-width: 360px) {
  .musteri-hizmetleri-hero {
    height: 220px;
    padding: 1.2rem 0.8rem;
  }

  .musteri-hizmetleri-hero h1 {
    font-size: 1.3rem !important;
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
  }

  .musteri-hizmetleri-hero p {
    font-size: 0.8rem !important;
    padding: 0 0.3rem;
    line-height: 1.4;
  }

  .musteri-hizmetleri-hero::before,
  .musteri-hizmetleri-hero::after {
    display: none;
  }
}

/* KVKK Consent Checkbox Styles */
.kvkk-consent {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  margin-top: 20px;
}

.kvkk-consent .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 0;
}

.kvkk-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.kvkk-consent span {
  font-size: 14px;
  line-height: 1.6;
  color: #424242;
}

.kvkk-link {
  color: #a91446;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.kvkk-link:hover {
  color: #8a1039;
}

/* KVKK Modal Styles */
.kvkk-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.kvkk-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.kvkk-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.kvkk-modal-overlay.show .kvkk-modal {
  transform: scale(1) translateY(0);
}

.kvkk-modal-header {
  background: linear-gradient(135deg, #a91446 0%, #8a1039 100%);
  color: white;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kvkk-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kvkk-modal-header h3 i {
  font-size: 24px;
}

.kvkk-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 18px;
}

.kvkk-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.kvkk-modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
  line-height: 1.8;
  color: #424242;
}

.kvkk-modal-body h1,
.kvkk-modal-body h2,
.kvkk-modal-body h3 {
  color: #a91446;
  margin-top: 24px;
  margin-bottom: 12px;
}

.kvkk-modal-body h2 {
  font-size: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}

.kvkk-modal-body h3 {
  font-size: 16px;
  font-weight: 600;
}

.kvkk-modal-body p {
  margin-bottom: 16px;
}

.kvkk-modal-body ul,
.kvkk-modal-body ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.kvkk-modal-body li {
  margin-bottom: 8px;
}

.kvkk-modal-footer {
  padding: 20px 28px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.kvkk-modal-footer .btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kvkk-modal-footer .btn-secondary {
  background: #6c757d;
  color: white;
}

.kvkk-modal-footer .btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

.kvkk-modal-footer .btn-primary {
  background: linear-gradient(135deg, #a91446 0%, #8a1039 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(169, 20, 70, 0.3);
}

.kvkk-modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(169, 20, 70, 0.4);
}

.loading-spinner {
  text-align: center;
  padding: 60px 20px;
  color: #a91446;
}

.loading-spinner i {
  font-size: 48px;
  margin-bottom: 16px;
}

.loading-spinner p {
  font-size: 16px;
  color: #666;
}

.error-message {
  text-align: center;
  padding: 40px 20px;
  color: #dc3545;
}

.error-message i {
  font-size: 48px;
  margin-bottom: 16px;
}

.error-message p {
  margin: 8px 0;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .kvkk-modal {
    width: 95%;
    max-height: 90vh;
  }

  .kvkk-modal-header {
    padding: 20px;
  }

  .kvkk-modal-header h3 {
    font-size: 18px;
  }

  .kvkk-modal-body {
    padding: 20px;
  }

  .kvkk-modal-footer {
    padding: 16px 20px;
    flex-direction: column;
  }

  .kvkk-modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}
