@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary-color: #d3ad7f;
    --secondary-color: #13131a;
    --bg-color: #0e0e11;
    --box-bg: #1e1e24;
    --text-color: #ffffff;
    --light-text: #aaa;
    --main-color: #c0392b;
    --border: .1rem solid rgba(255,255,255,.1);
}

* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none; 
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

section {
    padding: 2rem 9%;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: var(--primary-color);
    cursor: pointer;
    border-radius: 5px;
}

.btn:hover {
    letter-spacing: .2rem;
}

.category-buttons .btn.active {
    background-color: #fff;
    color: var(--secondary-color);
    letter-spacing: .1rem;
}

.header {
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    border-bottom: var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.header .logo {
    font-size: 2.5rem;
    font-weight: bolder;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.header .logo i {
    color: var(--primary-color);
}

.header .navbar {
    display: flex;
    align-items: center;
}

.header .navbar a {
    margin: 0 1rem;
    font-size: 1.6rem;
    color: #fff;
}

.header .navbar a:hover {
    color: var(--primary-color);
}

/* --- DROPDOWN (AÇILIR MENÜ) STİLLERİ --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color); /* ALTIN RENK */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 5px;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--secondary-color) !important; /* Yazı koyu olsun ki altında görünsün */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1.6rem;
    margin: 0 !important; /* Header link margini ezmek için */
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #fff; /* Üzerine gelince beyaz olsun */
    color: var(--primary-color) !important;
    padding-left: 2rem;
}

/* Hover olunca menüyü göster */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ------------------------------------- */

.header .icons div {
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons a {
    font-size: 2.5rem;
    color: #fff;
    margin-left: 2rem;
    cursor: pointer;
    position: relative;
}

.header .icons a #cart-count {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background-color: var(--main-color); 
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    padding: .2rem .6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.header .icons a:hover {
    color: var(--primary-color);
}

.header .icons div:hover {
    color: var(--primary-color);
}

#menu-btn {
    display: none;
}

.home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('fotoğraflar/arkafoto2.png'); 
    background-size: cover;
    background-position: center;
}

.home .content {
    max-width: 60rem;
}

