/* ==========================================================================
   Hake Keklikoğlu — Taş Atölyesi
   Boutique Dark Artisan Design | Stone & Earth Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --void:         #0F0E0C;
    --dark:         #1A1A18;
    --surface:      #222220;
    --surface2:     #2A2925;
    --stone:        #3D3A35;
    --mist:         #514E48;

    --text:         #F0EBE0;
    --text-muted:   #9A8E7F;
    --text-dim:     #5E5A54;

    --gold:         #C9963A;
    --gold-light:   #E0B96A;
    --gold-dim:     rgba(201, 150, 58, 0.15);
    --clay:         #A0624A;
    --sage:         #5C7A5E;

    --shadow:       0 8px 40px rgba(0,0,0,0.6);
    --radius:       3px;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --t:            all 0.35s var(--ease);
    --tf:           all 0.18s ease;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--t); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.15;
    font-weight: 400;
}

/* ==========================================================================
   Grain Overlay (texture feel)
   ========================================================================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9998;
    opacity: 0.6;
}

/* ==========================================================================
   Layout Shell
   ========================================================================== */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    display: grid;
    grid-template-columns: 255px 1fr;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    align-items: start;
    border-left: 1px solid var(--stone);
    border-right: 1px solid var(--stone);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: rgba(15, 14, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--stone);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Craft tagline bar */
.header-topbar {
    background: var(--gold);
    text-align: center;
    padding: 7px 20px;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--void);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    position: relative;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.92;
    transition: var(--t);
}

.logo:hover img {
    opacity: 1;
}

/* Nav */
.site-nav ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.site-nav a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.site-nav a:hover { color: var(--gold-light); }
.site-nav a:hover::after { width: 100%; }

/* Hamburger */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--stone);
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 6px 12px;
    transition: var(--tf);
    line-height: 1;
}

.mobile-menu-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar {
    background: var(--surface);
    border-right: 1px solid var(--stone);
    padding: 35px 22px;
    position: sticky;
    top: 93px;
    height: max-content;
    min-height: 300px;
}

.sidebar h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--stone);
}

.kategoriler { margin-bottom: 4px; }

.kategoriler .baslik a {
    display: block;
    padding: 9px 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    border-left: 2px solid transparent;
    transition: var(--tf);
}

.kategoriler .baslik a:hover {
    color: var(--gold-light);
    border-left-color: var(--gold);
    background: var(--gold-dim);
    padding-left: 16px;
}

.kategoriler > div > div {
    border-left: 1px solid var(--stone);
    margin-left: 12px;
    margin-top: 3px;
}

.altkat_container { padding: 4px 0; }

.altkat_container li a {
    display: block;
    padding: 6px 10px;
    font-size: 0.79rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: var(--tf);
}

.altkat_container li a:hover {
    color: var(--gold-light);
    padding-left: 16px;
}

/* ==========================================================================
   Content Column
   ========================================================================== */
.content {
    padding: 45px 50px;
    min-height: 70vh;
    border-top: 2px solid var(--gold);
    background: var(--surface);
}

/* Headings */
.content h1 {
    font-size: 3.2rem;
    font-weight: 300;
    color: var(--text);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.content h1 em {
    font-style: italic;
    color: var(--gold-light);
}

/* Gold rule after h1 */
.content h1::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--gold);
    margin-top: 18px;
    margin-bottom: 32px;
}

.content h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text);
    margin: 35px 0 12px;
}

.content h2::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
    margin-top: 10px;
    margin-bottom: 20px;
}

.content p {
    color: var(--text-muted);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

/* ==========================================================================
   Boutique Homepage Intro
   ========================================================================== */
.boutique-intro {
    margin-bottom: 50px;
    padding: 40px 0 40px;
    border-bottom: 1px solid var(--stone);
    position: relative;
}

.boutique-intro::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    line-height: 1;
    color: var(--gold-dim);
    position: absolute;
    top: 0;
    left: -10px;
    pointer-events: none;
    filter: blur(0.5px);
}

