/* ============================================
   TİTUSM - YENİ MODERN TEMA
   Tamamen yeniden tasarlanmış, şık ve modern
   ============================================ */

:root {
    --primary: #7B2CBF;
    --primary-dark: #5A189A;
    --primary-light: #9D4EDD;
    --secondary: #E0AAFF;
    --accent: #C77DFF;
    --gradient: linear-gradient(135deg, #7B2CBF 0%, #E0AAFF 100%);
    --gradient-reverse: linear-gradient(135deg, #E0AAFF 0%, #7B2CBF 100%);
    --text-dark: #1A1A2E;
    --text-light: #6C757D;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #E9ECEF;
    --shadow-sm: 0 2px 8px rgba(123, 44, 191, 0.1);
    --shadow-md: 0 4px 16px rgba(123, 44, 191, 0.15);
    --shadow-lg: 0 8px 32px rgba(123, 44, 191, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* ============================================
   HEADER - Modern ve Minimal
   ============================================ */
header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .logo img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

header .logo:hover img {
    transform: scale(1.05);
}

/* Menü Stilleri */
header .menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

header .menu > ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

header .menu > ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

header .menu > ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

header .menu > ul li a:hover {
    color: var(--primary);
}

header .menu > ul li a:hover::after {
    width: 100%;
}

/* Butonlar */
header .menu > a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

header .menu > a.user-link {
    color: var(--primary);
    background: rgba(123, 44, 191, 0.1);
}

header .menu > a.user-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

header .menu > a.search-trigger {
    color: var(--primary);
    background: rgba(123, 44, 191, 0.1);
}

header .menu > a.search-trigger:hover {
    background: var(--primary);
    color: white;
}

/* Mobil Menü Butonu */
header #burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

header #burger span.burger {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Sipariş Sorgula Popup */
header .menu .search {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

header .menu .search.open {
    opacity: 1;
    visibility: visible;
}

header .menu .search .c {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
}

header .menu .search .o {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* ============================================
   HERO SECTION - Büyük ve Etkileyici
   ============================================ */
#home .top {
    background: var(--gradient);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    color: white;
}

#home .top::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

#home .top .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

#home .top .text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#home .top .text h1 strong {
    display: block;
    font-size: 1.2em;
    color: rgba(255,255,255,0.9);
}

#home .top .text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* Hızlı Sipariş Kutusu - Override Eski Stiller */
#home .top .content .platform {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    padding: 2rem !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    max-width: 500px !important;
    position: relative !important;
    text-align: left !important;
    background-image: none !important;
}

#home .top .content .platform > strong {
    position: static !important;
    display: block !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 1rem !important;
    opacity: 0.9 !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

#home .top .content .platform > label {
    display: block !important;
    margin-bottom: 0.75rem !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: white !important;
    padding-bottom: 0 !important;
}

#home .top .content .platform select,
#home .top .content .platform .hizliServisGetir {
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--text-dark) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237B2CBF' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 3rem !important;
    max-width: 100% !important;
    margin: 0 !important;
    line-height: normal !important;
}

#home .top .content .platform select:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: white !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237B2CBF' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
}

/* Chosen override - gizle */
#home .top .content .platform .chosen-container {
    display: none !important;
}

#home .top .img {
    text-align: center;
}

#home .top .img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ============================================
   ÇOK SATANLAR - Modern Kart Tasarımı
   ============================================ */
#home .bestSaller {
    padding: 80px 0;
    background: var(--bg-light);
}

#home .bestSaller .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#home .bestSaller h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

#home .bestSaller h2 strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--primary);
}

#home .bestSaller h2 i {
    font-size: 2rem;
}

#home .bestSaller .item {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#home .bestSaller .item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

#home .bestSaller .item i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

#home .bestSaller .item strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#home .bestSaller .item span {
    display: block;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

#home .bestSaller .item p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

#home .bestSaller .item em {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-style: normal;
}

#home .bestSaller .item a {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#home .bestSaller .item a:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ============================================
   NEDEN BİZ - İkon Kartları
   ============================================ */
#home .why {
    padding: 80px 0;
    background: white;
}

#home .why .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#home .why h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

#home .why > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

#home .why ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

#home .why ul li {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

#home .why ul li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background: white;
}

#home .why ul li i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

#home .why ul li strong {
    display: block;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

#home .why ul li p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   BLOG - Modern Kart Tasarımı
   ============================================ */
#home .blog {
    padding: 80px 0;
    background: var(--bg-light);
}

#home .blog .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#home .blog h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

#home .blog > .container > p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

#home .blog .item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

#home .blog .item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

#home .blog .item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#home .blog .item > div > div {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#home .blog .item strong {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

#home .blog .item p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

