﻿/* =====================================================
   YASEMİN CEYİZ — SITE STYLESHEET
   Tasarım dili: zeytin yeşili + antika altın + fildişi.
   İmza öge: dikiş (stitch) çizgili ayraçlar ve kumaş
   numunesi köşe kıvrımı (swatch corner-fold) kartlar.
===================================================== */

:root {
    --ivory: #F8F5EE;
    --card: #FFFFFF;
    --ink: #2A2A24;
    --ink-soft: #59564C;
    --pine: #38443A;
    --pine-dark: #232B26;
    --gold: #AD833C;
    --gold-light: #D9B872;
    --border-soft: #E6DFCB;
    --radius-card: 14px;
    --font-display: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--ivory);
    font-weight: 400;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, .brand-title, .brand-sub {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; transition: color .2s ease; }
img { max-width: 100%; display: block; }

.section { padding: 88px 0; }
@media (max-width: 767px) { .section { padding: 56px 0; } }

/* ---------- STITCH DIVIDER (signature motif) ---------- */
.section-heading { margin-bottom: 48px; }
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    position: relative;
    padding-bottom: 14px;
}
.section-eyebrow::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 0;
    border-bottom: 2px dashed var(--gold-light);
}
.section-heading h2 {
    font-size: 2.2rem;
    margin: 10px 0 0;
}
.text-center .section-eyebrow::after { left: 50%; }

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--pine-dark);
    color: #E9E5D8;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar-info a { color: #E9E5D8; margin-right: 22px; opacity: .9; }
