/* home.css - HomePage Specific Styles */

.container-fluid-custom {
    padding: 0 5%;
    max-width: 1600px;
    margin: 0 auto;
}

/* HERO SECTION */
.hero-section {
    height: calc(100vh - 110px); 
    min-height: 600px; 
    background-color: #f4f4f4; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 0; 
    padding-bottom: 0;
    background-image: url('/staticimages/homepagephoto.jpg'); 
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    padding: 20px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    position: relative; 
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #fff; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); 
    position: relative;
}

.hero-desc {
    color: #f8f8f8; 
    margin-bottom: 35px;
    font-size: 16px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    position: relative;
}

.btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background-color: #fff; 
    color: #111; 
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid #fff;
    transition: all 0.3s;
    position: relative;
}

.btn-hero:hover {
    background-color: transparent;
    color: #fff; 
}

/* CATEGORIES */
.category-section {
    margin-bottom: 80px;
    margin-top: 60px; 
}

.category-card {
    height: 400px;
    background-color: #eee;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cat-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

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

.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); 
    z-index: 2;
}

.cat-content {
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.cat-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff; 
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-cat {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #fff; 
    color: #fff; 
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-cat:hover {
    background: #fff;
    color: #000;
}

/* PRODUCT SHOWCASE */
.section-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-divider {
    width: 40px;
    height: 2px;
    background-color: #111;
    margin: 0 auto 40px;
}

.product-card {
    margin-bottom: 40px;
    transition: transform 0.3s;
    position: relative;
}

.product-img-link {
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
    padding-top: 133%; /* 3:4 Aspect Ratio */
}

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

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

.sold-out-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #111;
    color: #fff;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

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

.product-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 5px;
    text-transform: uppercase;
}

.product-title a {
    color: #111;
}

.product-price {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    margin-bottom: 10px;
}

.btn-buy-mini {
    display: inline-block;
    padding: 8px 20px;
    background-color: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #111;
    transition: all 0.3s;
    margin-top: 5px;
    opacity: 0; 
    transform: translateY(10px);
}

.product-card:hover .btn-buy-mini {
    opacity: 1;
    transform: translateY(0);
}

.no-img-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 12px;
}
