/* ================================================
   AHD Köyden Sofraya - Ana Stil Dosyası
   Renk Paleti: Toprak tonları + Altın
   ================================================ */

:root {
    --primary:    #144F10;   /* Koyu yeşil */
    --primary-lt: #7a5c40;
    --accent:     #c8a96e;   /* Altın / buğday */
    --accent-lt:  #e8d5a3;
    --green:      #4a7c59;   /* Doğa yeşili */
    --bg-cream:   #fdf6ee;   /* Krem arka plan */
    --bg-light:   #fff8f0;
    --text-dark:  #2c2c2c;
    --text-muted: #7a6a5a;
    --border:     #e8d8c4;
}

/* ---- GENEL ---- */
* { box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, .brand-text {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; }

/* ---- TOPBAR ---- */
.topbar {
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
}
.topbar-link {
    color: var(--accent-lt);
    text-decoration: none;
    transition: color .2s;
}
.topbar-link:hover { color: #fff; }
.topbar-social {
    color: var(--accent-lt);
    font-size: 1rem;
    transition: color .2s;
}
.topbar-social:hover { color: #fff; }

/* ---- NAVBAR ---- */
#mainNav {
    background: #fff;
    border-bottom: 2px solid var(--accent);
    padding: 0;
    transition: box-shadow .3s;
}
#mainNav.scrolled {
    box-shadow: 0 2px 20px rgba(90,62,43,.15);
}
.navbar-brand {
    padding: 10px 0;
}
.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}
.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: .5px;
    padding: 1.2rem 1rem !important;
    text-transform: uppercase;
    transition: color .2s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .2s;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover,
.nav-link.active { color: var(--primary) !important; }

.btn-contact {
    background: var(--primary);
    color: #fff !important;
    border-radius: 4px;
    padding: .5rem 1.2rem !important;
    margin-left: .5rem;
}
.btn-contact:hover { background: var(--accent); color: var(--primary) !important; }
.btn-contact::after { display: none; }

/* ---- SLIDER / HERO ---- */
.hero-slider .carousel-item { height: 620px; }
.hero-slider .carousel-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}
.hero-slider .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
}
.hero-slider .carousel-caption h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.hero-slider .carousel-caption p {
    font-size: 1.15rem;
    color: var(--accent-lt);
    margin-bottom: 1.5rem;
}
.hero-slider .btn-hero {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: .7rem 2rem;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
    transition: all .2s;
}
.hero-slider .btn-hero:hover {
    background: #fff;
    color: var(--primary);
}
@media (max-width: 768px) {
    .hero-slider .carousel-item { height: 380px; }
    .hero-slider .carousel-caption h2 { font-size: 1.8rem; }
}

