/* ==========================================================================
   PINEAPPLE SERVİS - MASAÜSTÜ TASARIM DOSYASI (1025px ve Üzeri)
   ========================================================================== */

/* --- GENEL AYARLAR --- */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* --- HEADER (MENÜ) TASARIMI --- */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    /* Cam Efekti (Glassmorphism) */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: background 0.4s ease, border 0.4s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
    text-decoration: none;
}
.logo span { color: var(--primary); }

/* Masaüstünde mobil butonları ve perdeyi gizler */
.mobile-toggle, .menu-overlay { 
    display: none !important; 
}

/* Linkler */
.nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
    display: flex; align-items: center; gap: 8px;
}
.nav-menu a:hover { color: var(--primary); }

/* Menüdeki Yeni Etiketi */
.badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Sağ Buton Grubu */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Dark Mode Butonu */
.theme-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}
.theme-btn:hover { transform: scale(1.1); color: var(--primary); }

/* Şeffaf Cam Efektli (Glass) Cihaz Sorgula Butonu */
.btn-glass {
    background: rgba(230, 0, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(230, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* --- ORTA BÖLÜM (HERO VE VİTRİN) --- */
.home-main { 
    padding-top: 100px; 
}

.hero-section {
    text-align: center; 
    padding: 80px 20px;
    background: radial-gradient(circle at center, rgba(230,0,0,0.05) 0%, transparent 70%);
}
.hero-section h1 { 
    font-size: 4rem; 
    font-weight: 800; 
    letter-spacing: -1px; 
    margin-bottom: 20px; 
}
.hero-section .highlight { 
    color: var(--primary); 
    text-shadow: 0 0 20px rgba(230,0,0,0.3); 
}
.hero-section p { 
    font-size: 1.2rem; 
    color: var(--text-muted); 
    margin-bottom: 40px; 
}

.btn-primary-large {
    background: var(--primary); 
    color: #fff; 
    padding: 15px 35px; 
    border-radius: 50px;
    font-size: 1.1rem; 
    font-weight: 600; 
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    box-shadow: 0 10px 25px rgba(230,0,0,0.4); 
    transition: 0.3s;
}
.btn-primary-large:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 35px rgba(230,0,0,0.6); 
}

/* --- VİTRİN (ÜRÜN/HİZMET KARTLARI) --- */
.showcase-section { 
    padding: 60px 0; 
}
.section-title { 
    font-size: 2.2rem; 
    font-weight: 700; 
    margin-bottom: 40px; 
    text-align: center; 
    color: var(--text-color);
}

.product-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* Masaüstünde yan yana 4 kart dizilir */
    gap: 25px; 
}

.product-card {
    background: var(--card-bg); 
    border: 1px solid var(--glass-border);
    border-radius: 20px; 
    padding: 20px; 
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    transition: all 0.4s ease;
    display: flex; 
    flex-direction: column; 
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.flash-badge {
    position: absolute; 
    top: 15px; 
    right: 15px;
    background: linear-gradient(45deg, #ff0000, #ff4d4d); 
    color: white;
    padding: 5px 12px; 
    border-radius: 50px; 
    font-size: 0.75rem; 
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255,0,0,0.5); 
    z-index: 2;
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge { 
    0% { transform: scale(1); } 
    50% { transform: scale(1.05); } 
    100% { transform: scale(1); } 
}

.product-img-box {
    height: 180px; 
    background: rgba(0,0,0,0.03); 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
    overflow: hidden;
}
/* Dark Mode için 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; 
    transition: 0.4s; 
}
.product-card:hover .product-img-box img { 
    transform: scale(1.05); 
}
.placeholder-icon { 
    font-size: 3rem; 
    color: var(--text-muted); 
    opacity: 0.3; 
}

.product-info { 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}
.category-tag { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    font-weight: 600; 
    margin-bottom: 5px; 
}
.product-info h3 { 
    font-size: 1.1rem; 
    margin: 0 0 10px 0; 
    font-weight: 700; 
    color: var(--text-color);
}
.product-desc { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-bottom: 15px; 
    flex-grow: 1; 
}

.price-box { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 15px; 
}
.old-price { 
    text-decoration: line-through; 
    color: var(--text-muted); 
    font-size: 0.9rem; 
}
.new-price { 
    font-size: 1.3rem; 
    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.9rem;
    transition: 0.3s;
    text-decoration: none;
}
.product-card:hover .btn-buy { 
    background: var(--primary); 
    color: white; 
}