/* Google Fonts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Fontu tüm siteye uygular */
    font-family: 'Poppins', sans-serif; 
}

/* --- SABİTLENMİŞ NAVBAR (MENÜ) --- */
.navbar {
    width: 100%;
    height: 110px;             /* KİLİT NOKTA: Yükseklik her sayfada sabitlendi */
    padding: 0 8%;             /* Üst/Alt padding SIFIR, sadece sağ/sol var */
    
    display: flex;
    align-items: center;       /* İçindeki her şeyi (Logo ve Linkler) dikeyde tam ortalar */
    justify-content: space-between;
    
    position: absolute;        /* Banner'ın üzerine binmesi için */
    top: 0;
    left: 0;
    z-index: 1000;
    background: transparent;   /* Arka plan şeffaf */
}

/* LOGO KISITLAMASI */
/* Logo çok büyükse menüyü patlatmasın diye sınır koyuyoruz */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;              /* Kapsayıcının boyunu alır */
}

.main-logo {
    max-height: 60px;          /* Logo en fazla bu kadar büyüyebilir */
    width: auto;
    display: block;
}

/* LİNKLER */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;       /* Linkleri ortalar */
    gap: 30px;                 /* Linkler arası mesafe */
    height: 100%;
}

.nav-links li {
    margin: 0;                 /* Eski marginleri sıfırla */
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Link Üzerine Gelince */
.nav-links a:hover {
    color: #ff8c00;
}

/* Sepet İkonu */
.cart-icon {
    position: relative;
    font-size: 1.6rem;
    color: #ffffff;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 50%;
}

/* --- ANA BANNER (HERO SECTION) --- */
.hero {
    min-height: 80vh; /* Ekranın tamamını kaplamasın, sadece %80'ini kaplasın */
    padding: 120px 8% 60px 8%; /* Alt boşluğu (60px) azalttık */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #ff8c00; /* Turuncu renk */
}

.hero-content {
    flex: 1;
    z-index: 20; 
    position: relative;
}

/* ... yukarısında .hero-content gibi kodlar olabilir ... */

/* --- HERO CONTENT ALANI --- */

.hero-content {
    flex: 1;
    z-index: 20;
    position: relative;
}

/* Slogan Ayarları - BURADAN BAŞLA */
.slogan {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    font-size: 5rem !important; 
    letter-spacing: -1px !important;
    color: #ffffff !important;
    line-height: 1.1 !important; 
    margin-bottom: 35px !important; 
    text-transform: uppercase !important;
    display: block !important;
}

/* Alt Metin Ayarları */
.sub-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.25rem !important;
    line-height: 1.7 !important; 
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 550px !important;
}
/* BURADA BİTİR --- */

/* Sonrasında .hero-image kodların gelmeli... */
.paws-container {
    display: flex;
    gap: 25px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2.5rem;
}

/* --- SAĞA SIFIRLANMIŞ, KESİLMEYİ ÖNLEYEN HAREKETLİ GÖRSEL --- */
.hero-image {
    position: absolute;
    right: 0; 
    bottom: -50px; /* Kesilme olmasın diye alanı ekranın biraz altına sarkıttık */
    width: 70%; 
    height: 110%; /* Alanı yukarı doğru da genişlettik */
    display: flex;
    align-items: flex-end; 
    justify-content: flex-end;
    z-index: 5;
    pointer-events: none;
}

.floating-cat {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(-30px 20px 60px rgba(0,0,0,0.4));
    
    /* Hareket Animasyonu */
    animation: suzulmeEfekti 8s ease-in-out infinite;
}

/* Süzülme Animasyonu: Yukarı kalkınca alt kenar ekranın üstünde kalmasın diye pay bırakıldı */
@keyframes suzulmeEfekti {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-35px) scale(1.02); /* 35px yukarı süzülür (alt payımız 50px olduğu için kesilme olmaz) */
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .slogan { font-size: 4rem; }
    .hero-image { width: 100%; opacity: 0.5; } 
    .hero-content { text-align: center; }
    .paws-container { justify-content: center; }
}
/* --- BÜYÜK DAĞINIK PATİLER --- */
.big-paw {
    position: absolute;
    color: rgba(255, 255, 255, 0.15); /* Çok şeffaf beyaz */
    z-index: 1;
    pointer-events: none;
    animation: pawFloat 10s ease-in-out infinite;
}

.paw-1 { top: 15%; left: 10%; font-size: 12rem; transform: rotate(-15deg); }
.paw-2 { bottom: 15%; left: 30%; font-size: 8rem; transform: rotate(20deg); }
.paw-3 { top: 40%; left: 45%; font-size: 10rem; transform: rotate(-35deg); }
.paw-4 { top: 10%; left: 60%; font-size: 7rem; transform: rotate(15deg); }

