/*
 * KOD REHBERİ — assets/css/style.css
 * Genel site stilleri: temel renkler, yazılar, menü, sayfa bölümleri ve ekran uyarlamaları. Kullanılıp kullanılmadığını aktif layout dosyasından kontrol edin.
 * Genel okuma sırası ve örnekler: proje kökündeki KOD-OKUMA-REHBERI.md.
 */

/* Tema değişkenleri: var(--...) kullanan kurallar bu ortak değerleri okur. */
:root {
    --paper: #faf8f3;
    --ink: #303a30;
    --purple: #655075;
    --muted: #77796e;
    --line: #deded3;
    --lavender: #eee9f1;
    --serif: "Site Serif", 'Times New Roman', serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Site Sans", "Site Sans", sans-serif;
    font-size: 15px;
    line-height: 1.7
}

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

button,
input,
select,
textarea {
    font: inherit
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

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

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.13
}

h2 {
    font-size: clamp(34px, 3.5vw, 52px);
    letter-spacing: -1.5px;
    margin-bottom: 24px
}

h3 {
    font-size: 27px
}

em {
    font-weight: 400;
    color: var(--purple)
}

p {
    color: var(--muted)
}

:focus-visible {
    outline: 3px solid #9876b0;
    outline-offset: 5px
}

[hidden] {
    display: none !important
}

.skip-link {
    position: absolute;
    left: 20px;
    top: -100px;
    background: white;
    padding: 12px;
    z-index: 10
}

.skip-link:focus {
    top: 10px
}

.announcement {
    height: 34px;
    background: #51445d;
    color: #faf6ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    font-size: 10px;
    letter-spacing: 1.3px
}

.announcement>span:last-child {
    letter-spacing: .6px
}

.announcement span span {
    padding-left: 12px;
    font-size: 17px
}

.site-header {
    height: 107px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding: 0 5%;
    background: var(--paper);
    position: relative;
    z-index: 5
}

.brand {
    display: flex;
    align-items: center;
    gap: 4px
}

.brand img {
    width: 72px;
    height: 76px;
    object-fit: contain;
    mix-blend-mode: multiply
}

.brand>span {
    font: italic 33px var(--serif);
    color: #49354f
}

.brand small {
    display: block;
    font: 8px "Site Sans", sans-serif;
    letter-spacing: 2px;
    margin-top: 7px
}

.site-header nav {
    display: flex;
    gap: 31px;
    height: 100%;
    align-items: center
}

.site-header nav a {
    font-size: 13px;
    position: relative;
    padding: 10px 0
}

.site-header nav a:after {
    content: '';
    position: absolute;
    height: 1px;
    bottom: 3px;
    left: 0;
    right: 100%;
    background: var(--purple);
    transition: right .2s
}

.site-header nav a:hover:after,
.site-header nav a[aria-current]:after {
    right: 0
}

.site-header nav a[aria-current] {
    color: var(--purple)
}

.header-cta {
    font-size: 12px;
    border: 1px solid #cac5ce;
    border-radius: 3px;
    padding: 11px 17px
}

.header-cta span {
    margin-left: 25px
}

.menu-toggle {
    display: none
}

.hero {
    height: 630px;
    min-height: 560px;
    position: relative;
    overflow: hidden;
    color: white;
    margin: 0 22px
}

.hero-image,
.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-image {
    object-position: center 59%
}

.hero-shade {
    background: linear-gradient(90deg, rgba(21, 33, 25, .84), rgba(27, 36, 28, .48) 49%, rgba(21, 33, 25, .03)), linear-gradient(0deg, rgba(21, 33, 25, .4), transparent 30%)
}

.hero-content {
    position: relative;
    padding: 102px 6% 65px;
    max-width: 790px
}

.eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.3px;
    color: var(--purple);
    margin-bottom: 20px
}

.eyebrow.light {
    color: #e9e4dc
}

.hero h1 {
    font-size: clamp(50px, 5.8vw, 82px);
    line-height: 1.1;
    letter-spacing: -2.3px;
    margin-bottom: 25px
}

.hero h1 em {
    color: #e5d8ec
}

