/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6, .logo h1 {
    font-family: 'Playfair Display', serif;
    color: #000;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

header .container {
    position: relative;
    display: flex;
    justify-content: center; /* Nav'ı ortaya iter */
    align-items: center;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #888;
}

.user-section {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-section input {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    width: 200px;
    border-radius: 4px;
}

.user-section button {
    background: #000;
    color: #fff;
    border: 1px solid #000;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
}

.user-section button:hover {
    background: #fff;
    color: #000;
}

.nav-icon {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    margin-left: 15px;
    transition: opacity 0.3s;
    position: relative;
}

.nav-icon:hover {
    opacity: 0.7;
}

.nav-icon .count {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #000;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    min-width: 18px;
    text-align: center;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

section {
    padding: 80px 0;
}

#hero {
    background: #f8f8f8;
    text-align: center;
    padding: 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    margin: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.slider-content h2 {
    font-size: 4rem;
    margin-bottom: 15px;
    letter-spacing: 5px;
    font-weight: normal;
    color: #fff;
}

.slider-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-weight: 300;
}

.slider-content button {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 15px 35px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s;
    border-radius: 0;
}

.slider-content button:hover {
    background: white;
    color: black;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    padding: 15px;
    font-size: 30px;
    cursor: pointer;
    transition: opacity 0.3s;
    z-index: 2;
    opacity: 0.5;
}

.slider-arrow:hover {
    opacity: 1;
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

h3 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 2px;
}

#categories {
    padding: 60px 0;
    position: relative;
}

/* Kategori Çemberleri (Lüks Dergi Tarzı) */
.categories-wrapper {
    position: relative;
    margin-top: 20px;
}

.categories-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.categories-container::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 220px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.category-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.category-card:hover img {
    opacity: 0.75;
}

.category-content {
    padding: 15px 10px;
    text-align: center;
}

.category-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: white;
    color: black;
    border: 1px solid #e0e0e0;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 20;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.category-arrow:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.category-prev { left: 10px; }
.category-next { right: 10px; }

/* Grid Layout & Lookbook Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 50px 30px;
}

.card {
    background: transparent;
    border: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 420px; /* Katalog görünümü için uzun portre oranı */
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover img {
    transform: scale(1.04);
}

.card-content {
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sadece Marka Adı Gösterimi */
.card p {
    color: #000;
    margin: 0 0 15px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px; /* Lüks algısı için geniş boşluk */
}

.card .favorite-btn {
    background: transparent;
    color: #000;
    border: 1px solid #e0e0e0;
    padding: 10px 25px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    width: auto;
    border-radius: 4px;
}

.card .favorite-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

#sale-products {
    background: #fafafa;
    padding: 80px 0;
}

/* Search Section */
#search-section {
    background: #f8f8f8;
    padding: 60px 0;
    text-align: center;
}

#search-input {
    width: 400px;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-right: 20px;
    border-radius: 4px;
}

#search-btn {
    padding: 15px 30px;
    background: #000;
    color: white;
    border: 1px solid #000;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 4px;
}

#search-btn:hover {
    background: #fff;
    color: #000;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 25px;
    text-align: center;
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* Siyah yerine beyaz/transparan lüks görünüm */
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 50px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #000;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s;
}

.close:hover {
    opacity: 0.5;
}

.search-modal-content {
    max-width: 600px;
    text-align: center;
    padding: 60px 40px;
}

.search-modal-content form {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.search-modal-content input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

.search-modal-content button {
    padding: 15px 30px;
    background: #000;
    color: white;
    border: 1px solid #000;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- MOBİL MENÜ BUTON STİLİ --- */
.mobile-menu-btn {
    display: none ;
    font-size: 28px;
    cursor: pointer;
    margin-left: 15px;
    user-select: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0;
    }
    
    /* İkonlar ve Mobil Menü Butonunu aynı hizada tutmak için kapsayıcı ayarı */
    .user-section {
        position: relative;
        transform: none;
        top: auto;
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: block; /* Mobilde hamburger butonu göster */
    }

    /* Merhaba, İsim kısmını mobilde gizle (yerden tasarruf) */
    .user-greeting {
        display: none !important; 
    }

    /* Dinamik Navigasyon (Kategoriler) Alanı */
    #main-nav {
        display: none; /* Tıklanana kadar gizli */
        width: 100%;
        order: 4; /* Alt satıra atar */
        background: #fff;
        padding: 15px 0;
        border-top: 1px solid #eee;
        margin-top: 15px;
    }

    nav ul {
        flex-direction: column; /* Alt alta sırala */
        flex-wrap: nowrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
        padding: 0;
    }

    nav ul li { 
        margin: 0; 
        text-align: center;
    }

    .slider { height: 500px; }
    
    .slider-content h2 { font-size: 2.5rem; }
    .slider-content p { font-size: 1rem; }

    .category-card { flex: 0 0 160px; }
    .category-card img { height: 220px; }
    
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 30px 20px;
    }

    .card img { height: 320px; }
    .card p { font-size: 11px; letter-spacing: 2px; }

    .slider-arrow { display: none; }
    .category-arrow { display: none; }

    .search-modal-content form { flex-direction: column; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .slider { height: 400px; }
    
    .slider-content h2 { font-size: 2rem; }
    
    .grid { grid-template-columns: 1fr; }
    
    .card img { height: 450px; }
    
    .category-card { flex: 0 0 140px; }
    .category-card img { height: 180px; }

    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }
}