/* ============================================================
   ALWAYSBOSS - ANA STİL
   ============================================================ */

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --bg: #0a0a0f;
    --bg-card: #13131a;
    --bg-card2: #1a1a24;
    --border: #2a2a3a;
    --text: #f0f0f5;
    --text-muted: #888899;
    --accent: #ff6b35;
    --green: #2ecc71;
    --radius: 12px;
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

a { text-decoration:none; color:inherit; }

img { max-width:100%; height:auto; }

/* ============ HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,10,15,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    color: var(--text);
    white-space: nowrap;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.8rem;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color .2s;
}

.header-search input:focus { border-color: var(--primary); }

.header-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all .2s;
}

.nav-link:hover { color: var(--text); background: var(--bg-card2); }
.nav-link.active { color: var(--primary); }

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: var(--green);
    color: white !important;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform .2s, opacity .2s;
}

.contact-btn:hover { opacity: 0.9; transform: scale(1.02); }

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.4rem;
}

/* ============ HERO ============ */
.hero {
    min-height: 480px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a1a 50%, #0a0a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(230,57,70,0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-tag {
    display: inline-block;
    background: rgba(230,57,70,0.15);
    color: var(--primary);
    border: 1px solid rgba(230,57,70,0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero h1 span { color: var(--primary); }

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .2s;
    text-decoration: none;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* ============ CONTAINER ============ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ SECTIONS ============ */
.section { padding: 3rem 0; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title .icon { color: var(--primary); }

.view-all {
    font-size: 0.85rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}
.view-all:hover { text-decoration: underline; }

/* ============ PRODUCT GRID ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(230,57,70,0.15);
}

.product-img-wrap {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--bg-card2);
}

.product-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

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

.product-img-wrap .no-img {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
    gap: 0.5rem;
}

.product-img-wrap .no-img span { font-size: 0.75rem; }

.badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-trend    { background: #e63946; color: white; }
.badge-new      { background: #3498db; color: white; }
.badge-best     { background: #f39c12; color: white; }
.badge-sale     { background: #27ae60; color: white; }

.product-body { padding: 1rem; }

.product-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
}

.price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(39,174,96,0.2);
    color: #2ecc71;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.contact-product-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.contact-product-btn:hover { background: #128C7E; transform: translateY(-1px); }

/* ============ PRODUCT DETAIL ============ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.product-gallery { position: relative; }

.main-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 1;
    margin-bottom: 1rem;
}

.main-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform .3s;
}

.main-img-wrap img:hover { transform: scale(1.03); }

.thumb-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumb {
    width: 72px; height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color .2s;
}

.thumb.active, .thumb:hover { border-color: var(--primary); }

.thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-info { display: flex; flex-direction: column; gap: 1.2rem; }

.detail-brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
}

.detail-name {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.detail-price-block { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.detail-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
}

.detail-price-old {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.detail-discount {
    background: rgba(39,174,96,0.15);
    color: #2ecc71;
    border: 1px solid rgba(39,174,96,0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.detail-desc {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.detail-contact-box {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.detail-contact-box h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.detail-contact-btns { display: flex; flex-direction: column; gap: 0.75rem; }

.big-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    transition: all .2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.big-whatsapp-btn:hover { background: #128C7E; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

.big-whatsapp-btn .wa-icon { font-size: 1.4rem; }

.secondary-contact {
    display: flex;
    gap: 0.5rem;
}

.secondary-contact a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all .2s;
}

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

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(230,57,70,0.08);
    border: 1px solid rgba(230,57,70,0.2);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.notice-box i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ============ PRODUCTS PAGE ============ */
.products-page-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

.filter-sidebar { position: sticky; top: 80px; align-self: start; }

.filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.filter-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.filter-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all .2s;
    margin-bottom: 0.2rem;
}

.filter-link:hover { background: var(--bg-card2); color: var(--text); }
.filter-link.active { background: rgba(230,57,70,0.1); color: var(--primary); font-weight: 600; }

.products-content {}

.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.sort-select {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

.sort-select:focus { border-color: var(--primary); }

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-products i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* ============ FEATURES ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-card .feat-icon {
    width: 48px; height: 48px;
    background: rgba(230,57,70,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.feature-card p  { font-size: 0.8rem; color: var(--text-muted); }

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { color: var(--text-muted); font-size: 0.9rem; transition: color .2s; }
.footer ul a:hover { color: var(--text); }

.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin: 0.5rem 0 1rem; }

.social-links { display: flex; gap: 0.6rem; }
.social-links a {
    width: 36px; height: 36px;
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all .2s;
}
.social-links a:hover { border-color: var(--primary); color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============ MOBILE MENU ============ */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--bg);
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.mobile-nav a {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all .2s;
}

.mobile-nav a:hover, .mobile-nav a.active { background: var(--bg-card); color: var(--text); }

/* ============ UTILS ============ */
.text-muted  { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }

.page-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

/* Notification */
.notif {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all .3s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-width: 320px;
}

.notif.show { transform: translateY(0); opacity: 1; }
.notif.success { border-color: var(--green); }
.notif.error   { border-color: var(--primary); }
.notif .notif-icon { font-size: 1.2rem; }
.notif.success .notif-icon { color: var(--green); }
.notif.error   .notif-icon { color: var(--primary); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .products-page-layout { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
    .filter-card { display: none; }
    .filter-card.mobile-open { display: block; }
    .product-detail-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-search { display: none; }
    .header-nav .nav-link { display: none; }
    .hamburger { display: flex; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .product-body { padding: 0.75rem; }
    .detail-name { font-size: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 360px; padding: 3rem 1.5rem; }
    .hero h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .product-body { padding: 0.6rem; }
    .product-name { font-size: 0.85rem; }
    .price-current { font-size: 1rem; }
    .contact-product-btn { font-size: 0.75rem; padding: 0.5rem; }
}
