:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #161616;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #fca311;
    --accent-hover: #e09100;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --spacing-container: 1200px;
    --modal-bg: #1a1a1a;
    --border-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    z-index: 0;
}

/* Watermark Logo Overlay */
body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background-image: url('logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: overlay;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.highlight {
    color: var(--accent);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-link:hover {
    color: var(--accent);
}

/* Header Icons & Cart */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-btn-wrapper {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #fff;
    transition: color 0.3s;
}

.cart-btn-wrapper:hover {
    color: var(--accent);
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    display: block;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('15.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0; /* Override if needed */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 10px 20px;
}
.btn-secondary:hover {
    border-color: #fff;
}
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-card {
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--accent);
}

/* Products */
.products {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer; /* Clickable */
}

.product-card:hover {
    transform: scale(1.02);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    background-color: #333; /* Fallback */
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.origin {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.notes {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.btn-sm {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-sm:hover {
    background-color: var(--accent);
    color: #000;
}

/* About */
.about {
    padding: 100px 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1556&q=80');
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #ddd;
}

/* Contact */
.contact {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.form-group input,
.form-group textarea,
.form-row input {
    padding: 15px;
    background-color: var(--bg-secondary);
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.footer {
    background-color: #000;
    padding: 50px 0;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #555;
    letter-spacing: 2px;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    color: #666;
}

.socials a:hover {
    color: var(--accent);
}

/* --- CART SIDEBAR STYLES --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background-color: #111;
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    font-size: 1.5rem;
    cursor: pointer;
}
.close-cart:hover { color: var(--accent); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--accent);
    font-weight: bold;
}

.remove-item {
    color: #ff4444;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 5px;
    display: inline-block;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #333;
    background-color: #0e0e0e;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1500;
    display: none;
}
.overlay.active { display: block; }

.empty-cart-msg {
    text-align: center;
    color: #666;
    margin-top: 50px;
}

/* --- CHECKOUT MODAL STYLES --- */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--modal-bg);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-modal:hover { color: #fff; }

.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.step {
    color: #555;
    font-weight: bold;
    font-size: 0.9rem;
}
.step.active { color: var(--accent); }

.checkout-step { display: none; }
.checkout-step.active { display: block; animation: fadeIn 0.5s; }

.form-group { margin-bottom: 15px; }
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-size: 0.9rem; color: #ccc; }

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.payment-method {
    border: 1px solid #333;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    flex: 1;
    text-align: center;
}
.payment-method.selected {
    border-color: var(--accent);
    color: var(--accent);
}

.payment-summary {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
}

.small-text { font-size: 0.8rem; color: #666; margin-top: 10px; }

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- PRODUCT DETAIL STYLES --- */
.product-detail-section {
    padding: 120px 0 80px; /* Header spacing */
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.back-link:hover { color: var(--accent); }

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.detail-image-wrapper {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.detail-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-info-wrapper h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.detail-origin {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.detail-price-box {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
}

.detail-desc {
    margin-bottom: 30px;
    font-size: 1rem;
    color: #ddd;
    line-height: 1.8;
}

.detail-notes {
    margin-bottom: 30px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 4px;
}
.detail-notes h4 { color: var(--accent); margin-bottom: 5px; }

.weight-selector {
    margin-bottom: 30px;
}
.weight-selector h4 { margin-bottom: 10px; font-size: 1rem; color: #ccc; }

.weight-options {
    display: flex;
    gap: 15px;
}

.weight-option {
    cursor: pointer;
    position: relative;
}

.weight-option input {
    display: none; /* Hide default radio */
}

.weight-option span {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    transition: all 0.3s;
}

.weight-option input:checked + span {
    border-color: var(--accent);
    background-color: rgba(252, 163, 17, 0.1);
    color: var(--accent);
    font-weight: bold;
}

.add-to-cart-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #444;
    border-radius: 4px;
}

.quantity-selector button {
    background: none;
    border: none;
    color: #fff;
    padding: 0 15px;
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-selector input {
    width: 50px;
    background: none;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    padding: 0;
}
.quantity-selector input:focus { border: none; outline: none; }

.detail-extras {
    display: flex;
    gap: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.detail-extras i { margin-right: 5px; color: var(--accent); }

/* --- TOAST NOTIFICATIONS --- */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.toast {
    background-color: #222;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease-out forwards;
    min-width: 250px;
}

.toast.error { border-left-color: #f44336; }
.toast.success { border-left-color: #4CAF50; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* --- SCROLL TO TOP --- */
#scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: #000;
    border-radius: 50%;
    display: none; /* JS ile açılacak */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

#scroll-top:hover { transform: translateY(-5px); }
#scroll-top i { font-size: 1.2rem; }


/* --- MASCOT ANIMATION --- */
.mascot-container {
    position: fixed;
    bottom: -200px; /* Initially hidden */
    right: 20px;
    z-index: 2000;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.mascot-container.show {
    bottom: 0;
}

#mascot-img {
    width: 150px; /* Bigger for full character */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
    transform-origin: center bottom;
}

.mascot-bubble {
    background-color: #fff;
    color: #000;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    opacity: 0;
    transform: translateY(10px) scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 180px;
    border: 2px solid var(--accent);
}

.mascot-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.mascot-container.show .mascot-bubble {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.3s;
}

@keyframes breathe {
    0% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.03) translateY(-3px); }
    100% { transform: scale(1) translateY(0); }
}

.mascot-container.waving #mascot-img {
    animation: breathe 3s ease-in-out infinite;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .mascot-container {
        right: 0;
        bottom: -150px;
    }
    #mascot-img {
        width: 120px;
    }
}
