/* --- SIKA KURUMSAL RENK PALETİ --- */
:root {
    --sika-yellow: #FFC510;
    --sika-black: #222222;
    --sika-gray: #4A4A4A;
    --sika-light-gray: #F4F4F4;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--sika-light-gray);
    color: var(--sika-black);
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--sika-black);
    color: #ccc;
    padding: 8px 0;
    font-size: 0.8rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

/* --- HEADER & NAV --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 60px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--sika-black);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--sika-yellow);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HERO SECTION (Görsel ve Perdeleme) --- */
.hero {
    height: 550px; /* Yüksekliği biraz artırdık, daha ferah olsun */
    
    /* ÖNEMLİ KISIM: */
    /* İlk parametre (rgba) resmin üzerine siyah tül çeker. 0.7 değeri koyuluğu ayarlar */
    /* url('2.jpg') kısmına klasörünüzdeki güzel bir şantiye/beton görselinin adını yazın */
    background: linear-gradient(rgba(0, 30, 60, 0.8), rgba(0, 10, 20, 0.9)), url('2.jpg');
    
    background-size: cover; /* Resmi kutuya sığdırır */
    background-position: center; /* Resmi ortalar */
    background-attachment: fixed; /* Lüks Efekt: Sayfa kayarken resim sabit kalır */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    position: relative;
}

/* Başlıkların daha net okunması için gölge */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); /* Yazı arkası gölge */
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    max-width: 800px;
}

/* --- ARAMA KUTUSU (Ön Plana Çıkarma) --- */
.search-box {
    /* Arka planı bulanık değil, net beyaz yapalım ki resmin üstünde parlasın */
    background: #ffffff; 
    padding: 10px; /* İç boşluk */
    border-radius: 50px; /* Tam oval kenarlar (Google tarzı) */
    width: 100%;
    max-width: 750px;
    display: flex;
    gap: 10px;
    /* Kutunun arkasına güçlü bir gölge vererek havada duruyormuş hissi verelim */
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
    border: 4px solid rgba(255,255,255,0.2); /* Dışına hafif şeffaf bir halka */
}

.search-input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px; /* Input da oval olsun */
    font-size: 1rem;
    outline: none;
    color: #333;
}

.search-btn {
    background-color: var(--sika-yellow);
    color: var(--sika-black);
    border: none;
    padding: 0 40px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px; /* Buton da oval olsun */
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 1rem;
}

.search-btn:hover {
    background-color: #e6b000;
    transform: scale(1.05); /* Üzerine gelince hafif büyüsün */
    box-shadow: 0 5px 15px rgba(255, 197, 16, 0.4); /* Sarı gölge */
}

/* --- CATEGORY STRIP --- */
.category-strip {
    background: var(--sika-yellow);
    padding: 30px 0;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    text-align: center;
}

.cat-item {
    color: var(--sika-black);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.cat-item:hover {
    transform: scale(1.05);
}

.cat-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* --- MAIN LAYOUT --- */
.main-layout {
    display: flex;
    gap: 40px;
    padding: 60px 20px;
}

.sidebar {
    flex: 1;
    min-width: 250px;
}

.products-area {
    flex: 3;
}

.section-header {
    border-left: 5px solid var(--sika-yellow);
    padding-left: 15px;
    margin-bottom: 30px;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--sika-black);
}

.count-badge {
    font-size: 0.9rem;
    color: #666;
}