@keyframes pawFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}
.sub-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.15rem !important; /* Metin uzadığı için bir tık küçülttük */
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px !important; /* Yazının yayılması için alanı genişlettik */
    margin-top: 10px !important;
    text-align: left; /* Sola yaslı ve düzenli */
}
/* Hizmetler Genel Alanı */
.services-section {
    padding: 60px 8%;
    background: #ffffff;
    margin-top: -80px; /* Bu kod hizmetleri yukarı, turuncu alanın üstüne doğru çeker */
    position: relative;
    z-index: 100;
    border-radius: 50px 50px 0 0; /* Üst köşeleri yuvarlatarak çok şık bir geçiş yapar */
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Hareketli Kart Tasarımı */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent;
    cursor: pointer;
}

/* Kartların üzerine gelince hareket etmesi */
.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
    border-bottom: 4px solid #ff8c00;
}

.s-icon {
    font-size: 2.5rem;
    color: #ff8c00;
    margin-bottom: 20px;
    display: inline-block;
    transition: 0.3s;
}

.service-card:hover .s-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Giriş Animasyonu İçin (Sayfa açıldığında süzülme) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeInUp 1s ease-out forwards;
}
.section-header {
    text-align: center; /* Tüm içeriği yatayda ortalar */
    max-width: 800px;   /* Yazının çok yayılmaması için genişliği sınırladık */
    margin: 0 auto 60px auto; /* Bölümü sayfada ortalar ve altına boşluk bırakır */
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    line-height: 1.2;
}

.section-header h2 span {
    color: #ff8c00; /* Sağlık Hizmetleri yazısını turuncu yapar */
}

