﻿

/* Ana Konteynır */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
a { transition: all 0.3s ease; }
a:hover { opacity: 0.85; transform: translateY(-2px); }
/* Logo ve Balta Simgesi */
.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box img {
    max-width: 150px;
    height: auto;
}

/* Navigasyon (Menü) */
/* Menü Taşıyıcı ve Link Ayarları */
nav ul {
    display: flex;
    list-style: none;
    gap: 35px; /* Menü elemanları arasındaki boşluk */
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #222; /* Daha tok bir siyah */
    
    /* FONT AYARLARI */
    font-family: 'Poppins', sans-serif;
    font-weight: 700;       /* Kalınlık (Bold) */
    font-size: 15px;        /* İdeal okuma boyutu */
    text-transform: uppercase; /* Tüm harfler büyük */
    letter-spacing: 1.2px;  /* Harflerin nefes alması için boşluk */
    
    transition: all 0.3s ease;
    position: relative;
}

/* Üzerine gelince (Hover) yapılacak efekt */
nav ul li a:hover {
    color: #d35400; /* Balta turuncusu */
}

/* Şık Alt Çizgi Efekti (Üzerine gelince alttan çizgi çıksın) */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #d35400;
    transition: width 0.3s ease;
}
/* Ürün görsellerini kutu içine hapseder */
.product-card .img-box img {
    width: 100%;
    height: auto;
    max-height: 200px; /* Görselin çok uzamasını engeller */
    object-fit: contain; /* Görseli bozmadan sığdırır */
    display: block;
    margin: 0 auto;
}

/* Ürün kartlarının yan yana dizilmesini sağlar */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}
nav ul li a:hover::after {
    width: 100%;
}.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Görsellere göre yüksekliği ayarlayabilirsin */
    overflow: hidden;
}

.slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide-item.active {
    opacity: 1;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi bozmadan alanı doldurur */
}

/* Ürünlerin ana taşıyıcı kutusu */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    
    /* SAYFAYI ORTALAYAN KRİTİK AYARLAR */
    max-width: 1200px;      /* İçeriğin çok yayılmasını engeller */
    margin: 40px auto;     /* 'auto' değeri sağ ve soldan eşit boşluk bırakır, yani ortalar */
    padding: 0 20px;       /* Kenarlardan çok az iç boşluk bırakır */
    
    justify-content: center; /* Sütunları merkeze hizalar */
    align-items: stretch;    /* Kart boylarını eşitler */
}
/* Ürün kartının içindeki resim kutusu */
.main-img-box {
    width: 100%;
    height: 200px; /* Tüm resimler için sabit bir yükseklik */
    overflow: hidden; /* Kutudan taşan kısımları gizle */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9; /* Resim yüklenene kadar boş görünmesin */
}

/* Kutunun içindeki gerçek resim ayarı */
.main-img-box img {
    width: 100%;
    height: 100%;
    /* KRİTİK AYAR: Resmi ezmeden, kutuyu tamamen dolduracak şekilde kırpar */
    object-fit: cover; 
    object-position: center; /* Resmi tam ortadan odaklar */
    transition: transform 0.3s ease;
}

/* Fareyle üzerine gelince hafifçe yakınlaşma efekti (Opsiyonel) */
.product-card:hover .main-img-box img {
    transform: scale(1.1);
}
/* Ürünlerin başlığını da ortalayalım */
.products-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

/* Linklerin altındaki çizgileri ve renk bozulmalarını engelle */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Blur Efekti ve Yerleşim */
.hero-intro {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    margin: 40px 0; /* Üstten ve alttan boşluk bırakır, diğer bölümlere binmez */
}

/* Arka plan karartmasını yumuşatıyoruz */
.blur-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('img/rs/3.jpg') no-repeat center center/cover;
    filter: blur(5px) brightness(0.7); /* Parlaklığı 0.5'ten 0.7'ye çıkardık */
    z-index: 1;
    transform: scale(1.1);
}

/* Yazıların olduğu alan */
.content-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px; /* Yazı alanını genişlettik */
    padding: 40px;
    /* Yazıların arkasına hafif bir gölge katarak daha net okuturuz */
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8); 
}

/* Ana Başlığı Büyütüyoruz */
.content-overlay h2 {
    font-size: 54px; /* 42'den 54'e çıkardık */
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -2px; /* Daha agresif bir font yapısı */
    line-height: 1.1;
}

/* Açıklama Yazısını Büyütüyoruz */
.content-overlay p {
    font-size: 24px; /* 20'den 24'e çıkardık */
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto 40px auto;
    font-weight: 500;
}

