/* Root Variables */
:root {
    --navy: #0A1D37;
    --gold: #CFAE70;
    --cream: #F9F7F3;
    --navy-light: rgba(10, 29, 55, 0.8);
    --navy-medium: rgba(10, 29, 55, 0.1);
    --navy-soft: rgba(10, 29, 55, 0.03);
    --gold-light: rgba(207, 174, 112, 0.1);
    --text-dark: #0A1D37;
    --text-muted: rgba(10, 29, 55, 0.6);
}

/* General Styles */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
}

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

/* Top Bar */
.top-bar {
    background: var(--gold);
    color: var(--navy);
    padding: 8px 0;
    font-size: 0.85rem;
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.top-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
}

.top-bar-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.top-bar-links a {
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.top-bar-links a:hover {
    color: var(--cream);
    transform: scale(1.1);
}

.top-bar-links a i.fab {
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sosyal medya ikonları ana renkleri */
.top-bar-links a[href*="whatsapp"] {
    color: #25D366 !important;
}

.top-bar-links a[href*="whatsapp"]:hover {
    color: #128C7E !important;
    transform: scale(1.15);
}

.top-bar-links a[href*="instagram"] {
    color: #E4405F !important;
}

.top-bar-links a[href*="instagram"]:hover {
    color: #C13584 !important;
    transform: scale(1.15);
}

.top-bar-links a[href*="facebook"] {
    color: #1877F2 !important;
}

.top-bar-links a[href*="facebook"]:hover {
    color: #0866FF !important;
    transform: scale(1.15);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: var(--navy);
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: 0 2px 10px var(--navy-soft);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream) !important;
}

.navbar-brand:hover {
    color: var(--gold) !important;
}

.navbar-nav.me-auto {
    margin: 0 auto !important;
    flex-grow: 0 !important;
}

.nav-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gold) !important;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--cream) !important;
}

.dropdown-menu {
    margin-top: 0;
    border: none;
    box-shadow: 0 2px 10px var(--navy-soft);
    padding: 0.5rem;
    border-radius: 12px;
    background: var(--navy);
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    color: var(--gold);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--navy-light);
    color: var(--cream);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    padding: 2px 6px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Footer */
.footer-section {
    background: var(--navy);
    color: var(--cream);
    padding: 60px 0 30px;
    margin-top: auto;
    border-radius: 12px 12px 0 0;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gold);
}

.footer-text {
    color: rgba(249, 247, 243, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--cream);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Footer sosyal medya ikonları ana renkleri */
.social-links a[href*="instagram"] {
    color: #E4405F !important;
}

.social-links a[href*="instagram"]:hover {
    color: #C13584 !important;
}

.social-links a[href*="youtube"] {
    color: #FF0000 !important;
}

.social-links a[href*="youtube"]:hover {
    color: #CC0000 !important;
}

.social-links a[href*="pinterest"] {
    color: #E60023 !important;
}

.social-links a[href*="pinterest"]:hover {
    color: #BD081C !important;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(249, 247, 243, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: rgba(249, 247, 243, 0.8);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--gold);
}

.footer-divider {
    border-color: rgba(249, 247, 243, 0.1);
    margin: 30px 0;
}

.copyright {
    color: rgba(249, 247, 243, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(249, 247, 243, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* Main Content */
main {
    flex: 1;
}

/* Product Card Styles */
.product-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--navy-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--navy-medium);
}

.product-image-container {
    position: relative;
    padding-top: 120%; /* 1:1.2 aspect ratio */
    overflow: hidden;
    background: var(--cream);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge-container {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.product-discount-badge {
    background: var(--navy);
    color: var(--cream);
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.btn-quick-view {
    background: var(--navy);
    color: var(--cream);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateY(20px);
    text-decoration: none;
}

.product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--gold);
    color: var(--navy);
}

.product-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.product-price-current {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.indent-original-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-actions {
    margin-top: 10px;
}

.btn-add-cart {
    width: 100%;
    padding: 8px;
    border: none;
    background: var(--navy);
    color: var(--cream);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-add-cart:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-add-cart i {
    font-size: 0.75rem;
}

/* Category Card Styles */
.category-card {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--navy-soft);
    text-decoration: none;
    display: block;
    height: 100%;
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 12px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--navy-medium);
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-image i {
    font-size: 2rem;
    color: var(--text-muted);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, var(--navy), transparent);
    color: var(--cream);
}

.category-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

.category-count {
    font-size: 0.8rem;
    margin: 5px 0 0;
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--navy-soft), #fff);
    text-align: center;
    border-radius: 12px;
    margin: 1rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--navy);
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.btn-hero:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Feature Cards */
.feature-cards {
    padding: 60px 0;
    background: #fff;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px var(--navy-soft);
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--navy-soft);
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 12px;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--navy);
    color: var(--cream);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 12px;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--navy);
}

