/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== HEADER SPECIFIC RESET ===== */
/* Header için güçlü reset - alt sayfalarda CSS çakışmasını önler */
.main-header,
.main-header *,
.main-header *:before,
.main-header *:after {
    box-sizing: border-box !important;
}

.main-header {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: #fff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* ===== GÜÇLÜ LİNK OVERRIDE'LARI ===== */
/* Header içindeki tüm linkler için zorunlu stil override'ları */
.main-header a,
.main-header a:link,
.main-header a:visited,
.main-header a:hover,
.main-header a:active,
.main-header a:focus {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-image: none !important;
    border-bottom: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

/* Logo linkleri */
.main-header .logo,
.main-header .logo:link,
.main-header .logo:visited,
.main-header .logo:hover,
.main-header .logo:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* Navigation linkleri */
.main-header .nav-link,
.main-header .nav-link:link,
.main-header .nav-link:visited {
    color: #333 !important;
    text-decoration: none !important;
}

.main-header .nav-link:hover,
.main-header .nav-link:active,
.main-header .nav-link.active {
    color: #667eea !important;
    text-decoration: none !important;
}

/* Dropdown linkleri */
.main-header .dropdown-link,
.main-header .dropdown-link:link,
.main-header .dropdown-link:visited {
    color: #333 !important;
    text-decoration: none !important;
}

.main-header .dropdown-link:hover,
.main-header .dropdown-link:active {
    color: #667eea !important;
    text-decoration: none !important;
}

/* Contact linkleri */
.main-header .contact-link,
.main-header .contact-link:link,
.main-header .contact-link:visited,
.main-header .contact-link:hover,
.main-header .contact-link:active {
    color: white !important;
    text-decoration: none !important;
}

/* Account ve Cart linkleri */
.main-header .account-link,
.main-header .account-link:link,
.main-header .account-link:visited,
.main-header .cart-link,
.main-header .cart-link:link,
.main-header .cart-link:visited {
    color: #333 !important;
    text-decoration: none !important;
}

.main-header .account-link:hover,
.main-header .account-link:active,
.main-header .cart-link:hover,
.main-header .cart-link:active {
    color: #667eea !important;
    text-decoration: none !important;
}

/* Mobile menu linkleri */
.main-header .mobile-nav-link,
.main-header .mobile-nav-link:link,
.main-header .mobile-nav-link:visited,
.main-header .mobile-dropdown-link,
.main-header .mobile-dropdown-link:link,
.main-header .mobile-dropdown-link:visited {
    color: #333 !important;
    text-decoration: none !important;
}

.main-header .mobile-nav-link:hover,
.main-header .mobile-nav-link:active,
.main-header .mobile-dropdown-link:hover,
.main-header .mobile-dropdown-link:active {
    color: #667eea !important;
    text-decoration: none !important;
}

/* Mobile action button linkleri */
.main-header .mobile-action-btn,
.main-header .mobile-action-btn:link,
.main-header .mobile-action-btn:visited {
    color: #333 !important;
    text-decoration: none !important;
}

.main-header .mobile-action-btn:hover,
.main-header .mobile-action-btn:active {
    color: #667eea !important;
    text-decoration: none !important;
}

/* Mobile contact linkleri */
.main-header .mobile-contact-link,
.main-header .mobile-contact-link:link,
.main-header .mobile-contact-link:visited {
    color: #667eea !important;
    text-decoration: none !important;
}

.main-header .mobile-contact-link:hover,
.main-header .mobile-contact-link:active {
    color: #764ba2 !important;
    text-decoration: none !important;
}

/* ===== BODY PADDING FOR FIXED HEADER ===== */
/* WordPress ve alt sayfalar için güçlü body padding */
body,
body.page,
body.single,
body.archive,
body.home,
html body {
    padding-top: 120px !important;
}

/* WordPress admin bar için */
body.admin-bar,
body.admin-bar.page,
body.admin-bar.single,
body.admin-bar.archive,
body.admin-bar.home {
    padding-top: 152px !important; /* WordPress admin bar + header yüksekliği */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER STYLES ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.promo-text i {
    color: #ff6b6b;
    animation: pulse 2s infinite;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

/* ===== MAIN HEADER ===== */
.header-main {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* ===== LOGO ===== */
.logo-section {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: #667eea;
    letter-spacing: 2px;
    margin-top: -2px;
}

/* ===== NAVIGATION ===== */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link i {
    font-size: 14px;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
    position: relative;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 250px;
    border: 1px solid #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: block;
    padding: 25px;
}

.dropdown-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.dropdown-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateX(5px);
}

.dropdown-link i {
    color: #667eea;
    font-size: 12px;
}

.dropdown-section-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e0e0e0;
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* ===== SEARCH ===== */
.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 300px;
    border: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
}

.search-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #5a6fd8;
}

/* ===== ACCOUNT & CART ===== */
.account-container,
.cart-container {
    position: relative;
}

.account-link,
.cart-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.account-link:hover,
.cart-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.account-icon,
.cart-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.account-link:hover .account-icon,
.cart-link:hover .cart-icon {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    animation: pulse 2s infinite;
}

.account-text,
.cart-text {
    font-size: 12px;
    font-weight: 500;
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.mobile-logo i {
    font-size: 20px;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 18px;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-content {
    padding: 20px;
}

/* ===== MOBILE SEARCH ===== */
.mobile-search {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.mobile-search-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
}

.mobile-search-input:focus {
    border-color: #667eea;
}

.mobile-search-btn {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: pointer;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 5px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
}

.mobile-nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.mobile-nav-link.mobile-dropdown-toggle {
    border-radius: 8px;
    margin-bottom: 5px;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
}

.mobile-nav-link.mobile-dropdown-toggle:hover {
    background: rgba(102, 126, 234, 0.1);
}

.mobile-nav-link .nav-text {
    flex: 1;
    text-align: left;
}

.mobile-nav-link i:first-child {
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
    margin-right: 8px;
}

.mobile-nav-link .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    opacity: 0;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    margin-bottom: 10px;
    position: relative;
    z-index: 100;
    pointer-events: none;
    border: 1px solid #e9ecef;
    border-top: none;
}

.mobile-dropdown-menu.active {
    max-height: 500px;
    opacity: 1;
    padding-top: 10px;
    padding-bottom: 10px;
    pointer-events: auto;
}

.mobile-dropdown-menu li {
    position: relative;
    z-index: 101;
}

.mobile-dropdown-link {
    display: block;
    text-decoration: none !important;
    color: #666 !important;
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    z-index: 102;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
    background: transparent;
    border-left: none;
    border-right: none;
    border-top: none;
}

.mobile-dropdown-link:last-child {
    border-bottom: none;
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link:focus {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.1) !important;
    transform: translateX(5px);
    outline: none;
    text-decoration: none !important;
}

.mobile-dropdown-link:active {
    background: rgba(102, 126, 234, 0.2) !important;
    transform: translateX(3px);
    color: #667eea !important;
    text-decoration: none !important;
}

/* ===== MOBILE ACTIONS ===== */
.mobile-actions {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    background: #667eea;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mobile-action-btn:hover {
    background: #5a6fd8;
}

.mobile-action-btn i {
    font-size: 16px;
}

/* ===== MOBILE CONTACT ===== */
.mobile-contact {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mobile-contact-link:hover {
    color: #667eea;
}

.mobile-contact-link i {
    font-size: 16px;
    width: 20px;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .dropdown-menu {
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    /* Mobile için güçlü body padding */
    body,
    body.page,
    body.single,
    body.archive,
    body.home,
    html body {
        padding-top: 110px !important; /* Mobile için daha az padding */
    }
    
    body.admin-bar,
    body.admin-bar.page,
    body.admin-bar.single,
    body.admin-bar.archive,
    body.admin-bar.home {
        padding-top: 156px !important; /* WordPress admin bar + mobile header */
    }
    
    .top-bar {
        padding: 6px 0;
        font-size: 12px;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .header-main {
        padding: 12px 0;
    }
    
    .header-content {
        gap: 15px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .logo-main {
        font-size: 20px;
    }
    
    .logo-sub {
        font-size: 10px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        gap: 15px;
    }
    
    .account-icon,
    .cart-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .account-text,
    .cart-text {
        font-size: 11px;
    }
    
    .search-box {
        min-width: 250px;
        right: -50px;
    }
}

@media (max-width: 480px) {
    /* Küçük ekranlar için güçlü body padding */
    body,
    body.page,
    body.single,
    body.archive,
    body.home,
    html body {
        padding-top: 100px !important; /* Çok küçük ekranlar için daha az padding */
    }
    
    body.admin-bar,
    body.admin-bar.page,
    body.admin-bar.single,
    body.admin-bar.archive,
    body.admin-bar.home {
        padding-top: 146px !important; /* WordPress admin bar + küçük header */
    }
    
    .container {
        padding: 0 10px;
    }
    
    .top-bar-content {
        font-size: 11px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .header-content {
        gap: 10px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .logo-main {
        font-size: 18px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .account-text,
    .cart-text {
        display: none;
    }
    
    .account-icon,
    .cart-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .search-toggle {
        padding: 8px;
        font-size: 16px;
    }
    
    .search-box {
        min-width: 200px;
        right: -80px;
    }
    
    .mobile-menu {
        width: 280px;
    }
}

/* ===== STICKY HEADER EFFECT ===== */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.main-header.scrolled .top-bar {
    display: none;
}

.main-header.scrolled .header-main {
    padding: 10px 0;
}

/* ===== OVERLAY FOR MOBILE MENU ===== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.social-section-title,
.payment-section-title,
.age-verification-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.age-verification-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 20px;
} 