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

:root {
    --primary-color: #d4af37;
    /* Altın Sarısı */
    --bg-color: #0a0a0a;
    /* Koyu Siyah */
    --text-color: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    /* Animasyon taşmalarını önler */
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
}

/* Navigasyon Barı */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Sepet İkonu ve Sayı (Badge) */
.cart-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-badge {
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
    transition: background 0.3s;
}

/* Hero / İlk Görünüm */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.95)), url('https://images.unsplash.com/photo-1515562141207-7a8efbc88a50?auto=format&fit=crop&q=80&w=2000') center/cover;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    /* GSAP ile görünür olacak */
    transform: translateY(50px);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
}

.cta-btn {
    padding: 1rem 3rem;
    font-size: 1rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    opacity: 0;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* Hero Görsel (Şəkil) Alanı */
.hero-image-box {
    position: relative;
    max-width: 420px;
    width: 100%;
    z-index: 1;
}

.hero-image-box img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 200px 200px 0 0;
    /* Lüks kemer (arch) görünümü */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.hero-image-backdrop {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 200px 200px 0 0;
    z-index: 1;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 8rem;
        height: auto;
        min-height: 100vh;
        gap: 4rem;
    }

    .hero-image-box {
        max-width: 320px;
    }

    .hero-image-box img {
        height: 420px;
    }
}

/* Koleksiyonlar */
.collections {
    padding: 8rem 5%;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background: #111;
    padding: 2rem;
    border-radius: 5px;
    transition: transform 0.4s;
    opacity: 0;
    /* GSAP ScrollTrigger için */
    transform: translateY(60px);
}

.product-card:hover {
    transform: translateY(-15px) !important;
    /* GSAP üzerine yazmasını önler */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

.product-card:hover .img-wrapper img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.add-to-cart {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease, background 0.3s, color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart:hover {
    background: #fff;
    color: #000;
}

.product-card:hover .add-to-cart {
    transform: translateY(0);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Hakkımızda */
.about {
    padding: 10rem 5%;
    background: #151515;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
}

/* Parallax Banner */
.parallax-banner {
    padding: 8rem 5%;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1611591437281-460bfbe1220a?auto=format&fit=crop&q=80&w=2000') center/cover fixed;
    margin: 4rem 0;
}

.parallax-banner h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.parallax-banner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #fff;
    line-height: 1.6;
}

/* E-Bülten (Newsletter) */
.newsletter {
    padding: 6rem 5%;
    background: #0d0d0d;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    color: #aaa;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    outline: none;
    font-family: inherit;
    border-radius: 3px;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #fff;
}

footer {
    text-align: center;
    padding: 3rem;
    background: #050505;
    font-size: 0.9rem;
    color: #555;
}

/* İncele Sayfası (Product Detail) Özel Stiller */
.product-detail {
    padding: 12rem 5% 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, #151515 0%, var(--bg-color) 100%);
}

.detail-container {
    display: flex;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

.detail-img {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.detail-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(1.15);
    /* GSAP ile 1'e inecek */
}

.detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.detail-price {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.detail-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #222;
}

.detail-features {
    list-style: none;
    margin-bottom: 3rem;
}

.detail-features li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #999;
    display: flex;
    align-items: center;
}

.detail-features li::before {
    content: "✦";
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

.detail-features li strong {
    color: #fff;
    margin-right: 0.5rem;
    font-weight: 500;
}

.cart-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.quantity-box {
    display: flex;
    align-items: center;
    border: 1px solid #444;
    border-radius: 4px;
    overflow: hidden;
    height: 55px;
}

.quantity-box button {
    background: #111;
    color: #fff;
    border: none;
    width: 45px;
    height: 100%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-box button:hover {
    background: var(--primary-color);
    color: #000;
}

.quantity-box input {
    width: 60px;
    height: 100%;
    background: #000;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    padding: 0 3rem;
    height: 55px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

@media (max-width: 900px) {
    .detail-container {
        flex-direction: column;
        gap: 3rem;
    }

    .product-detail {
        padding-top: 8rem;
    }

    .detail-title {
        font-size: 2.5rem;
    }
}

/* --- Sepet (Cart) Sayfası Stilleri --- */
.cart-page {
    padding: 10rem 5% 6rem;
    min-height: 100vh;
    background: var(--bg-color);
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

.cart-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.cart-items {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    background: #111;
    padding: 1.5rem;
    border-radius: 5px;
    gap: 2rem;
    position: relative;
    border: 1px solid #222;
}

.cart-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.cart-item-qty {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.remove-item {
    background: transparent;
    color: #ff4c4c;
    border: 1px solid #ff4c4c;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.remove-item:hover {
    background: #ff4c4c;
    color: #fff;
}

.cart-summary {
    flex: 1;
    background: #111;
    padding: 2.5rem;
    border-radius: 5px;
    position: sticky;
    top: 120px;
    border: 1px solid #222;
}

.cart-summary h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: #ccc;
    font-size: 1.1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    margin-top: 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 3px;
    transition: background 0.3s, transform 0.3s;
    letter-spacing: 1px;
}

.checkout-btn:hover {
    background: #fff;
    transform: translateY(-3px);
}

.empty-cart-msg {
    text-align: center;
    color: #aaa;
    font-size: 1.2rem;
    padding: 4rem 0;
    background: #111;
    border-radius: 5px;
    border: 1px solid #222;
}

@media (max-width: 900px) {
    .cart-content {
        flex-direction: column;
    }

    .cart-summary {
        width: 100%;
    }

    .checkout-content {
        flex-direction: column;
    }

    .checkout-summary,
    .checkout-form-section {
        width: 100%;
    }
}

/* --- Checkout (Siparişi Tamamla) Sayfası Stilleri --- */
.checkout-page {
    padding: 10rem 5% 6rem;
    min-height: 100vh;
    background: var(--bg-color);
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

.checkout-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.checkout-form-section {
    flex: 2;
    background: #111;
    padding: 2.5rem;
    border-radius: 5px;
    border: 1px solid #222;
}

.checkout-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 3px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.checkout-summary {
    flex: 1;
    background: #111;
    padding: 2.5rem;
    border-radius: 5px;
    position: sticky;
    top: 120px;
    border: 1px solid #222;
}

.checkout-summary h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.checkout-item-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 0.95rem;
}

.checkout-item-line span:last-child {
    color: #fff;
}

/* --- Auth (Login & Register) Sayfaları Stilleri --- */
.auth-page {
    padding: 10rem 5% 6rem;
    min-height: 100vh;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-box {
    background: #111;
    padding: 4rem 3rem;
    border-radius: 5px;
    border: 1px solid #222;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.auth-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.auth-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.auth-link:hover {
    color: var(--primary-color);
}