/* Cookie Consent Banner - Modern Design */
/* Matches Jenesis website design language */

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 900px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #dc5310;
  border-radius: 12px;
  padding: 15px 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 999999;
  transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(10px);
}

#cookie-consent-banner.show {
  bottom: 20px;
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 250px;
}

.cookie-consent-text h3 {
  font-family: "Space Colony", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0c0c0c;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-consent-text h3::before {
  content: "🍪";
  font-size: 1.2rem;
  display: none; /* Kurabiye ikonunu gizle */
}

.cookie-consent-text p {
  font-family: "Space Colony", sans-serif;
  font-size: 0.85rem;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.cookie-consent-text a {
  color: #dc5310;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
  color: #ff6b35;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: "Space Colony", sans-serif;
  padding: 8px 20px;
  border: none;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #dc5310 0%, #ff6b35 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(220, 83, 16, 0.3);
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 83, 16, 0.4);
}

.cookie-btn-reject {
  background: #f0f0f0;
  color: #333;
  border: 2px solid #ddd;
}

.cookie-btn-reject:hover {
  background: #e0e0e0;
  border-color: #ccc;
}

.cookie-btn-settings {
  background: transparent;
  color: #dc5310;
  border: 2px solid #dc5310;
}

.cookie-btn-settings:hover {
  background: #dc5310;
  color: #ffffff;
}

/* Cookie Settings Modal */
#cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#cookie-settings-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  max-width: 450px;
  width: calc(100% - 30px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

#cookie-settings-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.cookie-modal-header h2 {
  font-family: "Space Colony", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0c0c0c;
  margin: 0;
}

.cookie-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  font-size: 1.1rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  background: #dc5310;
  color: #ffffff;
  transform: rotate(90deg);
}

.cookie-modal-body {
  margin-bottom: 15px;
}

.cookie-category {
  margin-bottom: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #dc5310;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cookie-category-header h3 {
  font-family: "Space Colony", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0c0c0c;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 36px;
  height: 20px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #dc5310;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(16px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category p {
  font-family: "Space Colony", sans-serif;
  font-size: 0.8rem;
  color: #555;
  margin: 0;
  line-height: 1.3;
}

.cookie-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Cerez Politikasi Modal */
#cerez-politikasi-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

#cerez-politikasi-modal.show {
  opacity: 1;
  visibility: visible;
}

.cerez-modal-content {
  background: #ffffff;
  border-radius: 15px;
  padding: 0;
  max-width:   450px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

#cerez-politikasi-modal.show .cerez-modal-content {
  transform: scale(1);
}

.cerez-modal-header {
  padding:  15px 20px;
  background: #ffffff;
  color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eeeeee;}

.cerez-modal-header h2 {
  font-family: "Space Colony", sans-serif;
  font-size:   1.0rem;
  font-weight: 700;
  margin: 0;
}

.cerez-modal-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #666666;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;}

.cerez-modal-close:hover {
  color: #000000;
  transform: rotate(90deg);}

.cerez-modal-body {
  padding:  20px;
  overflow-y: auto;
}

.cerez-modal-body h3 {
  font-family: "Space Colony", sans-serif;
  font-size:  0.9rem;
  font-weight: 700;
  color: #000000;
  margin: 15px 0 8px 0;}

.cerez-modal-body h3:first-child {
  margin-top: 0;
}

.cerez-modal-body p {
  font-family: "Space Colony", sans-serif;
  font-size:  0.8rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 10px;}

.cerez-modal-body ul {
  margin: 12px 0;
  padding-left: 20px;
}

.cerez-modal-body li {
  font-family: "Space Colony", sans-serif;
  font-size:  0.8rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 8px;}

.cerez-modal-body strong {
  color: #000000;
  font-weight: 700;}

/* Responsive Design */
@media (max-width: 768px) {
  #cookie-consent-banner {
    padding: 15px;
    border-radius: 12px;
  }

  .cookie-consent-content {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .cookie-consent-text {
    min-width: 100%;
  }

  .cookie-consent-text h3 {
    font-size: 1rem;
  }

  .cookie-consent-text p {
    font-size: 0.8rem;
  }

  .cookie-consent-buttons {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .cookie-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
  }

  .cookie-modal-content,
  .cerez-modal-content {
    padding: 20px;
    border-radius: 12px;
    width: calc(100% - 40px);
    max-width: 400px;
  }

  .cerez-modal-header {
  padding:  15px 20px;
  background: #ffffff;
  color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eeeeee;}

  .cerez-modal-header h2 {
    font-size:  1.0rem;
  }

  .cerez-modal-body {
    padding: 20px;
  }

  .cookie-modal-header h2 {
    font-size: 1.2rem;
  }

  .cookie-category {
    padding: 12px;
  }

  .cookie-modal-footer {
    flex-direction: row;
    justify-content: flex-end;
  }

  .cookie-modal-footer .cookie-btn {
    width: auto;
  }
}

@media (max-width: 480px) {
  #cookie-consent-banner {
    width: calc(100% - 30px);
    max-width: 360px;
    padding: 12px;
  }

  #cookie-consent-banner.show {
    bottom: 15px !important;
  }

  .cookie-consent-text h3 {
    font-size: 0.9rem;
  }

  .cookie-consent-text p {
    font-size: 0.75rem;
  }

  .cookie-btn {
    padding: 6px 14px;
    font-size: 0.75rem;
  }

  .cerez-modal-header h2,
  .cookie-modal-header h2 {
    font-size: 1.1rem;
  }

  .cookie-modal-content {
    padding: 15px;
    width: calc(100% - 30px);
    max-width: 340px;
  }

  .cookie-category {
    padding: 10px;
    margin-bottom: 10px;
  }

  .cookie-category-header h3 {
    font-size: 0.9rem;
  }

  .cookie-category p {
    font-size: 0.8rem;
  }
}

/* Custom Scrollbar for Modal */
.cookie-modal-content::-webkit-scrollbar,
.cerez-modal-body::-webkit-scrollbar {
  width: 8px;
}

.cookie-modal-content::-webkit-scrollbar-track,
.cerez-modal-body::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.cookie-modal-content::-webkit-scrollbar-thumb,
.cerez-modal-body::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 10px;
}

.cookie-modal-content::-webkit-scrollbar-thumb:hover,
.cerez-modal-body::-webkit-scrollbar-thumb:hover {
  background: #999999;
}