/* Sidebar Components */
.brand-box {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.brand-box img {
    width: 100%;
    margin-bottom: 20px;
    opacity: 0.8;
    filter: grayscale(20%);
    transition: all 0.3s;
}

.brand-box img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.support-box {
    background: var(--sika-black);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.support-box h3 {
    margin-bottom: 5px;
    color: var(--sika-yellow);
}

.support-box p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

.whatsapp-btn {
    display: block;
    background: var(--sika-yellow);
    color: #000;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background: #e6b000;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--sika-yellow);
}

.product-img {
    height: 180px; /* Yükseklik sabit kalsın */
    background-color: #fff; /* Arka planı beyaz yapalım ki ürün net çıksın */
    padding: 15px; /* GÖRSELİ KÜÇÜLTEN KISIM: İçeriye doğru 15px boşluk verir */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0; /* Görsel ile yazı arasına ince bir çizgi */
}

.product-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* GÖRSELİ KESMEDEN KUTUYA SIĞDIRIR */
    mix-blend-mode: multiply; /* Eğer görsellerin kendi beyaz arka planı varsa onları şeffaf gibi gösterir (Opsiyonel) */
}

.brand-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--sika-black);
    color: #fff;
    padding: 4px 8px; /* Biraz küçülttük */
    font-size: 0.7rem; /* Yazıyı küçülttük */
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-cat {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--sika-black);
    line-height: 1.3;
}

.action-link {
    display: inline-flex;
    align-items: center;
    color: var(--sika-black);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--sika-yellow);
    padding-bottom: 2px;
    transition: all 0.3s;
    width: fit-content;
}

.action-link:hover {
    background: var(--sika-yellow);
    border-bottom-color: transparent;
    padding-left: 5px;
    padding-right: 5px;
}

/* --- REFERENCES --- */
.ref-section {
    background: #fff;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.ref-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--sika-black);
}

.ref-section p {
    color: #666;
    margin-bottom: 30px;
}

.ref-img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.ref-img:hover {
    filter: grayscale(0%);
}

/* --- FOOTER --- */
footer {
    background: var(--sika-black);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--sika-yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-col p {
    color: #999;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* --- FOOTER DÜZENLEMELERİ --- */

/* Sosyal Medya İkonları */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--sika-yellow);
    color: var(--sika-black);
    transform: translateY(-3px);
}

/* Footer İletişim Listesi */
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #999;
    font-size: 0.9rem;
}

.footer-contact-list li i {
    color: var(--sika-yellow);
    margin-right: 10px;
    margin-top: 4px; /* İkonu metnin ilk satırıyla hizalar */
}

.footer-contact-list li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list li a:hover {
    color: #fff;
}

/* Telif Hakkı Kısmı */
.copy-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .copy-flex {
        flex-direction: column;
        text-align: center;
    }
}



/* Responsive */
@media (max-width: 768px) {
    .navbar { flex-direction: column; height: auto; padding: 15px; }
    .nav-links { margin-top: 15px; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero h1 { font-size: 2rem; }
    .main-layout { flex-direction: column; }
    .sidebar { width: 100%; margin-bottom: 30px; order: 2; }
    .products-area { order: 1; }
    .search-box { flex-direction: column; }
}

/* --- MEVCUT CSS KODLARINIZ AYNI KALSIN, EN ALTA BUNLARI EKLEYİN --- */

/* ... (Yukarıdaki kodlar aynı) ... */

/* --- MODAL (POP-UP) STİLLERİ --- */
.modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed;
    z-index: 2000; /* En üstte */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* İçerik taşarsa scroll */
    background-color: rgba(0,0,0,0.7); /* Karartılmış arka plan */
    backdrop-filter: blur(5px); /* Arka planı bulanıklaştır */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--sika-black);
}

.modal-body {
    display: flex;
    flex-direction: row;
}

.modal-img-container {
    background-color: #fff !important; /* Arka planı bembeyaz yapıyoruz */
    padding: 40px !important; /* GÖRSELİ KÜÇÜLTEN KISIM: Kenarlardan 40px boşluk bırakır */
    display: flex; /* Resmi ortalamak için */
    align-items: center;
    justify-content: center;
    min-height: 300px; /* Minimum yükseklik */
}

#modalImg {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Resmi kesmeden sığdırır */
    max-height: 400px; /* Resim dikeyde çok uzarsa sınırlama getirir */
}

