/**
 * We Chem - Özel CSS Stilleri
 * Kimya firması için kurumsal tema renkleri ve ek stiller
 */

/* ============================================================
   CSS Değişkenleri - Kimya Firması Renk Paleti
   ============================================================ */
:root {
    --wc-primary: #1a5276;
    --wc-primary-light: #2980b9;
    --wc-primary-dark: #0e2f44;
    --wc-accent: #27ae60;
    --wc-accent-light: #2ecc71;
    --wc-warning: #f39c12;
    --wc-danger: #e74c3c;
    --wc-text: #2c3e50;
    --wc-text-light: #7f8c8d;
    --wc-bg-light: #f8f9fa;
    --wc-bg-section: #ecf0f1;
    --wc-border: #dee2e6;
}

/* ============================================================
   Genel Stil Overrides
   ============================================================ */
.text-primary {
    color: var(--wc-primary) !important;
}

a {
    color: var(--wc-primary);
}

a:hover {
    color: var(--wc-primary-light);
}

.btn-dark {
    background-color: var(--wc-primary);
    border-color: var(--wc-primary);
}

.btn-dark:hover {
    background-color: var(--wc-primary-dark);
    border-color: var(--wc-primary-dark);
}

.btn-accent {
    background-color: var(--wc-accent);
    border-color: var(--wc-accent);
    color: #fff;
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--wc-accent-light);
    border-color: var(--wc-accent-light);
    color: #fff;
}

/* ============================================================
   Header Özelleştirmeleri
   ============================================================ */
.secondary-nav {
    background-color: var(--wc-primary-dark);
}

.secondary-nav p,
.secondary-nav a {
    color: #fff !important;
    font-size: 14px;
}

.secondary-nav .user-items a {
    color: rgba(255,255,255,0.8) !important;
}

.secondary-nav .user-items a:hover {
    color: #fff !important;
}

.primary-nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ============================================================
   Banner / Slider
   ============================================================ */
#billboard .swiper-slide {
    min-height: 600px;
    display: flex;
    align-items: center;
}

#billboard .banner-content {
    position: relative !important;
    top: auto !important;
    width: 100%;
    padding: 20px 0;
}

#billboard .banner-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 15px;
}

#billboard .banner-content p {
    color: rgba(255,255,255,0.95);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-size: 18px;
    margin-top: 15px !important;
    margin-bottom: 25px !important;
}

/* ============================================================
   Kategori Kartları
   ============================================================ */
.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
}

.category-card .card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.category-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .card-image img {
    transform: scale(1.05);
}

.category-card .card-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26, 82, 118, 0.7));
    transition: all 0.3s ease;
}

.category-card .card-body {
    padding: 20px;
}

.category-card .card-body h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--wc-text);
    margin-bottom: 8px;
}

