/* ===================================
   LARYOH FASHION - MODERN INDEX V2
   =================================== */

:root {
    --card-radius: 12px;
    --section-spacing: 60px;
    --premium-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --hover-shadow: 0 20px 40px rgba(0,0,0,0.15);
    --accent-red: #e74c3c;
    --navy-dark: #2c3e50;
    --text-muted: #7f8c8d;
}

/* 1. Category Promo Grid (Myntra Style) */
.category-promo-section {
    padding: 20px 5%;
    background: #fff;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.promo-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.promo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    text-align: center;
}

.promo-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.promo-discount {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ff9f43;
    margin-bottom: 10px;
}

.promo-btn {
    display: inline-block;
    padding: 6px 15px;
    background: white;
    color: black;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

/* 2. Trending Offers & Exclusive Deals (Improved) */
.section-modern {
    padding: var(--section-spacing) 5%;
}

.section-title-modern {
    text-align: center;
    margin-bottom: 40px;
}

.section-title-modern h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.section-title-modern p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Product Card Styling (Image 3 & 4 style) */
.product-card-v2 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.img-container {
    position: relative;
    padding-top: 125%; /* 4:5 aspect ratio */
}

.img-container img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.badge-v2 {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    z-index: 10;
}

.badge-special {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    z-index: 10;
    font-family: 'Outfit', sans-serif;
}

.product-details-v2 {
    padding: 15px;
    text-align: center;
}

.product-details-v2 h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-container-v2 {
    margin-bottom: 15px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
}

.price-new {
    color: var(--accent-red);
    font-weight: 800;
    font-size: 1.2rem;
}

.btn-buy-v2 {
    width: 100%;
    padding: 10px;
    background: #34495e;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-buy-v2:hover {
    background: #2c3e50;
}

/* 3. Laryoh Special Banner */
.special-banner-section {
    padding: var(--section-spacing) 5%;
}

.special-banner {
    position: relative;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.special-banner img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.special-content {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.special-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.special-content p {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* 4. Shop By Category (Image 5 style) */
.shop-by-category-modern {
    padding: var(--section-spacing) 5%;
    background: #fdfdfd;
}

.category-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.category-item-modern {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.category-item-modern.wide {
    grid-column: span 1.5; /* Handled via manual grid if needed, or flex wrap */
}

.category-item-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.category-item-modern:hover img {
    transform: scale(1.1);
}

.category-item-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
}

.category-item-content h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.category-item-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.category-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.category-item-large {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.category-item-large img {
    width: 100%; height: 100%; object-fit: cover;
}

.overlay-large {
    position: absolute;
    bottom: 0; left: 0; padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    width: 100%;
    color: white;
}

.overlay-large h3 { font-size: 2rem; margin-bottom: 10px; }
.btn-shop-now {
    display: inline-block;
    padding: 10px 25px;
    background: white; color: black;
    border-radius: 50px; font-weight: 700;
    margin-top: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
    .promo-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid-layout { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid-layout { grid-template-columns: 1fr; }
    .category-row-2 { grid-template-columns: 1fr; }
    .special-content h2 { font-size: 2rem; }
}
