/* Psikolog Randevu Sistemi - Ana Stil Dosyası */

/* RemixIcon font düzeltmesi */
:where([class^="ri-"])::before { 
    content: "\f3c2"; 
}

/* Temel font ayarları */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Number input ok butonlarını gizle */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Özel checkbox stilleri */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #4F7CAC;
    border-radius: 4px;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #f0f9ff;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #4F7CAC;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Zaman slot stilleri */
.time-slot {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 40px;
    text-align: center;
}

.time-slot:hover:not(.disabled) {
    background-color: #e6f7ff;
    transform: translateY(-2px);
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f3f4f6;
    pointer-events: none;
}

.time-slot.selected,
.time-slot.selected:hover,
.time-slot.selected:active,
.time-slot.selected:focus {
    background-color: #4F7CAC !important;
    color: white !important;
    border-color: #4F7CAC !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Özel switch stilleri */
.custom-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.custom-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4F7CAC;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Responsive tasarım için ek stiller */
@media (max-width: 768px) {
    .time-slot {
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    
    .custom-checkbox {
        padding-left: 25px;
    }
    
    .checkmark {
        height: 18px;
        width: 18px;
    }
    
    .custom-checkbox .checkmark:after {
        left: 5px;
        top: 1px;
        width: 5px;
        height: 10px;
    }
}

/* Print stilleri */
@media print {
    .time-slot:hover:not(.disabled) {
        transform: none;
    }
    
    .custom-switch {
        display: none;
    }
}

@keyframes fade-in {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fade-in 0.8s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-6px); }
  40% { transform: translateY(0); }
  60% { transform: translateY(6px); }
  80% { transform: translateY(0); }
}
.animate-wave {
  animation: wave 3s ease-in-out infinite;
}

@keyframes slide-in-right {
  0% { opacity: 0; transform: translateX(60px); }
  100% { opacity: 1; transform: translateX(0); }
}
.animate-slide-in-right {
  animation: slide-in-right 1s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes slide-in-left {
  0% { opacity: 0; transform: translateX(-60px); }
  100% { opacity: 1; transform: translateX(0); }
}
.animate-slide-in-left {
  animation: slide-in-left 1s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes gradient-move {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.animate-bg-gradient {
  background-size: 200% 200%;
  animation: gradient-move 8s ease-in-out infinite;
}
@keyframes icon-bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.icon-hover-bounce:hover {
  animation: icon-bounce 0.6s;
}
@keyframes icon-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.icon-hover-spin:hover {
  animation: icon-spin 0.7s linear;
}
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(79,124,172,0.2);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
  z-index: 10;
}
@keyframes ripple-anim {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Başlık altı çizgi animasyonu */
.animated-underline {
  position: relative;
  display: inline-block;
}
.animated-underline::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: #4F7CAC;
  margin: 0 auto;
  transition: width 0.5s;
  border-radius: 2px;
}
.animated-underline.in-view::after {
  width: 100%;
}

@keyframes glow-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79,124,172,0.2); }
  100% { box-shadow: 0 0 16px 4px rgba(79,124,172,0.4); }
}
.glow-pulse:hover {
  animation: glow-pulse 2s infinite alternate;
}

.input-animated {
  transition: box-shadow 0.2s, border-color 0.2s;
}
.input-animated:focus {
  box-shadow: 0 0 0 2px #A9C5D9;
  border-color: #4F7CAC;
}

/* Dönen arka plan ikonları */
@keyframes slow-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.slow-spin {
  animation: slow-spin 24s linear infinite;
}
.opacity-10 { opacity: 0.10; }
.opacity-15 { opacity: 0.15; }
/* FAQ akordeon animasyonu */
.faq-content {
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.5s;
  overflow: hidden;
  opacity: 0;
  max-height: 0;
}
.faq-content.open {
  opacity: 1;
  max-height: 300px;
} 
#cookie-consent {
  animation: slideUp 0.5s;
}
@keyframes slideUp {
  from { transform: translate(-50%, 100px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
} 