.modal-brand-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--sika-black);
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.modal-info {
    flex: 1.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modal-category {
    color: var(--sika-yellow);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

#modalTitle {
    font-size: 2rem;
    color: var(--sika-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.modal-cta-btn {
    display: block;
    background-color: #25D366; /* WhatsApp Yeşili */
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
    margin-top: auto; /* En alta it */
}

.modal-cta-btn:hover {
    background-color: #128C7E;
}

/* --- DAHA FAZLA GÖSTER BUTONU --- */
.load-more-btn {
    background-color: transparent;
    border: 2px solid var(--sika-black);
    color: var(--sika-black);
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.load-more-btn:hover {
    background-color: var(--sika-black);
    color: #fff;
    transform: translateY(-2px);
}

/* --- REFERANS LOGOLARI IZGARASI --- */
.ref-grid {
    display: flex;
    flex-wrap: wrap; /* Sığmayanları alt satıra at */
    justify-content: center; /* Ortala */
    gap: 40px; /* Logolar arası boşluk */
    margin-top: 40px;
    align-items: center;
}

.ref-logo {
    height: 60px; /* Tüm logoların boyunu eşitler */
    width: auto;  /* Genişliği orantılı ayarlar */
    object-fit: contain;
    
    /* Profesyonel Görünüm Efekti */
    filter: grayscale(100%); /* Siyah-beyaz yapar */
    opacity: 0.6; /* Biraz şeffaflaştırır */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Mouse ile üzerine gelince */
.ref-logo:hover {
    filter: grayscale(0%); /* Renkli hale getirir */
    opacity: 1; /* Tam görünür yapar */
    transform: scale(1.1); /* Hafifçe büyütür */
}

/* --- İLETİŞİM FORMU BÖLÜMÜ --- */
.contact-section {
    background-color: #fff;
    padding: 80px 0;
    border-top: 1px solid #eee;
}

.contact-wrapper {
    display: flex; /* Yan yana dizme */
    justify-content: space-between;
    gap: 50px;
}

/* --- SOL TARAF (BİLGİLER) --- */
.contact-left {
    flex: 1;
    padding-right: 50px;
    /* DİKEY ÇİZGİ BURADA: Sağ tarafa gri bir çizgi çekiyoruz */
    border-right: 1px solid #e0e0e0; 
}

.contact-left h3 {
    font-size: 1.8rem;
    color: var(--sika-black);
    margin-bottom: 10px;
    border-left: 5px solid var(--sika-yellow);
    padding-left: 15px;
}

.contact-desc {
    color: #666;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--sika-light-gray);
    color: var(--sika-yellow); /* İkon rengi sarı */
    border-radius: 50%; /* Yuvarlak ikon */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    color: var(--sika-black);
    margin-bottom: 5px;
}

.info-text p, .info-text a {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--sika-yellow); /* Link üzerine gelince sarı */
}

/* --- SAĞ TARAF (FORM) --- */
.contact-right {
    flex: 1.2; /* Form tarafı biraz daha geniş olsun */
    padding-left: 20px;
}

.contact-right h3 {
    font-size: 1.8rem;
    color: var(--sika-black);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--sika-black);
    font-size: 0.9rem;
}

.contact-right input, 
.contact-right textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border 0.3s;
    background-color: #f9f9f9;
}

/* Inputa tıklayınca çerçeve sarı olsun */
.contact-right input:focus, 
.contact-right textarea:focus {
    border-color: var(--sika-yellow);
    outline: none;
    background-color: #fff;
}

.submit-btn {
    background-color: var(--sika-black);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: var(--sika-yellow);
    color: #000;
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .modal-body {
        flex-direction: column;
    }

    .modal-img-container {
        padding: 20px !important;
        min-height: 200px;
    }

    .modal-info {
        padding: 20px;
    }

    #modalTitle {
        font-size: 1.5rem;
    }

    .ref-grid {
        gap: 20px;
    }
    .ref-logo {
        height: 40px;
    }

    .contact-wrapper {
        flex-direction: column; /* Mobilde alt alta gelsin */
        gap: 40px;
    }

    .contact-left {
        border-right: none; /* Mobilde dikey çizgiyi kaldır */
        border-bottom: 1px solid #e0e0e0; /* Yatay çizgi ekle */
        padding-right: 0;
        padding-bottom: 40px;
    }

    .contact-right {
        padding-left: 0;
    }
}