/* Custom CSS for HolaFone Bootstrap Theme */

:root {
    --primary-color: #c00000;
    --secondary-color: #000000;
    --light-gray: #f3f3f3;
    --dark-gray: #474747;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* Header Styles */
.header-section {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-bar {
    font-size: 14px;
}

.search-box .form-control {
    border-radius: 7px 0 0 7px;
    border-right: none;
}

.search-box .btn {
    border-radius: 0 7px 7px 0;
    border-left: none;
}

.flag-icon {
    width: 20px;
    height: auto;
}

.logo-img {
    width: 50px;
    height: auto;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link.text-danger {
    color: var(--primary-color) !important;
}

/* Hero Banner */
.hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 4px 4px rgba(0,0,0,0.4);
    line-height: 1.2;
}

/* Categories */
.category-card {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.category-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    width: 100%;
    padding: 20px;
    text-align: center;
}

.category-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1.44px;
    margin: 0;
}

/* Offers */
.offer-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(225deg, rgba(239, 73, 73, 1) 0%, rgba(192, 0, 0, 1) 100%);
}

.offer-title {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Products */
.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    overflow: hidden;
    border-radius: 10px;
}

.product-image img {
    transition: transform 0.3s ease;
}

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

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.discount-percent {
    font-size: 1.2rem;
    line-height: 1;
}

.discount-text {
    font-size: 0.8rem;
    line-height: 1;
}

.product-info h5 {
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 600;
    color: var(--secondary-color);
}

/* FAQ */
.accordion-button {
    font-weight: 600;
    color: var(--dark-gray);
    letter-spacing: 0.75px;
    background-color: white;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 10px !important;
    margin-bottom: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--dark-gray);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.accordion-button:focus {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-color: transparent;
}

.accordion-item {
    border: none;
}

.accordion-body {
    background-color: white;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Special Offer */
.special-offer {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.offer-content {
    position: relative;
    z-index: 2;
}

/* USP Cards */
.usp-card {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.usp-card:hover {
    transform: translateY(-3px);
}

.usp-card i {
    font-size: 2rem;
}

/* Newsletter */
.newsletter-form .form-control {
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
}

.newsletter-form .btn {
    border-radius: 10px;
}

/* Footer */
.footer-section a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center !important;
    }
    
    .offer-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        height: 150px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .offer-title {
        font-size: 1.5rem;
    }
    
    .discount-badge {
        width: 60px;
        height: 60px;
    }
    
    .discount-percent {
        font-size: 1rem;
    }
    
    .discount-text {
        font-size: 0.7rem;
    }
}

/* Utility Classes */
.min-vh-50 {
    min-height: 50vh;
}

.text-shadow {
    text-shadow: 0 4px 4px rgba(0,0,0,0.4);
}

/* Button Styles */
.btn-outline-light:hover {
    background-color: white;
    color: var(--secondary-color);
}

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

.btn-dark:hover {
    background-color: #333;
    border-color: #333;
}
