/* =========================================================================
   HOME PAGE SPECIFIC STYLES
   ========================================================================= */

.padding-y {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title.text-white {
    color: var(--white);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    /* Subtract header height */
    min-height: 600px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Animations */
.animate-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.stat-box h3 {
    font-size: 2.2rem;
    margin-bottom: 0px;
    color: var(--accent-color);
}

.stat-box p {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 0;
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
    box-shadow: var(--box-shadow);
}

.img-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Weddings Section */
.weddings-section {
    background-color: #fcfcfc;
}

.weddings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.wedding-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.wedding-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.wedding-img {
    height: 250px;
    background-color: #eee;
    background-position: center;
    background-size: cover;
}

@media screen and (max-width: 768px) {
    .wedding-img {
        background-size: contain;
        background-repeat: no-repeat;
    }
}

.wedding-img.bridal {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    background-color: #eaddcf;
}

.wedding-img.groom {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    background-color: #dcdcdc;
}

.wedding-img.gifts {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    background-color: #f5e6d3;
}

.wedding-info {
    padding: 25px;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    padding-left: 5px;
    color: var(--accent-color);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media screen and (min-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cat-card {
    text-align: center;
}

.cat-img {
    width: 100%;
    height: 300px;
    margin: 0 auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
    border: 3px solid transparent;
}

.cat-card:hover .cat-img {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.cat-img.rings {
    background: url('../images/categories/rings.jpg') center/cover no-repeat;
}

.cat-img.earrings {
    background: url('../images/categories/earrings.jpg') center/cover no-repeat;
}

.cat-img.pendants {
    background: url('../images/categories/pendant.jpg') center/cover no-repeat;
}

.cat-img.bracelets {
    background: url('../images/categories/bracelets.jpg') center/cover no-repeat;
}


/* New Arrivals */
.arrivals-section {
    background-color: var(--primary-color);
    position: relative;
    color: var(--white);
    overflow: hidden;
}

/* Add a gold pattern background effect */
.arrivals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(var(--accent-color) 2px, transparent 2px);
    background-size: 30px 30px;
}

.arrivals-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.empty-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin: 30px 0;
    animation: gentlyPulse 3s infinite alternate;
}

@keyframes gentlyPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.empty-state-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.empty-state-sub {
    color: #ffd;
    opacity: 0.8;
}

/* Testimonials */
.testimonials-section {
    background-color: #121212;
    /* Dark theme */
    padding: 80px 0;
}

.testimonials-section .section-title::after {
    display: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: #666;
    font-size: 3.5rem;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-line {
    width: 25px;
    height: 1px;
    background-color: #555;
    margin-top: 2px;
}

.customer-info h4 {
    margin: 0;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsive Overrides */
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        position: relative;
    }

    .hero-video {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: auto;
        min-width: 100%;
        min-height: auto;
        object-fit: cover;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        padding-right: 0;
        text-align: center;
    }

    .about-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .weddings-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        min-width: 100%;
        padding: 25px;
    }
}

/* Product Cards (used in New Arrivals) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white);
    border: 1px solid #EADDDD;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(74, 4, 4, 0.1);
    border-color: #bc9853;
}

.product-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #FFF5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}

.product-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0e6d2;
}

.product-info {
    padding: 25px;
    text-align: left;
}

.product-title {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0 0 10px 0;
}

.product-specs {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.product-price {
    font-size: 1.25rem;
    color: #bc9853;
    font-weight: 700;
}