/* Rozetleri (Badge) Belirginleştiriyoruz */
.badges {
    display: flex;
    justify-content: center; /* Ortala */
    gap: 15px;               /* Rozetler arası boşluk */
    flex-wrap: wrap;         /* Sığmazsa alt satıra geç (Kritik nokta burası!) */
    margin-top: 25px;
}

.badges span {
    background: #d35400;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;     /* Yazının kendi içinde bölünmesini engeller */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    /* Mobilde her rozetin düzgün durması için */
    display: inline-block;
}

/* Mobilde yazı boyutunu biraz daha optimize edelim */
@media (max-width: 480px) {
    .badges span {
        font-size: 12px;
        padding: 10px 15px;
        width: 100%;        /* Çok küçük ekranlarda rozetler tam genişlik kaplasın */
        max-width: 250px;   /* Ama çok da yayılmasın */
    }
}/* Ürün Grid'ini hizaya sokalım */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* Her bir ürün kartı */
/* Ürün kartlarını biraz daha belirgin yapalım */
/* Her bir kartın boyunu ve hizasını sabitler */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    /* Kartların yüksekliklerini birbirine eşitler */
    justify-content: space-between; 
    height: 100%; 
    min-height: 350px; /* Kartlara minimum bir boy veriyoruz */
}

/* Resim çerçevesi - Ölçüleri burada sabitliyoruz */
.main-img-box {
    width: 100%;
    height: 220px; /* Tüm resimler kesinlikle bu yükseklikte olacak */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

/* Kartın üzerine gelince hafifçe büyüme efekti */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Ürün başlıklarını netleştirelim */
.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 12px 0;
}

/* İncele Butonunu Güzelleştirelim */
.detail-btn {
    background-color: #d35400; /* Balta turuncusu */
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: 0.2s;
}

.detail-btn:hover {
    background-color: #e67e22;
    transform: scale(1.05);
}

/* --- MOBİL UYUMLULUK AYARLARI --- */

/* Tabletler ve küçük ekranlı laptoplar için (992px altı) */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Yan yana 2 adet */
    }
}

