/* Bu dosya, header.php'de çağrılır ve tüm siteye uygulanır. */

/* --- YENİ: Sayfa Çözünürlük Ayarları --- */
html, body {
    height: 100%;
}

#page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}
/* ------------------------------------ */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}

/* Renk Paleti */
:root {
    --primary-blue: #00529b;
    --dark-blue: #003a70;
    --accent-yellow: #facc15;
    --accent-yellow-hover: #f59e0b;
    --success-green: #16a34a;
    --success-green-hover: #15803d;
    --danger-red: #ef4444;
}

.search-form-container {
    background-image: linear-gradient(rgba(0, 58, 112, 0.85), rgba(0, 29, 56, 0.95)), url('https://images.unsplash.com/photo-1553440569-bcc63803a83d?q=80&w=1920');
    background-size: cover;
    background-position: center;
}

.product-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

.strikethrough-price {
    text-decoration: line-through;
    color: var(--danger-red);
}

.main-price {
    color: var(--success-green);
    font-weight: 700;
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.add-to-cart-button {
    background-color: var(--success-green);
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.add-to-cart-button:hover {
    background-color: var(--success-green-hover);
    transform: scale(1.05);
}

.bestseller-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--success-green);
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.375rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.brand-logo { 
    transition: all 0.3s ease; 
    cursor: pointer; 
}
.brand-logo:hover { 
    transform: scale(1.1); 
}
.brand-logo img { 
    height: 40px; 
    width: auto; 
    object-fit: contain;
}

/* Diğer Stiller */
.cart-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 999; display: flex; justify-content: center; align-items: center; transition: opacity 0.3s ease; }
.cart-modal-content { background-color: white; padding: 2rem; border-radius: 0.5rem; width: 90%; max-width: 500px; max-height: 80vh; overflow-y: auto; transform: scale(0.95); transition: transform 0.3s ease; }
.cart-modal-overlay:not(.hidden) .cart-modal-content { transform: scale(1); }
.notification { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); background-color: #28a745; color: white; padding: 10px 20px; border-radius: 5px; z-index: 1001; opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; }
.notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; left: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 6px rgba(0,0,0,0.4); z-index: 100; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { margin-top: 15px; }
.tab-button { transition: all 0.3s ease; border-bottom: 3px solid transparent; padding: 1rem 0.25rem; }
.tab-button.active { border-bottom-color: var(--primary-blue); color: var(--primary-blue); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.star-rating .fa-star { color: #f59e0b; }
