/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Genel Stiller */
:root {
    --primary-color: #FF69B4;
    --secondary-color: #FF1493;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    font-size: 14px;
}

/* Header */
.top-bar {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-bottom: 1px solid #dee2e6;
}

header {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    border-bottom: 1px solid #dee2e6;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-img {
    height: 40px;
    width: auto;
}

.navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
    gap: 2rem;
}

.navbar .nav-link:hover {
    color: #666 !important;
    border-bottom: 2px solid #ffc107;
}

.navbar-brand img {
    height: 40px;
}

.right-menu {
    gap: 2rem;
    align-items: center;
}

.categories-nav {
    margin-right: 2rem;
    position: relative;
    z-index: 1000;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.menu-link {
    color: #212529;
    text-decoration: none;
    font-size: 14px;
    padding: 0.5rem 0;
    display: block;
}

.menu-link:hover {
    color: #666;
}

/* Submenu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-item:hover .submenu {
    display: block;
}

.submenu-link {
    color: #212529;
    text-decoration: none;
    font-size: 14px;
    padding: 0.5rem 1rem;
    display: block;
    white-space: nowrap;
}

.submenu-link:hover {
    color: #666;
    background: #f8f9fa;
}

/* Menu Items */
.menu-item {
    color: #212529;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    padding: 0 0.75rem;
}

.menu-item:hover {
    color: #666;
}

.icon {
    height: 20px;
    width: 20px;
}

/* Icons */
.fa-book, .fa-user {
    font-size: 1.1rem;
}

.fa-magnifying-glass, .fa-cart-shopping {
    font-size: 1.2rem;
}

/* Cart Badge */
.cart {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Category Menu */
.category-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.category-item {
    position: relative;
}

.category-item > a {
    color: #212529;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 0.75rem 0;
    transition: color 0.2s;
}

.category-item > a:hover {
    color: #666;
}

.category-item:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    z-index: 1000;
}

.submenu-link {
    color: #212529;
    text-decoration: none;
    font-size: 14px;
    padding: 0.5rem 1rem;
    display: block;
    white-space: nowrap;
    transition: all 0.2s;
}

.submenu-link:hover {
    color: #666;
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        border-bottom: none;
        padding: 0.5rem 1rem !important;
        gap: 2.5rem;
    }
    
    .navbar .nav-link:hover {
        background-color: #f8f9fa;
        border-bottom: none;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 1rem !important;
        justify-content: flex-start !important;
        padding: 0 1rem;
    }
    
    nav ul li {
        flex: 0 0 auto;
    }
    
    .nav-menu {
        display: none;
    }
    
    .right-menu {
        gap: 1rem;
    }
    
    .category-menu {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: flex-start;
        padding: 0 1rem;
    }
    
    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
}

@media (max-width: 767.98px) {
    .logo img {
        height: 30px;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .menu-item {
        padding: 0 0.5rem;
    }
    
    .menu-item span {
        display: none;
    }
    
    .category-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .collection-card {
        height: 300px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .category-image {
        height: 100px;
    }
    
    span {
        display: none;
    }
    
    .gap-4 {
        gap: 1rem !important;
    }
}

/* Ürün Kartları */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.product-badge.bestseller {
    background-color: #fff3cd;
    color: #856404;
}

.product-badge.new {
    background-color: #f8d7da;
    color: #721c24;
}

.product-image {
    position: relative;
    padding-top: 100%;
    background: #f8f9fa;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-info {
    padding: 1rem;
}

.product-category {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 8px 0;
    line-height: 1.4;
}

.product-title a {
    color: #212529;
    text-decoration: none;
}

.product-title a:hover {
    color: #0d6efd;
}

.product-meta {
    color: #6c757d;
    font-size: 12px;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 0.5rem;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.product-footer .btn {
    padding: 8px 16px;
    font-size: 14px;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-footer .btn i {
    font-size: 16px;
}

.product-footer .btn:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
}

@media (max-width: 767.98px) {
    .product-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-footer .btn {
        width: 100%;
    }
}

/* Kategori Kartları */
.category-card {
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    height: 150px;
    object-fit: cover;
}

/* Koleksiyon Kartları */
.collection-card {
    height: 400px;
}

.collection-card img {
    height: 100%;
    object-fit: cover;
}

.collection-content {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    width: 100%;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--light-bg);
}

.newsletter-form .form-control {
    border-radius: 20px 0 0 20px;
    height: 50px;
}

.newsletter-form .btn {
    border-radius: 0 20px 20px 0;
    height: 50px;
    padding: 0 30px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
}

.social-links a {
    margin-right: 1rem;
    font-size: 1.5rem;
}

/* Cart Badge */
.badge.bg-warning {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
    transform: translate(25%, -25%) !important;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Table Styles */
.table {
    --bs-table-border-color: #dee2e6;
}

.table td {
    vertical-align: middle;
}

/* Button Styles */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    padding: 0;
}

/* Dinamik Menü */
.main-nav {
    border-top: 1px solid #eee;
    padding: 10px 0;
    background: #fff;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 0;
    display: block;
}

.nav-link:hover {
    color: #000;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #000;
}

/* Muhteşem Fırsatlar Bölümü */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.slogan {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
}

.opportunity-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.opportunity-item:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.opportunity-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.opportunity-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Mobil Menü */
.menu-toggle {
    display: none;
    border: none;
    background: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #212529;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .category-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 0;
    }

    .category-menu.active {
        display: flex;
    }

    .category-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .category-item > a {
        padding: 1rem;
    }

    .submenu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        background: var(--light-bg);
        padding: 0;
    }

    .category-item.submenu-active .submenu {
        display: block;
    }

    .submenu-link {
        padding: 0.75rem 2rem;
    }
	.carousel-item {
    height: 250px;
}
	.carousel-item img {
    max-width: 100%;
    height: 250px;  /* Oranı koruyarak boyutlandırır */
}
}