.feature-card:hover .feature-icon {
    background: var(--gold);
}

.feature-card:hover .feature-icon i {
    color: var(--navy);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-card:hover .feature-title {
    color: var(--cream);
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.feature-card:hover .feature-description {
    color: var(--cream);
    opacity: 0.9;
}

/* Section Styles */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
    text-align: center;
}

.category-section {
    padding: 60px 0;
    border-radius: 12px;
    margin: 1rem 0;
}

.product-section {
    padding: 60px 0;
    background: #fff;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 2px 10px var(--navy-soft);
}

/* Bestseller Card */
.bestseller-card {
    border: 1px solid var(--navy-soft);
}

/* Search Modal */
.search-modal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 20px var(--navy-medium);
}

.search-form .form-control {
    border: none;
    border-bottom: 2px solid var(--navy-soft);
    border-radius: 0;
    padding: 1rem;
    font-size: 1.1rem;
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--navy);
}

.popular-searches .badge {
    padding: 8px 12px;
    font-weight: 500;
    font-size: 0.85rem;
    background: var(--navy-soft);
    color: var(--navy);
    transition: all 0.3s ease;
    border-radius: 6px;
}

.popular-searches .badge:hover {
    background: var(--navy);
    color: var(--cream);
    cursor: pointer;
}

/* Mobile Offcanvas Menu Styles */
.offcanvas {
    width: 100% !important;
    max-width: 100%;
    background: var(--navy);
}

.offcanvas-header {
    background: var(--navy);
    border-bottom: 1px solid rgba(207, 174, 112, 0.2);
    padding: 1.5rem;
}

.offcanvas-title {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.5rem;
}

.offcanvas .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23CFAE70'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 1;
    filter: none;
}

.offcanvas-body {
    padding: 0;
    background: var(--navy);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(207, 174, 112, 0.1);
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link:hover {
    background: rgba(207, 174, 112, 0.1);
    color: var(--cream);
    padding-left: 2rem;
}

.mobile-nav-link i.fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-nav-link[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.mobile-submenu {
    background: rgba(0, 0, 0, 0.2);
}

.mobile-submenu-item {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(207, 174, 112, 0.05);
}

.mobile-submenu-item:hover {
    background: rgba(207, 174, 112, 0.15);
    color: var(--gold);
    padding-left: 3.5rem;
}

/* Hide mobile menu button on desktop */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

/* Show only desktop nav on large screens */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 20px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
    }

    .top-bar {
        text-align: center;
        border-radius: 0;
    }

    .top-bar-links {
        justify-content: center;
        margin-top: 8px;
    }

    .footer-section {
        text-align: center;
        border-radius: 0;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--navy-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Fixed WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile responsive for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.slider-image-container {
  position: relative;
    height: 500px;
    overflow: hidden;
}

.slider-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(10, 29, 55, 0.7) 0%,
        rgba(10, 29, 55, 0.4) 50%,
        rgba(10, 29, 55, 0.6) 100%
    );
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: white;
}

.slider-content {
    animation: slideInUp 0.8s ease-out;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white;
}

.slider-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.btn-slider {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(207, 174, 112, 0.4);
}

.btn-slider:hover {
    background: var(--cream);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(207, 174, 112, 0.6);
}

.btn-slider i {
    transition: transform 0.3s ease;
}

.btn-slider:hover i {
    transform: translateX(5px);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 30px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }
    
    .slider-image-container {
        height: 400px;
    }
    
    .slider-image {
        height: 400px;
    }
    
    .slider-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-slider {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 350px;
    }
    
    .slider-image-container {
        height: 350px;
    }
    
    .slider-image {
        height: 350px;
    }
    
    .slider-title {
        font-size: 2rem;
    }
    
    .slider-subtitle {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}