.category-card .card-body p {
    color: var(--wc-text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================================
   Ürün Kartları (Frontend)
   ============================================================ */
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.product-card .product-image-wrap {
    height: 200px;
    overflow: hidden;
}

.product-card .product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-card .product-info {
    padding: 20px;
}

.product-card .product-info h4 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-card .product-info h4 a {
    color: var(--wc-text);
    text-decoration: none;
}

.product-card .product-info h4 a:hover {
    color: var(--wc-primary);
}

.product-card .product-category {
    font-size: 12px;
    color: var(--wc-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.product-card .product-excerpt {
    font-size: 14px;
    color: var(--wc-text-light);
    line-height: 1.5;
}

/* ============================================================
   Ürün Detay Sayfası
   ============================================================ */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-detail-image img {
    width: 100%;
    height: auto;
}

.product-detail-info h1 {
    font-size: 2em;
    font-weight: 700;
    color: var(--wc-text);
    margin-bottom: 15px;
}

.product-detail-info .product-meta {
    font-size: 14px;
    color: var(--wc-text-light);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--wc-border);
}

.product-detail-tabs {
    margin-top: 30px;
}

.download-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-buttons .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-download-tds {
    background-color: var(--wc-primary);
    color: #fff;
    border: 2px solid var(--wc-primary);
}

.btn-download-tds:hover {
    background-color: transparent;
    color: var(--wc-primary);
}

.btn-download-msds {
    background-color: var(--wc-danger);
    color: #fff;
    border: 2px solid var(--wc-danger);
}

.btn-download-msds:hover {
    background-color: transparent;
    color: var(--wc-danger);
}

/* ============================================================
   CTA Bölümü
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--wc-primary) 0%, var(--wc-primary-dark) 100%);
    padding: 50px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-cta {
    background-color: var(--wc-accent);
    color: #fff;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-section .btn-cta:hover {
    background-color: var(--wc-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

/* ============================================================
   Hakkımızda Bölümü (Anasayfa)
   ============================================================ */
.about-preview {
    padding: 45px 0;
    background-color: var(--wc-bg-light);
}

.about-preview h2 {
    font-size: 2em;
    font-weight: 700;
    color: var(--wc-text);
    margin-bottom: 20px;
}

.about-preview p {
    color: var(--wc-text-light);
    line-height: 1.8;
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.page-banner {
    background: linear-gradient(135deg, var(--wc-primary-dark) 0%, var(--wc-primary) 100%);
    padding: 50px 0;
    color: #fff;
}

.page-banner h1 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-banner .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    display: flex;
    list-style: none;
    gap: 10px;
}

.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.page-banner .breadcrumb a:hover {
    color: #fff;
}

.page-banner .breadcrumb .separator {
    color: rgba(255,255,255,0.5);
}

.page-banner .breadcrumb .current {
    color: var(--wc-accent-light);
}

/* ============================================================
   İletişim Sayfası
   ============================================================ */
.contact-info-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.contact-info-box i {
    font-size: 36px;
    color: var(--wc-primary);
    margin-bottom: 15px;
    display: block;
}

.contact-info-box h4 {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-info-box p {
    color: var(--wc-text-light);
    font-size: 14px;
    margin: 0;
}

.contact-info-box a {
    color: var(--wc-primary);
}

.contact-form-section {
    padding: 80px 0;
}

.google-map-section {
    margin-top: 0;
}

.google-map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================================
   WhatsApp Yüzen Buton
   ============================================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ============================================================
   Sayfa İçerikleri
   ============================================================ */
.page-content {
    padding: 60px 0;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-content h2 {
    font-size: 1.6em;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--wc-text);
}

.page-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--wc-primary);
}

/* ============================================================
   Öne Çıkan Ürünler
   ============================================================ */
.featured-section {
    padding: 45px 0;
    background: #fff;
}

.featured-section .section-header {
    margin-bottom: 40px;
}

.featured-section .section-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--wc-text);
}

/* ============================================================
   Alert Mesajları
   ============================================================ */
.alert {
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* ============================================================
   Honeypot (spam koruması)
   ============================================================ */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 1.5em;
    }
    
    .cta-section h2 {
        font-size: 1.5em;
    }
    
    .category-card .card-image {
        height: 180px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    #billboard .swiper-slide {
        min-height: 350px;
    }
}

/* ============================================================
   Anasayfa Section ve Menü Boşluk Düzenlemeleri
   ============================================================ */
.padding-large {
    padding-top: 3.5em !important;
    padding-bottom: 3.5em !important;
}

.primary-nav.padding-small {
    padding-top: 0.8em !important;
    padding-bottom: 0.8em !important;
}

@media (max-width: 768px) {
    .padding-large {
        padding-top: 2em !important;
        padding-bottom: 2em !important;
    }
    
    .primary-nav.padding-small {
        padding-top: 0.5em !important;
        padding-bottom: 0.5em !important;
    }
}

/* ============================================================
   İletişim Formu Özelleştirmeleri
   ============================================================ */
.contact-form-section {
    padding: 60px 0;
    background-color: #fcfcfc;
}

.contact-form-section h2 {
    font-weight: 700;
    color: var(--wc-text);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.contact-form-section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--wc-primary);
    border-radius: 2px;
}

.contact-form-section form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

.contact-form-section .form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--wc-text);
    margin-bottom: 8px;
    display: inline-block;
}

.contact-form-section .form-control {
    height: 48px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 15px;
    background-color: #fff;
    color: var(--wc-text);
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

.contact-form-section textarea.form-control {
    height: auto;
    min-height: 140px;
}

.contact-form-section .form-control:focus {
    border-color: var(--wc-primary);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.15);
    outline: none;
}

.contact-form-section .row > div {
    margin-bottom: 18px !important;
}

.contact-form-section .mb-3 {
    margin-bottom: 18px !important;
}

.contact-form-section .btn-accent {
    padding: 14px 45px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2);
    transition: all 0.3s ease;
}

.contact-form-section .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.35);
}

@media (max-width: 768px) {
    .contact-form-section form {
        padding: 25px 20px;
    }
}

/* ============================================================
   Google Translate Widget Gizleme
   ============================================================ */
.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}

/* ============================================================
   Footer Sertifika Logoları
   ============================================================ */
.footer-certificates {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 35px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-certificates a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-certificates img {
    max-height: 48px;
    width: auto;
    filter: grayscale(100%) opacity(0.65);
    transition: all 0.3s ease;
}

.footer-certificates a:hover img {
    filter: grayscale(0%) opacity(1);
}

.footer-certificates a:hover {
    transform: translateY(-3px);
}

