/* =============================================
   FatihVet Veteriner Polikliniği - Ana Stil Dosyası
   Ultra Premium Tasarım
   ============================================= */

/* === GENEL === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
    overflow-x: hidden;
    width: 100%;
}
@media (min-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

::selection {
    background: rgba(29, 168, 181, 0.2);
    color: #186e7c;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #1da8b5, #186e7c);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #178898, #1b4b56);
}

/* === NAVİGASYON BAĞLANTILARI === */
.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #294f5b;
    transition: all 0.3s ease;
    border-radius: 12px;
}
.nav-link:hover {
    color: #1da8b5;
    background: rgba(29, 168, 181, 0.06);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #1da8b5, #178898);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-active::after {
    width: 60%;
}
.nav-active {
    color: #1da8b5;
    background: rgba(29, 168, 181, 0.06);
}

/* === MOBİL NAVİGASYON === */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #294f5b;
    font-weight: 500;
    transition: all 0.3s ease;
}
.mobile-nav-link:hover,
.mobile-nav-active {
    background: rgba(29, 168, 181, 0.08);
    color: #1da8b5;
}

/* === FOOTER BAĞLANTILARI === */
.footer-link {
    display: flex;
    align-items: center;
    color: rgba(183, 225, 230, 0.7);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}
.footer-link:hover {
    color: #7ddce3;
    padding-left: 4px;
}

/* === GLASSMORPHISM === */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-dark {
    background: rgba(20, 43, 52, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* === HİZMET KARTLARI === */
.hizmet-kart {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(29, 168, 181, 0.08);
    overflow: hidden;
}
.hizmet-kart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #1da8b5, #178898, #d4a017);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.hizmet-kart:hover::before {
    transform: scaleX(1);
}
.hizmet-kart:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(29, 168, 181, 0.15);
    border-color: rgba(29, 168, 181, 0.15);
}
.hizmet-kart .ikon-kutu {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}
.hizmet-kart:hover .ikon-kutu {
    transform: scale(1.1) rotate(-5deg);
}

/* === İSTATİSTİK KARTLARI === */
.istatistik-kart {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}
.istatistik-kart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #d4a017, #facc15);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.istatistik-kart:hover::after {
    width: 80px;
}

/* === YORUM KARTLARI === */
.yorum-kart {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(29, 168, 181, 0.08);
    transition: all 0.4s ease;
}
.yorum-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(29, 168, 181, 0.12);
}
.yorum-kart::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: rgba(29, 168, 181, 0.1);
    line-height: 1;
}

/* === FORM STİLLERİ === */
.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #294f5b;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}
.form-input:focus {
    border-color: #1da8b5;
    box-shadow: 0 0 0 4px rgba(29, 168, 181, 0.1);
}
.form-input::placeholder {
    color: #94a3b8;
}
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #294f5b;
    margin-bottom: 6px;
}
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #294f5b;
    background: white;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Cpath d='M7 7l3-3 3 3m0 6l-3 3-3-3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}
.form-select:focus {
    border-color: #1da8b5;
    box-shadow: 0 0 0 4px rgba(29, 168, 181, 0.1);
}

/* === BUTONLAR === */
.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.btn-premium:hover::before {
    opacity: 1;
}
.btn-turkuaz {
    background: linear-gradient(135deg, #1da8b5, #186e7c);
    color: white;
    box-shadow: 0 8px 30px rgba(29, 168, 181, 0.3);
}
.btn-turkuaz:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(29, 168, 181, 0.4);
}
.btn-altin {
    background: linear-gradient(135deg, #d4a017, #b8860b);
    color: white;
    box-shadow: 0 8px 30px rgba(212, 160, 23, 0.3);
}
.btn-altin:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 160, 23, 0.4);
}
.btn-beyaz {
    background: white;
    color: #186e7c;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.btn-beyaz:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* === SAYFA BAŞLIK ALANI === */
.sayfa-baslik {
    position: relative;
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, #0b3039 0%, #1b4b56 40%, #186e7c 100%);
    overflow: hidden;
}
.sayfa-baslik::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(29, 168, 181, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.sayfa-baslik::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* === SCROLL ANİMASYONLARI === */
.scroll-gorunur {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-gorunur.gorundu {
    opacity: 1;
    transform: translateY(0);
}
.scroll-sol {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-sol.gorundu {
    opacity: 1;
    transform: translateX(0);
}
.scroll-sag {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-sag.gorundu {
    opacity: 1;
    transform: translateX(0);
}
.scroll-olcek {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-olcek.gorundu {
    opacity: 1;
    transform: scale(1);
}

/* === HERO ANİMASYONLARI === */
.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}
@media (max-width: 767px) {
    .hero-bg-shape {
        display: none;
    }
}

/* === DEKORATIF ÇIZGILER === */
.dekor-cizgi {
    width: 60px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(to right, #1da8b5, #d4a017);
}

/* === BÖLÜM BAŞLIKLARI === */
.bolum-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(29, 168, 181, 0.08);
    border: 1px solid rgba(29, 168, 181, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #178898;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* === GALERİ === */
.galeri-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}
.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.galeri-item:hover img {
    transform: scale(1.1);
}
.galeri-item .galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 48, 57, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

/* === BLOG KARTLARI === */
.blog-kart {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}
.blog-kart:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}
.blog-kart .blog-gorsel {
    overflow: hidden;
    height: 220px;
}
.blog-kart .blog-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-kart:hover .blog-gorsel img {
    transform: scale(1.08);
}

/* === SWIPER ÖZELLEŞTİRME === */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #1da8b5;
    opacity: 0.3;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* === PARLAMA EFEKTİ === */
.parlama {
    position: relative;
    overflow: hidden;
}
.parlama::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    transform: rotate(45deg);
    animation: parlama 3s ease-in-out infinite;
}
@keyframes parlama {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* === SAYAÇ ANİMASYONU === */
.sayac {
    font-variant-numeric: tabular-nums;
}

/* === SAFE AREA (iOS) === */
.safe-bottom {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.aktif {
    opacity: 1;
    visibility: visible;
}

/* === YÜKLEME ANIMASYONU === */
.yukle-animasyon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === RESPONSIVE DÜZENLEMELER === */
@media (max-width: 768px) {
    .sayfa-baslik {
        padding: 3rem 0 2rem;
    }
    .hizmet-kart {
        padding: 1.5rem;
    }
    .yorum-kart {
        padding: 1.5rem;
    }
    .btn-premium {
        padding: 12px 20px;
        font-size: 0.85rem;
        gap: 6px;
    }
    .form-input,
    .form-select {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}

/* === MOBİL ALT BUTON İÇİN PADDING === */
@media (max-width: 767px) {
    footer {
        padding-bottom: 90px !important;
    }
    .sayfa-baslik::before,
    .sayfa-baslik::after {
        display: none;
    }
}

/* === GRADIENT TEXT === */
.gradient-text {
    background: linear-gradient(135deg, #1da8b5, #186e7c, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === PUL EFEKTI (Yıldız Rating) === */
.yildiz-puan .yildiz {
    color: #facc15;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

/* === TABLO STİLLERİ (Admin) === */
.admin-tablo {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.admin-tablo th {
    background: #f8fafc;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
}
.admin-tablo td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}
.admin-tablo tr:hover td {
    background: rgba(29, 168, 181, 0.03);
}

/* === TOAST BİLDİRİM === */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.goster {
    transform: translateX(0);
}
.toast-basari {
    background: #10b981;
    color: white;
}
.toast-hata {
    background: #ef4444;
    color: white;
}
.toast-uyari {
    background: #f59e0b;
    color: white;
}
