/*
Theme Name: Kavruk Theme
Author: Sait
Version: 1.1
*/


:root{
    --primary: #8B5E34;       /* logodaki kahve — ana marka rengi */
    --primary-dark: #6B4423;
    --accent: #C9A227;        /* logodaki altın */
    --secondary: #4A6B4A;     /* eski yeşiliniz, artık ikinci plan */
    --bg: #FAF7F0;
    --bg-alt: #F3EEE3;
    --text: #2B2420;
    --text-muted: #6B6259;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter', Arial, sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

.container{
    width:92%;
    max-width:1350px;
    margin:0 auto;
}

/* HEADER */

.site-header{
    background:#ffffff;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 2px 10px rgba(43,36,32,.08);
}

.header-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 0;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    width:85px;
    height:auto;
    display:block;
}

.brand-text h2{
    font-family:'Fraunces', serif;
    font-size:24px;
    color:var(--primary);
}

.brand-text span{
    font-size:14px;
    color:var(--text-muted);
}

.main-menu{
    margin-left:auto;
}

.main-menu ul{
    display:flex;
    align-items:center;
    list-style:none;
    gap:40px;
    margin:0;
    padding:0;
}

.main-menu a{
    display:block;
    font-size:17px;
    font-weight:600;
    color:var(--text);
    transition:color .3s;
}

.main-menu a:hover,
.main-menu .current-menu-item > a{
    color:var(--primary);
}

/* ===========================
   HERO
=========================== */

.hero{
    padding:90px 0;
    background:var(--bg);
}

.hero-container{
    max-width:1350px;
    margin:0 auto;
    padding:0 30px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:90px;
}

.hero-left{
    flex:1;
    max-width:620px;
}

.hero-left h1{
    font-family:'Fraunces', serif;
    font-size:60px;
    font-weight:800;
    line-height:1.12;
    color:var(--text);
    margin-bottom:24px;
}

.hero-left p{
    font-size:20px;
    line-height:1.8;
    color:var(--text-muted);
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    gap:18px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:16px 38px;
    border-radius:10px;
    font-size:17px;
    font-weight:600;
    text-decoration:none;
    transition:.25s;
}

.btn-primary{
    background:var(--primary);
    color:#fff;
}

.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-3px);
}

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

.btn-secondary:hover{
    background:var(--primary);
    color:#fff;
    transform:translateY(-3px);
}

.hero-right{
    flex:1;
    display:flex;
    justify-content:flex-end;
}

.hero-right img{
    width:100%;
    max-width:600px;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(43,36,32,.18);
    transition:.3s;
}

.hero-right img:hover{
    transform:scale(1.02);
}

/* SECTION */

section{
    padding:70px 0;
}

.section-head{
    text-align:center;
    margin-bottom:50px;
}

.section-head span{
    display:inline-block;
    color:var(--accent);
    font-weight:700;
    letter-spacing:1.5px;
    text-transform:uppercase;
    font-size:14px;
    margin-bottom:10px;
}

.section-head h2{
    font-family:'Fraunces', serif;
    font-size:34px;
    color:var(--text);
}

/* HAKKIMIZDA */

.about{
    background:#ffffff;
}

.about-content{
    max-width:800px;
    margin:0 auto;
    text-align:center;
}

.about-content p{
    margin-bottom:18px;
    color:var(--text-muted);
    font-size:17px;
}

/* ÜRÜN GRUPLARI */

