/* =====================================================================
   Albüm Beta — Ana sayfa (SUP-0315)
   Fotoğraf laboratuvarı / albüm atölyesi vitrini. Yalnızca tema
   değişkenlerini kullanır; style.css'teki kurallara dokunmaz, üstüne biner.
   Bölümler: hero ayarı · vitrin (bento) · seriler · fotoğrafçılara özel ·
   galeri · iletişim şeridi
   ===================================================================== */

/* ---------------------------------------------------------------------
   HERO — gerçek ürün görselli slaytlar biraz daha yüksek
   ------------------------------------------------------------------- */
@media (min-width: 992px) {
    .hero-slide, .hero-content { min-height: 540px; }
}
.hero-title { font-family: var(--serif); letter-spacing: -.3px; }
@media (max-width: 767px) {
    /* Ürün fotoğrafı slayt görselinin sağında: telefonda o tarafı göster */
    .hero-slide img { object-position: 82% center; }
}

/* Ortak küçük başlık */
.hm-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
    color: var(--accent);
}
.hm-eyebrow svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------------
   VİTRİN BLOKLARI — bento ızgara
   ------------------------------------------------------------------- */
.hm-showcase { padding-bottom: 40px; }
.hm-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 230px;
    gap: 16px;
}
.hm-tile {
    position: relative; overflow: hidden; display: block;
    grid-column: span 4;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
    color: #fff; isolation: isolate;
}
/* 6 kart: büyük + yan + 4 küçük şeklinde */
.hm-bento-6 .hm-tile:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.hm-bento-6 .hm-tile:nth-child(2) { grid-column: span 5; }
.hm-bento-6 .hm-tile:nth-child(3) { grid-column: span 5; }
.hm-bento-6 .hm-tile:nth-child(n+4) { grid-column: span 4; }
.hm-bento-5 .hm-tile:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.hm-bento-5 .hm-tile:nth-child(-n+3):not(:first-child) { grid-column: span 6; }
.hm-bento-5 .hm-tile:nth-child(n+4) { grid-column: span 6; }

.hm-tile img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
    transition: transform .8s var(--ease-out);
}
.hm-tile::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(var(--ink-rgb), 0) 35%, rgba(var(--ink-rgb), .78) 100%);
    transition: opacity .3s var(--ease);
}
.hm-tile:hover img { transform: scale(1.06); }
.hm-tile-body {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 22px 24px;
    display: flex; flex-direction: column; gap: 3px;
}
.hm-tile-sub { font-size: 13px; opacity: .85; }
.hm-tile-title {
    font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; font-weight: 700;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}
.hm-bento-6 .hm-tile:nth-child(1) .hm-tile-title,
.hm-bento-5 .hm-tile:nth-child(1) .hm-tile-title { font-size: 2.1rem; }
.hm-tile-cta {
    display: inline-flex; align-items: center; gap: 4px; margin-top: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
    opacity: .9;
}
.hm-tile-cta svg { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.hm-tile:hover .hm-tile-cta svg { transform: translateX(4px); }

@media (max-width: 991px) {
    .hm-bento { grid-auto-rows: 190px; gap: 12px; }
    .hm-bento .hm-tile:nth-child(n) { grid-column: span 6; grid-row: auto; }
    .hm-bento .hm-tile:nth-child(1) { grid-column: span 12; grid-row: span 2; }
    /* tek sayıda küçük kart kalırsa sonuncusu tam genişlik */
    .hm-bento-6 .hm-tile:last-child,
    .hm-bento-4 .hm-tile:last-child { grid-column: span 12; }
}
@media (max-width: 560px) {
    .hm-bento { grid-auto-rows: 168px; gap: 10px; }
    .hm-bento .hm-tile:nth-child(1) { grid-row: span 1; }
    .hm-tile-body { padding: 14px 14px; }
    .hm-tile-title,
    .hm-bento .hm-tile:nth-child(1) .hm-tile-title { font-size: 1.12rem; }
    .hm-tile-sub { display: none; }
    .hm-tile-cta { display: none; }
}

/* ---------------------------------------------------------------------
   ALBÜM SERİLERİ — yelpaze kapaklar
   ------------------------------------------------------------------- */
.hm-series { background: var(--surface); }
.hm-series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-series-card {
    display: flex; flex-direction: column;
    background: var(--cream); border-radius: var(--radius-lg);
    padding: 26px 24px 22px; color: var(--ink);
    border: 1px solid var(--border-soft);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease);
}
.hm-series-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hm-fan { position: relative; height: 250px; display: block; margin-bottom: 20px; }
.hm-fan img {
    position: absolute; top: 10px; left: 50%;
    width: 52%; height: 220px; object-fit: cover;
    border-radius: 10px; border: 4px solid #fff;
    box-shadow: 0 10px 28px rgba(var(--ink-rgb), .18);
    transition: transform .45s var(--ease-out);
}
.hm-fan img:nth-child(1) { transform: translateX(-95%) rotate(-8deg); }
.hm-fan img:nth-child(2) { transform: translateX(-5%) rotate(8deg); }
.hm-fan img:last-child   { transform: translateX(-50%) translateY(-6px); z-index: 2; }
.hm-fan img:only-child   { transform: translateX(-50%); }
.hm-series-card:hover .hm-fan img:nth-child(1) { transform: translateX(-105%) rotate(-11deg); }
.hm-series-card:hover .hm-fan img:nth-child(2) { transform: translateX(5%) rotate(11deg); }
.hm-series-body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hm-series-count {
    align-self: flex-start;
    font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 100px;
}
.hm-series-body strong { font-family: var(--serif); font-size: 1.5rem; }
.hm-series-desc { color: var(--ink-soft); font-size: 14px; }
.hm-series-foot {
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 800; font-size: 1.05rem;
}
.hm-series-foot small { font-weight: 500; color: var(--muted); font-size: 12px; }
.hm-series-go {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff;
    transition: background .2s var(--ease);
}
.hm-series-go svg { width: 16px; height: 16px; }
.hm-series-card:hover .hm-series-go { background: var(--accent); color: var(--on-accent); }

