:root {
    --primary-color: #11095e;
    --secondary-color: #f8b500;
    --accent-color: #c0392b;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gradient: linear-gradient(135deg, #e10b15 0%, #c0392b 100%);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    color: #000000;
}
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}
.navbar-toggler {
    border: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.hero {
    background: var(--gradient);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background-image: url('https://servishizmeti.com/images/5.jpg');
    background-size: cover;
    background-position: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}
.btn-custom {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 181, 0, 0.3);
}
.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 181, 0, 0.4);
    color: var(--dark-color);
}
.services {
    padding: 100px 0;
    background: var(--light-color);
}
.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}
.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}
.service-card p {
    font-size: 0.95rem;
    color: #666;
}
.about {
    padding: 100px 0;
}
.about-img {
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.about ul {
    list-style: none;
    padding: 0;
}
.about ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--dark-color);
}
.about ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}
.contact {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
}
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}
.contact-card p, .contact-card a {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-card a:hover {
    color: var(--secondary-color);
}
.footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}
.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer ul li {
    margin-bottom: 10px;
}
.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer ul li a:hover {
    color: var(--primary-color);
}
.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.footer .copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.emergency-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important; /* Masaüstünde sağda kalsın */
    background-color: #0d1b3e !important;
    color: white !important;
    width: auto !important;
    height: auto !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    white-space: nowrap !important;
    z-index: 999999 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
}

/* MOBİL ÖZEL AYARI (Tam ortalama burada yapılıyor) */
@media (max-width: 767.98px) {
    .emergency-btn {
        right: 50% !important; /* Sağdan ekranın yarısına kadar çek */
        transform: translateX(50%) !important; /* Kendi genişliğinin yarısı kadar geri iterek tam ortala */
        bottom: 20px !important;
        width: 90% !important; /* Ekranın %90'ını kaplasın (daha şık durur) */
        max-width: 350px !important; /* Çok devasa olmasın */
        font-size: 14px !important;
        padding: 10px 15px !important;
    }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 8px 15px;
        border-radius: 5px;
    }
    .navbar-nav .nav-link:hover {
        background-color: rgba(var(--primary-color-rgb), 0.1);
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .services .service-card, .about .col-lg-6, .contact .col-lg-4 {
        margin-bottom: 30px;
    }
}
@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .btn-custom {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    .services, .about, .contact, .footer {
        padding: 50px 0;
    }
    .emergency-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        right: 20px;
    }
}
.service-notice-left {
    position: fixed;
    bottom: 20px; /* Alttan mesafe */
    left: 20px;   /* Sol köşeye sabitledik */
    width: 300px;
    background-color: #000000;
    border-top: 5px solid #d32f2f; /* Daha ciddi bir kırmızı/turuncu tonu */
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-radius: 10px;
    z-index: 999999; /* Her şeyin üstünde görünmesi için */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: slideInLeft 0.5s ease-out;
}

.service-notice-content {
    padding: 18px;
}

.service-notice-left h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #d32f2f;
    font-weight: 700;
}

.service-notice-left p {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.service-btn {
    background-color: #222;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.service-btn:hover {
    background-color: #d32f2f;
}

/* Mobilde sağdaki butonu kapatmaması için daraltma */
@media (max-width: 480px) {
    .service-notice-left {
        width: 260px;
        left: 10px;
        bottom: 10px;
    }
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}