:root {
    --primary: #FF5E00; /* Turuncu logo rengi */
    --dark: #121212;
    --light: #f4f4f4;
}
html {
    scroll-behavior: smooth;
}

section {
    min-height: 80vh; /* Her bölümün ekranda yeterli yer kaplaması için */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    margin: 0;
}
nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    align-items: center;
    background: rgba(0,0,0,0.8);
    position: fixed;
    width: 90%;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 2px;
}

nav ul { 
    display: flex;
    align-items: center; /* Tüm li ve butonları dikeyde eşitler */
    list-style: none;
    gap: 25px; }
nav ul li { margin-left: 20px; }
nav a { color: white; text-decoration: none; font-weight: bold; }

.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('hero-bg.jpg'); /* Buraya motorlu bir resim koyabilirsin */
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 { font-size: 4rem; margin-bottom: 10px; }

.section-title { text-align: center; margin: 50px 0; font-size: 2.5rem; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 5%;
}

.controls select {
    background: #222;
    color: white;
    padding: 8px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    cursor: pointer;
}

.controls label {
    font-weight: bold;
    color: var(--primary);
}

.product-card {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.product-card:hover { transform: translateY(-10px); border: 1px solid var(--primary); }

.product-card img { width: 100%; border-radius: 5px; }

.price { display: block; font-size: 1.5rem; margin: 15px 0; color: var(--primary); font-weight: bold; }

.btn, .add-to-cart {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}
.btn-orange {
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e00 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 94, 0, 0.2);
}

.btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.4);
}

/* Tıklayınca (Active) */
.btn-orange:active {
    transform: translateY(1px);
}

/* Sağ taraftaki sayı (Badge) */
.cart-count {
    background-color: white;
    color: #ff5e00;
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    visibility: hidden; /* Başlangıçta gizli, ürün eklenince görünecek */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Sayı görünür olduğunda çalışacak sınıf */
.cart-count.show {
    visibility: visible;
    opacity: 1;
}

/* Satır Hizalaması */
.product-row {
    display: flex;
    align-items: center; /* Yazı ve butonu dikeyde ortalar */
    gap: 20px; /* Aradaki boşluk */
    justify-content: center; /* Yatayda ortalar */
    margin: 20px 0;
}

.product-name {
    font-size: 18px;
    font-weight: 500;
}

/* Sepet Dropdown Konumu */
.cart-wrapper {
    position: relative;
}

.cart-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 15px;
    z-index: 1000;
    color: #333;
}

.cart-wrapper:hover .cart-dropdown {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#cart-items-list {
    list-style: none;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
}

/* Sepet Öğesi Tasarımı */
#cart-items-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h5 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.cart-item-info p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

.cart-item-price {
    font-weight: bold;
    font-size: 13px;
    color: #ff5e00;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e00 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-checkout:hover
{
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 94, 0, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal Styling */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); }
.modal-content { background: #222; margin: 10% auto; padding: 30px; width: 400px; border-radius: 10px; }
.input-mod
{
    width: 100%; 
    padding: 10px; 
    background: linear-gradient(135deg, #ff8c00 0%, #ff5e00 100%); 
    color: white;

}
.input-mod::placeholder
{
    font-weight: bold;
    color: rgb(255, 255, 255);
}

/* Hakkımızda & Ürün Detay Bölümü */
.about-section {
    padding: 80px 10% ;
    background-color: #0f0f0f; /* Derin siyah */
    color: #f4f4f4;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    color: #ff5e00; /* İmza turuncumuz */
    margin-bottom: 20px;
    font-weight: 900;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ccc;
}

.highlight-box {
    border-left: 4px solid #ff5e00;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    background: rgba(255, 94, 0, 0.05);
}

.tech-specs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.spec-item {
    background: #1a1a1a;
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid #333;
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.spec-item i {
    color: #ff5e00;
    display: block;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* İletişim Bölümü Tasarımı */
.contact-section {
    padding: 80px 10%;
    background-color: #111; /* Hakkımızda ile uyumlu hafif fark */
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    color: #ff5e00;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method h4 {
    color: #ff5e00;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.contact-method p, .contact-method a {
    color: #ccc;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
}

.contact-method a:hover {
    color: #ff5e00;
}

/* Form Tasarımı */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input, .form-group textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #ff5e00;
    background: #222;
}

.btn-send {
    background: #ff5e00;
    color: #fff;
    border: none;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(255, 94, 0, 0.2);
}

.btn-send:hover {
    background: #e65500;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 0, 0.4);
}

.site-footer {
    background-color: #000;
    padding: 60px 10% 20px 10%;
    border-top: 1px solid #222;
    color: #fff;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff5e00;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #888;
    max-width: 250px;
}

.footer-nav h4, .footer-social h4 {
    font-size: 0.9rem;
    color: #ff5e00;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
}

.footer-nav ul li a:hover {
    color: #ff5e00;
}

.social-link {
    color: #fff;
    text-decoration: none;
    background: #1a1a1a;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    transition: 0.3s;
}

.social-link:hover {
    background: #ff5e00;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #111;
    color: #444;
    font-size: 0.8rem;
}
/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
}

.coming-soon-products {
    padding: 100px 10%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('asfalt-dokusu.jpg'); /* Arkaya hafif bir doku çok şık durur */
    background-size: cover;
    text-align: center;
    color: #fff;
}

.teaser-badge {
    background: #ff5e00;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.coming-soon-products h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.teaser-text {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1.6;
}

.feature-highlights {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-highlights span {
    font-weight: bold;
    color: #ff5e00;
    border: 1px solid rgba(255, 94, 0, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 94, 0, 0.05);
}

.action-box {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    border: 1px dashed #333;
    display: inline-block;
}

.action-box p {
    margin-bottom: 20px;
    color: #eee;
}


/* --- MOBİL UYUMLULUK AYARLARI (GÜNCEL) --- */
@media (max-width: 768px) {
    
    /* Navbar'ı komple ele alalım */
    nav {
        width: 100% !important; /* Taşmayı önlemek için */
        left: 0;
        box-sizing: border-box;
        flex-direction: column !important; /* Logo üstte, menü altta */
        padding: 10px 5% !important;
        position: fixed;
    }

    /* Logoyu mobilde makul bir boyuta çekelim */
    .logo img {
        height: 60px !important; /* 120px'den 60px'e düşürdük */
        margin-bottom: 10px;
    }

    /* Menü listesini (ul) hizalayalım */
    nav ul {
        flex-direction: row !important; /* Linkler yan yana kalsın */
        flex-wrap: wrap; /* Sığmazsa alta geçsin */
        justify-content: center !important;
        gap: 15px !important;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    nav ul li {
        margin: 0 !important; /* Masaüstünden kalan boşlukları sıfırla */
    }

    nav a {
        font-size: 0.85rem !important; /* Yazıları biraz küçültelim */
    }

    /* Sepet butonunu küçültelim */
    .btn-orange {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }

    /* --- DİĞER MOBİL AYARLAR --- */
    .about-section, .contact-section, .coming-soon-products {
        padding: 60px 5% !important;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-content h2, .coming-soon-products h2, .contact-info h2 {
        font-size: 2rem !important;
    }

    .tech-specs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
}