.top-bar-info a:hover { color: var(--gold-light); }
.top-bar-lang a.social-link { color: #E9E5D8; margin-right: 10px; font-size: 14px; }
.lang-link { color: #C9C4B4; font-weight: 600; padding: 0 2px; }
.lang-link.active { color: var(--gold-light); }
.lang-sep { color: #55604F; margin: 0 4px; }

/* Ana menüdeki, her ekran boyutunda görünen dil değiştirici */
.navbar-lang-toggle-group {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lang-switch {
    display: flex;
    align-items: center;
    font-size: 13.5px;
}
.lang-switch .lang-link { color: var(--ink-soft); }
.lang-switch .lang-link.active { color: var(--pine); }
.lang-switch .lang-sep { color: var(--border-soft); }

/* ---------- NAVBAR ---------- */
.main-navbar {
    background: var(--ivory);
    border-bottom: 1px solid var(--border-soft);
    padding: 14px 0;
}
.navbar-brand { display: flex; align-items: baseline; gap: 4px; }
.brand-title { font-size: 1.55rem; font-weight: 600; color: var(--pine); }
.brand-sub { font-size: 1.55rem; font-weight: 400; font-style: italic; color: var(--gold); }
.main-navbar .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--ink);
    padding: 8px 14px !important;
    position: relative;
}
.main-navbar .nav-link:hover { color: var(--pine); }
.dropdown-menu { border: 1px solid var(--border-soft); border-radius: 10px; }
.dropdown-item:active, .dropdown-item:hover { background: var(--ivory); color: var(--pine); }

.btn-whatsapp {
    background: #2E7D5B;
    color: #fff !important;
    border: none;
    border-radius: 30px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-whatsapp:hover { background: #24603F; color: #fff !important; }

.btn-main {
    background: var(--pine);
    color: #fff !important;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 14px;
}
.btn-main:hover { background: var(--pine-dark); color: #fff !important; }

.btn-outline-main {
    border: 1.5px solid var(--pine);
    color: var(--pine) !important;
    border-radius: 30px;
    padding: 11px 28px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}
.btn-outline-main:hover { background: var(--pine); color: #fff !important; }

.btn-hero {
    background: var(--gold);
    color: #fff !important;
    border-radius: 30px;
    padding: 13px 32px;
    font-weight: 600;
    display: inline-block;
    letter-spacing: .02em;
}
.btn-hero:hover { background: var(--gold-light); }

/* ---------- HERO SLIDER ---------- */
.hero-slider { position: relative; }
.heroSwiper, .heroSwiper .swiper-slide {
    height: 82vh; min-height: 480px; max-height: 720px;
    background-size: cover; background-position: center;
    position: relative;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(35,43,38,.78) 0%, rgba(35,43,38,.42) 55%, rgba(35,43,38,.15) 100%);
}
.hero-slide-content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    max-width: 620px; color: #fff;
}
.hero-slide-content h1 {
    color: #fff; font-size: 3rem; line-height: 1.15; margin-bottom: 18px;
}
.hero-slide-content p { font-size: 1.1rem; color: #EDEAE0; margin-bottom: 28px; max-width: 480px; }
@media (max-width: 767px) {
    .hero-slide-content h1 { font-size: 2.1rem; }
    .heroSwiper, .heroSwiper .swiper-slide { height: 68vh; }
}
.swiper-pagination-bullet-active { background: var(--gold) !important; }
.hero-slider .swiper-button-next, .hero-slider .swiper-button-prev { color: #fff; }

/* ---------- CATEGORY CARDS (fabric swatch corner-fold) ---------- */
.category-card {
    display: block; position: relative; overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--card);
    border: 1px solid var(--border-soft);
    transition: box-shadow .25s ease, transform .25s ease;
}
.category-card:hover { box-shadow: 0 18px 36px rgba(35,43,38,.14); transform: translateY(-4px); }
.category-card-img {
    height: 230px; background-size: cover; background-position: center; position: relative;
}
/* signature corner-fold, like a fabric swatch peeling at the corner */
.category-card-img::after {
    content: "";
    position: absolute; top: 0; right: 0;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--ivory) 50%, transparent 50%);
    box-shadow: -2px 2px 6px rgba(0,0,0,.18);
}
.category-card-body { padding: 22px 24px 26px; }
.category-card-body h3 { font-size: 1.2rem; margin: 0 0 10px; }
.category-card-link {
    font-size: 13px; font-weight: 600; color: var(--gold);
    display: inline-flex; align-items: center; gap: 6px;
}
.category-card:hover .category-card-link { color: var(--pine); }

/* ---------- PRODUCT CARDS ---------- */
.product-card {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-card);
    overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { box-shadow: 0 18px 36px rgba(35,43,38,.14); transform: translateY(-4px); }
.product-card-img-wrap { display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--ivory); }
.product-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card-img-wrap img { transform: scale(1.06); }
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card-cat { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.product-card-body h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.product-card-body h3 a { color: var(--ink); }
.product-card-body h3 a:hover { color: var(--pine); }
.product-card-body p { font-size: 13.5px; color: var(--ink-soft); flex: 1; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-btn {
    font-size: 13px; font-weight: 600; color: var(--pine);
    border-top: 1px dashed var(--border-soft); padding-top: 12px;
    display: flex; align-items: center; justify-content: space-between;
}
.product-card-btn::after { content: "\F135"; font-family: "bootstrap-icons"; }

/* ---------- WHY SECTION ---------- */
.why-section { background: var(--card); }
.why-card { padding: 20px 10px; }
.why-card i { font-size: 2.1rem; color: var(--gold); margin-bottom: 14px; display: inline-block; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-section {
    background: var(--pine); color: #fff; padding: 70px 0; text-align: center;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px);
}
.cta-section h2 { color: #fff; font-size: 1.9rem; margin-bottom: 12px; }
.cta-section p { color: #D9D4C4; margin-bottom: 26px; }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
    position: relative; padding: 70px 0 34px; background-size: cover; background-position: center;
}
.page-header-overlay { position: absolute; inset: 0; background: rgba(35,43,38,.72); }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: 2.3rem; margin-bottom: 10px; }
.breadcrumb-nav { font-size: 13.5px; color: #D9D4C4; }
.breadcrumb-nav a { color: #D9D4C4; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav i { margin: 0 6px; font-size: 10px; }
.breadcrumb-nav span:last-child { color: var(--gold-light); }

/* ---------- PRODUCTS LIST / FILTER ---------- */
.filter-box {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-card);
    padding: 22px;
}
.filter-box h5 { font-size: .95rem; margin-bottom: 14px; }
.category-filter-list { list-style: none; padding: 0; margin: 0 0 20px; }
.category-filter-list li { border-bottom: 1px dashed var(--border-soft); }
.category-filter-list li:last-child { border-bottom: none; }
.category-filter-list a {
    display: block; padding: 10px 4px; font-size: 14px; color: var(--ink-soft); font-weight: 500;
}
.category-filter-list a:hover, .category-filter-list a.active { color: var(--pine); font-weight: 600; }
.filter-whatsapp-box {
    background: var(--ivory); border-radius: 10px; padding: 18px; text-align: center;
}
.filter-whatsapp-box i { color: #2E7D5B; font-size: 1.6rem; margin-bottom: 8px; display: inline-block; }
.filter-whatsapp-box p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }
.category-description { color: var(--ink-soft); margin-bottom: 26px; }
.empty-state { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.empty-state i { font-size: 2.4rem; margin-bottom: 10px; display: block; }

/* ---------- PRODUCT DETAIL ---------- */
.product-detail-section { padding-top: 50px; }
.product-gallery .swiper-slide img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-card);
}
.productThumbsSwiper .swiper-slide { opacity: .55; cursor: pointer; border-radius: 8px; overflow: hidden; }
.productThumbsSwiper .swiper-slide-thumb-active { opacity: 1; outline: 2px solid var(--gold); }
.productThumbsSwiper .swiper-slide img { border-radius: 8px; aspect-ratio: 1/1; object-fit: cover; }
.product-detail-cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.product-detail-title { font-size: 2rem; margin: 8px 0 14px; }
.product-detail-short { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 20px; }
.product-detail-attrs { display: flex; gap: 30px; flex-wrap: wrap; padding: 18px 0; border-top: 1px dashed var(--border-soft); border-bottom: 1px dashed var(--border-soft); margin-bottom: 24px; }
.attr-item { display: flex; flex-direction: column; gap: 4px; }
.attr-item span { font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.attr-item strong { font-size: 14.5px; color: var(--ink); }

.measurements-box {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-card);
    padding: 22px 24px; margin-top: 8px;
}
.measurements-box h5 { font-size: 1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; color: var(--pine); }
.measurements-table { width: 100%; border-collapse: collapse; }
.measurements-table td { padding: 10px 4px; border-bottom: 1px dashed var(--border-soft); font-size: 14.5px; color: var(--ink-soft); }
.measurements-table tr:last-child td { border-bottom: none; }
.measurements-table td:last-child { text-align: right; color: var(--ink); }

.product-detail-desc h5 { font-size: 1rem; margin-bottom: 12px; color: var(--pine); }
.product-detail-desc div { color: var(--ink-soft); font-size: 15px; line-height: 1.8; }

/* ---------- ABOUT PAGE ---------- */
.about-img { border-radius: var(--radius-card); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-title { font-size: 2rem; margin: 8px 0 18px; }
.about-section p { color: var(--ink-soft); margin-bottom: 16px; font-size: 15.5px; }
.stat-box { background: var(--card); border: 1px solid var(--border-soft); border-radius: 12px; padding: 18px; text-align: center; }
.stat-box h3 { color: var(--gold); font-size: 1.9rem; margin: 0 0 4px; }
.stat-box p { color: var(--ink-soft); font-size: 13px; margin: 0; }

.mission-vision-section { background: var(--card); }
.mv-card {
    border: 1px solid var(--border-soft); border-radius: var(--radius-card); padding: 34px;
    height: 100%; background: var(--ivory);
}
.mv-card i { font-size: 2rem; color: var(--gold); margin-bottom: 14px; display: inline-block; }
.mv-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.mv-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- CONTACT ---------- */
.contact-info-card {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-card);
    padding: 26px; text-align: center; height: 100%;
}
.contact-info-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 12px; display: inline-block; }
.contact-info-card h5 { font-size: 1rem; margin-bottom: 8px; }
.contact-info-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.contact-info-card a { color: var(--ink-soft); }
.contact-info-card a:hover { color: var(--pine); }

.contact-form-box {
    background: var(--card); border: 1px solid var(--border-soft); border-radius: var(--radius-card);
    padding: 32px;
}
.contact-form-box h3 { font-size: 1.4rem; margin-bottom: 22px; }
.contact-form-box .form-label { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.contact-form-box .form-control {
    border: 1px solid var(--border-soft); border-radius: 8px; padding: 11px 14px; font-size: 14.5px;
}
.contact-form-box .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(173,131,60,.15); }
.map-box { border-radius: var(--radius-card); overflow: hidden; height: 100%; min-height: 380px; border: 1px solid var(--border-soft); }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--pine-dark); color: #C9C4B4; padding: 70px 0 26px; }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.footer-brand span { font-style: italic; color: var(--gold-light); font-weight: 400; }
.footer-text { font-size: 14px; color: #B4AF9F; }
.footer-heading { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 14px; color: #B4AF9F; }
.footer-links a { color: #B4AF9F; }
.footer-links a:hover { color: var(--gold-light); }
.social-link {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid #4C574B;
    display: inline-flex; align-items: center; justify-content: center; color: #C9C4B4; font-size: 14px;
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-divider { border-color: #3D473C; margin: 40px 0 20px; }
.small-print { font-size: 12.5px; color: #8D8878; }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%;
    background: #2E7D5B; color: #fff; font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { background: #24603F; color: #fff; }
@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(46,125,91,.5), 0 8px 22px rgba(0,0,0,.28); }
    70% { box-shadow: 0 0 0 14px rgba(46,125,91,0), 0 8px 22px rgba(0,0,0,.28); }
    100% { box-shadow: 0 0 0 0 rgba(46,125,91,0), 0 8px 22px rgba(0,0,0,.28); }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float { animation: none; }
    * { scroll-behavior: auto !important; }
}

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, .form-control:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 2px;
}