/* ---- SECTION BAŞLIK ---- */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}
.section-heading .subtitle {
    display: inline-block;
    color: var(--green);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: .5rem;
}
.section-heading h2 {
    font-size: 2.2rem;
    margin-bottom: .8rem;
}
.section-heading .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
}
.section-heading .divider::before,
.section-heading .divider::after {
    content: '';
    width: 60px; height: 2px;
    background: var(--accent);
}
.section-heading .divider i {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ---- HAKKIMIZDA (anasayfa özet) ---- */
.about-home { background: var(--bg-cream); }
.about-img-wrap {
    position: relative;
    display: inline-block;
}
.about-img-wrap img {
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(90,62,43,.2);
}
.about-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 110px; height: 110px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.about-badge .num { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.about-badge .lbl { font-size: .65rem; line-height: 1.2; }
.about-text h2 { font-size: 2rem; }
.about-text p { color: var(--text-muted); }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.feature-icon {
    width: 46px; height: 46px; min-width: 46px;
    background: var(--accent-lt);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ---- HİZMETLER ---- */
.services-section { background: #fff; }
.service-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all .3s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(90,62,43,.15);
    border-color: var(--accent);
}
.service-icon {
    width: 70px; height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: var(--accent);
    transition: background .3s;
}
.service-card:hover .service-icon { background: var(--accent); color: var(--primary); }
.service-card h5 { font-size: 1.1rem; margin-bottom: .6rem; }
.service-card p { color: var(--text-muted); font-size: .92rem; margin: 0; }
.service-card .service-img {
    width: 100%; height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* ---- SAYAÇLAR (Stats) ---- */
.stats-section {
    background: var(--primary);
    padding: 3.5rem 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-item .num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-item .lbl { font-size: .9rem; color: var(--accent-lt); margin-top: .3rem; }

/* ---- MENÜ (anasayfa) ---- */
.menu-home { background: var(--bg-cream); }
.menu-category-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2rem; }
.menu-cat-btn {
    background: #fff;
    border: 2px solid var(--border);
    color: var(--primary);
    padding: .4rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s;
}
.menu-cat-btn.active,
.menu-cat-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.menu-item-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .8rem;
    transition: box-shadow .2s;
}
.menu-item-card:hover { box-shadow: 0 4px 15px rgba(90,62,43,.12); }
.menu-item-img {
    width: 80px; height: 80px; min-width: 80px;
    object-fit: cover;
    border-radius: 6px;
}
.menu-item-img-placeholder {
    width: 80px; height: 80px; min-width: 80px;
    background: var(--accent-lt);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
}
.menu-item-body { flex: 1; }
.menu-item-body h6 { margin: 0; font-size: 1rem; color: var(--primary); }
.menu-item-body p { margin: .2rem 0 0; font-size: .82rem; color: var(--text-muted); }
.menu-item-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
}

/* ---- GALERİ ---- */
.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}
.gallery-item img {
    width: 100%; height: 220px;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(90,62,43,.55);
    opacity: 0;
    transition: opacity .3s;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.6rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---- İLETİŞİM ---- */
.contact-section { background: var(--bg-cream); }
.contact-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid var(--border);
}
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-icon {
    width: 44px; height: 44px; min-width: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.contact-info-item h6 { margin: 0 0 .2rem; font-size: .88rem; color: var(--text-muted); }
.contact-info-item p, .contact-info-item a { margin: 0; color: var(--text-dark); }

/* FORM */
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: .6rem .9rem;
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(200,169,110,.25);
}
.btn-primary-ahd {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: .7rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    transition: background .2s;
}
.btn-primary-ahd:hover { background: var(--accent); color: var(--primary); }

/* ---- FOOTER ---- */
.site-footer { background: var(--primary); color: #d4c5b5; }
.footer-top { padding: 3.5rem 0 2.5rem; }
.footer-bottom {
    background: rgba(0,0,0,.25);
    padding: 1rem 0;
    font-size: .85rem;
    color: #b0a090;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: .8rem;
}
.footer-logo { filter: brightness(0) invert(1); opacity: .9; }
.footer-desc { font-size: .9rem; color: #c0b0a0; line-height: 1.7; }
.footer-title {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(200,169,110,.3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: #c0b0a0; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .88rem; color: #c0b0a0; }
.footer-contact-list li i { color: var(--accent); margin-top: 3px; font-size: .95rem; min-width: 16px; }
.footer-contact-list a { color: #c0b0a0; }
.footer-contact-list a:hover { color: var(--accent); }
.footer-social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    color: #c0b0a0;
    font-size: 1rem;
    margin-right: .4rem;
    transition: all .2s;
}
.footer-social-icon:hover { background: var(--accent); color: var(--primary); }
.footer-admin-link { color: #7a6a5a; font-size: .8rem; }
.footer-admin-link:hover { color: var(--accent-lt); }
.footer-map { border-radius: 6px; overflow: hidden; }
.footer-map iframe { width: 100%; height: 150px; border: none; }
.footer-map-placeholder {
    background: rgba(255,255,255,.05);
    border-radius: 6px;
    height: 150px;
    color: #7a6a5a;
}

/* ---- PAGE HERO (iç sayfalar) ---- */
.page-hero {
    background: var(--primary);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/page-hero-pattern.png') repeat;
    opacity: .06;
}
.page-hero h1 {
    color: #fff;
    font-size: 2.4rem;
    position: relative;
}
.page-hero .breadcrumb {
    position: relative;
    background: none;
    padding: 0;
}
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a {
    color: var(--accent-lt);
    font-size: .9rem;
}
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--accent-lt); }

/* ---- UTILITY ---- */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }
.bg-cream { background: var(--bg-cream); }
.text-primary-ahd { color: var(--primary); }
.text-accent { color: var(--accent); }
.btn-outline-ahd {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: .55rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all .2s;
}
.btn-outline-ahd:hover { background: var(--primary); color: #fff; }

/* ---- SCROLL TO TOP ---- */
#scrollTop {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 50%;
    display: none;
    align-items: center; justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    transition: background .2s;
    border: none;
}
#scrollTop:hover { background: var(--accent); color: var(--primary); }
#scrollTop.visible { display: flex; }

/* ---- ALERT ---- */
.alert-success { border-left: 4px solid var(--green); }
.alert-danger  { border-left: 4px solid #dc3545; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .nav-link { padding: .5rem 0 !important; }
    .nav-link::after { display: none; }
    .btn-contact { margin-left: 0; margin-top: .5rem; }
    .about-badge { bottom: -10px; right: -10px; width: 80px; height: 80px; }
    .about-badge .num { font-size: 1.4rem; }
    .section-pad { padding: 3.5rem 0; }
}
@media (max-width: 576px) {
    .hero-slider .carousel-caption h2 { font-size: 1.5rem; }
    .section-heading h2 { font-size: 1.7rem; }
}
