/* Homepage Styles */

/* Hero Section */
.hero-section {
    overflow: hidden;
    min-height: 600px;
    padding: 3rem;
}

.hero-section-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}

.min-vh-75 {
    min-height: 75vh;
}

.min-vh-50 {
    min-height: 50vh;
}

.hero-image-container {
    position: relative;
    z-index: 2;
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 100%; /* 1:1 Aspect Ratio (Square) */
}

.product-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

/* Ensure hover effects work even when card is inside a link */
a:hover .product-card {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

a:hover .product-card .product-image-container img {
    transform: scale(1.08);
}

.placeholder-image {
    height: 0;
    padding-bottom: 100%; /* Square aspect ratio */
    background: #f8f9fa;
    position: relative;
}

.placeholder-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Countdown Timer */
.countdown-timer {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-section.hero-section-light .hero-content {
    color: rgba(var(--bs-dark-rgb),var(--bs-text-opacity));
}

.hero-section.hero-section-dark .hero-content {
    color: rgba(var(--bs-light-rgb),var(--bs-text-opacity));
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .hero-section.hero-section-light .hero-content {
        background-color: rgba(255, 255, 255, 0.5);
        padding: 1.5rem;
        border-radius: 0.5rem;
        border: 1px solid white;
    }
    .hero-section.hero-section-dark .hero-content {
        background-color: rgba(0, 0, 0, 0.5);
        padding: 1.5rem;
        border-radius: 0.5rem;
        border: 1px solid black;
    }
}
@media (max-width: 1400px) {
}
@media (max-width: 1200px) {
}
@media (max-width: 992px) {
    .hero-section {
        min-height: unset;
        padding: unset;
    }
    .hero-section.hero-section-light .hero-content, .hero-section.hero-section-dark .hero-content {
        background: url('/images/herobg_sm.svg') no-repeat center center;
        background-size: cover;
        padding: unset;
        border-radius: unset;
        border: unset;
        padding: 3rem;
    }
}
@media (min-width: 577px) and (max-width: 768px) {

}
@media (max-width: 576px) {

}
@media (min-width: 992px) {
    .hero-section {
        background: url('/images/hero1.jpg') no-repeat center center;
        background-size: cover;
    }
}
