/* Custom CSS for Prof. Dr. Gökhan Koç Website */

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #44bfe6 0%, #28a759 100%);
}

.hero-bg {
    background: linear-gradient(rgba(2, 28, 79, 0.8), rgba(2, 28, 79, 0.8));
    background-size: cover;
    background-position: center;
}

/* Enhanced Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px; /* Account for fixed header height */
}

/* Hero Section Spacing */
#home {
    margin-top: 160px; /* Add top margin to prevent overlap with fixed header */
    min-height: calc(100vh - 160px); /* Adjust min-height to account for header */
}

/* Desktop specific margin */
@media (min-width: 769px) {
    #home {
        margin-top: 160px; /* Desktop margin */
    }
}

/* Ensure slider content is properly positioned */
.swiper-slide {
    height: calc(100vh - 160px) !important; /* Adjust height to account for header */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important; /* Ensure no additional margin */
}

body {
    overflow-x: hidden;
}

/* Loading States */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

.page-ready {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lazy Loading Styles */
.lazy {
    opacity: 0;
    transition: opacity 0.6s ease;
    filter: blur(5px);
}

.lazy-loaded {
    opacity: 1;
    filter: blur(0);
}

/* Enhanced Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Scroll Progress Indicator */
.scroll-progress {
    background: linear-gradient(90deg, #44bfe6 0%, #28a759 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Notification System */
.notification {
    max-width: 400px;
    z-index: 9999;
}

.notification-success {
    background: #28a759;
    color: white;
}

.notification-error {
    background: #dc3545;
    color: white;
}

.notification-info {
    background: #44bfe6;
    color: white;
}

/* Enhanced Header Styles */
header {
    transition: all 0.3s ease;
}

.header-scrolled {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

/* Swiper Custom Styles */
.swiper-slide {
    height: calc(100vh - 160px) !important; /* Adjust for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-pagination-bullet {
    background: #44bfe6 !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #28a759 !important;
    transform: scale(1.2);
}

/* Swiper Custom Navigation Buttons */
.swiper-button-next, .swiper-button-prev {
  width: 56px !important;
  height: 56px !important;
  background: rgba(30, 41, 59, 0.5); /* dark/80 */
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.10);
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s, box-shadow 0.2s, border 0.2s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: rgba(59, 130, 246, 0.8); /* primary/80 */
  border: 2px solid #fff;
  box-shadow: 0 8px 24px 0 rgba(59,130,246,0.15);
}
.swiper-button-next:after, .swiper-button-prev:after {
  content: '' !important;
}
.swiper-button-next svg, .swiper-button-prev svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  stroke-width: 3.5;
  fill: none;
  display: block;
}
.swiper-button-next {
  right: 32px !important;
}
.swiper-button-prev {
  left: 32px !important;
}
@media (max-width: 768px) {
  .swiper-button-next, .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }
  .swiper-button-next svg, .swiper-button-prev svg {
    width: 22px;
    height: 22px;
  }
  .swiper-button-next {
    right: 10px !important;
  }
  .swiper-button-prev {
    left: 10px !important;
  }
}

/* Desktop and Mobile Slider Styles */
.desktop-swiper {
    display: block;
}

.mobile-swiper {
    display: none;
}

@media (max-width: 768px) {
    .desktop-swiper {
        display: none !important;
    }
    
    .mobile-swiper {
        display: block !important;
    }
    
    /* Mobile specific adjustments */
    #home {
        margin-top: 0px; /* No margin for mobile */
    }
    
    .swiper-slide {
        height: calc(100vh - 120px) !important; /* Smaller height adjustment for mobile */
    }
    
    .mobile-slider-container {
        height: calc(100vh - 120px) !important; /* Mobile slider height */
    }
}

/* Enhanced Hover Effects */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Treatment Cards Enhanced Shadow */
.treatment-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.treatment-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #44bfe6 0%, #28a759 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #28a759 0%, #44bfe6 100%);
}

/* Custom Focus States */
.focus-primary:focus {
    outline: 2px solid #44bfe6;
    outline-offset: 2px;
    transition: outline 0.2s ease;
}

/* Text Selection */
::selection {
    background: #44bfe6;
    color: white;
}

/* Enhanced Form Styles */
input:focus, textarea:focus {
    border-color: #44bfe6 !important;
    box-shadow: 0 0 0 3px rgba(68, 191, 230, 0.1);
    transition: all 0.3s ease;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Staggered Animation Delays */
.animate-delay-0 { animation-delay: 0s; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination,
    .scroll-progress,
    .notification {
        display: none !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .swiper-slide {
        transition: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .notification {
        border: 2px solid currentColor;
    }
    
    .scroll-progress {
        background: currentColor;
    }
} 

@media (max-width: 768px) {
  .swiper-button-next, .swiper-button-prev {
    display: none !important;
  }
} 