:root {
    --primary-red: #E31E24;
    --primary-black: #1A1A1A;
    --secondary-red: #FF1A1A;
    --light-gray: #f4f4f4;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-black);
}

.logo-container img {
    height: 70px;
    margin-right: 15px;
}

.company-info {
    text-align: right;
    color: var(--primary-black);
}

.company-info a {
    color: var(--primary-red);
    text-decoration: none;
}

.nav {
    background-color: var(--primary-red);
    padding: 10px 0;
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav ul li {
    display: inline;
    margin: 0 15px;
}

.nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.banner {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.service-box {
    background: white;
    padding: 20px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-red);
}

.contact {
    background-color: var(--light-gray);
    padding: 40px 0;
}

.footer {
    background-color: var(--primary-black);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
}

.button:hover {
    background-color: var(--secondary-red);
}

h1, h2 {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-black);
    padding-bottom: 10px;
}

.mobile-buttons {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-button {
    flex: 1;
    text-align: center;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.call-button {
    background: var(--primary-red);
    color: white;
}

.whatsapp-button {
    background: #25D366;
    color: white;
}

.map-container {
    width: 100%;
    height: 400px;
    margin: 20px 0;
}

.brands-section {
    padding: 40px 0;
    background: white;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.transmission-types {
    margin: 40px 0;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.transmission-types ul {
    padding-left: 20px;
}

.transmission-types li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .mobile-buttons {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .company-info {
        text-align: center;
        margin-top: 15px;
    }
    
    .banner {
        height: 300px;
    }
}
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    padding: 12px 20px;
    z-index: 100;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
}

.whatsapp-float i {
    margin-right: 8px;
}

.whatsapp-text {
    font-size: 16px;
    font-weight: bold;
}

/* Mobil cihazlar için özel ayarlar */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px; /* Alt mobil menü çubuğuyla çakışmaması için */
        right: 10px;
        padding: 12px;
    }
    
    .whatsapp-text {
        display: none; /* Mobilde sadece ikon görünsün */
    }
}
/* Banner için responsive düzenleme */
.banner {
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Mobil cihazlar için özel ayarlar */
@media screen and (max-width: 768px) {
    .banner {
        height: auto;
        max-height: 300px; /* Mobilde maksimum yükseklik */
    }
    
    .banner img {
        height: 100%;
        object-position: center;
    }
}

/* Daha küçük mobil cihazlar için */
@media screen and (max-width: 480px) {
    .banner {
        max-height: 200px; /* Daha küçük ekranlarda daha az yükseklik */
    }
}


/*Hizmetler*/

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-box h3 {
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-box i {
    color: #007bff;
}

.service-box p {
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/*Hakkimizda*/

.about-content {
    margin: 30px 0;
}

.about-text h2 {
    color: #333;
    margin: 25px 0 15px 0;
}

.about-text p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-box i {
    color: #007bff;
    font-size: 1.5em;
}

.why-us-list {
    list-style: none;
    padding: 0;
}

.why-us-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.why-us-list li:before {
    content: "✓";
    color: #007bff;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* iletisim */

/* İletişim Sayfası Stilleri */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.info-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.info-card p {
    color: var(--gray-text);
    line-height: 1.6;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block;
}

/* İletişim Sayfası Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 20px;
    }
}

/* Nav Menu *//* Genel Container Stili */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

/* Nav menu */.nav {
    background-color: var(--primary-red);
    padding: 0; /* padding'i kaldırdık */
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav ul li {
    display: inline;
    margin: 0;  /* margin'i kaldırdık */
}

.nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 20px;  /* padding'i artırdık */
    display: inline-block; /* inline-block yaptık ki padding düzgün çalışsın */
}

.nav ul li a:hover {
    background-color: var(--primary-black);
    transition: background-color 0.3s ease;
}

.nav ul li a.active {
    background-color: var(--primary-black);
}