.home .content h3 {
    font-size: 6rem;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.home .content p {
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1.8;
    padding: 1rem 0;
    color: #eee;
}

.heading {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
}

.heading span {
    color: var(--primary-color);
    text-transform: uppercase;
}

.menu .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.menu .box-container .box {
    padding: 3rem;
    text-align: center;
    border: var(--border);
    background-color: var(--box-bg);
    border-radius: 1rem;
}

.menu .box-container .box:hover {
    background-color: #fff; 
}

.menu .box-container .box:hover h3 {
    color: var(--secondary-color);
}

.menu .box-container .box:hover .price {
    color: var(--secondary-color); 
}

.menu .box-container .box:hover .price span {
    color: #666; 
}

.menu .box-container .box:hover .btn {
    background-color: var(--secondary-color);
    color: #fff;
}

.menu .box-container .box .image {
    height: 15rem;
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu .box-container .box .image img {
    height: 100%;
    object-fit: contain;
}

.menu .box-container .box h3 {
    color: #fff;
    font-size: 2.5rem;
    padding: 1rem 0;
    font-family: 'Playfair Display', serif;
}

.menu .box-container .box .stars {
    padding: 1rem 0;
}

.menu .box-container .box .stars i {
    font-size: 1.7rem;
    color: var(--primary-color);
}

.menu .box-container .box .price {
    color: #fff;
    font-size: 2.5rem;
    padding: .5rem 0;
}

.menu .box-container .box .price span {
    font-size: 1.5rem;
    text-decoration: line-through;
    font-weight: lighter;
    margin-left: 1rem;
}

.menu-separator {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0 3rem 0; 
    gap: 2rem;
}

.menu-separator h3 {
    font-size: 3.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: bold;
}

.menu-separator .line {
    height: 3px;
    background: #fff;
    flex: 1;
    max-width: 150px;
    border-radius: 5px;
    opacity: 0.5;
}

.about .row {
    display: flex;
    align-items: center;
    background: var(--secondary-color);
    flex-wrap: wrap;
    border-radius: 1rem;
    overflow: hidden;
}

.about .row .image {
    flex: 1 1 45rem;
}

.about .row .image img {
    width: 100%;
    object-fit: cover;
    height: 50rem;
}

.about .row .content {
    flex: 1 1 45rem;
    padding: 4rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
}

.about .row .content p {
    font-size: 1.6rem;
    color: #ccc;
    line-height: 1.8;
    padding: 1rem 0;
}

.contact .row {
    display: flex;
    background: var(--secondary-color);
    flex-wrap: wrap;
    gap: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

.contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
    min-height: 40rem;
    border: none;
}

.contact .row form {
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
}

.contact .row form h3 {
    text-transform: uppercase;
    font-size: 3.5rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.contact .row form .inputBox {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background: var(--bg-color);
    border: var(--border);
    padding: 1.5rem;
    border-radius: 5px;
}

.contact .row form .inputBox span {
    color: #fff;
    font-size: 2rem;
    padding-left: 1rem;
}

.contact .row form .inputBox input {
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
    color: #fff;
    text-transform: none;
    background: none;
}

.contact .row form .inputBox:focus-within {
    border-color: var(--primary-color);
}

.header .search-form {
    position: absolute;
    top: 115%;
    right: 7%;
    background: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
    border-radius: 5px;
}

.header .search-form.active {
    transform: scaleY(1);
}

.header .search-form input {
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color: var(--secondary-color);
    padding: 1rem;
    text-transform: none;
    border-radius: 5px;
}

.header .search-form label {
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--secondary-color);
}

.header .search-form label:hover {
    color: var(--primary-color);
}

@media (max-width: 991px) {
    html { font-size: 55%; }
    .header { padding: 1.5rem 2rem; }
}

@media (max-width: 768px) {
    #menu-btn { display: inline-block; }
    
    .header .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        background: #fff;
        width: 30rem;
        height: auto; /* Değiştirildi */
        min-height: calc(100vh - 9.5rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .header .navbar.active {
        right: 0;
    }
    
    .header .navbar a, .header .navbar .dropdown .dropbtn {
        color: var(--secondary-color);
        display: block;
        margin: 1.5rem;
        padding: .5rem;
        font-size: 2rem;
    }

    /* Mobilde Dropdown Ayarları */
    .dropdown {
        display: block;
        width: 100%;
        text-align: center;
    }
    .dropdown-content {
        position: relative;
        min-width: 100%;
        box-shadow: none;
        background-color: #f9f9f9;
    }
    .dropdown-content a {
        padding-left: 0;
        text-align: center;
    }
}


.header .icons .cart-btn {
    position: relative;
    font-size: 2.5rem;
    color: #fff;
    margin-left: 2rem;
    cursor: pointer;
    display: inline-block; 
}

.header .icons .cart-btn i {
    color: #fff;
    transition: 0.2s;
}

.header .icons .cart-btn:hover i {
    color: var(--primary-color);
}

.header .icons .cart-btn #cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #c0392b;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    height: 2rem;
    width: 2rem;
    line-height: 2rem;
    text-align: center;
    border-radius: 50%;
    font-family: 'Nunito', sans-serif; 
    z-index: 100; 
    display: none;
}

/* --- BUTON CAM EFEKTİ STİLLERİ --- */

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: var(--primary-color);
    cursor: pointer;
    border-radius: 5px;
    
    /* YENİ ÖZELLİKLER: Cam efekti için gerekli */
    position: relative;  /* İçindeki ışığı konumlandırmak için */
    overflow: hidden;    /* Işığın buton dışına taşmasını engellemek için */
    z-index: 1;          /* Yazının ışığın üstünde kalması için */
    transition: 0.3s;
}

/* --- BUTON STİLLERİ (Kalıcı Cam Efektli) --- */

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    /* Butonun kendi ana rengi */
    background-color: var(--primary-color);
    cursor: pointer;
    border-radius: 5px;
    
    /* Gerekli Ayarlar */
    position: relative;  /* Cam katmanı buna göre konumlanacak */
    overflow: hidden;    /* Dışarı taşan kısımları gizle */
    z-index: 1;          /* Yazının en üstte kalmasını sağlar */
    transition: all 0.3s ease; /* Genel yumuşak geçiş */
}

/* CAM KATMANI (Sanal Element) */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* CAM GÖRÜNÜMÜ AYARLARI */
    /* 1. Çok hafif beyaz, şeffaf bir dolgu (Parlak değil, mat) */
    background-color: rgba(255, 255, 255, 0.15);
    
    /* 2. Hafif bir iç gölge ile derinlik hissi */
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
    
    /* 3. Camın sol kenarına ince bir çizgi */
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    
    /* BAŞLANGIÇ POZİSYONU: Sağ tarafta gizli */
    transform: translateX(100%);
    
    /* Yazının hemen arkasında, buton renginin önünde duracak */
    z-index: -1;
    
    /* Gelme animasyonunun hızı ve yumuşaklığı */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* HOVER DURUMU (Mouse üzerine gelince) */
.btn:hover {
    /* Yazının cam üzerinde daha net okunması için hafif gölge */
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Mouse gelince cam katmanı sağdan sola kayıp yerine otursun */
.btn:hover::after {
    transform: translateX(0); /* Konumu 0'a (tam üstüne) getir */
}