:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --radius: 1rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
}
.list-group-item a{
    color:gray;
    text-decoration: none;
}
.list-group-item a:hover{
    color:#3498db;
    text-decoration: none;
}
.breadcrumb-item a{
    color: #3498db;
    text-decoration: none;
}
.list-group-item.active{
    color: white;
    background-color:gray;
}
.list-group-item.active a{
    color: white;
}
.phone-details {
    padding: 2rem 0;
}

/* Header */
.page-header {
    background: var(--surface);
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-button {
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-button:hover {
    color: var(--primary);
}

/* Gallery */
.gallery-container {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.main-image-wrapper {
    position: relative;
    padding: 2rem;
    background: linear-gradient(to bottom, #f1f5f9, #ffffff);
    text-align: center;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: calc(var(--radius) / 2);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.02);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.thumbnail {
    aspect-ratio: 1;
    border-radius: calc(var(--radius) / 2);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.thumbnail.selected {
    border-color: var(--primary);
    transform: scale(1.05);
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.spec-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.spec-card:hover {
    transform: translateY(-2px);
}

.spec-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.spec-content {
    flex: 1;
}

.spec-label {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.spec-value {
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
}

/* Price Card */
.price-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.price-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.old-price {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.sold-out-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--danger);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Description */
.description-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.description-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.description-content {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact */
.contact-bar {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
    z-index: 101;
}
.contact-bar-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.18s;
}
.contact-bar-link:hover {
    color: var(--primary);
    text-decoration: none;
}
.contact-bar-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 1.15rem;
}
@media (max-width: 768px) {
    .contact-bar-link {
        font-size: 0.98rem;
    }
    .contact-bar-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
}
.sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border);
    z-index: 1050;
}
.header-firma {
    min-width: 180px;
}
.header-contact-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.18s;
}
.header-contact-link:hover {
    color: var(--primary);
    text-decoration: none;
}
.header-contact-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 1.15rem;
}
@media (max-width: 768px) {
    .header-contact-link {
        font-size: 0.98rem;
    }
    .header-contact-icon {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    .fw-bold.fs-5 {
        font-size: 1.1rem !important;
    }
}
@media (max-width: 576px) {
    .sticky-header .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .header-firma {
        min-width: 120px;
    }
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --background-color: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --card-border: #f0f0f0;
    --section-spacing: 6rem;
    --card-spacing: 2.5rem;
}

[data-theme="dark"] {
    --primary-color: #2980b9;
    --secondary-color: #34495e;
    --accent-color: #c0392b;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --border-color: #404040;
    --card-bg: #2a2a2a;
    --card-border: #3a3a3a;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.6;
}

/* Header styling */
header {
    /*position: sticky;*/
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--secondary-color);
    padding: 0.7rem 0;
    font-size: 0.9rem;
}

.top-bar a, .top-bar .address-info {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
    margin-right: 1.5rem;
}

.top-bar a:hover {
    color: #fff;
    text-decoration: none;
}

.navbar {
    background-color: var(--background-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Navbar menü stilleri */
.navbar-nav {
    margin-left: 2rem;
}

.navbar-nav .nav-item {
    margin-right: 1rem;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.15);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.2);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
    border-radius: 2px;
}

.navbar-nav .nav-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837, 99, 235, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.search-container {
    position: relative;
    width: 300px;
}

.search-container input {
    border-radius: 50px;
    padding-right: 40px;
    border: 1px solid var(--border-color);
    background: rgba(var(--primary-color-rgb), 0.05);
    transition: all 0.3s ease;
}

.search-container input:focus {
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
    border-color: var(--primary-color);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.search-button:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
}

/* Main content styling */
.main-content {
    padding: var(--section-spacing) 0;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(var(--primary-color-rgb), 0.06) 0%, rgba(var(--primary-color-rgb), 0) 100%);
    z-index: -1;
}

/* Heading styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Filter related styling - enhanced */
.filter-sidebar {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100%;
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
}

.filter-sidebar.show {
    right: 0;
}

.filter-sidebar h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.filter-sidebar h5::before {
    content: '\\f0b0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.filter-sidebar .form-label {
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.filter-sidebar .form-select,
.filter-sidebar .form-control {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    background-color: var(--background-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.filter-sidebar .form-select:focus,
.filter-sidebar .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15);
}

.filter-sidebar .form-check {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
}

.filter-sidebar .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: -2rem;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
}

.filter-sidebar .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-sidebar .form-check-label {
    cursor: pointer;
    font-weight: 400;
    font-size: 0.95rem;
}

#applyFilters {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    border: none;
    margin-top: 1.5rem;
}

