﻿/* =========================================================
   LOFT HALI - style.css
   ========================================================= */

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    color: #171717;
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

/* ---------- TOPBAR ---------- */
.topbar {
    height: 36px;
    background: #0d0e0f;
    color: #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    font-size: 11px
}

    .topbar a {
        margin-left: 16px
    }

.sep {
    opacity: .35
}

/* ---------- HEADER ---------- */
.header {
    height: 74px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 3.5%;
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid #eee
}

.logo {
    width: 170px;
    display: flex;
    flex-direction: column;
    line-height: .8;
    font-family: Georgia, serif
}

    .logo strong {
        font-size: 34px;
        letter-spacing: 1px
    }

    .logo small {
        font-size: 11px;
        letter-spacing: 5px;
        margin-left: 28px;
        margin-top: 9px
    }

.nav {
    display: flex;
    gap: 28px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto
}

    .nav a:hover {
        opacity: .55
    }

.header-actions {
    display: flex;
    align-items: stretch;
    margin-left: 30px;
    height: 100%
}

.search {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    margin: 15px 0 15px 0;
    border-radius: 2px
}

    .search input {
        width: 180px;
        border: 0;
        background: transparent;
        outline: 0;
        padding: 10px 12px;
        font-size: 11px
    }

    .search button {
        border: 0;
        background: transparent;
        font-size: 20px;
        cursor: pointer
    }

.dealer-btn {
    width: 105px;
    border: 0;
    background: #b08a43;
    color: white;
    font-weight: 700;
    font-size: 11px;
    line-height: 1.35;
    cursor: pointer
}

    .dealer-btn span {
        font-size: 18px
    }

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 24px
}

/* ---------- HERO ---------- */
.hero {
    height: 600px;
    position: relative;
    background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.28) 60%, rgba(0,0,0,.05)), url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2000&q=85") center/cover;
    display: flex;
    align-items: center;
    color: #fff
}

.hero-content {
    margin-left: 8%;
    max-width: 570px
}

.eyebrow {
    font-size: 11px;
    letter-spacing: 2px
}

.hero h1 {
    font: 500 52px/1.1 "Playfair Display", Georgia, serif;
    margin: 20px 0
}

.hero p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 430px
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    border: 1px solid #b08a43
}

    .btn.gold {
        background: #b08a43;
        color: #fff
    }

    .btn.outline {
        color: #fff;
        background: transparent
    }

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    display: flex;
    gap: 9px
}

    .slider-dots span {
        width: 25px;
        height: 3px;
        background: #aaa
    }

    .slider-dots .active {
        background: #fff
    }

/* ---------- BENEFITS ---------- */
.benefits {
    background: #111;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 5%;
    gap: 30px
}

    .benefits > div {
        display: flex;
        gap: 16px;
        align-items: center;
        border-right: 1px solid #333
    }

        .benefits > div:last-child {
            border: 0
        }

    .benefits b {
        color: #c09b56;
        font-size: 24px
    }

    .benefits strong, .benefits small {
        display: block
    }

    .benefits strong {
        font-size: 10px;
        letter-spacing: 1px
    }

    .benefits small {
        font-size: 10px;
        color: #bbb;
        margin-top: 6px
    }

/* ---------- SECTION ---------- */
.section {
    padding: 75px 5%
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 28px
}

    .section-head h2 {
        font: 500 31px "Playfair Display", Georgia, serif;
        margin: 8px 0 0
    }

    .section-head > a {
        font-size: 11px
    }

.dark {
    color: #777
}

/* ---------- KOLEKSİYONLAR ---------- */
.collections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.collection {
    height: 350px;
    background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.05)), var(--bg) center / contain no-repeat;
    background-color: transparent;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    transition: transform .25s
}

    .collection:hover {
        transform: translateY(-4px)
    }

    .collection > div {
        position: absolute;
        bottom: 24px;
        width: 100%;
        text-align: center
    }

    .collection span {
        font-size: 21px
    }

    .collection h3 {
        font: 500 17px/1.35 "Playfair Display", serif;
        margin: 10px
    }

    .collection a {
        display: inline-block;
        border: 1px solid #fff;
        padding: 8px 17px;
        font-size: 9px
    }

