/* Hero Section */
.hero-section {
    background-color: #6c8c6c;
    padding: 60px 0;
    text-align: center;
    color: white;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.search-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.search-steps {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-step {
    flex: 1;
}

.search-step label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.btn-find {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
}

/* Search Box */
.search-box .form-select {
    height: 54px;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1.1rem;
}

.search-box .btn {
    height: 54px;
    font-size: 1.2rem;
    padding: 0;
}

.search-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .search-box .btn {
        margin-top: 10px;
    }
}

/* Quick Search */
.quick-search {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.quick-search select {
    margin-bottom: 10px;
}

/* Review Section */
.review-section {
    padding: 60px 0;
    background: #fff;
}

.review-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden;
}

.review-container {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
}

.review-box {
    flex: 0 0 25%;
    min-width: 25%;
    padding: 0 10px;
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.review-box.active {
    opacity: 1;
    transform: scale(1);
}

.review-box-inner {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: 100%;
}

.review-box .rating {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 12px;
}

.review-box .review-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-style: italic;
    height: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.reviewer {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
}

.reviewer-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.reviewer-location {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* Slider Navigation */
.review-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.review-nav:hover {
    background: #f8f9fa;
    transform: translateY(-50%) scale(1.1);
}

.review-nav.prev {
    left: 0;
}

.review-nav.next {
    right: 0;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color, #007bff);
}

/* Makes Grid güncelleme */
.makes-section {
    padding: 60px 0;
}

.makes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
}

.make-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.make-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.make-logo {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.make-name {
    font-size: 1.2rem;
    margin: 10px 0;
}

.device-count {
    color: #666;
    font-size: 0.9rem;
}

.view-models {
    display: inline-block;
    padding: 8px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

/* Footer Styles */
.footer {
    background: #212529;
    color: white;
    padding: 60px 0 30px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-color, #007bff);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    color: #999;
}

.contact-info i {
    width: 25px;
    color: var(--primary-color, #007bff);
}

.footer-bottom {
    background: #111;
    padding: 20px 0;
    margin-top: 40px;
}

.payment-methods img {
    height: 30px;
}

/* Search Box Styles */
.search-style-minimal {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.search-style-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.btn-style-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-style-outline:hover {
    background: #fff;
    color: #000;
}

.btn-style-gradient {
    background: linear-gradient(45deg, #007bff, #00e5ff);
    border: none;
    color: #fff;
}

.btn-style-gradient:hover {
    background: linear-gradient(45deg, #0056b3, #00b3cc);
    color: #fff;
}

/* Responsive */
@media (max-width: 1200px) {
    .review-box {
        flex: 0 0 33.333%;
        min-width: 33.333%;
    }
}

@media (max-width: 992px) {
    .review-box {
        flex: 0 0 50%;
        min-width: 50%;
    }
}

@media (max-width: 576px) {
    .review-box {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .review-slider {
        padding: 0 30px;
    }
}

/* Make Detail Hero */
.make-detail-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #fff;
}

.make-detail-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}

.make-detail-hero .container {
    position: relative;
    z-index: 2;
}

.make-detail-hero .make-logo {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Category Section */
.category-section {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Device Card */
.device-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.device-image {
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.device-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.device-info {
    border-top: 1px solid #eee;
}

.model-info {
    color: #666;
    font-size: 0.9rem;
}

.part-number {
    font-size: 0.85rem;
}

.price {
    color: #2c5282;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Ürün detay resmi için */
.device-detail-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Resim container'ı için */
.device-image-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Küçük resimler (thumbnail) için */
.device-thumbnails {
    gap: 10px;
    margin-top: 15px;
}

.device-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.device-thumbnail:hover,
.device-thumbnail.active {
    border-color: #007bff;
}

.price-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #2c5282;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    margin-left: 10px;
}

.device-meta {
    color: #666;
    font-size: 0.95rem;
}

.contact-box {
    border: 1px solid #ddd;
}

/* Marka Detay Sayfası */
.make-banner {
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    margin-bottom: 30px;
    position: relative;
}

.make-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
}

.make-banner .container {
    position: relative;
    z-index: 1;
    color: #fff;
}

.make-logo {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-section {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.category-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.device-card {
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.device-image {
    height: 200px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.device-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.device-info h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.model-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.part-number {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.price {
    color: #2c5282;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../images/pattern.svg') center/cover;
    opacity: 0.1;
}

.contact-info-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: transform 0.3s;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.contact-form .form-control {
    border: 2px solid #eee;
    padding: 12px;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: none;
}

.contact-info i {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0,123,255,0.1);
    color: #007bff;
}

/* Map container */
.map-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mega Menu Styles */
.dropdown-menu {
    transition: all 0.3s ease;
    transform: translateY(15px);
    opacity: 0;
    visibility: hidden;
    display: block !important;
    position: absolute;
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%);
    width: 1200px; /* Sabit genişlik */
    max-width: 90vw; /* Mobil uyumluluk için */
    background: rgba(108, 128, 108, 0.95);
    backdrop-filter: blur(8px);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 30px;
    z-index: 1000;
    border-radius: 10px;
    margin-top: 15px;
}

.dropdown:hover .dropdown-menu {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.mega-menu-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navbar pozisyonu */
.navbar {
    position: relative;
    z-index: 1001;
}

.nav-item.dropdown {
    position: static;
}

/* Container'ı ortalamak için */
.dropdown-menu .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navbar container'ı için */
.navbar .container {
    position: relative;
}

/* Dropdown pozisyonu için */
.nav-item.dropdown {
    position: static;
}

/* Kategori başlıkları */
.dropdown-menu h5 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Liste öğeleri */
.dropdown-menu .list-group-item {
    border: none;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.dropdown-menu .list-group-item:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Rozetler */
.dropdown-menu .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35em 0.8em;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.2s;
}

.dropdown-menu .list-group-item:hover .badge {
    background: rgba(255, 255, 255, 0.3);
}

/* Tüm markalar bölümü */
.dropdown-menu .all-makes a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.3rem 0;
    transition: all 0.2s;
    display: block;
}

.dropdown-menu .all-makes a:hover {
    color: #fff;
}

/* Ayırıcı çizgiler */
.dropdown-menu .col-lg-4:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

/* Banner için z-index ekliyoruz */
.banner-section {
    position: relative;
    z-index: 1;
}

/* Hover ok efekti ekleyelim */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(108, 128, 108, 0.95);
} 