/* Homepage Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background-color: #000;
    overflow: hidden;
}

.hero-slide {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--white);
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.hero-dots span.active {
    background: var(--accent);
}

/* Sections Common */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 28px;
    color: var(--white); /* Assuming dark bg from body */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header.light h3 {
    color: var(--white);
}

.section-header .divider {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 15px auto 0;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    background: #fff; /* White cards on dark bg? Or transparent? */
    /* Based on spec, news items are white, maybe products too or transparent */
    /* Let's assume consistent dark theme card or just image + text */
    background: transparent; 
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.prod-img {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-img img {
    max-height: 100%;
}

.prod-info {
    text-align: center;
}

.prod-info h4 {
    color: #fff; /* On dark bg */
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
}

.prod-info .price {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.prod-info .btn-outline {
    border-color: #666;
    color: #999;
    font-size: 12px;
}

.prod-info .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

/* Agents Section */
.agents-section {
    background-image: url('https://via.placeholder.com/1920x600?text=Agents+BG');
    background-size: cover;
    background-position: center;
    position: relative;
    background-attachment: fixed;
}

.agents-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 12, 0, 0.8);
}

.relative {
    position: relative;
    z-index: 1;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.agent-logo {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s;
}

.agent-logo:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Features Warning */
.feature-box.warning {
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    color: #666;
}

.feature-box.warning h4 {
    color: var(--danger);
    font-size: 20px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 32px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
