@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --brand-gold: #caa073;   /* Yeni Altın/Kum Rengi */
    --brand-green: #735140;  /* Yeni Sütlü Kahve / Taba (Eski yeşilin yerine) */
    --dark-bg: #371812;      /* Yeni Koyu Kahverengi */
    --light-bg: #fcf9f5;     /* Kırık beyaz / Krem */
    --text-color: #4a3831;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* --- EN ÜST BAR --- */
.top-bar {
    background-color: var(--brand-gold);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
}
.top-bar a {
    color: white;
}
.top-bar a:hover {
    color: var(--brand-green);
}

/* --- CAM EFEKTLİ MODERN NAVBAR --- */
.navbar-modern {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}
.logo-container img {
    height: 70px;
    object-fit: contain;
}
.nav-link {
    color: var(--text-color) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 15px;
    margin: 0 10px;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--brand-gold) !important;
}
/* Menü altı çizgi efekti */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--brand-gold);
    transition: 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

/* --- HERO BÖLÜMÜ (Büyük Karşılama) --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    padding: 0 20px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}
.hero-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* --- ORTAK BAŞLIK TASARIMI --- */
.section-title h6 {
    color: var(--brand-gold);
    letter-spacing: 2px;
    font-weight: 600;
}
.section-title h2 {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 2.5rem;
}

/* ========================================================
   ÖNEMLİ: İSTEDİĞİN ODAKLANMALI ÜRÜN KARTLARI EFEKTİ 
   ======================================================== */
.products-section {
    padding: 80px 0;
}
.product-focus-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    height: 100%;
}
.product-focus-card .img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}
.product-focus-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
/* Resmin Üzerine Gelen Yeni Sütlü Kahve Transparan Perde */
.product-focus-card .img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(115, 81, 64, 0); 
    transition: 0.4s ease;
}
.product-focus-card .content {
    padding: 30px;
    text-align: center;
    transition: 0.4s;
}
.product-focus-card .content h3 {
    font-weight: 700;
    color: var(--brand-green);
    font-size: 1.4rem;
}
.product-focus-card .content p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 20px;
}
.btn-detail {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--brand-gold);
    color: var(--brand-gold);
    border-radius: 30px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

/* --- MOUSE İLE ÜSTÜNE GELİNCE OLAN ODAKLANMA (HOVER) --- */
.product-focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(115, 81, 64, 0.2);
}
.product-focus-card:hover .img-wrapper img {
    transform: scale(1.1);
}
.product-focus-card:hover .img-wrapper::after {
    background: rgba(115, 81, 64, 0.5); 
}
.product-focus-card:hover .btn-detail {
    opacity: 1;
    transform: translateY(0);
    background: var(--brand-gold);
    color: white;
}

/* --- HABERLER VE KILAVUZ KUTULARI --- */
.info-section {
    padding: 50px 0;
    background-color: white;
}
.modern-box {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    height: 100%;
    border-top: 4px solid var(--brand-gold);
}
.box-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.box-header i {
    font-size: 2.5rem;
    color: var(--brand-gold);
    margin-right: 15px;
}
.box-header h3 {
    font-weight: 700;
    color: var(--brand-green);
    margin: 0;
}
.btn-guide {
    display: inline-block;
    background: var(--brand-green);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 15px;
}
.btn-guide:hover {
    background: var(--brand-gold);
    color: white;
}

/* --- REFERANSLAR (Gri'den Renkliye Geçiş) --- */
.references-section {
    padding: 80px 0;
}
.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}
.ref-item {
    text-align: center;
    cursor: pointer;
}
.ref-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.4s;
    border-radius: 10px;
}
.ref-name {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    background: var(--brand-gold);
    padding: 5px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s;
}
.ref-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
.ref-item:hover .ref-name {
    opacity: 1;
    transform: translateY(0);
}
.btn-all-ref {
    display: inline-block;
    border: 2px solid #ddd;
    color: #777;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
}
.btn-all-ref:hover {
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-bg);
    color: #999;
    padding: 60px 0 20px 0;
}
.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-links a {
    display: block;
    color: #999;
    margin-bottom: 10px;
}
.footer-links a:hover {
    color: var(--brand-gold);
    padding-left: 5px;
}
.bottom-footer a {
    color: #999;
}
.bottom-footer a:hover {
    color: white;
}

