/* Global CSS Variables */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-muted: #6c757d;
    --gradient: linear-gradient(135deg, var(--primary-color), #495057);
}
.product-image {
    width: 100%;
    max-height: 200px; /* kart içinde çok yer kaplamasın */
    overflow: hidden; /* taşma olursa gizle */
}

    .product-image img {
        width: 100%; /* bulunduğu alanı kaplasın */
        height: 100%; /* yüksekliği de kapsasın */
        object-fit: contain; /* tamamı görünsün, boşluk kalabilir */
        /* object-fit: cover; -> tamamen doldursun, taşarsa kırpsın */
    }
.pallet-visual {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden; 
}

    .pallet-visual .pallet-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
/* CRITICAL: Global Reset - DO NOT MODIFY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100%;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    /* CRITICAL LAYOUT - DO NOT CHANGE */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* CRITICAL LAYOUT CONTAINERS */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer {
    flex: none;
    margin-top: auto;
}

/* Force all content sections to take available space */
.main-content > * {
    flex-shrink: 0;
}

/* Page content wrapper */
.page-content,
.section {
    flex-grow: 0;
    flex-shrink: 0;
}

/* END CRITICAL LAYOUT */

/* Header Styles */
.top-bar {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.brand-text {
    font-size: 1.5rem;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff !important;
    flex-shrink: 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
    }

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Dropdown Submenu Support */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
    }

    .dropdown-submenu:hover .dropdown-menu {
        display: block;
    }

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--dark-color);
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--gradient);
        border-radius: 2px;
    }

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 60px 0;
    margin: 0;
}

    .page-header h1,
    .page-header .page-title {
        margin-bottom: 0;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    }

.page-content {
    padding: 40px 0;
    min-height: 50vh;
}

.content-section {
    padding: 40px 0;
}

    .content-section:first-child {
        padding-top: 60px;
    }

    .content-section:last-child {
        padding-bottom: 60px;
    }

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--text-muted);
}

/* Footer Styles - CRITICAL */
.footer {
    background: linear-gradient(135deg, #1e2328, #343a40) !important;
    color: #fff !important;
    padding: 60px 0 20px 0 !important;
    margin-top: 0 !important;
    flex-shrink: 0 !important;
    position: relative;
}

.footer-widget h5,
.footer-widget h6 {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: #adb5bd;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer-links a:hover {
            color: #fff;
        }

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: #adb5bd;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: var(--primary-color);
        color: #fff;
    }

.contact-item {
    font-size: 0.9rem;
    color: #adb5bd;
}

    .contact-item i {
        color: var(--primary-color);
        width: 16px;
    }

    .contact-item a {
        color: inherit;
        text-decoration: none;
    }

        .contact-item a:hover {
            color: #fff;
        }

/* Utility Classes */
.hover-lift {
    transition: all 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

.price-tag {
    background: var(--gradient);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

    .back-to-top:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    }

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-content {
        padding: 30px 0;
        min-height: 40vh;
    }

    .content-section {
        padding: 30px 0;
    }

        .content-section:first-child {
            padding-top: 40px;
        }

        .content-section:last-child {
            padding-bottom: 40px;
        }
}

@media (max-width: 576px) {
    .navbar-actions .btn {
        display: none !important;
    }
}

/* Force footer to bottom - Additional fallback */
body::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

/* Override any conflicting styles */
.footer,
footer {
    position: relative !important;
    bottom: auto !important;
    margin-top: 0 !important;
}