.boutique-intro blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 30px;
    border-left: none;
    position: relative;
    z-index: 1;
}

.boutique-intro blockquote strong {
    color: var(--text);
    font-weight: 400;
    font-style: normal;
}

.boutique-intro .craft-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 25px;
    padding-left: 30px;
}

.boutique-intro .craft-tag {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 5px 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--stone);
}

/* ==========================================================================
   Product Grid (Masonry-style overlay cards)
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 3px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--void);
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.82) saturate(0.85);
    transition: transform 0.65s var(--ease), filter 0.65s var(--ease);
}

.product-card:hover .product-image {
    transform: scale(1.07);
    filter: brightness(0.5) saturate(1.1);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 18px 18px;
    background: linear-gradient(to top, rgba(10,9,8,0.92) 0%, transparent 100%);
    transform: translateY(12px);
    transition: var(--t);
}

.product-info h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.btn-primary {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0 0 2px;
    border-bottom: 1px solid var(--gold);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
    background: none;
}

.product-card:hover .product-info { transform: translateY(0); }
.product-card:hover .btn-primary { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Product Detail
   ========================================================================== */
.product-detail-view {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.product-gallery {
    flex: 1;
    min-width: 290px;
}

.product-gallery-main {
    overflow: hidden;
    border: 1px solid var(--stone);
    cursor: zoom-in;
}

.product-gallery-main img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.product-gallery-main:hover img { transform: scale(1.04); }

.product-gallery-thumbs {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-gallery-thumbs img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--stone);
    filter: brightness(0.65) saturate(0.7);
    flex-shrink: 0;
    transition: var(--tf);
}

.product-gallery-thumbs img:hover {
    border-color: var(--gold);
    filter: brightness(1) saturate(1);
}

.product-data {
    flex: 1;
    min-width: 270px;
}

.info-list {
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--stone);
    overflow: hidden;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 13px 20px;
    border-bottom: 1px solid var(--stone);
    font-size: 0.88rem;
}

.info-row:last-child { border-bottom: none; }

.info-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 120px;
    flex-shrink: 0;
}

.info-row span:last-child { color: var(--text-muted); }

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form .input-group { margin-bottom: 18px; }

.contact-form label {
    display: block;
    margin-bottom: 7px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark);
    border: 1px solid var(--stone);
    border-radius: var(--radius);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--tf);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    background: rgba(201,150,58,0.03);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form button[type="submit"] {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 14px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    transition: var(--t);
    margin-top: 8px;
}

.contact-form button[type="submit"]:hover {
    background: var(--gold);
    color: var(--void);
}

/* ==========================================================================
   Contact Info Block
   ========================================================================== */
.contact-info-block {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--stone);
    border-left: 3px solid var(--gold);
    padding: 24px 28px;
    margin-bottom: 35px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.9;
}

/* ==========================================================================
   Gallery Grid
   ========================================================================== */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 3px;
    margin-top: 20px;
}

.album, .foto {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--void);
    cursor: pointer;
}

.album img, .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.78) saturate(0.8);
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.album:hover img, .foto:hover img {
    transform: scale(1.07);
    filter: brightness(0.5) saturate(1.1);
}

.album a {
    display: block;
    height: 100%;
    position: relative;
}

.foto a {
    display: block;
    height: 100%;
}

.album-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(10,9,8,0.9), transparent);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--text);
    transform: translateY(8px);
    opacity: 0;
    transition: var(--t);
}

.album:hover .album-title {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.sayfalama {
    margin-top: 40px;
    text-align: center;
}

.sayfing {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.sayfing li a {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid var(--stone);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    transition: var(--tf);
}

.sayfing li a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}

.sayfing li.aktif a {
    background: var(--gold);
    color: var(--void);
    border-color: var(--gold);
    font-weight: 600;
    cursor: default;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--void);
    color: var(--text-muted);
    padding: 60px 40px 28px;
    border-top: 1px solid var(--stone);
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--stone);
}

