/* Landing page specific styles */

.container{
    width: 100%;
    max-width: 100%;
    margin: 0 0 0 0 !important;
    padding: 0;
}

.product-card-footer {
    padding-top: 5px;
}

.navbar-expand-lg.navbar-light.fixed-top {
    justify-content: center !important;
}

.navbar .container{
    width: 100%;
    max-width: 1200px;
}

/* Hero section */
.hero {
    padding: 40px 10px 60px;
}

.hero-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    width: 50%;
    padding-right: 50px;
}

.hero-images {
    width: 50%;
    display: flex;
    gap: 20px;
}

.hero-img-left {
    width: 35%;
    object-fit: cover;
}

.hero-img-right {
    width: 60%;
    object-fit: cover;
}

.shop-now-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.shop-now-btn:hover {
    background-color: #333;
}

h1{
    margin-top: 0;
}

.banner {
    background-color: var(--color-primary-light);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-text 60s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.banner-text {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1px;
    margin-right: 80px; /* Increased spacing between text elements */
}

/* New arrivals section */
.new-arrivals {
    padding: 100px 0 60px;
    text-align: center;
}

.featured-placeholder {
    width: 90%;
    max-width: 1100px;
    height: 300px;
    background-color: #f5f5f5;
    margin: 0 auto;
}

/* Collections section */
.collections {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 160px;
}

.collection-item {
    position: relative;
    width: 45%;
    max-width: 540px;
    overflow: hidden;
}

.collection-link {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.collection-item img.collection-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.collection-item:hover img.collection-image {
    transform: scale(1.05);
}

.collection-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
}

.jewelry-store h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
}
.shop-link{
    font-family: 'Dark Grotesque', sans-serif;
}

.jewelry-store .shop-link, .shop-link {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 14px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    border: 1px solid #fff;
    transition: background-color 0.3s ease;
}

.shop-link:hover, .collection-link:hover .shop-link {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Product grid section */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
}

.card.product-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    padding-bottom: 0;
}

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

.card.product-card .product-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

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

.product-title {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-price {
    font-weight: 600;
    margin-bottom: 0;
}

.new-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 3px 8px;
    font-size: 11px;
    letter-spacing: 1px;
}

.memorable-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.memorable-image {
    width: 50%;
}

.memorable-text {
    width: 50%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jewelry-store .memorable-text p {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero-container,
    .collections,
    .memorable-container {
        flex-direction: column;
    }

    .hero-text,
    .hero-images,
    .collection-item,
    .memorable-image,
    .memorable-text {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .memorable-text {
        padding: 30px 20px;
        text-align: center;
        align-items: center;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .product {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .quick-add-btn {
        opacity: 1 !important;
    }
}

/* Quick Add to Cart button */
.quick-add-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 5;
}

.quick-add-btn:hover {
    background-color: #555;
}

.view-all-container {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #000;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
}

/* Carousel styling improvements */
.carousel {
    margin-bottom: 30px;
}

.carousel-item img {
    width: 100%;
    object-fit: cover;
}

.carousel-caption {
    background-color: rgba(255, 230, 240, 0.7);
    padding: 15px 20px;
    border-radius: 4px;
    max-width: 80%;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-caption h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.carousel-caption p {
    color: #555;
    font-size: 16px;
    line-height: 1.4;
}

/* Mobile Carousel Improvements */
@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .hero {
        padding: 0px 10px 60px;
    }
    
    .container, .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .carousel {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
        overflow: hidden;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-item img {
        height: 100%;
        object-fit: cover;
    }
    
    /* Show captions on mobile */
    .carousel-caption {
        position: absolute;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 10px;
        box-shadow: none;
    }
    
    .carousel-caption h5 {
        font-size: 16px;
        margin-bottom: 5px;
        color: #fff;
    }
    
    .carousel-caption p {
        font-size: 12px;
        margin-bottom: 0;
        color: #eee;
    }
    
    .carousel-control-prev, .carousel-control-next {
        width: 10%;
    }
}

