/* Enhanced CSS with mobile carousel and image placeholders */

.content {
    background-color: rgb(230, 230, 230);
    padding: 0;
}

.main-image-container {
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    position: relative;
}

.main-image-container img {
    width: auto;
    height: 100%;
    object-fit: fill;
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    max-width: 700px;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.btn-hero {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background: white;
    color: #333;
}

.main-content {
    background-color: rgb(245, 245, 245);
    box-shadow: 0px -5px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
    margin-top: -50px;
    border-radius: 20px 20px 0 0;
    width: 99%;
}

section {
    padding: 4rem 0;
}

.title-heading {
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-heading .h3 {
    color: #888;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.title-heading .h1 {
    color: #333;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.line-divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    margin: 0 auto;
}

/* Featured Items Section */
.featured-items-section {
    padding: 3rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.section-subtitle {
    color: #888;
    font-size: 1.1rem;
    font-weight: 300;
}

/* Mobile Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicator.active {
    background: #333;
}

.carousel-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Image Placeholder Styles */
.image-placeholder {
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 5px;
    background: #f9f9f9;
}

.placeholder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: bold;
}

.image-placeholder:hover .placeholder-overlay {
    opacity: 1;
}

/* About Store Section */
.about-store {
    align-items: center;
}

.about-store-image-container {
    padding: 2rem;
}

.about-store-image-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-store-text-container {
    padding: 2rem;
}

.about-store-text-container .text-body {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2rem;
}

.store-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: #b8860b;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 4rem 0;
    margin-top: 2rem;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form .input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.btn-newsletter {
    background: #333;
    color: white;
    border: 1px solid #333;
    padding: 0.75rem 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background: #555;
}

/* Interactive Elements */
.image-hover-zoom {
    transition: transform 0.3s ease;
}

.image-hover-zoom:hover {
    transform: scale(1.05);
}

/* Product Card Styles (Ellen Rococo Inspired) */
.product-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    height: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background: #fafafa;
    aspect-ratio: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Hover overlay with plus icon */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 40px;
    height: 40px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.product-info {
    padding: 1.25rem;
    text-align: center;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.product-price {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    letter-spacing: 0.5px;
}

/* Remove all buttons and badges */
.product-badge,
.product-actions,
.btn-quick-view,
.btn-add-cart {
    display: none;
}

/* Featured Items Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Loading States */
.featured-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-image-container {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .title-heading .h1 {
        font-size: 2rem;
    }

    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .about-store-image-container,
    .about-store-text-container {
        padding: 1rem;
    }

    .about-store-text-container .text-body {
        font-size: 1rem;
        text-align: left;
    }

    .store-features {
        flex-direction: column;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .form-control {
        border-radius: 4px;
        border-right: 1px solid #ddd;
        margin-bottom: 10px;
    }

    .btn-newsletter {
        border-radius: 4px;
    }
}

@media (max-width: 576px) {
    .main-content {
        margin-top: -30px;
        border-radius: 15px 15px 0 0;
    }

    .title-heading .h1 {
        font-size: 1.8rem;
    }

    .line-divider {
        width: 90%;
    }

    .featured-items {
        min-height: 30vh;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .product-info {
        padding: 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Single item layout for when there's only 1 featured item */
.featured-grid.single-item {
    grid-template-columns: 1fr;
    max-width: 400px;
}

/* Two items layout */
.featured-grid.two-items {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

/* Three items layout */
.featured-grid.three-items {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

/* Four items layout */
.featured-grid.four-items {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
}