/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
:root {
    --primary-color: #0b1324;
    --secondary-color: #1e293b;
    --accent-color: #0284c7;
    --accent-hover: #0369a1;
    --text-dark: #1e293b;
    --text-light: #475569;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --border-color: #cbd5e1;
    --transition: all 0.25s ease;
    --whatsapp-color: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; }
html { scroll-behavior: smooth; font-family: 'Inter', sans-serif; }
body { color: var(--text-dark); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--primary-color); font-weight: 800; line-height: 1.2; }
.section-title { font-size: 2.2rem; margin-bottom: 1rem; position: relative; padding-bottom: 15px; letter-spacing: -0.5px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 4px; background-color: var(--accent-color); border-radius: 4px; }
.section-title.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }
.section-subtitle { color: var(--text-light); max-width: 800px; margin-bottom: 2.5rem; font-size: 1.05rem; }
.section-subtitle.center { text-align: center; margin: 0 auto 2.5rem auto; }

/* Denser Padding */
.section-padding { padding: 60px 0; }

/* ==========================================================================
   Top Bar (Consistent Across All Pages)
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: #94a3b8;
    font-size: 0.85rem;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.top-bar-item i { color: var(--accent-color); }
.top-bar-right a { color: #94a3b8; font-weight: 500; }
.top-bar-right a:hover { color: var(--white); }

/* ==========================================================================
   Header & Navigation (Consistent Across All Pages)
   ========================================================================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    gap: 20px;
}
/* Logo */
.logo {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    letter-spacing: -0.5px;
}
.logo img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}
.logo i { color: var(--accent-color); font-size: 1.6rem; }
/* Navigation Menu */
nav {
    display: flex;
    align-items: center;
}
.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu li a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}
.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--accent-color);
}

/* Primary Button */
.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.3);
    color: var(--white);
}

/* Mobile Toggle (Hidden on Desktop) */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Slider (Kompakt, Modern & Okunabilir Yükseklik)
   ========================================================================== */
.hero-slider {
    position: relative;
    height: 480px;
    min-height: 420px;
    width: 100%;
    overflow: hidden;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-1 { background-image: linear-gradient(rgba(5, 15, 30, 0.78), rgba(5, 15, 30, 0.88)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1920&q=80'); }
.slide-2 { background-image: linear-gradient(rgba(5, 15, 30, 0.78), rgba(5, 15, 30, 0.88)), url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&w=1920&q=80'); }
.hero-content { max-width: 860px; width: 100%; text-align: center; position: relative; z-index: 2; padding: 0 20px; }
.hero-content h1 { color: var(--white); font-size: 2.5rem; margin-bottom: 12px; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8); }
.hero-content h1 span { color: #38bdf8; }
.hero-content p { font-size: 1.05rem; margin-bottom: 24px; color: #f1f5f9; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); color: var(--white); width: 45px; height: 45px; border-radius: 6px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.slider-arrow:hover { background: var(--accent-color); border-color: var(--accent-color); }
.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }
.slider-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--accent-color); transform: scale(1.2); }

/* ==========================================================================
   Content Rich Sections
   ========================================================================== */
.about-flex { display: flex; gap: 40px; align-items: center; margin-top: 20px; }
.about-text { flex: 1; }
.about-text p { margin-bottom: 15px; text-align: justify; }
.about-list { margin-top: 20px; }
.about-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; }
.about-list i { color: var(--accent-color); }
.about-image { flex: 1; position: relative; }
.about-image img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); object-fit: cover; }
.experience-badge { position: absolute; bottom: -20px; left: -20px; background: var(--primary-color); color: var(--white); padding: 22px 28px; border-radius: 8px; font-weight: 800; font-size: 1.1rem; text-align: center; box-shadow: 0 10px 25px rgba(0,0,0,0.15); border: 4px solid var(--white); }
.experience-badge span { display: block; font-size: 2.2rem; line-height: 1; margin-bottom: 5px; color: var(--accent-color); }

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card { background-color: var(--white); padding: 30px 25px; border-radius: 8px; text-align: left; transition: var(--transition); border: 1px solid var(--border-color); border-left: 4px solid var(--accent-color); box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0,0,0,0.07); border-color: var(--accent-color); }
.service-icon { width: 52px; height: 52px; background-color: var(--bg-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.6rem; color: var(--accent-color); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; line-height: 1.6; }
.service-link { font-weight: 700; color: var(--accent-color); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 5px; }
.service-link:hover { gap: 10px; color: var(--primary-color); }

/* ==========================================================================
   Contact & Appointments (Dense Forms)
   ========================================================================== */
.contact-layout { display: flex; gap: 30px; }
.contact-sidebar { flex: 1; min-width: 300px; background: var(--primary-color); color: var(--white); padding: 35px 30px; border-radius: 8px; }
.contact-sidebar h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
.contact-info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-item i { color: var(--accent-color); font-size: 1.4rem; margin-top: 3px; }
.contact-info-item h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: #cbd5e1; font-size: 0.9rem; }
.contact-form-area { flex: 2; background: var(--white); padding: 35px 30px; border-radius: 8px; border: 1px solid var(--border-color); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--primary-color); font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; font-family: inherit; font-size: 0.95rem; transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15); }

