/**
 * Turbo Motors İkitelli
 * Performance-Optimized Vanilla CSS
 * Google Fonts: Poppins
 */

:root {
    --primary-color: #e63946;      /* High Performance Red */
    --hover-color: #d62828;        /* Darker Red */
    --secondary-color: #111111;    /* Deep Black/Grey */
    --text-color: #333333;         /* Grey Text */
    --text-light: #777777;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-radius: 8px;
    --whatsapp-color: #25d366;
    --whatsapp-hover: #1ebe57;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--secondary-color); line-height: 1.3; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* --- Typography --- */
.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.section-title { font-size: 2.5rem; margin-bottom: 20px; }
section { padding: 90px 0; }

/* --- Buttons & Animations --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn i { font-size: 1.3rem; }

.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover { background-color: var(--hover-color); transform: translateY(-3px); }

.btn-whatsapp { background-color: var(--whatsapp-color); color: #fff; }
.btn-whatsapp:hover { background-color: var(--whatsapp-hover); transform: translateY(-3px); }

/* Pulse Animations for CTA */
@keyframes pulseRed {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}
@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse-red { animation: pulseRed 2s infinite; }
.pulse-green { animation: pulseGreen 2s infinite; }
.pulse-red-btn { animation: pulseRed 2s infinite; animation-delay: 1s;}
.pulse-green-btn { animation: pulseGreen 2s infinite; }

/* --- Header --- */
.header {
    position: fixed;
    top: 0; width: 100%;
    background-color: #f8f9fa;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; }
.logo-img { height: 50px; width: auto; display: block; object-fit: contain; }
.nav-menu { display: flex; gap: 25px; }
.nav-menu li a { font-weight: 500; font-size: 0.95rem; color: #333; position: relative; }
.nav-menu li a:hover { color: var(--primary-color); }
.menu-toggle { display: none; font-size: 2rem; color: #333; cursor: pointer; }

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('assets/hero.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(17,17,17,0.7), rgba(17,17,17,0.8));
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 0 20px; }
.hero h1 { font-size: 4rem; color: #fff; margin-bottom: 20px; text-transform: uppercase; font-style: italic; letter-spacing: 2px;}
.hero p { font-size: 1.25rem; color: #ddd; margin-bottom: 40px; font-weight: 300; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* --- Services Section --- */
.services { background-color: var(--bg-light); border-bottom: 1px solid #ebebeb;}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}
.service-card .img-wrapper {
    width: 100%; height: 220px;
    overflow: hidden; border-radius: var(--border-radius);
    margin-bottom: 25px;
}
.service-card .img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: var(--primary-color); }
.service-card:hover .img-wrapper img { transform: scale(1.08); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--secondary-color); }
.service-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- About Section --- */
.about-container { display: flex; align-items: center; gap: 60px; }
.about-img { flex: 1; position: relative; }
.about-img img { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow); object-fit: cover; border: 4px solid #fff; }
.experience-badge {
    position: absolute; bottom: 20px; left: -20px;
    background-color: var(--secondary-color); color: #fff;
    padding: 30px; border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-align: center; border-bottom: 5px solid var(--primary-color);
}
.experience-badge h3 { font-size: 2.2rem; color: #fff; margin-bottom: 5px; }
.experience-badge span { font-weight: 500; font-size: 0.9rem; letter-spacing: 1px; color: #ddd; text-transform: uppercase;}
.about-content { flex: 1; }
.about-content p { margin-bottom: 20px; font-size: 1.05rem; }
.about-features { margin-top: 30px; }
.about-features li { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; color: var(--secondary-color); }
.about-features i { color: var(--primary-color); font-size: 1.8rem; }

/* --- Testimonials Section --- */
.reviews { background-color: var(--secondary-color); color: #fff; }
.reviews .section-title { color: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.review-card {
    background: rgba(255,255,255,0.05); padding: 30px;
    border-radius: var(--border-radius); border: 1px solid rgba(255,255,255,0.1);
}
.review-card .stars { color: #ffb400; font-size: 1.2rem; margin-bottom: 15px; }
.review-text { font-style: italic; color: #ccc; margin-bottom: 20px; font-size: 0.95rem; }
.reviewer-name { font-size: 1.1rem; color: #fff; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 15px; }

/* --- Contact Section --- */
.contact-wrapper { display: flex; gap: 50px; background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid #eee; }
.contact-info { flex: 1; padding: 60px; }
.info-lists { margin-top: 30px; }
.info-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.icon-box {
    width: 50px; height: 50px; background-color: rgba(230, 57, 70, 0.1); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.icon-box i { font-size: 1.6rem; color: var(--primary-color); }
.info-item h4 { margin-bottom: 5px; font-size: 1.2rem; }
.info-item p { color: var(--text-light); }
.contact-map { flex: 1; min-height: 400px; background-color: #f1f1f1;}

/* --- Footer --- */
footer { background-color: #0a0a0a; color: #aaa; padding: 25px 0; font-size: 0.95rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-left { display: flex; flex-direction: column; gap: 10px; }
.footer-links { display: flex; gap: 10px; font-size: 0.85rem; }
.footer-links a:not(:last-child)::after { content: "-"; margin-left: 10px; color: #666; }
.webkurdu a { color: #fff; font-weight: 600; }
.webkurdu a:hover { color: var(--primary-color); }

/* --- Floating Actions --- */
.floating-actions { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 999; }
.float-btn {
    width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.3); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.float-btn:hover { transform: scale(1.15); }
.float-whatsapp { background-color: var(--whatsapp-color); }
.float-phone { background-color: var(--primary-color); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-container { flex-direction: column; }
    .experience-badge { left: 20px; bottom: -30px; }
    .contact-wrapper { flex-direction: column; }
    .hero h1 { font-size: 3rem; }
    .footer-content { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .navbar {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: #f8f9fa; padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2); transform: scaleY(0); transform-origin: top; transition: var(--transition);
    }
    .navbar.active { transform: scaleY(1); }
    .nav-menu { flex-direction: column; align-items: center; gap: 20px; }
    .hero h1 { font-size: 2.3rem; }
    .hero-buttons { flex-direction: column; }
    .section-title { font-size: 2rem; }
    .contact-info { padding: 40px 20px; }
    .btn { width: 100%; }
    .floating-actions { bottom: 20px; right: 20px; }
    .float-btn { width: 55px; height: 55px; font-size: 1.8rem; }
    .logo-img { height: 40px; }
}
