/* Brands Page Specific Styles */

/* Brands Section */
.brands-section {
    background-color: #f8f9fa;
}

.brands-header {
    margin-bottom: 40px;
}

.brands-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.brands-main-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0d6efd;
}

.brands-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.brand-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.brand-img-container {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

img.brand-logo.img-fluid {
    width: 100%;
    height: 100%;
	object-fit: contain;
}

.brand-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.brand-btn {
    transition: all 0.3s;
}

/* Top Phones Section */
.brand-phones-section {
    background-color: #e9ecef;
}

.brand-phone-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.brand-phone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.brand-phone-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.brand-phone-card img {
    height: 180px;
    object-fit: contain;
    padding: 15px;
}

.phone-model {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.phone-price {
    font-weight: 700;
    margin-bottom: 15px;
}

/* Guides Section */
.brand-guides-section {
    background-color: #fff;
}

.guide-card {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.guide-card img {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.guide-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.guide-text {
    color: #6c757d;
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .brands-main-title {
        font-size: 2rem;
    }
    
    .brand-img-container {
        height: 120px;
    }
    
    .brand-logo {
        max-height: 50px;
    }
}