/* 
   HOME PAGE DYNAMIC SECTIONS - MODERN REVAMP
   Focus: Tighter spacing, bold typography, professional color palettes 
*/

:root {
    --gold: #D4AF37;
    --luxury-bg: #0f172a;
    --tech-blue: #0ea5e9;
    --creative-pink: #ec4899;
    --section-pad: 60px;
}

.home-section {
    width: 100%;
    padding: var(--section-pad) 0;
    overflow: hidden;
}

.section-container {
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    padding: 0 4%;
}

/* Header Styles */
.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.header-left h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.accent-line {
    width: 50px;
    height: 5px;
    background: var(--primary-purple);
    border-radius: 10px;
}

.explore-btn {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light-purple-bg);
    border-radius: 30px;
    transition: 0.3s;
}

.explore-btn:hover {
    background: var(--primary-purple);
    color: #fff;
    transform: translateX(5px);
}

/* Grid Standard */
.grid-standard {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* --- THEMES --- */

/* 1. Luxury (Corporate Gifting) */
.theme-luxury {
    background: var(--luxury-bg);
    color: #fff;
}

.theme-luxury .header-left h3 { color: #fff; }
.theme-luxury .accent-line { background: var(--gold); }
.theme-luxury .explore-btn { background: rgba(255,255,255,0.1); color: var(--gold); }
.theme-luxury .explore-btn:hover { background: var(--gold); color: #000; }

.hero-layout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
}

.hero-main {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    gap: 40px;
    align-items: center;
    cursor: pointer;
    transition: 0.4s;
}

.hero-main:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--gold);
}

.hero-img-box {
    flex: 1;
    height: 300px;
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-info {
    flex: 1;
}

.hero-info h4 { font-size: 28px; margin: 10px 0; color: var(--gold); }
.hero-info p { color: #cbd5e1; font-size: 14px; margin-bottom: 20px; }
.hero-price { font-size: 24px; font-weight: 800; margin-bottom: 20px; }

.btn-hero {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.hero-others {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 2. Tech (Conference Kits) */
.theme-tech {
    background: #f8fafc;
}

.theme-tech .accent-line { background: var(--tech-blue); }

.slider-wrapper {
    position: relative;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 30px;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar { display: none; }

.slider-track .product-card {
    flex: 0 0 260px;
    background: #fff;
}

.slider-controls {
    position: absolute;
    top: -80px;
    right: 0;
    display: flex;
    gap: 10px;
}

.slide-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.slide-btn:hover {
    background: var(--tech-blue);
    color: #fff;
    border-color: var(--tech-blue);
}

/* 3. Creative (Highlights) */
.theme-creative {
    background: #fff;
}

.theme-creative .accent-line { background: linear-gradient(90deg, var(--creative-pink), var(--primary-purple)); }

.layout-staggered .grid-standard {
    grid-template-columns: repeat(5, 1fr);
}

.layout-staggered .grid-standard .product-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.layout-staggered .grid-standard .product-card:first-child .item-img {
    height: 400px;
}

/* --- Product Card Overrides --- */
.product-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 15px;
    transition: 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-purple);
}

.theme-luxury .product-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.theme-luxury .product-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--gold);
}

.theme-luxury .product-name { color: #fff; }

.item-img {
    background: transparent !important;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure full image is visible */
    transition: 0.5s;
}

.theme-luxury .item-img img {
    object-fit: contain;
}

/* Mobile Adjustments */
@media (max-width: 1200px) {
    .grid-standard { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .hero-layout-wrapper { grid-template-columns: 1fr; }
    .grid-standard { grid-template-columns: repeat(3, 1fr); }
    .slider-controls { top: -70px; }
}

@media (max-width: 640px) {
    .grid-standard { grid-template-columns: repeat(2, 1fr); }
    .hero-others { grid-template-columns: 1fr 1fr; }
    .hero-main { flex-direction: column; text-align: center; }
    .section-header-modern { flex-direction: column; align-items: flex-start; gap: 20px; }
    .explore-btn { width: 100%; justify-content: center; }
}