@media (max-width: 991px) {
    .hm-series-grid { grid-template-columns: 1fr; gap: 16px; }
    .hm-series-card { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; }
    .hm-fan { height: 200px; margin: 0; }
    .hm-fan img { height: 170px; }
}
@media (max-width: 560px) {
    .hm-series-card { grid-template-columns: 1fr; padding: 20px 18px; }
    .hm-fan { height: 190px; }
    .hm-fan img { width: 46%; height: 165px; }
}

/* ---------------------------------------------------------------------
   FOTOĞRAFÇILARA ÖZEL ŞERİT
   ------------------------------------------------------------------- */
.hm-pro {
    background:
        radial-gradient(900px 400px at 85% 0%, rgba(var(--accent-rgb), .28), transparent 60%),
        linear-gradient(135deg, var(--hero-from), var(--hero-to));
    color: #fff; padding: 64px 0;
}
.hm-pro-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hm-pro .hm-eyebrow { color: #fff; opacity: .85; }
.hm-pro h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 12px 0 12px; font-family: var(--serif); }
.hm-pro p { color: rgba(255, 255, 255, .82); font-size: 16px; margin: 0; max-width: 480px; }
.hm-pro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hm-btn-ghost {
    background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5);
}
.hm-btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hm-pro-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-pro-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 24px 22px; border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff; backdrop-filter: blur(6px);
    transition: background .25s var(--ease), transform .3s var(--ease-out);
}
.hm-pro-card:hover { background: rgba(255, 255, 255, .14); transform: translateY(-3px); color: #fff; }
.hm-pro-ico {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: var(--on-accent);
}
.hm-pro-ico svg { width: 22px; height: 22px; }
.hm-pro-card strong { font-size: 1.15rem; margin-top: 6px; }
.hm-pro-card span { font-size: 14px; color: rgba(255, 255, 255, .78); }
.hm-pro-card em {
    font-style: normal; font-weight: 700; font-size: 13px; margin-top: auto; padding-top: 8px;
    display: inline-flex; align-items: center; gap: 4px;
}
.hm-pro-card em svg { width: 14px; height: 14px; }
@media (max-width: 991px) {
    .hm-pro-inner { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
    .hm-pro { padding: 44px 0; }
    .hm-pro-cards { grid-template-columns: 1fr; }
    .hm-pro-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------
   ATÖLYEDEN KARELER — sütun tabanlı masonry
   ------------------------------------------------------------------- */
.hm-masonry { column-count: 5; column-gap: 14px; }
.hm-shot {
    display: block; position: relative; overflow: hidden;
    margin: 0 0 14px; break-inside: avoid;
    border-radius: var(--radius); background: var(--cream);
}
.hm-shot img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease-out); }
.hm-shot span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 26px 12px 10px; font-size: 13px; font-weight: 600; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(var(--ink-rgb), .75));
    opacity: 0; transform: translateY(6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease-out);
}
.hm-shot:hover img { transform: scale(1.05); }
.hm-shot:hover span, .hm-shot:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 1100px) { .hm-masonry { column-count: 4; } }
@media (max-width: 767px)  { .hm-masonry { column-count: 2; column-gap: 10px; } .hm-shot { margin-bottom: 10px; } }

/* ---------------------------------------------------------------------
   İLETİŞİM ŞERİDİ
   ------------------------------------------------------------------- */
.hm-contact { padding: 0 0 64px; }
.hm-contact-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 30px 34px; box-shadow: var(--shadow);
}
.hm-contact h2 { margin: 0 0 6px; font-size: 1.5rem; font-family: var(--serif); }
.hm-contact p { margin: 0; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.hm-contact p svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.hm-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hm-contact-actions .btn svg { width: 18px; height: 18px; }
.hm-btn-wa { background: #25d366; color: #fff; border-color: #25d366; }
.hm-btn-wa:hover { background: #1ebe5a; color: #fff; border-color: #1ebe5a; }
.hm-btn-wa svg { fill: currentColor; }
@media (max-width: 560px) {
    .hm-contact-inner { padding: 22px 18px; }
    .hm-contact-actions { width: 100%; }
    .hm-contact-actions .btn { flex: 1 1 100%; justify-content: center; }
}