/* Cep telefonları için (600px altı) */
@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr !important; /* Sadece 1 adet (Tam genişlik - Alt alta) */
        padding: 10px;
    }
    
    .product-card {
        margin-bottom: 15px; /* Kartlar arasına boşluk */
    }

    .slider-wrapper {
        height: 300px; /* Mobilde slider çok devasa görünmesin */
    }

    .header-container {
        flex-direction: column; /* Logo ve menü alt alta gelsin */
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .content-overlay {
        padding: 15px 10px; /* Kenar boşluklarını azaltarak içeriğe yer açarız */
    }
}

  .page-header {
    background: #0d1b33; /* Lacivert Logo Rengi */
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.product-row {
    display: flex;
    background: #fff;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.product-row:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-img {
    flex: 0 0 300px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-details {
    padding: 40px;
    flex: 1;
}

.product-details h2 {
    color: #0d1b33; /* Lacivert */
    font-size: 28px;
    margin-bottom: 15px;
}

.info-grid {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #f0f4f8;
    border-radius: 6px;
    font-size: 14px;
}

.get-quote {
    display: inline-block;
    background: #d35400; /* Turuncu Vurgu */
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 10px;
}

/* Telefonlarda alt alta gelsinler */
@media (max-width: 768px) {
    .product-row { flex-direction: column; }
    .product-img { flex: 1; }
    .info-grid { flex-direction: column; gap: 5px; }
}

.page-header {
    background: #0d1b33; /* Lacivert Logo Rengi */
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.product-row {
    display: flex;
    background: #fff;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
    transition: 0.3s;
}

.product-row:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-img {
    flex: 0 0 300px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-details {
    padding: 40px;
    flex: 1;
}

.product-details h2 {
    color: #0d1b33; /* Lacivert */
    font-size: 28px;
    margin-bottom: 15px;
}

.info-grid {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #f0f4f8;
    border-radius: 6px;
    font-size: 14px;
}

.get-quote {
    display: inline-block;
    background: #d35400; /* Turuncu Vurgu */
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 10px;
}

/* Telefonlarda alt alta gelsinler */
@media (max-width: 768px) {
    .product-row { flex-direction: column; }
    .product-img { flex: 1; }
    .info-grid { flex-direction: column; gap: 5px; }
}


.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    padding: 80px 0;
}

.contact-info .info-box {
    margin-bottom: 40px;
}

.contact-info h3 {
    color: #1a2a44; /* Lacivert Logo Rengi */
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-info p, .contact-info a {
    color: #666;
    text-decoration: none;
    font-size: 18px;
}

.cupcraft-form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: #1a2a44;
    margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
}

.send-btn {
    background: #d35400; /* Turuncu */
    color: white;
    border: none;
    padding: 18px 30px;
    font-weight: 800;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.send-btn:hover {
    background: #1a2a44;
    transform: translateY(-3px);
}

.map-frame {
    line-height: 0;
}

/* Mobil Ayarı */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}
.about-page { padding-top: 100px; }

.about-hero { padding: 80px 0; background: #fff; }

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text { flex: 1; }

.sub-title {
    color: #1a2a44; /* Lacivert Logo */
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 14px;
}

.about-text h1 {
    font-size: 48px;
    color: #222;
    margin: 20px 0;
    line-height: 1.2;
}

.about-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-img { flex: 1; }
.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* İstatistikler Bölümü */
.stats-section {
    background: #1a2a44;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat-item .number {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #d35400; /* Turuncu vurgu */
}

.stat-item .label { font-size: 16px; font-weight: 600; opacity: 0.8; }

/* Değerler Bölümü */
.values-section { padding: 80px 0; background: #f9f9f9; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 50px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    border-bottom: 5px solid #1a2a44;
    transition: 0.3s;
}

.value-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .about-flex, .stats-grid, .values-grid { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
}

.product-group {
    margin-bottom: 60px;
}

.group-title {
    border-left: 5px solid #1a2a44; /* Lacivert çizgi */
    padding-left: 15px;
    margin-bottom: 30px;
    color: #1a2a44;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-category-block { margin-bottom: 50px; }
.category-title { 
    border-left: 6px solid #1a2a44; /* Lacivert logonun rengi */
    padding-left: 15px; 
    margin-bottom: 25px; 
    text-transform: uppercase;
    font-weight: 800;
}
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; 
}
.u-card { 
    border: 1px solid #eee; 
    padding: 20px; 
    text-align: center; 
    border-radius: 10px;
    transition: 0.3s;
}
.u-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); transform: translateY(-5px); }
.u-card img { max-width: 100%; height: 200px; object-fit: contain; margin-bottom: 15px; }
.u-info { background: #f8f9fa; padding: 10px; border-radius: 5px; margin: 15px 0; font-size: 14px; }
.u-info span { display: block; margin: 3px 0; }
.u-btn { 
    background: #d35400; 
    color: white; 
    text-decoration: none; 
    padding: 10px 20px; 
    display: block; 
    border-radius: 5px; 
    font-weight: 700; 
}

/* Ürün görsellerini kutu içine hapseder */
.product-card .img-box img {
    width: 100%;
    height: auto;
    max-height: 200px; /* Görselin çok uzamasını engeller */
    object-fit: contain; /* Görseli bozmadan sığdırır */
    display: block;
    margin: 0 auto;
}

/* Ürün kartlarının yan yana dizilmesini sağlar */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}
/* --- GALERİ SAYFASI --- */
/* Container eğer ortalanmıyorsa bunu ekle */
.container {
    max-width: 1200px;
    margin: 0 auto; /* Sağı ve solu eşitler, içeriği ortalar */
    padding: 0 15px;
}

/* Galeri Izgarası */
.gallery-grid {
    display: grid;
    /* auto-fit: Boşluk kalırsa resimleri genişleterek orayı doldurur */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 60px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Resmi ezmeden kutuya uydurur */
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Üzerine gelince %10 büyür */
}

/* Resmin üzerine gelince çıkan lacivert perde */
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 42, 68, 0.7); /* Logonun laciverti */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-weight: bold;
    font-size: 18px;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 5px;
}

/* --- LIGHTBOX (Tam Ekran Modu) --- */
.lightbox {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 9999;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox .caption {
    color: #fff;
    margin-top: 15px;
    font-size: 18px;
    letter-spacing: 1px;
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox .close-btn:hover { color: #f15a24; } /* Kapanış butonu turuncu olur */

/* --- SABİT WHATSAPP BUTONU --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp'ın orijinal yeşili */
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px 15px rgba(37, 211, 102, 0.4); /* Yeşil, şık bir gölge */
    z-index: 9999; /* Her şeyin üstünde görünmesini sağlar */
    transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px); /* Üzerine gelince büyür ve havaya kalkar */
    box-shadow: 0px 8px 20px rgba(37, 211, 102, 0.6);
}

/* Telefonlar İçin (Ekranı çok kaplamaması için küçültüyoruz) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}