.hero p {
    color: #edece1;
    font-size: 15px;
    line-height: 1.9
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 35px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 15px 23px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 500;
    transition: background .2s, transform .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button span {
    font-size: 20px;
    line-height: 1
}

.cream {
    background: var(--paper);
    color: #394335
}

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

.purple:hover {
    background: #4c395d
}

.hero-story {
    font-size: 12px;
    border-bottom: 1px solid #ffffff70;
    padding: 7px 0
}

.hero-story span {
    margin-left: 17px
}

.hero-bottom {
    position: absolute;
    bottom: 27px;
    left: 6%;
    right: 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 2px
}

.hero-bottom a {
    font-size: 11px;
    letter-spacing: .3px
}

.hero-bottom a span {
    margin-left: 22px;
    font-size: 21px
}

.harvest-seal {
    position: absolute;
    right: 7%;
    top: 65px;
    border: 1px solid #f9f5e3a0;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(12deg);
    background: #393d291c;
    color: #fffbe9;
    outline: 1px solid #f9f5e344;
    outline-offset: 6px
}

.harvest-seal span {
    font-size: 8px;
    letter-spacing: 1.4px
}

.harvest-seal b {
    font-size: 34px;
    font-weight: 400;
    line-height: 1.5
}

.values-strip {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 27px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 12px
}

.values-strip span {
    display: flex;
    align-items: center;
    gap: 12px
}

.values-strip i {
    font-size: 26px;
    font-style: normal;
    color: var(--purple)
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 83px 30px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 37px
}

.section-heading h2 {
    margin-bottom: 0
}

.section-heading .eyebrow {
    margin-bottom: 13px
}

.text-link {
    font-size: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #9e999e;
    display: inline-block
}

.text-link span {
    margin-left: 28px
}

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

.product-image {
    display: block;
    background: #eee9e1;
    position: relative;
    overflow: hidden;
    height: 390px
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform .4s
}

.product-image:hover img {
    transform: scale(1.035)
}

.product-tag {
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 1;
    background: #faf8f3ed;
    padding: 5px 10px;
    font-size: 8px;
    letter-spacing: 1.3px;
    box-shadow: 0 1px 8px #00000008
}

.product-open {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--paper);
    display: grid;
    place-items: center
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--muted);
    margin: 18px 0 10px;
    letter-spacing: .4px
}

.product-card h3 {
    font-size: 26px;
    margin-bottom: 11px
}

.product-card p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 0
}

.product-card .product-card-excerpt {
    min-height: 5.4em;
    overflow-wrap: anywhere;
}
.product-card-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    color: #6f467f;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.story-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eeeee5;
    margin: 12px 22px 0
}

.story-photo {
    position: relative;
    min-height: 550px;
    overflow: hidden
}

.story-photo img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: center 65%
}

.story-photo>span {
    position: absolute;
    bottom: 32px;
    left: 35px;
    color: white;
    font: italic 27px var(--serif);
    text-shadow: 0 2px 10px #000
}

.story-copy {
    padding: 76px clamp(35px, 6vw, 95px);
    align-self: center
}

.story-copy p {
    font-size: 13px;
    line-height: 1.9
}

.story-copy .button {
    margin-top: 15px
}

.journey {
    text-align: center;
    padding-top: 90px;
    padding-bottom: 85px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 45px;
    text-align: left
}

.steps article {
    border-top: 1px solid #bfbfc0;
    padding-top: 23px
}

.steps article>span {
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--purple)
}

.steps h3 {
    margin: 21px 0 13px;
    font-size: 27px
}

.steps p {
    font-size: 13px
}

.contact-banner {
    margin: 0 22px 55px;
    background: var(--lavender);
    text-align: center;
    padding: 60px 25px
}

.contact-banner h2 {
    margin-bottom: 17px
}

.contact-banner p {
    font-size: 13px
}

.contact-banner .button {
    margin-top: 9px
}

.site-footer {
    padding: 55px 6% 0;
    background: #eeeee6
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr .65fr 1fr 1fr;
    gap: 40px;
    max-width: 1170px;
    margin: auto;
    padding-bottom: 45px
}

.footer-brand {
    font: italic 39px var(--serif);
    color: #4e3b57
}

.footer-top p {
    font-size: 12px;
    margin: 15px 0 0
}

.footer-top .eyebrow {
    margin: 7px 0 19px;
    font-size: 9px
}

.footer-top>div>a:not(.footer-brand) {
    display: block;
    font-size: 12px;
    margin-bottom: 7px
}

.footer-note {
    font: 27px/1.5 var(--serif);
    padding-top: 8px
}

.footer-bottom {
    border-top: 1px solid #d6d7ca;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 9px;
    color: #797c71
}

.page-intro {
    text-align: center;
    padding: 75px 25px 65px;
    background: #eeebeF;
    border-top: 1px solid #e3dce7
}

.page-intro h1 {
    font-size: clamp(38px, 4.8vw, 65px);
    letter-spacing: -1.6px;
    margin-bottom: 22px
}

.page-intro p {
    font-size: 14px;
    margin: 0
}

.catalog {
    padding-top: 40px;
    min-height: 620px
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line)
}

.filters {
    display: flex;
    gap: 10px
}

.filter {
    background: transparent;
    border: 1px solid var(--line);
    padding: 9px 17px;
    border-radius: 30px;
    color: var(--ink);
    font-size: 12px
}

.filter.active {
    background: var(--purple);
    color: white;
    border-color: var(--purple)
}

.search-box {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 11px
}

