/* Front Page Custom Styles */

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url('../images/hero-bg.jpg'); /* Placeholder - replace with your actual hero image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-headline {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.hero-subheadline {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    text-align: left;
}

.cta-button {
    display: inline-block;
    background-color: #FFA500; /* Bright orange */
    color: white;
    padding: 15px 30px;
    border-radius: 30px; /* Rounded corners */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e69500; /* Darker orange on hover */
}

/* Trust/Features Bar */
.trust-bar {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
}

.trust-icon {
    font-size: 2rem;
    color: #333;
    margin-right: 15px;
    width: 50px;
    text-align: center;
}

.trust-text strong {
    color: #333;
    font-size: 1.1rem;
}

/* Product Category Sections */
.product-category-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0;
    color: #333;
}

.product-title a {
    text-decoration: none;
    color: inherit;
}

.product-title a:hover {
    color: #FFA500;
}

.product-price {
    color: #FFA500; /* Orange price */
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.view-product-btn {
    display: inline-block;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-product-btn:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); /* Purple/Blue Gradient */
    padding: 60px 20px;
    text-align: center;
    margin: 60px 0;
}

.promo-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.promo-subtext {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.promo-button {
    display: inline-block;
    background-color: white;
    color: #6a11cb; /* Purple text */
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.promo-button:hover {
    background-color: #f0f0f0;
    color: #2575fc;
}

/* Blog/News Section */
.blog-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-meta {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.blog-title {
    padding: 15px 20px 20px;
    margin: 0;
}

.blog-title a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
}

.blog-title a:hover {
    color: #FFA500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    
    .hero-subheadline {
        font-size: 1.3rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .trust-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-content h2 {
        font-size: 2rem;
    }
    
    .promo-subtext {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 350px;
    }
    
    .hero-headline {
        font-size: 1.8rem;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}