#applyFilters:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(var(--primary-color-rgb), 0.25);
}

.filter-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.filter-toggle i {
    margin-right: 8px;
}

.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.show {
    display: block;
    opacity: 1;
}

/* Enhanced phone card styling */
.phone-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: none;
    background-color: var(--card-bg);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-origin: center bottom;
}

.phone-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Card image styling with placeholder */
.card-img-container {
    padding: 40px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(var(--primary-color-rgb), 0.05), rgba(var(--primary-color-rgb), 0.01));
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card-img-container img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.card-img-container .img-placeholder {
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-radius: 20px;
    color: var(--text-color);
    opacity: 0.5;
}

.card-img-container .img-placeholder i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.phone-card .card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
}

.phone-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.phone-card:hover .card-title {
    color: var(--primary-color);
}

.phone-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.8rem;
}

/* Spec items styling */
.spec-item {
    background-color: rgba(var(--primary-color-rgb), 0.06);
    padding: 8px 14px;
    border-radius: 12px;
    color: var(--text-color);
    border: 1px solid rgba(var(--primary-color-rgb), 0.12);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
}

.spec-item:hover i {
    color: white;
}

.spec-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.price-container {
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-color);
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.price::before {
    /*content: '\\f3d1';*/
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 1rem;
    opacity: 0.8;
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--accent-color-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0);
    }
}

.sold-out-badge {
    position: absolute;
    top: 5%;
    left: 13%;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 1;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    transform: rotate(-5deg);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.card-footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

.btn-view-details {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: transparent;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-view-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.btn-view-details:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.btn-view-details:hover::before {
    width: 100%;
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.btn-view-details:hover i {
    transform: translateX(3px);
}

/* No phones found styling */
.no-phones {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.no-phones i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1.5rem;
}

.no-phones h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-phones p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination styling if needed */
.pagination {
    margin-top: 4rem;
    justify-content: center;
}

.page-item .page-link {
    border-radius: 50%;
    margin: 0 5px;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-item.active .page-link,
.page-item .page-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* Footer section styling */
footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 1rem;
    margin-top: 5rem;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
    header {
        position: relative;
    }
    
    
    
    .navbar {
        padding: 0.8rem 0;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .search-container {
        width: 200px;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    
    /* Navbar mobil stilleri */
    .navbar-nav {
        margin-left: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-item {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 1.25rem;
        border-radius: var(--radius);
        background-color: rgba(var(--primary-color-rgb), 0.05);
        margin-bottom: 0.5rem;
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .navbar-nav .nav-link.active {
        background-color: rgba(var(--primary-color-rgb), 0.15);
        box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.2);
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    .navbar-nav .nav-link i {
        font-size: 1.2rem;
    }
    
    .filter-sidebar {
        width: 300px;
        right: -300px;
        padding: 1.5rem;
    }

    .filter-toggle {
        right: 10px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .card-img-container {
        height: 350px;
        padding: 30px;
    }

    .card-img-container img {
        max-height: 100%;
    }

    .phone-card .card-body {
        padding: 1.5rem;
    }
    
    .phone-card .card-title {
        font-size: 1.1rem;
        height: 2.5rem;
    }

    .card-footer {
        padding: 1.2rem 1.5rem;
    }

    .search-container {
        width: 180px;
    }
    
    .spec-item {
        width: calc(50% - 5px);
        justify-content: flex-start;
        font-size: 0.8rem;
    }
    
    .btn-view-details {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .old-price {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.85rem;
    }
    
    /* Navbar küçük ekran stilleri */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    
    .navbar-nav .nav-link i {
        font-size: 0.8rem;
    }
    
    .search-container {
        width: 140px;
    }
    
    .search-container input {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .card-img-container {
        height: 280px;
        padding: 20px;
    }

    .card-img-container img {
        max-height: 100%;
    }

    .phone-card .card-body {
        padding: 1.2rem;
    }
    
    .phone-card .card-title {
        font-size: 1rem;
        height: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .card-footer {
        padding: 1rem;
    }

    .top-bar {
        font-size: 0.8rem;
    }

    .top-bar a, .top-bar .address-info {
        margin-right: 0.8rem;
    }
    
    .spec-item {
        width: 100%;
        margin-bottom: 5px;
        font-size: 0.8rem;
    }
    
    .btn-view-details {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .phone-specs {
        gap: 5px;
    }
}

/* Lazy loading için placeholder stil */
.lazy-load-placeholder {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    border-radius: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

/* Görüntü geçiş efekti */
.card-img-container img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.card-img-container img.lazy.loaded {
    opacity: 1;
}