/* ---------- ÜRÜNLER ---------- */
.products-section {
    padding-top: 20px
}

.products {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px
}

.product {
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: .25s
}

    .product:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px #00000010
    }

.product-img {
    height: 310px;
    background-size: cover;
    background-position: center;
    position: relative
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #111;
    color: #fff;
    padding: 5px 8px;
    font-size: 8px
}

.heart {
    position: absolute;
    right: 10px;
    top: 9px;
    background: #fff;
    border: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: #333;
    transition: color .2s
}

    .heart.active {
        color: #c0392b
    }

.product-info {
    padding: 14px
}

    .product-info h3 {
        font-size: 13px;
        margin: 0 0 4px
    }

    .product-info p {
        font-size: 10px;
        color: #777;
        margin: 0 0 14px
    }

.sizes {
    font-size: 9px;
    color: #555;
    margin-bottom: 15px
}

.detail {
    font-size: 10px
}

/* ---------- HAKKIMIZDA ---------- */
.about {
    background: #121313;
    color: #fff;
    padding: 80px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px
}

    .about h2 {
        font: 500 43px/1.15 "Playfair Display", serif;
        margin: 15px 0
    }

    .about p {
        color: #bbb;
        line-height: 1.9;
        font-size: 14px;
        max-width: 560px
    }

/* ---------- HARİTA ---------- */
.map-section {
    width: 100%;
    line-height: 0
}

    .map-section iframe {
        display: block;
        width: 100%
    }

/* ---------- QUICK MENU ---------- */
.quick-menu {
    position: fixed;
    right: 0;
    top: 35%;
    z-index: 30;
    background: #161616;
    color: #fff;
    display: flex;
    flex-direction: column
}

    .quick-menu a, .quick-menu button {
        width: 68px;
        height: 76px;
        border: 0;
        border-bottom: 1px solid #444;
        background: none;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        cursor: pointer
    }

    .quick-menu small {
        font-size: 9px
    }

    .quick-menu a:first-child {
        color: #fff
    }

        .quick-menu a:first-child small {
            color: #fff
        }

/* ---------- FOOTER ---------- */
footer {
    background: #0d0e0f;
    color: #aaa;
    padding: 50px 5% 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr 1fr 1.2fr;
    gap: 30px
}

.footer-brand {
    color: #fff;
    font: 40px Georgia, serif;
    display: flex;
    flex-direction: column;
    line-height: .8
}

    .footer-brand small {
        font: 10px "DM Sans";
        letter-spacing: 5px;
        margin: 9px 0 0 34px
    }

.footer-grid p {
    font-size: 11px;
    line-height: 1.8
}

.footer-grid h4 {
    font-size: 10px;
    color: #fff;
    letter-spacing: 1px
}

.footer-grid a {
    display: block;
    font-size: 10px;
    margin: 11px 0
}

.copyright {
    border-top: 1px solid #292929;
    margin-top: 35px;
    padding-top: 18px;
    font-size: 9px
}

/* ---------- MODAL ---------- */
.modal {
    position: fixed;
    inset: 0;
    background: #0009;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100
}

    .modal.open {
        display: flex
    }

.modal-card {
    position: relative;
    background: #fff;
    width: min(460px, 92%);
    padding: 42px;
    border-radius: 5px
}

    .modal-card h2 {
        font: 500 32px "Playfair Display";
        margin: 10px 0
    }

    .modal-card p {
        font-size: 12px;
        color: #666;
        line-height: 1.7
    }

.close {
    position: absolute;
    right: 15px;
    top: 12px;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer
}

.modal form {
    display: grid;
    gap: 15px;
    margin-top: 25px
}

.modal label {
    font-size: 10px;
    font-weight: 700
}

.modal input {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 13px;
    border: 1px solid #ddd;
    outline: 0
}

.modal .btn {
    width: 100%;
    cursor: pointer
}