.footer-inner h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--stone);
}

.footer-inner p {
    font-size: 0.85rem;
    line-height: 1.85;
    color: var(--text-dim);
}

.footer-col ul li a {
    display: block;
    padding: 5px 0;
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: var(--tf);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
    padding-left: 8px;
}

.footer-logo img {
    height: 45px;
    filter: brightness(0) invert(1);
    opacity: 0.35;
    margin-bottom: 16px;
}

.copyright {
    max-width: 1440px;
    margin: 22px auto 0;
    font-size: 0.72rem;
    text-align: center;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

/* ==========================================================================
   Message Boxes
   ========================================================================== */
.tamam_kutusu {
    padding: 15px 20px;
    background: rgba(92,122,94,0.12);
    border: 1px solid var(--sage);
    border-left: 3px solid var(--sage);
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.uyari_kutusu, .hata_kutusu {
    padding: 15px 20px;
    background: rgba(160,82,45,0.12);
    border: 1px solid var(--clay);
    border-left: 3px solid var(--clay);
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.bilgi_kutusu {
    padding: 15px 20px;
    background: var(--gold-dim);
    border: 1px solid var(--gold);
    border-left: 3px solid var(--gold);
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   Shop Cross-Promo Banner
   ========================================================================== */
.shop-promo-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1A2E1A 0%, #2A3E20 100%);
    border: 1px solid var(--gold);
    border-left: 4px solid var(--gold);
    padding: 14px 12px;
    margin-bottom: 24px;
    text-decoration: none;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.shop-promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,150,58,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-promo-banner:hover::before { opacity: 1; }
.shop-promo-banner:hover { border-color: var(--gold-light); transform: translateX(3px); }

.shop-promo-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.shop-promo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.shop-promo-text strong {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.shop-promo-text em {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.shop-promo-text b {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-promo-arrow {
    font-size: 1rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.shop-promo-banner:hover .shop-promo-arrow {
    transform: translateX(4px);
}

/* Inline content-area promo (larger, in page body) */
.shop-promo-inline {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #151E10 0%, #1E2D16 100%);
    border: 1px solid var(--gold);
    padding: 24px 28px;
    margin: 10px 0 40px;
    text-decoration: none;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}

.shop-promo-inline::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(201,150,58,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.shop-promo-inline:hover {
    border-color: var(--gold-light);
    box-shadow: 0 4px 20px rgba(201,150,58,0.15);
}

.shop-promo-inline .promo-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,150,58,0.12);
    border: 1px solid rgba(201,150,58,0.3);
    padding: 4px 10px;
    flex-shrink: 0;
}

.shop-promo-inline .promo-body {
    flex: 1;
}

.shop-promo-inline .promo-body h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 4px;
}

.shop-promo-inline .promo-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.shop-promo-inline .promo-url {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 18px;
    flex-shrink: 0;
    transition: var(--t);
}

.shop-promo-inline:hover .promo-url {
    background: var(--gold);
    color: var(--void);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.temizle { clear: both; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .site-main {
        grid-template-columns: 1fr;
        border: none;
    }

    .sidebar {
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--stone);
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 20px;
        padding: 25px;
    }

    .content { padding: 30px 28px; }
}

@media (max-width: 900px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--void);
        border-top: 1px solid var(--stone);
        padding: 20px 30px;
        flex-direction: column;
    }

    .site-nav.active { display: flex; }

    .site-nav ul {
        flex-direction: column;
        gap: 18px;
    }

    .site-nav a { font-size: 0.82rem; }
    .mobile-menu-btn { display: block; }
}

@media (max-width: 640px) {
    .header-container { padding: 14px 20px; }
    .header-topbar { display: none; }
    .content { padding: 25px 18px; }
    .content h1 { font-size: 2.2rem; }
    .boutique-intro blockquote { font-size: 1.4rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
    .product-detail-view { gap: 25px; }
    .footer-inner { gap: 30px; }
}
