/* Mobilya Çarşısı - Kurumsal Tasarım Sistemi */

:root {
    /* Project Color Palette */
    --primary: #fbbf24; /* Gold Accent */
    --primary-dark: #d97706;
    --secondary: #1e293b; 
    --bg-dark: #0f172a; 
    --bg-light: #ffffff;
    --bg-gray: #f9fafb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --text-light: #e5e7eb;
    --text-on-dark: #f9fafb;
    --border-color: #e5e7eb;

    /* Bootstrap Override - Global Primary Color */
    --bs-primary: #fbbf24;
    --bs-primary-rgb: 251, 191, 36; /* RGB of #fbbf24 */
    --bs-primary-bg-subtle: rgba(251, 191, 36, 0.1);
    --bs-primary-border-subtle: rgba(251, 191, 36, 0.3);
    --bs-link-color: #fbbf24;
    --bs-link-hover-color: #d97706;
    
    /* Spacing & Effects */
    --header-top-height: 80px;
    --header-bottom-height: 50px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Header Structure */
header {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

.header-top {
    height: var(--header-top-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.header-bottom {
    height: var(--header-bottom-height);
    background-color: rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

/* Search Box */
.search-container {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
}

.search-box {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 2px;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    flex: 1;
}

.search-box input:focus {
    outline: none;
}

.search-box button {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

/* Auth Buttons */
.auth-buttons .btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
}

/* Category Menu */
.category-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.category-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-nav a:hover {
    color: var(--primary);
}

/* Main Content Area */
main {
    min-height: 60vh;
}

/* Section Styling */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* Features Grid (Dark Version) */
.bg-dark-section {
    background-color: var(--bg-dark);
    color: white;
}

.bg-dark-section .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.bg-dark-section .feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.bg-dark-section .feature-card h4 {
    color: var(--primary);
}

.bg-dark-section .feature-card p {
    color: var(--text-light) !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

/* Features Grid */
.feature-card {
    text-align: center;
    padding: 3.5rem 3rem; /* İç boşluklar artırıldı */
    border-radius: var(--border-radius);
    background: var(--bg-gray);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-card p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* Product Cards */
.product-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.product-card:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.product-img {
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
}

/* About Section */
.about-section {
    background: var(--bg-gray);
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 2rem;
}

footer h5 {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}
footer .text-muted, footer p { color: var(--text-light) !important; }
footer a.text-muted { color: var(--text-light) !important; transition: var(--transition); }
footer a.text-muted:hover { color: var(--primary) !important; padding-left: 5px; }

/* Bootstrap Outline Button Override */
.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-disabled-color: var(--primary);
    --bs-btn-disabled-border-color: var(--primary);
}