.search-box input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #aaa1b2;
    padding: 8px 5px;
    font-size: 12px;
    width: 190px
}

.result-count {
    font-size: 11px;
    margin: 17px 0 23px
}

.breadcrumbs {
    max-width: 1200px;
    margin: 25px auto 0;
    padding: 0 30px;
    display: flex;
    gap: 13px;
    font-size: 11px;
    flex-wrap: wrap;
    color: var(--muted)
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    padding-top: 35px
}

.detail-image {
    background: #eeebe6;
    padding: 20px;
    align-self: start
}

.detail-image img {
    width: 100%;
    max-height: 740px;
    object-fit: contain
}

.detail-copy {
    padding-top: 32px
}

.detail-copy h1 {
    font-size: 52px;
    margin: 0 0 22px
}

.detail-lead {
    font-size: 15px
}

.detail-origin {
    font-size: 12px;
    color: var(--purple);
    padding: 19px 0 29px
}

.small-note {
    font-size: 11px;
    line-height: 1.7
}

.detail-copy>.small-note {
    margin: 12px 0 28px
}

.detail-copy details {
    border-top: 1px solid var(--line);
    padding: 17px 0
}

.detail-copy details p {
    font-size: 13px;
    padding-top: 12px;
    margin-bottom: 0
}

summary {
    cursor: pointer;
    font-size: 13px
}

.back-link {
    font-size: 12px;
    display: inline-block;
    margin-top: 28px
}

.story-page {
    margin-top: 35px
}

.moments {
    display: grid;
    grid-template-columns: 1fr .8fr .8fr;
    gap: 35px;
    align-items: center
}

.moments p {
    font-size: 13px
}

.moments img {
    width: 100%;
    height: 370px;
    object-fit: cover
}

.moments img:last-child {
    margin-top: 65px
}

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

.contact-layout>div>p {
    font-size: 14px
}

.contact-method {
    position: relative;
    display: block;
    padding: 19px 0;
    border-bottom: 1px solid var(--line)
}

.contact-method span {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--purple)
}

.contact-method strong {
    font-weight: 400;
    font-size: 21px
}

.contact-method b {
    position: absolute;
    right: 10px;
    top: 30px;
    font-weight: 400
}

.message-panel {
    background: #eeebeF;
    padding: 40px
}

.message-panel h3 {
    font-size: 32px
}

.message-panel label {
    font-size: 12px;
    display: block;
    margin: 17px 0 7px
}

.message-panel select,
.message-panel textarea {
    display: block;
    width: 100%;
    border: 1px solid #d4cdda;
    padding: 12px;
    background: #faf8f9;
    color: var(--ink);
    border-radius: 2px;
    font-size: 13px
}

.message-panel textarea {
    resize: vertical
}

.message-panel button {
    width: 100%;
    margin-top: 23px
}

.message-panel .small-note {
    margin-top: 15px
}

.error-page {
    min-height: 60vh
}