.products{
    background:var(--bg-alt);
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.product-card{
    background:#fff;
    padding:35px 30px;
    border-radius:16px;
    text-align:center;
    box-shadow:0 10px 25px rgba(43,36,32,.06);
    border:1px solid #ECE4D8;
    transition:all .3s ease;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(43,36,32,.12);
    border-color:var(--accent);
}

.product-icon{
    width:76px;
    height:76px;
    margin:0 auto 22px;
    border-radius:50%;
    background:#F3E7D3;
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
}

.product-card h3{
    font-family:'Fraunces', serif;
    margin-bottom:12px;
    font-size:21px;
    font-weight:700;
    color:var(--text);
}

.product-card p{
    font-size:15.5px;
    line-height:1.7;
    color:var(--text-muted);
}

/* İLETİŞİM */

.contact{
    background:#ffffff;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.contact-item{
    margin-bottom:25px;
}

.contact-item h3{
    font-family:'Fraunces', serif;
    color:var(--text);
    margin-bottom:8px;
}

.contact-item p{
    color:var(--text-muted);
}

.contact-item a{
    color:var(--primary);
    font-weight:600;
    transition:.3s;
}

.contact-item a:hover{
    color:var(--primary-dark);
    text-decoration:underline;
}

.contact-map{
    min-height:350px;
}

.map-placeholder{
    width:100%;
    height:100%;
    min-height:350px;
    border:2px dashed #D9CFC0;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--text-muted);
    background:var(--bg-alt);
}

/* FOOTER */

.site-footer{
    background:#2B2420;
    color:#fff;
    padding:60px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1.5fr;
    gap:60px;
    align-items:flex-start;
}

.footer-logo{
    width:80px;
    margin-bottom:20px;
}

.footer-col h3{
    font-family:'Fraunces', serif;
    font-size:26px;
    margin-bottom:12px;
}

.footer-col h4{
    font-size:19px;
    margin-bottom:20px;
    color:var(--accent);
}

.footer-col p{
    color:rgba(255,255,255,.85);
    line-height:1.8;
    margin-bottom:10px;
}

.footer-col ul{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-col ul li{
    margin-bottom:12px;
}

.footer-col ul li a{
    color:#fff;
    transition:.3s;
}

.footer-col ul li a:hover{
    color:var(--accent);
}

.footer-bottom{
    margin-top:40px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
    color:rgba(255,255,255,.7);
    font-size:14.5px;
}

@media (max-width:768px){
    .hero-container{
        flex-direction:column;
        gap:50px;
    }
    .hero-left h1{
        font-size:42px;
    }
    .hero-left p{
        font-size:18px;
    }
    .footer-grid{
        grid-template-columns:1fr;
        gap:35px;
        text-align:center;
    }
    .footer-logo{
        margin:0 auto 20px;
    }
}

/* TOP BAR */

.top-bar{
    background:var(--text);
    color:rgba(255,255,255,.85);
    font-size:13.5px;
}

.top-bar-inner{
    display:flex;
    justify-content:center;
    gap:32px;
    padding:8px 0;
    flex-wrap:wrap;
}

.top-bar-inner a{
    color:rgba(255,255,255,.85);
}

.top-bar-inner a:hover{
    color:var(--accent);
}

/* MOBİL MENÜ TOGGLE */

.menu-toggle{
    display:none;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:32px;
    height:32px;
    background:none;
    border:none;
    cursor:pointer;
    padding:0;
}

.menu-toggle span{
    display:block;
    width:100%;
    height:2.5px;
    background:var(--text);
    border-radius:2px;
    transition:transform .25s ease, opacity .25s ease;
}

.menu-toggle.is-active span:nth-child(1){
    transform:translateY(7.5px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2){
    opacity:0;
}

.menu-toggle.is-active span:nth-child(3){
    transform:translateY(-7.5px) rotate(-45deg);
}

@media (max-width:900px){

    .top-bar-inner{
        display:none; /* mobilde yer kaplamasın, WhatsApp butonu zaten sabit duruyor */
    }

    .menu-toggle{
        display:flex;
    }

    .main-menu{
        position:fixed;
        top:0;
        right:-100%;
        width:min(78vw, 320px);
        height:100vh;
        background:#fff;
        box-shadow:-8px 0 30px rgba(43,36,32,.15);
        transition:right .3s ease;
        padding:90px 30px 30px;
    }

    .main-menu.is-open{
        right:0;
    }

    .main-menu ul{
        flex-direction:column;
        align-items:flex-start;
        gap:26px;
    }

    .main-menu a{
        font-size:19px;
    }
}

/* FOOTER SOSYAL MEDYA */

.footer-social{
    display:flex;
    gap:14px;
    margin-top:16px;
}

.footer-social a{
    width:38px;
    height:38px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    transition:.25s;
}

.footer-social a:hover{
    background:var(--accent);
    color:var(--text);
}

/* GENEL İÇERİK (index.php fallback) */

.generic-content{
    padding:90px 0;
    min-height:40vh;
}

.generic-content h1{
    font-family:'Fraunces', serif;
    font-size:36px;
    color:var(--text);
    margin-bottom:24px;
}

.generic-content .entry-content{
    max-width:750px;
    color:var(--text-muted);
    font-size:17px;
    line-height:1.8;
}

.generic-content .entry-content p{
    margin-bottom:18px;
}

.generic-content img{
    border-radius:12px;
    margin:20px 0;
}

/* NEDEN BİZ */

.why-us{
    background:#ffffff;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
}

.why-card{
    text-align:center;
    padding:20px;
}

.why-icon{
    width:64px;
    height:64px;
    margin:0 auto 18px;
    border-radius:50%;
    background:var(--bg-alt);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.why-card h3{
    font-family:'Fraunces', serif;
    font-size:19px;
    color:var(--text);
    margin-bottom:8px;
}

.why-card p{
    font-size:15px;
    color:var(--text-muted);
    line-height:1.6;
}

/* WHATSAPP FLOATING BUTTON */

.whatsapp-float{
    position:fixed;
    bottom:24px;
    right:24px;
    width:58px;
    height:58px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    z-index:1000;
    transition:transform .25s ease;
}

.whatsapp-float:hover{
    transform:scale(1.08);
}

@media (max-width:768px){
    .whatsapp-float{
        width:52px;
        height:52px;
        bottom:16px;
        right:16px;
    }
}