#home .blog .item a {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

#home .blog .item a:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ============================================
   FOOTER - Modern ve Temiz
   ============================================ */
footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 0 20px;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .logo img {
    max-height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

footer .menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

footer .menu ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

footer .menu ul li a:hover {
    color: white;
}

footer .support p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

footer .support i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

footer .support a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

footer > p {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Footer Sipariş Sorgula */
footer .footer-siparis-sorgula {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    margin-top: 30px;
}

footer .footer-siparis-sorgula h4 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

footer .footer-siparis-sorgula h4 i {
    color: var(--primary-light);
}

footer .siparis-sorgula-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

footer .siparis-sorgula-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-size: 16px;
}

footer .siparis-sorgula-form input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(123, 44, 191, 0.2);
}

footer .siparis-sorgula-form button {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

footer .siparis-sorgula-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

footer #sipsonuc_footer {
    color: white;
    font-size: 16px;
    line-height: 1.8;
}

footer #sipsonuc_footer span {
    font-weight: 600;
}

/* Search Popup */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-popup-content {
    background: var(--gradient);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.search-popup-content h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.search-popup-content input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 16px;
}

.search-popup-content button {
    width: 100%;
    padding: 1rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.search-popup-content #sipsonuc_popup {
    color: white;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    footer .siparis-sorgula-form {
        flex-direction: column;
    }
    
    footer .siparis-sorgula-form button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE - Mobil Uyumluluk
   ============================================ */
@media (max-width: 992px) {
    header .menu > ul.desktop-menu {
        display: none !important;
    }
    
    header #burger {
        display: flex !important;
    }
    
    #home .top .text h1 {
        font-size: 2.5rem;
    }
    
    #home .top .text p {
        font-size: 1.1rem;
    }
    
    #home .bestSaller h2,
    #home .why h2,
    #home .blog h3 {
        font-size: 2rem;
    }
}

/* Desktop'ta menü göster */
@media (min-width: 993px) {
    header .menu > ul.desktop-menu {
        display: flex !important;
    }
    
    header .desktop-menu-buttons {
        display: flex !important;
        align-items: center;
        gap: 1rem;
    }
    
    header .mobile-header-right {
        display: none !important;
    }
    
    header #burger {
        display: none !important;
    }
}

@media (max-width: 768px) {
    header .menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    header .desktop-menu-buttons {
        display: none !important;
    }
    
    header .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    header .mobile-user-buttons {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    header .mobile-user-buttons .user-link-mobile {
        padding: 0.5rem 0.75rem;
        font-size: 12px;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        border: 2px solid var(--primary);
        border-radius: 6px;
        background: rgba(123, 44, 191, 0.1);
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
    }
    
    header .mobile-user-buttons .user-link-mobile:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-2px);
    }
    
    header .mobile-user-buttons .user-link-mobile i {
        font-size: 14px;
        display: inline-block !important;
    }
    
    header .mobile-user-buttons .user-link-mobile span {
        display: inline;
        font-size: 12px;
    }
    
    header .logo img {
        max-height: 35px !important;
    }
    
    header .hamburger-menu {
        width: 30px;
        height: 25px;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    header .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    header .hamburger-menu:hover span {
        background: var(--primary-dark);
    }
    
    header #burger.burger {
        display: none !important;
    }
    
    #home .top {
        padding: 60px 0 40px;
    }
    
    #home .top .text h1 {
        font-size: 2rem;
    }
    
    #home .top .platform {
        max-width: 100%;
    }
    
    #home .bestSaller,
    #home .why,
    #home .blog {
        padding: 60px 0;
    }
    
    #home .why ul {
        grid-template-columns: 1fr;
    }
    
    footer .menu ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    #home .top .text h1 {
        font-size: 1.75rem;
    }
    
    #home .bestSaller .item {
        padding: 1.5rem;
    }
    
    #home .why ul li {
        padding: 2rem;
    }
}

/* Mobil Menü - Sidebar */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
}

.main-nav.is-open {
    right: 0;
}

.main-nav > a {
    display: block;
    padding: 1.5rem 2rem;
    background: var(--primary);
    color: white;
    text-align: right;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 300;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    border-bottom: 1px solid var(--bg-gray);
}

.main-nav ul li a {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.main-nav ul li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 2.5rem;
}

/* Utility Classes */
.container.lg, .container.md {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.md {
    max-width: 900px;
}

/* Eski styles.css override - Gizle */
@media (max-width: 768px) {
    header .menu > ul.desktop-menu {
        display: none !important;
    }
}

/* Mobilde kategorileri gizle */
@media (max-width: 992px) {
    #services > div > h2,
    header .menu > ul.desktop-menu li:not(:first-child) {
        display: block;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

