/* =========================================
   HOME PAGE STYLES (index.css)
   ========================================= */

/* --- HERO SECTION --- */
.hero-banner { 
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/bg.jpg') center/cover no-repeat; 
    text-align: center; 
    color: var(--white); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 0 20px;
    height: 90vh; 
}

.hero-banner h1 { 
    font-size: 3.5rem; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3); 
    margin-bottom: 15px; 
    font-family: 'Playfair Display', serif;
}

.hero-banner p { 
    font-size: 1.1rem; 
    max-width: 600px; 
    margin-bottom: 30px; 
    opacity: 0.9; 
}

/* --- BUTTONS --- */
.btn-primary { 
    padding: 12px 35px; 
    background: var(--primary); 
    color: var(--white); 
    font-weight: 600; 
    border-radius: 30px; 
    transition: 0.3s; 
    border: 2px solid var(--primary); 
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover { 
    background: transparent; 
    color: var(--white); 
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    padding: 12px 35px;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- SHOP BY CATEGORY (Horizontal Slider) --- */
.categories-section {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
}

.categories-section h2, .trending-products h2, .customization-banner h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.category-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.category-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    min-width: 85px;
    scroll-snap-align: start;
}

.cat-icon {
    width: 75px;
    height: 75px;
    background: #fdf5f6; /* Soft pink background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin-bottom: 10px;
    border: 1px solid #f3e1e3;
    transition: 0.3s;
}

.category-item:hover .cat-icon {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(183, 110, 121, 0.2);
}

.category-item span {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

/* --- TRENDING PRODUCTS GRID --- */
.trending-products {
    padding: 50px 20px;
    background: #fafafa;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.product-card .price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.add-to-cart-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 25px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.add-to-cart-btn:hover {
    background: #333;
}

/* --- CUSTOMIZATION BANNER --- */
.customization-banner {
    padding: 60px 20px;
    text-align: center;
    background: #fdf5f6;
    border-top: 1px solid #f3e1e3;
    border-bottom: 1px solid #f3e1e3;
}

.customization-banner p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* --- USP SECTION --- */
.usp-section {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    background: #fff;
    flex-wrap: wrap;
}

.usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #555;
    font-weight: 500;
}

.usp-item i {
    font-size: 30px;
    color: var(--primary);
}

/* --- MOBILE RESPONSIVE (Index only) --- */
@media (max-width: 768px) {
    .hero-banner { height: 70vh; }
    .hero-banner h1 { font-size: 2.2rem; }
    .categories-section h2, .trending-products h2, .customization-banner h2 { font-size: 1.8rem; }
    .cat-icon { width: 65px; height: 65px; font-size: 24px; }
    .usp-section { gap: 20px; }
}