/* ============================================
   FAST GRUP MEKANİK SERVİS - Main Stylesheet
   Renk Paleti: Modern Automotive Theme (Red/Black/White)
   ============================================ */

:root {
    --bg: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --card: #ffffff;
    --surface: #f1f3f4;
    --border: rgba(0,0,0,0.08);
    --text: #1a1a1a;
    --text-light: #495057;
    --muted: #6c757d;
    --red: #dc3545;
    --red-dark: #b02a37;
    --red-light: #f8d7da;
    --gold: #d4a017;
    --gold-light: #f0c040;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Base ---- */
* { box-sizing: border-box; }
body {
    background: var(--bg-gradient) !important;
    font-family: 'Poppins', 'Roboto', sans-serif;
    color: var(--text) !important;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 400;
}
/* Bootstrap light mode tweaks */
p, span, li, td, th, label, small, div {
    color: inherit;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { color: var(--text); }
.text-muted { color: var(--muted) !important; }
.text-white { color: #ffffff !important; }
.text-light { color: rgba(0,0,0,0.65) !important; }
.text-danger { color: var(--red) !important; }
.text-success { color: #198754 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #0dcaf0 !important; }
a { transition: color 0.2s, opacity 0.2s; }
img { max-width: 100%; }

/* ---- Quick Contact Bar ---- */
.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ---- Utility ---- */
.bg-light-custom { background-color: var(--surface) !important; }
.fw-black { font-weight: 900; }
.letter-spacing { letter-spacing: 1.5px; }
.min-vh-80 { min-height: 80vh; }

/* ---- Gold Divider ---- */
.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.7);
    color: white;
}

/* ---- Navbar ---- */
.navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--shadow);
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--red) !important;
    background: rgba(220,53,69,0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--red) !important;
    background: rgba(220,53,69,0.08);
    font-weight: 600;
}

/* Scrolled Navbar */
.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Mobile Navbar */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 50px;
        max-height: 50px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .nav-link {
        padding: 0.5rem 1rem !important;
        text-align: center;
        margin: 0.25rem 0;
    }
}

/* ---- Hero Section ---- */
.hero-section {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 6rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(220,53,69,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(212,160,23,0.06) 0%, transparent 40%),
        linear-gradient(135deg, rgba(248,249,250,0.9) 0%, rgba(233,236,239,0.9) 100%);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23dc3545' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-gold-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.hero-logo {
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.hero-logo:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-badge .badge {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%) !important;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(220,53,69,0.3);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section .lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* CTA Buttons */
.hero-section .btn {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    border: 2px solid;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-section .btn:hover::before {
    left: 100%;
}

.hero-section .btn-danger {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border-color: var(--red);
    box-shadow: 0 4px 15px rgba(220,53,69,0.3);
}

.hero-section .btn-danger:hover {
    background: linear-gradient(135deg, var(--red-dark) 0%, #8b1e2a 100%);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220,53,69,0.4);
}

.hero-section .btn-outline-light {
    background: transparent;
    border-color: var(--text);
    color: var(--text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero-section .btn-outline-light:hover {
    background: var(--text);
    border-color: var(--text);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Stats Section */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255,255,255,0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.hero-stats > div {
    text-align: center;
    flex: 1;
    position: relative;
}

.hero-stats > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(0,0,0,0.1);
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.hero-stats .stat-number::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 2px;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0 4rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-logo {
        max-width: 350px;
        margin-top: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .hero-stats > div:not(:last-child)::after {
        display: none;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---- Service Cards ---- */
.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-top: 4px solid var(--red);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(220,53,69,0.2);
}

.service-card:hover::before {
    opacity: 1;
}
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(220,53,69,0.1) 0%, rgba(220,53,69,0.05) 100%);
    border: 2px solid rgba(220,53,69,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .service-icon {
    border-color: var(--red);
    transform: scale(1.1);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    color: white;
}

/* ---- Why Us Cards ---- */
.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: transform 0.25s, border-color 0.25s;
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220,53,69,0.3);
    box-shadow: 0 12px 40px rgba(220,53,69,0.08);
}
.why-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(220,53,69,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- CTA Section ---- */
.appointment-cta {
    background: linear-gradient(135deg, rgba(248,249,250,1) 0%, rgba(240,243,247,1) 50%, rgba(248,249,250,1) 100%);
    border-top: 1px solid rgba(220,53,69,0.18);
    border-bottom: 1px solid rgba(220,53,69,0.18);
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(220,53,69,0.08) 0%, transparent 70%);
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(180deg, rgba(248,249,250,1) 0%, rgba(240,243,247,1) 100%) !important;
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.breadcrumb-item + .breadcrumb-item::before { color: rgba(0,0,0,0.35); }

/* ---- Contact Info Cards ---- */
.contact-info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.contact-icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(220,53,69,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Contact / Appointment Form ---- */
.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
}
.form-control-dark {
    background: rgba(0,0,0,0.04) !important;
    border-color: rgba(0,0,0,0.1) !important;
    color: var(--text) !important;
}
.form-control-dark:focus {
    background: rgba(255,255,255,0.9) !important;
    border-color: var(--red) !important;
    color: var(--text) !important;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.15) !important;
}
.form-control-dark::placeholder { color: rgba(0,0,0,0.35); }

/* ---- Vision / Mission Cards ---- */
.vision-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    border-left: 4px solid var(--red);
}

/* ---- Equipment Cards ---- */
.equip-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.equip-card:hover { border-color: rgba(220,53,69,0.25); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.equip-icon {
    width: 44px;
    height: 44px;
    background: rgba(220,53,69,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ---- FAQ ---- */
.accordion-item-custom {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}
.accordion-btn {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
}
.accordion-btn:hover { background: rgba(220,53,69,0.06); }

/* ---- Gallery ---- */
.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}
.gallery-item img { transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(220,53,69,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    padding: 1rem 0.75rem 0.5rem;
    font-size: 0.8rem;
    color: #f7f7f7;
}

/* ---- Service Detail ---- */
.service-detail-card {
    background: var(--card);
    border: 1px solid var(--border);
}
.contact-sidebar, .other-services-card {
    background: var(--card);
    border: 1px solid var(--border);
}

/* ---- Buttons ---- */
.btn-danger { background-color: var(--red); border-color: var(--red); }
.btn-danger:hover { background-color: var(--red-dark); border-color: var(--red-dark); }
.btn-outline-danger:hover { background-color: var(--red); }

/* ---- Footer ---- */
footer a:hover { color: var(--red) !important; }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

/* ---- Responsive ---- */
@media (max-width: 576px) {
    .hero-section .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.7rem; }
    .display-6 { font-size: 1.5rem; }
}

/* ---- Scrolled Navbar ---- */
.navbar.scrolled {
    background: rgba(0,0,0,0.97) !important;
    box-shadow: 0 2px 20px rgba(220,53,69,0.2);
}