/* --- WHATSAPP BUTONU --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px; right: 30px;
    background: #25D366;
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .logo-container img { height: 110px !important; top: -50px !important; }
    .nav-link { font-size: 1.2rem !important; padding: 12px 15px !important; border-bottom: 1px solid #f1f1f1; }
    .navbar-collapse { background-color: white; padding: 10px; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); margin-top: 15px; }
    .hero-title { font-size: 2.8rem !important; }
    .page-banner { padding: 60px 0; }
    .page-banner h1 { font-size: 2.5rem; }
    .main-image-box { height: 400px; }
    .nav-arrow { width: 35px; height: 35px; font-size: 1rem; }
}

@media (max-width: 767px) {
    .top-bar .container { flex-direction: column; text-align: center; gap: 8px; }
    .top-bar { padding: 10px 0; font-size: 0.85rem; }
    .hero-title { font-size: 2rem !important; }
    .hero-text { font-size: 1rem !important; }
    header .d-flex { position: relative; width: 100%; }
    #anaSayfaSlider { max-width: 100% !important; width: 100%; }
    #anaSayfaSlider .carousel-item img { max-height: none !important; height: auto; }
    .nav-arrow.me-2 { position: absolute; left: 0px; z-index: 10; width: 35px; height: 35px; font-size: 1rem; }
    .nav-arrow.ms-2 { position: absolute; right: 0px; z-index: 10; width: 35px; height: 35px; font-size: 1rem; }
    .page-banner { padding: 40px 0; margin-bottom: 40px; }
    .page-banner h1 { font-size: 2rem; }
    .main-image-box { height: 280px; }
    .thumb-img { width: 70px; height: 50px; }
    .product-focus-card .img-wrapper { height: 200px !important; }
    .product-focus-card .content { padding: 15px !important; }
    .btn-detail { opacity: 1 !important; transform: translateY(0) !important; background: var(--brand-gold); color: white !important; margin-top: 10px; padding: 8px 20px; }
    .ref-modern-card { height: auto !important; min-height: 150px !important; padding: 20px 15px !important; display: flex; flex-direction: column; justify-content: center; align-items: center; }
    .ref-modern-card img { max-height: 105px !important; width: auto !important; max-width: 100% !important; object-fit: contain !important; margin-bottom: 12px !important; }
    .ref-branch-info h4 { font-size: 1rem !important; }
    .ref-branch-info span { font-size: 0.85rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
    .pb-5 { padding-bottom: 2rem !important; }
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .mt-5 { margin-top: 2rem !important; }
    .whatsapp-btn { bottom: 15px; right: 15px; width: 50px; height: 50px; font-size: 30px; }
}

@media (max-width: 575px) {
    .logo-container img { height: 100px !important; top: -45px !important; }
    .hero-title { font-size: 1.7rem !important; }
    .section-title h2 { font-size: 1.6rem; }
    .section-title h6 { font-size: 0.85rem; }
    .main-image-box { height: 220px; }
    .thumbnail-track { gap: 8px; }
    .thumb-img { width: 60px; height: 45px; }
    .contact-modern-card { padding: 20px; }
    .contact-form-wrapper { padding: 25px 15px; }
}

/* Page Banner Yeni Koyu Kahverengi Perde Ayarı */
.page-banner {
    background: linear-gradient(rgba(55, 24, 18, 0.85), rgba(55, 24, 18, 0.85)), url('/firinlar/arkaplan-resmi.jpg') center/cover;
    padding: 80px 0;
    color: white;
    margin-bottom: 70px;
}
.page-banner h1 { font-weight: 700; font-size: 3rem; margin: 0; text-transform: uppercase; letter-spacing: 2px; }
.breadcrumb { background: transparent; padding: 0; font-size: 1.1rem; font-weight: 500; }
.breadcrumb-item a { color: var(--brand-gold); text-decoration: none; }
.breadcrumb-item a:hover { color: white; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.6); }

