/* JewelCraft Jewellery Shop - Custom Styles */

/*
Josefin Slab

Beau Rivage .

MY SOUL */

:root {
    --primary-color: #832729;
    --primary-gold: #D4AF37;
    --secondary-gold: #B8860B;
    --dark-gold: #8B6914;
    --light-gold: #F4E4BC;
    --text-dark: #2C2C2C;
    --text-light: #6C757D;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --warm-sand: #E6CBA8;
    --coral-orange: #FF7E5F;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: #832729 !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--coral-orange) 100%);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--dark-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card img,
.category-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-icon {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-gold) 100%);
}

.category-icon i {
    font-size: 4rem;
    color: var(--white);
}

.category-name {
    padding: 1rem;
    text-align: center;
}

.category-name h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.category-card:hover img,
.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

/* Product Cards */
.product-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Blog Styles */
.blog-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-meta .fas {
    color: var(--primary-color);
}

/* Testimonial Styles */
.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-gold);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

/* Client Image Styles */
.testimonial-image {
    position: relative;
    display: inline-block;
}

.client-photo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.client-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.client-icon-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.client-icon-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.client-icon-placeholder i {
    font-size: 2rem;
    color: var(--white);
}

/* Rating Styles */
.rating {
    margin-bottom: 1rem;
}

.rating .fas {
    color: var(--primary-gold);
    margin-right: 3px;
    font-size: 1.1rem;
}

.rating .far {
    color: #ddd;
    margin-right: 3px;
    font-size: 1.1rem;
}

/* Testimonial Content */
.testimonial-content {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Client Info */
.client-info {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.client-name {
    color: var(--text-dark);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.client-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-light);
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

/* Breadcrumb on light background */
.bg-light .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
}

.bg-light .breadcrumb-item a {
    color: var(--text-light);
}

.bg-light .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.bg-light .breadcrumb-item.active {
    color: var(--text-dark);
}

/* Enhanced breadcrumb styling */
.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb-item i {
    font-size: 0.8rem;
}

.breadcrumb-item.active i {
    color: var(--primary-color);
}

/* About Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}
.bg-primary-color{
    background: var(--primary-color);
}
.text-primary-color {
    color: var(--primary-color);
}
.about-content {
    line-height: 1.8;
}

.about-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.about-content h5 {
    color: var(--text-dark);
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.about-content p {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.about-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.about-content li {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.about-content .row {
    margin-top: 1.5rem;
}

.about-sidebar .card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-sidebar .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-sidebar .card-title {
    font-weight: 600;
}

.about-sidebar .contact-info a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.about-sidebar .contact-info a:hover {
    color: var(--primary-color);
}

/* Contact Page Styles */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    color: var(--primary-color);
    min-width: 40px;
}

.contact-item h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-item a {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.quick-actions .btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-2px);
}

.map-container {
    min-height: 400px;
}

.map-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.faq-item h5 {
    color: var(--text-dark);
    font-weight: 600;
}

.faq-item .text-primary {
    color: var(--primary-color) !important;
}

.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Footer Styles */
.footer {
    background: var(--warm-sand);
    color: var(--primary-color);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #FFFFFF;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .category-card {
        height: 250px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .gallery-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .category-card {
        height: 200px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .testimonial-card,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}