.demo-note {
    display: block;
    color: #999;
    margin-top: 18px;
    font-size: 9px;
    line-height: 1.5
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

    .logo img {
        display: block;
        width: 145px;
        max-width: 100%;
        height: auto;
        max-height: 64px;
        object-fit: contain;
    }

.footer-logo {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .footer-logo {
        width: 120px;
        margin: 0 auto;
    }
}

/* Tablet ve telefon */
@media (max-width: 768px) {
    .logo img {
        width: 110px;
        max-height: 46px;
    }
}

/* Küçük telefon */
@media (max-width: 480px) {
    .logo img {
        width: 92px;
        max-height: 40px;
    }
}



/* ---------- RESPONSIVE ---------- */

/* 1200px: Ürün gridi 4 sütun */
@media (max-width: 1200px) {
    .products {
        grid-template-columns: repeat(4, 1fr)
    }
}

/* 1024px: Koleksiyonlar 2 sütun */
@media (max-width: 1024px) {
    .collections {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* 1000px: Genel daraltma */
@media (max-width: 1000px) {
    .nav {
        gap: 14px
    }

    .search {
        display: none
    }

    .collections {
        grid-template-columns: repeat(3, 1fr)
    }

    .products {
        grid-template-columns: repeat(3, 1fr)
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr)
    }

        .benefits > div:nth-child(2) {
            border: 0
        }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

/* 700px: Mobil */
@media (max-width: 700px) {
    .topbar {
        padding: 0 16px;
        justify-content: flex-end;
        font-size: 9px
    }

        .topbar > span {
            display: none
        }

    .header {
        height: 68px;
        padding: 0 16px
    }

    .logo {
        width: auto
    }

        .logo strong {
            font-size: 28px
        }

    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        flex-direction: column;
        gap: 18px;
        border-bottom: 1px solid #ddd
    }

        .nav.open {
            display: flex
        }

    .menu-toggle {
        display: block;
        margin-left: auto
    }

    .header-actions {
        margin-left: 10px
    }

    .dealer-btn {
        width: 70px;
        font-size: 9px
    }

    .hero {
        height: 540px
    }

    .hero-content {
        margin: 0 25px
    }

    .hero h1 {
        font-size: 39px
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start
    }

    .benefits {
        grid-template-columns: 1fr;
        padding: 20px 25px
    }

        .benefits > div {
            border-right: 0;
            border-bottom: 1px solid #333;
            padding: 10px 0
        }

    .section {
        padding: 55px 20px
    }

    .section-head {
        align-items: start
    }

        .section-head > a {
            display: none
        }

    .collections {
        grid-template-columns: repeat(2, 1fr)
    }

    .collection {
        height: 270px
    }

        .collection:last-child {
            grid-column: span 2
        }

    .products {
        grid-template-columns: repeat(2, 1fr)
    }

    .product-img {
        height: 230px
    }

    .about {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 60px 25px
    }

        .about h2 {
            font-size: 34px
        }

    .quick-menu {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-brand {
        grid-column: span 2
    }
}

/* 640px: Koleksiyonlar tek sütun */
@media (max-width: 640px) {
    .collections {
        grid-template-columns: 1fr
    }

    .collection:last-child {
        grid-column: auto
    }
}

.footer-grid .footer-brand {
    width: 140px;
    min-width: 140px;
    overflow: hidden;
}

    .footer-grid .footer-brand img.footer-logo {
        display: block !important;
        width: 140px !important;
        max-width: 140px !important;
        height: auto !important;
        object-fit: contain;
    }

/* Mobil görünüm */
@media (max-width: 768px) {
    .footer-grid .footer-brand {
        width: 110px;
        min-width: 110px;
        margin: 0 auto;
    }

        .footer-grid .footer-brand img.footer-logo {
            width: 110px !important;
            max-width: 110px !important;
        }
}
@media (max-width: 480px) {
    .footer-grid .footer-brand {
        width: 95px;
        min-width: 95px;
    }

        .footer-grid .footer-brand img.footer-logo {
            width: 95px !important;
            max-width: 95px !important;
        }
}