/* --- HAKKIMIZDA GÖRSEL EFEKTİ --- */
.about-image-wrapper { position: relative; z-index: 1; }
.about-img { border-radius: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.about-image-wrapper::before { content: ''; position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 5px solid var(--brand-gold); border-radius: 15px; z-index: -1; }
@media (max-width: 768px) { .about-image-wrapper::before { top: -10px; left: -10px; } }

/* MODERN ÜRÜN GALERİSİ ÖZEL CSS */
.main-image-box { width: 100%; height: 550px; border-radius: 15px; overflow: hidden; background-color: #000; }
.main-image-box img { width: 100%; height: 100%; object-fit: contain; background-color: #fff; transition: opacity 0.3s ease-in-out; }
.thumbnail-slider-wrapper { width: 100%; overflow: hidden; }
.thumbnail-track { display: flex; gap: 15px; overflow-x: auto; padding: 10px 5px; scroll-behavior: smooth; }
.thumbnail-track::-webkit-scrollbar { height: 6px; }
.thumbnail-track::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.thumbnail-track::-webkit-scrollbar-thumb { background: var(--brand-gold); border-radius: 10px; }
.thumb-img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; cursor: pointer; opacity: 0.5; border: 3px solid transparent; transition: all 0.3s ease; }
.thumb-img:hover { opacity: 0.8; transform: translateY(-3px); }
.active-thumb { opacity: 1; border: 3px solid var(--brand-gold); transform: scale(1.05); box-shadow: 0 5px 15px rgba(202, 160, 115, 0.4); }

/* BELGELERİMİZ SAYFASI ÖZEL CSS */
.cert-card { position: relative; background: white; padding: 15px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); cursor: pointer; overflow: hidden; transition: 0.4s ease; }
.cert-card img { border-radius: 8px; border: 1px solid #eee; transition: 0.4s ease; }
.cert-card:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(115, 81, 64, 0.15); }
.cert-overlay { position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; background: rgba(115, 81, 64, 0.85); border-radius: 8px; color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transition: 0.4s ease; }
.cert-overlay i { font-size: 3rem; margin-bottom: 10px; color: var(--brand-gold); }
.cert-overlay span { font-size: 1.2rem; font-weight: 600; }
.cert-card:hover .cert-overlay { opacity: 1; }
.cert-card:hover img { transform: scale(1.05); }
.cert-features li { font-size: 1.1rem; font-weight: 500; color: var(--text-color); margin-bottom: 15px; display: flex; align-items: center; }
.cert-features i { color: var(--brand-gold); font-size: 1.3rem; width: 30px; }

/* REFERANSLAR SAYFASI ÖZEL CSS */
.ref-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; }
.ref-modern-card { position: relative; background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.03); overflow: hidden; transition: 0.4s ease; border: 1px solid #f1f1f1; display: flex; align-items: center; justify-content: center; min-height: 180px; }
.ref-modern-card img { width: 100% !important; height: 150px !important; object-fit: contain !important; margin-bottom: 15px; padding: 5px; }
.ref-modern-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(115, 81, 64, 0.15); border-color: var(--brand-gold); }
.ref-modern-card:hover img { transform: scale(1.15); }
.ref-branch-info { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(115, 81, 64, 0.95); color: white; padding: 15px 10px; transform: translateY(100%); transition: 0.4s ease-in-out; }
.ref-modern-card:hover .ref-branch-info { transform: translateY(0); }
.ref-branch-info h4 { font-size: 1.05rem; color: var(--brand-gold); margin-bottom: 5px; font-weight: 700; }
.ref-branch-info span { font-size: 0.85rem; color: #e0e0e0; }

/* GALERİ OKLARI VE GERİ DÖN BUTONU CSS */
.back-to-products-btn { display: inline-block; padding: 10px 20px; background-color: transparent; color: var(--brand-green); border: 2px solid var(--brand-gold); border-radius: 30px; font-weight: 600; transition: 0.3s ease; }
.back-to-products-btn:hover { background-color: var(--brand-gold); color: white; transform: translateX(-5px); }
.thumbnail-carousel-container { width: 100%; }
.nav-arrow { background: white; color: var(--brand-gold); border: 1px solid #eee; border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; flex-shrink: 0; font-size: 1.2rem; }
.nav-arrow:hover { background: var(--brand-gold); color: white; transform: scale(1.1); }
.thumbnail-track::-webkit-scrollbar { display: none; }
.thumbnail-track { -ms-overflow-style: none; scrollbar-width: none; }

/* TAŞ FIRIN YÜKLEME EKRANI (PRELOADER) CSS */
#preloader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--light-bg); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s ease; }
.oven-loader-container { text-align: center; display: flex; flex-direction: column; align-items: center; }
.oven-dome { width: 100px; height: 70px; background-color: #525252; border-radius: 60px 60px 0 0; position: relative; display: flex; align-items: flex-end; justify-content: center; box-shadow: inset 0px 5px 15px rgba(0,0,0,0.5); }
.oven-mouth { width: 50px; height: 40px; background-color: #1a1a1a; border-radius: 30px 30px 0 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; }
.oven-base { width: 120px; height: 15px; background-color: #333; border-radius: 5px; box-shadow: 0 5px 10px rgba(0,0,0,0.2); }
.flame-icon { font-size: 28px; color: #ff5722; animation: fireFlicker 0.4s infinite alternate; }
.loading-text { margin-top: 20px; font-weight: 700; font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-gold); animation: textPulse 1s infinite alternate; }
@keyframes fireFlicker { 0% { transform: scale(0.9); opacity: 0.8; color: #ff9800; } 100% { transform: scale(1.15); opacity: 1; color: #ff3d00; } }
@keyframes textPulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }

/* İLETİŞİM SAYFASI ÖZEL CSS */
.contact-modern-card { display: flex; flex-direction: column; background: white; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #f1f1f1; transition: 0.4s ease; text-decoration: none; color: var(--text-color); cursor: pointer; }
.contact-modern-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(115, 81, 64, 0.12); border-color: var(--brand-gold); }
.contact-modern-card .icon-box { width: 65px; height: 65px; background: rgba(202, 160, 115, 0.15); color: var(--brand-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; transition: 0.4s; }
.contact-modern-card:hover .icon-box { background: var(--brand-gold); color: white; transform: scale(1.1); }
.contact-details h4 { font-size: 1.2rem; font-weight: 700; color: var(--brand-green); margin-bottom: 8px; }
.contact-details p { font-size: 0.95rem; color: #777; margin-bottom: 10px; }
.contact-link { font-weight: 600; color: var(--brand-gold); font-size: 1.1rem; }
.contact-link:hover { color: var(--brand-green); }

/* Sosyal Medya İkonları */
.social-circle { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; transition: 0.3s; }
.social-circle.fb { background-color: #1877F2; }
.social-circle.ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-circle:hover { transform: scale(1.15); color: white; }

/* ADRES KARTINDA GİZLİ HARİTA MANTIĞI */
.address-hover-card { flex-direction: column !important; }
.map-hint-text { font-size: 0.9rem; color: var(--brand-gold); font-weight: 600; opacity: 0.7; transition: 0.3s; }
.address-hover-card:hover .map-hint-text { opacity: 1; }
.map-reveal-wrapper { width: 100%; max-height: 0; overflow: hidden; transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s ease; position: relative; border-radius: 10px; }
.map-click-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 10; display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.go-maps-btn { background: var(--brand-gold); color: white; padding: 10px 25px; border-radius: 30px; font-weight: 600; font-size: 1.1rem; transform: translateY(20px); transition: 0.4s ease; }

@media (min-width: 992px) {
    .address-hover-card:hover .map-reveal-wrapper { max-height: 250px; margin-top: 20px; }
    .address-hover-card:hover .map-click-overlay { opacity: 1; }
    .address-hover-card:hover .go-maps-btn { transform: translateY(0); }
}
.address-hover-card.map-opened .map-reveal-wrapper { max-height: 250px; margin-top: 20px; }
.address-hover-card.map-opened .map-click-overlay { opacity: 1; }
.address-hover-card.map-opened .go-maps-btn { transform: translateY(0); }

.social-circle.wa { background-color: #25D366; color: #ffffff; }
.social-circle.wa:hover { background-color: #128C7E; color: #ffffff; }