/* Database status */
.db-status { padding: 15px; border-radius: 6px; font-weight: 600; text-align: center; margin-top: 15px; display: none; }
.db-status.success { display: block; background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

/* ==========================================================================
   Footer (Consistent Across All Pages)
   ========================================================================== */
footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 55px 0 20px 0;
    border-top: 4px solid var(--accent-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 35px;
}
.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}
.footer-links ul li a:hover {
    color: var(--accent-color);
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
}

/* ==========================================================================
   Floating WhatsApp (Rock-Solid Fixed Positioning)
   ========================================================================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: var(--whatsapp-color) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25) !important;
    z-index: 99999 !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    text-decoration: none !important;
}
.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .about-flex, .contact-layout { flex-direction: column; }
    .top-bar-right { display: none; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: -100%;
        width: 100%;
        background: var(--white);
        padding: 20px 25px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        transition: 0.3s ease;
        text-align: left;
        gap: 15px;
    }
    .nav-menu.active { left: 0; }
    .mobile-toggle { display: block; }
    header .btn-primary { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .experience-badge { position: relative; bottom: 0; left: 0; margin-top: -20px; width: 220px; margin-left: auto; margin-right: auto; }
    .whatsapp-float { bottom: 20px !important; right: 20px !important; width: 52px !important; height: 52px !important; font-size: 28px !important; }
}


/* ==========================================================================
   Page Banner (Inner Pages)
   ========================================================================== */
.page-banner {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(11, 19, 36, 0.9), rgba(11, 19, 36, 0.9)), url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
}
.page-banner h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.breadcrumb {
    color: #94a3b8;
    font-size: 0.95rem;
}
.breadcrumb a {
    color: var(--accent-color);
    font-weight: 600;
}
.breadcrumb a:hover {
    color: var(--white);
}

/* ==========================================================================
   Success Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: all 0.3s ease;
}
.modal-overlay.active .modal-box {
    transform: scale(1);
}
.modal-icon i {
    font-size: 4.5rem;
    color: #22c55e;
    margin-bottom: 20px;
}
.modal-box h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 12px;
}
.modal-box p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .mobile-only-action { display: block !important; }
    .mobile-only-regions { display: block !important; }
}

/* ==========================================================================
   Yapay Zeka ve WhatsApp Buton Hizalamalari
   ========================================================================== */
.chatbot-btn {
    right: 25px !important;
    bottom: 95px !important; 
    width: 60px !important;
    height: 60px !important;
    font-size: 32px !important;
}
.chatbot-window {
    right: 25px !important;
    bottom: 165px !important; 
}
@media (max-width: 768px) {
    .chatbot-btn {
        right: 20px !important;
        bottom: 82px !important; 
        width: 52px !important;
        height: 52px !important;
        font-size: 28px !important;
    }
    .chatbot-window {
        right: 20px !important;
        bottom: 145px !important;
        width: 320px !important;
    }
}

/* ==========================================================================
   YENI AN�MASYONLU VE BLURSUZ HERO SLIDER
   ========================================================================== */
.slide-1 { 
    background-image: linear-gradient(rgba(5, 15, 30, 0.4), rgba(5, 15, 30, 0.5)), url('assets/klozet_acma.png') !important; 
    background-size: cover !important;
    background-position: center !important;
}
.slide-2 { 
    background-image: linear-gradient(rgba(5, 15, 30, 0.4), rgba(5, 15, 30, 0.5)), url('assets/islem.png') !important; 
    background-size: cover !important;
    background-position: center !important;
}

