/*
Theme Name: Kahvecioğlu Granit
Theme URI: https://kahvecioglugranit.com.tr
Author: Kahvecioğlu Granit
Description: Kahvecioğlu Granit Seramik kurumsal tek sayfa teması. Ürün koleksiyonları, showroom galerisi ve SMTP destekli iletişim formu içerir.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kahvecioglu-granit
*/
:root {
    --primary: #701d24; /* Kahvecioğlu Kurumsal Bordo */
    --primary-light: #942933;
    --accent: #c5a059; /* Altın / Bronz Vurgu */
    --dark: #16181b;
    --dark-card: #22262c;
    --light: #f8f9fa;
    --gray-text: #6c757d;
    --border: #e9ecef;
    --transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2b2d42;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .brand-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

/* --- ÜST BİLGİ VE HEADER --- */
.top-bar {
    background-color: var(--dark);
    color: #adb5bd;
    font-size: 0.82rem;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: #adb5bd;
    text-decoration: none;
    margin-left: 15px;
    transition: var(--transition);
}
.top-bar a:hover { color: var(--accent); }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
}

.logo-text h2 {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.logo-text span {
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }

.btn {
    padding: 0.75rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(112, 29, 36, 0.25);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: #fff;
    color: var(--dark);
}

/* --- HERO BÖLÜMÜ --- */
.hero {
    position: relative;
    min-height: 80vh;
    background: linear-gradient(rgba(18, 20, 24, 0.65), rgba(18, 20, 24, 0.75)), 
                url('images/showroom-giris-lobi.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 5%;
    color: white;
}

.hero-content {
    max-width: 720px;
    animation: fadeIn 1s ease-out;
}

.hero-tag {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- MARKA BARI --- */
.brands-bar {
    background: #fbfbfc;
    border-bottom: 1px solid var(--border);
    padding: 2.2rem 5%;
    text-align: center;
}
.brands-bar p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}
.brand-badge {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #2c3038;
    padding: 8px 18px;
    border-left: 3px solid var(--accent);
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-radius: 2px;
}

/* --- ORTAK BÖLÜM STİLLERİ --- */
section {
    padding: 5.5rem 5%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

/* --- ÜRÜN KATEGORİLERİ KARTLARI --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 24, 27, 0.95) 0%, rgba(22, 24, 27, 0.25) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    transition: var(--transition);
}

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

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(112, 29, 36, 0.92) 0%, rgba(22, 24, 27, 0.3) 60%);
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.category-card p {
    font-size: 0.9rem;
    color: #d1d5db;
}

/* --- ÖZEL SHOWROOM FOTOĞRAF GALERİSİ (YENİ TASARIM) --- */
.showroom-section {
    background-color: var(--light);
}

.showroom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.showroom-item {
    position: relative;
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    cursor: pointer;
}

/* Giriş ve Bookmatch fotoğraflarını daha geniş öne çıkarıyoruz */
.showroom-item.large {
    grid-column: span 2;
}

.showroom-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.showroom-item:hover img {
    transform: scale(1.06);
}

.showroom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem;
    background: linear-gradient(to top, rgba(18, 20, 24, 0.9) 0%, transparent 100%);
    color: white;
    transform: translateY(15px);
    transition: var(--transition);
}

.showroom-item:hover .showroom-info {
    transform: translateY(0);
}

.showroom-tag {
    color: var(--accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.showroom-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.showroom-info p {
    font-size: 0.85rem;
    color: #cfd4dc;
    opacity: 0.9;
}

.showroom-banner-box {
    margin-top: 3.5rem;
    background: white;
    border-radius: 8px;
    padding: 2.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid var(--primary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.showroom-banner-box h4 {
    font-size: 1.3rem;
    color: var(--dark);
}

.showroom-banner-box p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* --- HAKKIMIZDA BÖLÜMÜ --- */
.about-section {
    background-color: #ffffff;
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 1.4rem;
    line-height: 1.25;
}

.about-lead {
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.about-text p {
    color: var(--gray-text);
    margin-bottom: 1.2rem;
    font-size: 0.98rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.3;
}

.about-media {
    position: relative;
}

.about-media img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    left: -25px;
    background: var(--dark);
    color: white;
    padding: 1.8rem 2.2rem;
    border-radius: 6px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-badge .num {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    color: var(--accent);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
}

/* --- İLETİŞİM ALANI --- */
.contact-box {
    background: var(--dark);
    color: white;
    border-radius: 12px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 4px;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- FOOTER --- */
footer {
    background: #0f1012;
    color: #8b929a;
    padding: 3rem 5% 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .showroom-grid { grid-template-columns: repeat(2, 1fr); }
    .showroom-item.large { grid-column: span 2; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .experience-badge { position: static; margin-top: 1rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .showroom-grid { grid-template-columns: 1fr; }
    .showroom-item.large { grid-column: span 1; }
    .hero h1 { font-size: 2.3rem; }
    .section-title { font-size: 1.8rem; }
    .contact-box { padding: 2rem; }
    .about-stats { grid-template-columns: 1fr; gap: 1rem; }
    .showroom-banner-box { flex-direction: column; text-align: center; }
}

/* --- WordPress iç sayfalar (yazı / sayfa) --- */
.kg-icerik {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
    min-height: 50vh;
}
.kg-icerik h1 { font-family: 'Cinzel', serif; margin-bottom: 1.5rem; }
.kg-icerik article + article { margin-top: 3rem; }
.kg-icerik img { max-width: 100%; height: auto; }

/* --- İletişim formu durum mesajı --- */
#formDurum.basarili { color: #4caf50; }
#formDurum.hatali { color: #ff6b6b; }