/* Google Fonts - Poppins Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ------------ HEADER STYLES ------------ */


/* Reset ve Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--secondary);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Top Bar Stili */
.top-bar {background: var(--dark);padding: 8px 0;border-bottom: 7px solid #18bbfb;font-size: 13px;color: var(--text-light);}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    margin-right: 20px;
    color: var(--text-light);
}

.contact-info a:hover {
    color: var(--primary);
}

.contact-info i {
    margin-right: 5px;
}

.social-icons a {
    margin-left: 15px;
    color: var(--text-light);
}

.social-icons a:hover {
    color: var(--primary);
}

/* Main Header */
.main-header {
    background-color: var(--background);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.scrolled .logo img {
    height: 30px; /* Logo boyutunu küçült */
    transition: height 0.3s ease;
}

.scrolled .nav-link {
    padding-top: 8px;
    padding-bottom: 8px;
}

.scrolled .auth-buttons .btn-login,
.scrolled .auth-buttons .btn-register {
    padding: 6px 12px;
}

.scrolled .user-menu > a {
    padding: 8px 12px;
}

.scrolled .notification-icon > a {
    width: 36px;
    height: 36px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: block;
}

/* Navigation Styles */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    position: relative;
    background: var(--primary);
    transition: var(--transition);
}

.nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link i {
    font-size: 10px;
    margin-left: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--active-color);
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--active-color);
    transition: width 0.3s ease;
    margin-top: 5px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Styles */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown li a {
    display: block;
    padding: 8px 20px;
    color: var(--secondary);
    font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown li a:hover {
    background-color: #f8f9fa;
    color: var(--active-color);
    padding-left: 25px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
}

/* Notification */
.notification-icon {
    position: relative;
    margin-right: 20px;
}

.notification-icon > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--secondary);
    font-size: 18px;
    position: relative;
}

.notification-icon .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: white;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.notification-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 320px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.notification-icon:hover .notification-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.notification-header h6 {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
}

.mark-all-read {
    color: var(--text-light);
    font-size: 12px;
}

.mark-all-read:hover {
    color: var(--primary);
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

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

.notification-item.unread {
    background-color: #f0f7ff;
}

.notification-item .notification-icon {
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    color: var(--secondary);
}

.notification-time {
    font-size: 12px;
    color: var(--text-light);
}

.empty-notification {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.notification-footer {
    padding: 10px 15px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.notification-footer a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
}

.notification-footer a:hover {
    text-decoration: underline;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu > a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    border-radius: 4px;
}

.user-menu i {
    font-size: 18px;
    margin-right: 8px;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 10px;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown li {
    width: 100%;
}

.user-dropdown li a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.user-dropdown li a:hover {
    background-color: #f8f9fa;
    color: var(--active-color);
}

.user-dropdown li a i {
    width: 20px;
    margin-right: 10px;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    align-items: center;
}

.btn-login, 
.btn-register {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-login {
    color: var(--secondary);
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background-color: #f8f9fa;
}

.btn-register {
    background-color: var(--primary);
    color: white;
}

.btn-register:hover {
    background-color: var(--secondary);
}

.auth-buttons i {
    margin-right: 5px;
}

/* ------------ BANNER STYLES ------------ */
.page-banner {
    position: relative;
    height: 400px;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.banner-title {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.banner-subtitle {
    font-size: 18px;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.banner-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.banner-btn-primary {
    background-color: white;
    color: var(--primary);
}

.banner-btn-primary:hover {
    background-color: var(--primary);
    color: white;
}

.banner-btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.banner-btn-secondary:hover {
    background-color: white;
    color: var(--primary);
}

/* Özel Banner Tipleri */
.home-banner {
    height: 100vh;
}

.product-banner {
    height: 500px;
}

.collection-banner {
    height: 400px;
}

.page-banner.overlay-light::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.8));
}

.page-banner.overlay-light .banner-content {
    color: var(--primary);
}

/* Breadcrumb */
.breadcrumb-container {
    padding: 15px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--secondary);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding: 0 8px;
    content: "/";
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .nav-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background-color: white;
        box-shadow: 5px 0 15px rgba(0,0,0,0.05);
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 60px 0 30px;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.has-dropdown.active .dropdown {
        max-height: 300px;
    }
    
    .notification-dropdown,
    .user-dropdown {
        right: -100px;
    }
    
    .page-banner {
        height: 300px;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .auth-buttons span {
        display: none;
    }
    
    .notification-dropdown {
        width: 290px;
        right: -120px;
    }
    
    .page-banner {
        height: 250px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 14px;
    }
    
    .banner-buttons {
        flex-direction: column;
    }
}