/* Animasyon Tan�mlar� */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gizle ki animasyon �ncesi g�r�nmesin */
.slide .hero-content span,
.slide .hero-content h1,
.slide .hero-content p,
.slide .hero-content .hero-buttons {
    opacity: 0;
}

/* Active olunca teker teker gelsinler */
.slide.active .hero-content span {
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.3s;
}
.slide.active .hero-content h1 {
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 0.6s;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5) !important;
}
.slide.active .hero-content p {
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 0.9s;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.5) !important;
    font-weight: 500;
}
.slide.active .hero-content .hero-buttons {
    animation: slideUpFade 0.8s ease-out forwards;
    animation-delay: 1.2s;
}

/* Menu B�y�tme ve Instagram */
.nav-menu > li > a {
    font-size: 1.15rem !important;
    padding: 10px 15px;
}
.social-links a.instagram {
    color: #E1306C;
    font-size: 1.2rem;
    margin-left: 15px;
}
/* Dropdown Men� */
.dropdown {
    position: relative;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 250px;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    position: relative;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid #f1f1f1;
}
.dropdown-menu li a:hover {
    background: #f8f9fa;
    color: #007bff;
}
/* Sub-dropdown */
.sub-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
}
.dropdown-menu li:hover .sub-dropdown {
    display: block;
}

/* Men� K�r�lmas�n� �nleme (D�zeltme) */
.nav-menu li a {
    white-space: nowrap !important;
    font-size: 1rem !important; /* B�y�tmeyi geri ald�k */
}
.nav-menu {
    gap: 15px !important; /* Bo�luklar� biraz k�st�k ki s��s�n */
}

/* Y�zen Instagram �konu (Yapay Zekan�n �st�) */
.instagram-float {
    position: fixed !important;
    right: 25px !important;
    bottom: 165px !important; /* AI butonu 95px, 60px boyutu var, bu 165'te m�kemmel durur */
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25) !important;
    z-index: 99999 !important;
    transition: 0.3s ease !important;
    text-decoration: none !important;
}
.instagram-float:hover {
    transform: scale(1.1) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .instagram-float {
        right: 20px !important;
        bottom: 144px !important; /* Mobil uyum */
        width: 52px !important;
        height: 52px !important;
        font-size: 28px !important;
    }
}

.chatbot-window {
    z-index: 1000000 !important;
}

/* MOBIL MENU DUZELTMESI (DROPDOWN VE TASMA SORUNU) */
@media (max-width: 768px) {
    .dropdown-menu, .sub-dropdown {
        position: static !important;
        display: none;
        box-shadow: none !important;
        background: #f8f9fa !important;
        padding: 0 !important;
        margin: 5px 0 !important;
        border-radius: 0 !important;
        min-width: 100% !important;
    }
    .dropdown:hover .dropdown-menu,
    .dropdown-menu li:hover .sub-dropdown {
        display: block !important;
    }
    .dropdown-menu li a {
        padding: 10px 15px !important;
        border-bottom: 1px solid #e9ecef !important;
        font-size: 0.95rem !important;
        white-space: normal !important; /* tasmasin diye yaziyi kir */
    }
    .sub-dropdown li a {
        padding-left: 30px !important; 
    }
    .nav-menu {
        overflow-y: auto !important;
        max-height: 75vh !important;
    }
}