.error-page .button {
    margin-top: 30px
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(min-width:1500px) {
    .hero {
        height: 710px
    }
    .hero-content {
        padding-top: 135px
    }
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(max-width:1050px) {
    .header-cta {
        display: none
    }
    .site-header nav {
        gap: 24px
    }
    .hero-content {
        padding-top: 105px
    }
    .product-image {
        height: 330px
    }
    .story-copy {
        padding: 45px 35px
    }
    .story-photo {
        min-height: 490px
    }
    .footer-top {
        gap: 25px
    }
    .footer-note {
        font-size: 23px
    }
    .contact-layout {
        gap: 45px
    }
    .product-detail {
        gap: 35px
    }
    .detail-copy h1 {
        font-size: 43px
    }
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(max-width:700px) {
    .announcement {
        justify-content: center;
        height: 30px;
        font-size: 8px
    }
    .announcement>span:last-child {
        display: none
    }
    .site-header {
        height: 87px;
        padding: 0 20px
    }
    .brand img {
        width: 57px;
        height: 62px
    }
    .brand>span {
        font-size: 28px
    }
    .brand small {
        font-size: 6px;
        letter-spacing: 1.7px
    }
    .menu-toggle {
        display: block;
        background: transparent;
        border: 1px solid #d5cddd;
        color: var(--purple);
        font-size: 23px;
        line-height: 1;
        width: 42px;
        height: 42px;
        border-radius: 2px
    }
    .site-header nav {
        display: none;
        position: absolute;
        top: 87px;
        left: 0;
        right: 0;
        height: auto;
        background: var(--paper);
        padding: 20px 28px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 15px 20px #00000012
    }
    .site-header nav.is-open {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 9px
    }
    .site-header nav a {
        width: 100%;
        padding: 11px 0
    }
    .hero {
        margin: 0 10px;
        height: 620px;
        min-height: 0
    }
    .hero-image {
        object-position: 59% center
    }
    .hero-shade {
        background: linear-gradient(90deg, #1b271dd9, #1b271d50), linear-gradient(0deg, #17241c88, transparent)
    }
    .hero-content {
        padding: 122px 24px 60px
    }
    .hero .eyebrow {
        font-size: 8px;
        letter-spacing: 1.7px
    }
    .hero h1 {
        font-size: 49px;
        letter-spacing: -1.8px
    }
    .hero p {
        font-size: 13px
    }
    .hero p br {
        display: none
    }
    .hero-actions {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
        margin-top: 28px
    }
    .hero-story {
        font-size: 11px
    }
    .hero-bottom {
        left: 24px;
        right: 24px;
        bottom: 23px
    }
    .hero-bottom>span {
        font-size: 7px;
        letter-spacing: 1px
    }
    .hero-bottom a {
        font-size: 9px
    }
    .hero-bottom a span {
        margin-left: 8px
    }
    .harvest-seal {
        width: 73px;
        height: 73px;
        top: 24px;
        right: 30px
    }
    .harvest-seal span {
        font-size: 5px;
        letter-spacing: .7px
    }
    .harvest-seal b {
        font-size: 22px
    }
    .values-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 22px 24px;
        font-size: 10px
    }
    .values-strip span {
        gap: 8px
    }
    .values-strip i {
        font-size: 21px
    }
    .section {
        padding: 52px 24px
    }
    .section-heading {
        display: block;
        margin-bottom: 28px
    }
    .section-heading .text-link {
        margin-top: 22px
    }
    .eyebrow {
        font-size: 9px;
        letter-spacing: 1.7px
    }
    h2 {
        font-size: 36px;
        letter-spacing: -1px
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }
    .product-image {
        height: 440px
    }
    .product-card h3 {
        font-size: 28px
    }
    .product-card p {
        font-size: 13px
    }
    .story-preview {
        grid-template-columns: 1fr;
        margin: 0 10px
    }
    .story-photo {
        min-height: 360px
    }
    .story-copy {
        padding: 38px 25px 45px
    }
    .story-photo>span {
        left: 25px;
        font-size: 25px
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px
    }
    .steps h3 {
        margin-top: 12px
    }
    .journey {
        text-align: left
    }
    .contact-banner {
        margin: 0 10px 30px;
        padding: 43px 24px
    }
    .contact-banner h2 {
        font-size: 34px
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }
    .footer-top>div:first-child {
        grid-column: 1/-1
    }
    .footer-note {
        grid-column: 1/-1
    }
    .site-footer {
        padding: 35px 24px 0
    }
    .footer-bottom {
        gap: 15px;
        font-size: 8px;
        align-items: flex-start
    }
    .footer-bottom span {
        max-width: 50%
    }
    .page-intro {
        padding: 50px 24px 42px
    }
    .page-intro h1 {
        font-size: 41px
    }
    .page-intro p {
        font-size: 13px
    }
    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 22px
    }
    .filters {
        gap: 7px
    }
    .filter {
        padding: 9px 13px;
        font-size: 11px
    }
    .search-box {
        justify-content: space-between
    }
    .search-box input {
        width: 70%
    }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 25px
    }
    .detail-copy {
        padding-top: 5px
    }
    .detail-copy h1 {
        font-size: 43px
    }
    .detail-image {
        padding: 12px
    }
    .breadcrumbs {
        padding: 0 24px;
        font-size: 10px
    }
    .moments {
        grid-template-columns: 1fr 1fr;
        gap: 15px
    }
    .moments>div {
        grid-column: 1/-1;
        margin-bottom: 10px
    }
    .moments img {
        height: 260px
    }
    .moments img:last-child {
        margin-top: 35px
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px
    }
    .message-panel {
        padding: 25px
    }
    .contact-layout h2 {
        font-size: 38px
    }
}

.message-panel input:not([type=hidden]) {
    display: block;
    width: 100%;
    border: 1px solid #d4cdda;
    padding: 12px;
    background: #faf8f9;
    color: var(--ink);
    border-radius: 2px;
    font-size: 13px
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.form-notice {
    padding: 14px;
    border: 1px solid;
    font-size: 12px;
    border-radius: 3px
}

.form-notice.success {
    background: #edf5ed;
    color: #3d6842;
    border-color: #c5dfc5
}

.form-notice.error {
    background: #fff0f0;
    color: #923a47;
    border-color: #ebc7cf
}

.form-notice p {
    margin: 0 0 5px;
    color: inherit
}

/* Ekran/tercih uyarlaması: aşağıdaki kurallar yalnızca bu koşul sağlanınca uygulanır. */
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
    *,
    *:before,
    *:after {
        transition: none !important
    }
}

.product-card .product-price,
.detail-copy .product-price {
    color: #6f467f;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 12px 0
}

.detail-copy .product-price {
    font-size: 1.7rem
}
