/* Products Page Styles */
:root {
    --gold-primary: #d4af37;
    --gold-secondary: #ffdf00;
    --gold-light: #f8f1d9;
    --gold-dark: #996515;
    --neutral-dark: #2b2118;
    --neutral-medium: #5a4d43;
    --neutral-light: #f5f2e9;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    color: var(--gold-primary);
    position: relative;
}
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-primary);
}


/* Hero Section */
.products-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgb(70 17 17), rgba(0, 0, 0, 0.5)), url(img/prodcut-hero.jpeg) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Category Navigation */
.category-nav {
    background-color: var(--neutral-light);
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.category-list li {
    margin: 0.5rem 1rem;
}

.category-list a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: var(--transition);
}

.category-list a:hover, 
.category-list a.active {
    background-color: var(--gold-primary);
    color: var(--white);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--neutral-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.gold-line {
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--gold-primary);
    margin: 0.5rem auto;
}

/* Featured Products Grid */
.featured-products {
    padding: 4rem 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-img {
    height: 220px;
    overflow: hidden;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-item:hover .featured-img img {
    transform: scale(1.05);
}

.featured-info {
    padding: 1.5rem;
    text-align: center;
}

.featured-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-dark);
}

.featured-info p {
    margin-bottom: 1rem;
    color: var(--neutral-medium);
    line-height: 1.5;
}

.gold-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: var(--gold-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.gold-btn:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
}

/* Product Categories */
.product-category {
    padding: 4rem 0;
}

.alt-bg {
    background-color: var(--neutral-light);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    border: none;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-overlay button:hover {
    background-color: var(--gold-primary);
    color: var(--white);
}

.product-info {
    padding: 1.2rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--neutral-dark);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--neutral-medium);
    margin-bottom: 0.8rem;
}

.product-meta {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--neutral-medium);
}

.inquire-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--gold-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.inquire-btn:hover {
    background-color: var(--gold-dark);
}

/* Craftsmanship Section */
.craftsmanship {
    padding: 5rem 0;
    background-color: var(--neutral-light);
}

.craft-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.craft-text h3 {
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.craft-text p {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--neutral-medium);
}

.craft-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--white);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 350px;
    padding: 2rem;
    background-color: var(--neutral-light);
    border-radius: 8px;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    position: relative;
}

.quote {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 600;
    color: var(--neutral-dark);
}

.rating {
    color: var(--gold-secondary);
}

/* Call to Action */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1920/400') center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--neutral-medium);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold-dark);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.product-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.modal-product-title {
    font-size: 1.8rem;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}

.modal-product-desc {
    margin-bottom: 1.5rem;
    color: var(--neutral-medium);
    line-height: 1.6;
}

.modal-product-meta {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.modal-product-meta p {
    margin-bottom: 0.5rem;
}

.modal-product-meta span {
    font-weight: 600;
    color: var(--gold-dark);
}

.modal-product-features h3 {
    margin-bottom: 0.8rem;
    color: var(--neutral-dark);
}

.modal-product-features ul {
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

.modal-product-features li {
    margin-bottom: 0.5rem;
    color: var(--neutral-medium);
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
    .craft-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .featured-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .category-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0.5rem;
        justify-content: flex-start;
    }
    
    .category-list li {
        flex: 0 0 auto;
    }
}

@media screen and (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        padding: 0;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .products-hero {
        height: 300px;
    }
    
    .modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .modal-body {
        padding: 1rem;
    }
}







