.section-header p {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Başlığın altına şık küçük turuncu bir çizgi (Opsiyonel) */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff8c00;
    margin: 20px auto 0; /* Çizgiyi de ortalar */
    border-radius: 2px;
}
/* --- FOOTER TASARIMI --- */
.main-footer {
    background: #1a1a1a; /* Koyu asil bir arka plan */
    color: #fff;
    padding: 70px 8% 20px 8%;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-box h3 {
    color: #ff8c00; /* Başlıklar Turuncu */
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #ff8c00;
}

.footer-box p {
    color: #bbb;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #bbb;
}

.footer-contact i {
    color: #ff8c00;
    margin-top: 5px;
}

.hours-badge {
    background: #ff8c00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ff8c00;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #777;
}

/* Mobilde ortalama yapalım */
@media (max-width: 768px) {
    .footer-container {
        text-align: center;
    }
    .footer-contact li {
        justify-content: center;
    }
}
/* ÜRÜN VİTRİNİ TASARIMI */
.featured-products {
    padding: 80px 8%;
    background: #fdfdfd;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #ff8c00;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff8c00;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-icon {
    font-size: 3rem;
    color: #ff8c00;
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.product-card p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-price {
    display: inline-block;
    color: #27ae60; /* Yeşil renk "Stokta" vurgusu yapar */
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 20px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 10px;
}
/* Menü Linkleri - Yazılar Beyaz */
.nav-links li a {
    position: relative;
    color: #ffffff !important; /* Yazılar her zaman beyaz kalsın */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: 0.3s;
    padding: 5px 0;
}

/* MENÜ LİNKLERİNİN GENEL HALİ */
.nav-links a {
    text-decoration: none;
    color: #ffffff; /* Varsayılan beyaz renk */
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease; /* Geçişlerin yumuşak olması için */
    padding: 8px 12px;
}

/* ÜSTÜNE GELİNCE (HOVER) SADECE RENK KOYULAŞSIN */
/* (Burada beyazdan griye veya hafif koyu bir tona geçiş yapıyoruz) */
.nav-links a:hover {
    color: #cccccc; /* Yazı rengi hafif griye/koyuya döner */
}

/* HANGİ SAYFADAYSAK O LİNKİN GÖRÜNÜMÜ (AKTİF SAYFA) */
.nav-links a.active {
    color: #cc7000 !important; /* Daha koyu ve belirgin bir turuncu tonu */
    font-weight: 700; /* Yazıyı biraz daha kalınlaştırarak belli eder */
}
/* VETERİNER HEKİM BÖLÜMÜ STİLLERİ */
.doctor-section {
    padding: 100px 8%;
    background-color: #ffffff;
}

/* VETERİNER HEKİM BÖLÜMÜ - KÜÇÜLTÜLMÜŞ VERSİYON */
.doctor-container {
    display: flex;
    align-items: center;
    gap: 40px; /* Boşluğu biraz daralttık */
    max-width: 1000px; /* Toplam alanı daraltarak her şeyi merkeze topladık */
    margin: 0 auto;
}

.doctor-image {
    position: relative;
    flex: 0 0 350px; /* Fotoğrafın genişliğini 350px ile sabitledik (çok daha kibar durur) */
}

.doctor-image img {
    width: 100%;
    height: auto;
    border-radius: 20px; /* Köşeleri biraz daha az oval yaptık */
    box-shadow: 15px 15px 0px #ff8c00; /* Gölgeyi de küçülttük */
}

.experience-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: #1a1a1a;
    color: white;
    padding: 12px 20px; /* Rozeti küçülttük */
    font-size: 0.9rem;
    border-radius: 10px;
}
.doctor-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 0px #ff8c00; /* Temaya uygun turuncu gölge */
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #1a1a1a;
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.doctor-content {
    flex: 1.2;
}

.doctor-content .subtitle {
    color: #ff8c00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.doctor-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.doctor-content h2 span {
    color: #ff8c00;
}

.doctor-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.doctor-specialties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.doctor-specialties span {
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-specialties i {
    color: #ff8c00;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .doctor-container {
        flex-direction: column;
        text-align: center;
    }
    .doctor-specialties {
        justify-items: center;
    }
}
/* --- HİZMETLERİMİZ SAYFASI ÖZEL STİLLERİ --- */

/* 1. Banner Alanı */
.services-hero {
    height: 60vh; /* Ekranın %60'ını kaplar */
    width: 100%;
    /* Arka plan görselini buradan değiştirin: */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hizmet-banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Sayfayı kaydırırken görsel sabit kalır */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* 2. Banner İçindeki Yazılar */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-content .separator {
    width: 70px;
    height: 4px;
    background-color: #ff8c00; /* Temadaki turuncu */
    margin: 15px auto;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* 3. Animasyonlar (Hareketli giriş için) */
.fade-in {
    animation: fadeIn 1.5s ease-in;
}

.slide-up {
    animation: slideUp 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* 4. Footer (Eğer daha önce eklemediysen) */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    
}
/* --- MODERN HOŞGELDİN POPUP STİLİ --- */

/* Karartılmış Arka Plan */
.welcome-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px); /* Arka planı buzlu cam yapar */
    z-index: 10000; /* En üstte durması için */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

/* Modal Açıldığında */
.welcome-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* İçerik Kutusu */
.welcome-modal-content {
    background: white;
    width: 850px;
    height: 500px;
    border-radius: 25px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    transform: scale(0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.welcome-modal-overlay.active .welcome-modal-content {
    transform: scale(1);
}

/* Kapatma Butonu */
.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}
.modal-close-btn:hover { color: #d63031; transform: rotate(90deg); }

/* Sol Taraf (Resim) */
.welcome-image {
    width: 45%;
    /* Buraya şık bir kedi/köpek fotosu linki */
    background: url('https://images.unsplash.com/photo-1548199973-03cce0bbc87b?q=80&w=1000&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}
.welcome-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}
.welcome-text-overlay {
    position: relative;
    z-index: 2;
    color: white;
}
.welcome-text-overlay h3 { font-size: 2rem; margin-bottom: 10px; font-weight: 700; line-height: 1.1; }
.welcome-text-overlay p { font-size: 0.9rem; opacity: 0.9; }

/* Sağ Taraf (Formlar) */
.welcome-forms {
    width: 55%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tab Yapısı */
.welcome-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f1f1f1;
}
.w-tab {
    background: none; border: none;
    font-size: 1.1rem; font-weight: 600;
    padding-bottom: 8px; color: #aaa; cursor: pointer;
    position: relative; transition: 0.3s;
}
.w-tab.active { color: #ff8c00; }
.w-tab.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 100%; height: 2px; background: #ff8c00;
}

/* Formlar */
.w-form-box { display: none; animation: fadeIn 0.4s ease; }
.w-form-box.active { display: block; }
@keyframes fadeIn { from {opacity:0; transform:translateY(10px);} to {opacity:1; transform:translateY(0);} }

.w-input-group {
    position: relative; margin-bottom: 15px;
}
.w-input-group i {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #ccc;
}
.w-input-group input {
    width: 100%; padding: 12px 15px 12px 40px;
    border: 1px solid #eee; border-radius: 8px;
    font-size: 0.95rem; outline: none; transition: 0.3s;
}
.w-input-group input:focus {
    border-color: #ff8c00; box-shadow: 0 0 0 3px rgba(255,140,0,0.1);
}

/* Butonlar */
.w-btn {
    width: 100%; background: #ff8c00; color: white;
    border: none; padding: 12px; border-radius: 8px;
    font-size: 1rem; font-weight: 600; cursor: pointer;
    transition: 0.3s; margin-top: 5px;
}
.w-btn:hover { background: #e67e00; transform: scale(1.02); }

.w-divider { text-align: center; color: #ccc; font-size: 0.8rem; margin: 10px 0; }
.w-btn-google {
    width: 100%; background: white; color: #333;
    border: 1px solid #ddd; padding: 10px; border-radius: 8px;
    font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Checkbox */
.w-check-area {
    font-size: 0.8rem; color: #666; margin-bottom: 15px; display: flex; gap: 8px;
}
.w-check-area a { color: #ff8c00; text-decoration: none; }

/* Mobil Uyum */
@media (max-width: 768px) {
    .welcome-modal-content { flex-direction: column; height: auto; width: 90%; }
    .welcome-image { display: none; }
    .welcome-forms { width: 100%; padding: 30px; }
}
/* --- GÜNCELLENMİŞ MODERN ACİL DURUM KARTI --- */
.emergency-wrapper {
    /* 1. ÜST ÜSTE BİNMEYİ ENGELLEMEK İÇİN: */
    margin-top: 80px;    /* Üstteki yazıdan uzaklaşır */
    margin-bottom: 80px; /* Alttaki bölümden uzaklaşır */
    
    /* 2. ALANI GENİŞLETMEK İÇİN: */
    padding: 20px 8%;    
    
    display: flex;
    justify-content: center;
    background: transparent; /* Arka plan şeffaf kalsın */
    position: relative;
    z-index: 50;
}

.emergency-card {
    width: 100%;
    max-width: 1100px; /* Genişliği biraz daha artırdık */
    
    /* 3. KARTI DAHA UZUN (YÜKSEK) GÖSTERMEK İÇİN: */
    min-height: 160px; /* Kartın boyunu uzattık */
    padding: 0 50px;   /* İçeriği kenarlardan uzaklaştırdık */
    
    background: #ffffff;
    border-radius: 100px; /* Tam oval modern yapı */
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    /* Tasarım Detayları */
    border: 2px solid #fff5e6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* Gölgeyi biraz artırdık */
    
    /* Nefes Alma Animasyonu */
    animation: borderPulse 2s infinite;
}

/* Kırmızı/Turuncu Nefes Alma Animasyonu */
@keyframes borderPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.4);
        border-color: #ff8c00;
    }
    70% {
        box-shadow: 0 0 0 25px rgba(255, 140, 0, 0); /* Işık daha geniş yayılsın */
        border-color: #fff5e6;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
        border-color: #fff5e6;
    }
}

/* İkon Alanı */
.emergency-icon {
    font-size: 2.8rem; /* İkonu biraz büyüttük */
    color: #ff8c00;
    background: #fff5e6;
    width: 90px;  /* Daireyi büyüttük */
    height: 90px; /* Daireyi büyüttük */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Küçülmesini engeller */
    
    animation: shakeIcon 3s ease-in-out infinite;
}

@keyframes shakeIcon {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Yazı Alanı */
.emergency-text {
    flex: 1;
    padding: 0 40px; /* Yazı kenar boşluklarını artırdık */
}

.emergency-text h3 {
    font-size: 1.8rem; /* Başlığı büyüttük */
    color: #333;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.2;
}

.emergency-text p {
    font-size: 1.1rem; /* Alt metni büyüttük */
    color: #666;
    margin: 0;
}

/* Arama Butonu */
.emergency-call-btn {
    background: #ff8c00;
    color: white;
    text-decoration: none;
    padding: 18px 45px; /* Butonu büyüttük */
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
    white-space: nowrap; /* Yazının alt satıra geçmesini engeller */
}

.emergency-call-btn:hover {
    background: #e07b00;
    transform: scale(1.05);
}

/* MOBİL UYUMLULUK */
@media (max-width: 992px) {
    .emergency-card {
        flex-direction: column;
        border-radius: 30px; /* Mobilde daha köşeli */
        padding: 40px 30px;
        text-align: center;
        gap: 25px;
        min-height: auto;
    }
    
    .emergency-text {
        padding: 0;
    }
    
    .emergency-call-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobilde boşlukları ayarlayalım */
    .emergency-wrapper {
        margin-top: 50px;
        margin-bottom: 50px;
    }
}