/* YUZEN ARAMA BUTONU */
.phone-float {
    position: fixed !important;
    right: 25px !important;
    bottom: 235px !important; 
    width: 60px !important;
    height: 60px !important;
    background: #007bff !important; 
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    z-index: 999999 !important;
    transition: 0.3s !important;
    text-decoration: none !important;
}
.phone-float:hover {
    transform: scale(1.1) !important;
    color: white !important;
}
@media (max-width: 768px) {
    .phone-float {
        right: 20px !important;
        bottom: 206px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 24px !important;
    }
}/* DESKTOP ICIN SUB-DROPDOWN SAGA DEGIL SOLA ACILSIN (TASMAYI ONLEMEK ICIN) */
@media (min-width: 769px) {
    .nav-menu .dropdown:last-child .sub-dropdown {
        left: auto;
        right: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu > li > a {
        font-size: 0.95rem !important;
        padding: 10px 15px !important;
    }
    .dropdown-menu li a {
        font-size: 0.9rem !important;
    }
    .sub-dropdown li a {
        font-size: 0.85rem !important;
    }
}

/* DROPDOWN VE YAZI SIGMAMA/KIRILMA SORUNU DUZELTMELERI */
.dropdown-menu, .sub-dropdown {
    width: max-content !important;
}
.dropdown-menu li a, .sub-dropdown li a {
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

@media (max-width: 768px) {
    .dropdown-menu li a, .sub-dropdown li a {
        white-space: nowrap !important;
    }
}

/* HERO SLIDER MOBILE SIGMAMA/ALTA ALTA GELME DUZELTMESI */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
    }
    .hero-content p {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
    .slide .hero-content span {
        font-size: 0.75rem !important; /* Ustteki kirmizi rozet yazisi kuculsun */
        padding: 5px 10px !important;
        display: inline-block !important;
    }
    .hero-buttons {
        flex-direction: row !important; /* Buttonlar yanyana dursun */
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }
    .hero-buttons a.btn-primary, .hero-buttons a.btn-whatsapp {
        font-size: 0.8rem !important;
        padding: 10px 12px !important;
        flex: 1 !important; /* Ekrani 50-50 paylassinlar */
        justify-content: center !important;
        text-align: center !important;
    }
}

/* MOBIL EKRANLAR ICIN KOMPAKT GORUNUM DUZELTMELERI (ASIRI ALT ALTA BİNMEYİ ONLEME) */
@media (max-width: 768px) {
    /* Genel basliklari ve bosluklari ufalt */
    .section-title { font-size: 1.5rem !important; margin-bottom: 0.5rem !important; }
    .section-subtitle { font-size: 0.85rem !important; margin-bottom: 1.5rem !important; }
    .page-banner { padding: 40px 0 !important; }
    
    /* 4'lu ikonlu avantajlar kismi (30 Dk, %100 Garantili vb.): Mobilde 2x2 olsun */
    .container > div[style*="minmax(220px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 15px 0 !important;
    }
    .container > div[style*="minmax(220px"] > div {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 5px !important;
    }
    .container > div[style*="minmax(220px"] h4 { font-size: 0.95rem !important; }
    .container > div[style*="minmax(220px"] p { font-size: 0.75rem !important; }
    
    /* Surecimiz (Adim 1,2,3) kismi: Mobilde 2 yanyana olsun */
    .container > div[style*="minmax(230px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .container > div[style*="minmax(230px"] > div {
        padding: 15px 10px !important;
    }
    
    /* Hizmet kartlarini daralt, destan gibi uzamasin */
    .services-grid { gap: 15px !important; }
    .service-card { padding: 15px !important; }
    .service-card img { height: 140px !important; margin-bottom: 10px !important; }
    .service-card h3 { font-size: 1.05rem !important; margin-bottom: 5px !important; }
    .service-card p { font-size: 0.85rem !important; margin-bottom: 10px !important; }
    .service-icon { width: 40px !important; height: 40px !important; font-size: 1.2rem !important; margin-bottom: 10px !important; }
    
    /* Yorumlar ve Servis Agi kartlari */
    .container > div[style*="minmax(300px"] { gap: 15px !important; }
    .container > div[style*="minmax(300px"] > div { padding: 15px !important; }
}

/* FINAL MOBILE GRID FIX */
@media (max-width: 768px) {
    /* Ust Kisim (30 Dk, %100 Garantili) - 220px */
    .container > div[style*="220px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 15px 0 !important;
    }
    .container > div[style*="220px"] > div {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 5px !important;
    }

    /* Koyu Arkaplan (Robotik Cozum, Iscilik Garantisi) - 240px */
    .container > div[style*="240px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .container > div[style*="240px"] > div {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        padding: 15px 10px !important;
        gap: 8px !important;
    }
    
    /* Surecimiz Nasil Isliyor - 230px */
    .container > div[style*="230px"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .container > div[style*="230px"] > div {
        padding: 15px 10px !important;
    }
    
    /* Digerleri 1 Sütun kalsin ama araliklari ufalsin */
    .container > div[style*="280px"], 
    .container > div[style*="300px"] {
        gap: 15px !important;
    }
}
