/* ===========================
   BeyazEşya Servis - Custom CSS
   =========================== */

:root {
    --primary: #1a56db;
    --primary-dark: #0d3b8e;
    --accent: #f59e0b;
}

html { font-size: 16px; position: relative; min-height: 100%; }
body { font-family: 'Inter', sans-serif; color: #374151; margin-bottom: 0; }

/* Navbar */
.navbar .nav-link { font-weight: 500; color: #374151 !important; transition: color 0.2s; }
.navbar .nav-link:hover { color: var(--primary) !important; }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a56db 0%, #0d3b8e 100%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 550px;
    height: 550px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

/* Service Cards */
.service-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
}
.service-card:hover {
    box-shadow: 0 20px 50px rgba(26, 86, 219, 0.13);
    transform: translateY(-5px);
    border-color: var(--primary);
}
.service-card .icon-box {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

/* Stats */
.stats-section { background: linear-gradient(135deg, #1a56db 0%, #0d3b8e 100%); }
.stat-item { text-align: center; padding: 2.5rem 1rem; }
.stat-number { font-size: 3rem; font-weight: 700; line-height: 1; }

/* Gallery */
.gallery-item { position: relative; overflow: hidden; border-radius: 10px; cursor: pointer; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(26, 86, 219, 0.72);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a56db 0%, #0d3b8e 100%);
    padding: 4.5rem 0; color: white;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 56px; height: 56px;
    background: #25d366; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55); color: white; }

/* Why Us */
.why-us-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.25rem; border-radius: 10px;
    background: #f8fafc; margin-bottom: 1rem;
    transition: background 0.2s;
}
.why-us-item:hover { background: #dbeafe; }
.why-us-item .icon {
    flex-shrink: 0; width: 44px; height: 44px;
    border-radius: 8px; background: var(--primary); color: white;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* Project Card */
.project-card {
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    background: white;
}
.project-card:hover { box-shadow: 0 10px 35px rgba(0,0,0,0.15); transform: translateY(-4px); }
.project-card img { width: 100%; height: 220px; object-fit: cover; }

/* Contact */
.contact-form .form-control,
.contact-form .form-select {
    border-radius: 8px; border-color: #e5e7eb;
    padding: 0.75rem 1rem; font-size: 0.92rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 86, 219, 0.1);
}

/* Section */
.section-title { font-weight: 700; font-size: 2rem; color: #111827; }
.section-subtitle { color: #6b7280; font-size: 1rem; }
.section-badge {
    display: inline-block; background: #dbeafe; color: var(--primary);
    font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.9rem;
    border-radius: 50px; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* Utilities */
.bg-light-blue { background-color: #f0f7ff; }
.rounded-xl { border-radius: 16px !important; }
.btn { border-radius: 8px; font-weight: 500; }
.btn-primary { background-color: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background-color: var(--primary); }

/* Focus */
.btn:focus, .form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(26, 86, 219, 0.15);
}

/* Footer - dark bg üzerinde yazı renkleri */
footer.bg-dark .text-muted,
footer.bg-dark p,
footer.bg-dark small,
footer.bg-dark li,
footer.bg-dark dl dd,
footer.bg-dark dl dt { color: #b0bec5 !important; }

footer.bg-dark a.text-muted,
footer.bg-dark a.text-decoration-none { color: #90a4ae !important; }
footer.bg-dark a.text-muted:hover,
footer.bg-dark a.text-decoration-none:hover { color: #ffffff !important; }

footer.bg-dark .text-primary { color: #60a5fa !important; }
footer.bg-dark h5, footer.bg-dark h6,
footer.bg-dark .text-white { color: #ffffff !important; }
footer.bg-dark .fw-semibold.text-white { color: #ffffff !important; }
footer.bg-dark small.text-muted { color: #90a4ae !important; }
footer.bg-dark small a.text-muted { color: #90a4ae !important; }

/* Topbar */
.topbar { font-size: 0.85rem; }

/* Admin sidebar active */
.sidebar-nav .nav-link.active { background: rgba(255,255,255,0.1); border-radius: 8px; }
.sidebar-nav .nav-link { color: rgba(255,255,255,0.8); border-radius: 8px; margin-bottom: 2px; }
.sidebar-nav .nav-link:hover { background: rgba(255,255,255,0.08); color: white; }

@media (max-width: 768px) {
    .hero-section { min-height: 65vh; }
    .stat-number { font-size: 2.2rem; }
    .section-title { font-size: 1.65rem; }
}
