/* ==========================================================================
   PINEAPPLE SERVİS - MOBİL TASARIM DOSYASI (1024px ve Altı)
   ========================================================================== */

/* --- GENEL AYARLAR --- */
.container { 
    padding: 0 15px; 
}

/* --- MOBİL HEADER (MENÜ) --- */
.main-header {
    position: fixed; 
    top: 0; left: 0; width: 100%;
    /* Cam Efekti */
    background: var(--glass-bg);
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 20px; 
}

/* Logo */
.logo { 
    font-size: 1.3rem; 
    font-weight: 800; 
    color: var(--text-color); 
    text-decoration: none; 
    z-index: 1001; 
    position: relative;
}
.logo span { color: var(--primary); }

/* Sağ Buton Grubu */
.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    z-index: 1001; 
    position: relative; 
}

.theme-btn { 
    background: transparent; 
    border: none; 
    color: var(--text-color); 
    font-size: 1.3rem; 
    cursor: pointer; 
}

/* Arama Butonu: Mobilde yerden tasarruf için sadece büyüteç kalır, yazı gizlenir */
.btn-glass span { display: none; } 
.btn-glass { 
    background: rgba(230, 0, 0, 0.1); 
    color: var(--primary); 
    border: 1px solid rgba(230, 0, 0, 0.2); 
    padding: 8px 12px; 
    border-radius: 50%; 
    font-size: 1rem; 
    text-decoration: none; 
}

/* Hamburger Menü Butonu */
.mobile-toggle { 
    background: transparent; 
    border: none; 
    color: var(--text-color); 
    font-size: 1.5rem; 
    cursor: pointer; 
}

/* --- SAĞDAN KAYAN ŞEFFAF MENÜ --- */
.nav-menu {
    position: fixed; 
    top: 0; 
    right: -100%; /* Başlangıçta ekranın dışında gizli başlar */
    width: 280px; 
    height: 100vh;
    background: var(--card-bg);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex; 
    flex-direction: column;
    padding-top: 80px; 
    z-index: 1000;
}

/* Menü Aktif Olunca Ekrana Girer */
.nav-menu.active { right: 0; }

.nav-menu ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    padding: 0 25px; 
}

.nav-menu a {
    color: var(--text-color); 
    font-size: 1.1rem; 
    font-weight: 600; 
    text-decoration: none;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 15px 0; 
    border-bottom: 1px solid var(--glass-border);
}

.badge { 
    background: var(--primary); 
    color: #fff; 
    font-size: 0.7rem; 
    padding: 3px 10px; 
    border-radius: 50px; 
    font-weight: 700; 
}

/* Arkadaki Siyah Bulanık Perde */
.menu-overlay {
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.5); 
    backdrop-filter: blur(5px);
    z-index: 999; 
    opacity: 0; 
    visibility: hidden; 
    transition: 0.4s ease;
}
.menu-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

/* --- ORTA BÖLÜM (HERO VE VİTRİN) MOBİL --- */
.home-main { 
    padding-top: 70px; 
}

.hero-section { 
    text-align: center; 
    padding: 50px 10px; 
}
.hero-section h1 { 
    font-size: 2.2rem; 
    font-weight: 800; 
    margin-bottom: 15px; 
}
.hero-section .highlight { 
    color: var(--primary); 
}
.hero-section p { 
    font-size: 1rem; 
    color: var(--text-muted); 
    margin-bottom: 25px; 
}

.btn-primary-large {
    background: var(--primary); 
    color: #fff; 
    padding: 12px 25px; 
    border-radius: 50px;
    font-size: 1rem; 
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
    text-decoration: none;
}

.showcase-section { 
    padding: 40px 0; 
}
.section-title { 
    font-size: 1.8rem; 
    text-align: center; 
    margin-bottom: 30px; 
    color: var(--text-color); 
}

/* Mobilde Kartlar Alt Alta (Tek Sütun) Dizilir */
.product-grid {
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px;
}

/* Telefon yatay çevrildiğinde veya büyük tabletlerde yan yana 2'li göster */
@media (min-width: 500px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-card {
    background: var(--card-bg); 
    border: 1px solid var(--glass-border);
    border-radius: 16px; 
    padding: 15px; 
    position: relative;
    display: flex; 
    flex-direction: column;
}

.flash-badge {
    position: absolute; 
    top: 10px; 
    right: 10px;
    background: linear-gradient(45deg, #ff0000, #ff4d4d); 
    color: white;
    padding: 4px 10px; 
    border-radius: 50px; 
    font-size: 0.7rem; 
    font-weight: 700;
}

.product-img-box { 
    height: 150px; 
    background: rgba(0,0,0,0.03); 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 15px; 
}
/* Dark mode için mobil resim arka planı */
body.dark-mode .product-img-box { background: rgba(255,255,255,0.02); }

.product-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}
.placeholder-icon { 
    font-size: 2.5rem; 
    color: var(--text-muted); 
    opacity: 0.3; 
}

.product-info { 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}
.category-tag { 
    font-size: 0.65rem; 
    color: var(--text-muted); 
    font-weight: 600; 
    margin-bottom: 5px; 
}
.product-info h3 { 
    font-size: 1rem; 
    margin: 0 0 8px 0; 
    color: var(--text-color); 
}
.product-desc { 
    font-size: 0.8rem; 
    color: var(--text-muted); 
    margin-bottom: 15px; 
}

.price-box { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 15px; 
}
.old-price { 
    text-decoration: line-through; 
    color: var(--text-muted); 
    font-size: 0.8rem; 
}
.new-price { 
    font-size: 1.1rem; 
    font-weight: 800; 
    color: var(--text-color); 
}

.btn-buy {
    background: rgba(230,0,0,0.05); 
    color: var(--primary); 
    border: 1px solid rgba(230,0,0,0.2);
    padding: 10px; 
    border-radius: 10px; 
    text-align: center; 
    font-weight: 600; 
    font-size: 0.85rem;
    text-decoration: none; 
    display: block;
}
/* --- FOOTER (ALT BÖLÜM) MOBİL --- */
.main-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--glass-border);
    padding-top: 50px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    flex-direction: column; /* Mobilde sütunları alt alta dizer */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; }
.footer-col h3 span { color: var(--primary); }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.95rem; }

.contact-info li { color: var(--text-muted); font-size: 0.95rem; display: flex; align-items: center; gap: 12px; }
.contact-info li i { color: var(--primary); font-size: 1.1rem; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(230,0,0,0.05); color: var(--primary); font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}