@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #d4a373;
    /* Gold/Bronze accent */
    --text-color: #333;
    --bg-light: #f8f9fa;
    --font-heading: "Playfair Display", serif;
    --font-body: "Poppins", sans-serif;
}

/* Font Utilities */
.font-playfair {
    font-family: var(--font-heading) !important;
}

.font-poppins {
    font-family: var(--font-body) !important;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    padding-top: 0;
    /* Removing padding as we might use a different nav structure */
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--secondary-color);
}

/* Premium Navbar */
.navbar-premium {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-premium .nav-link {
    font-weight: 500;
    color: var(--primary-color);
    margin: 0 10px;
    position: relative;
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar-premium .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after {
    width: 100%;
}

/* Footer Premium */
.footer-premium {
    background-color: #1a1a1a;
    color: #b0b0b0;
}

.footer-premium h5 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.footer-premium a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-premium a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
    /* Subtle shift */
}

.social-icons-footer a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-icons-footer a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    background-color: #111;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white {
    font-family: var(--font-heading) !important;
    font-weight: 700;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

/* Hero Carousel */
.hero-slide {
    height: 85vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.hero-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.carousel-caption {
    z-index: 2;
    bottom: 0;
    /* Override default */
}

/* Navbar Active State override */
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Animations */
.carousel-item.active .animate-fade-in {
    animation: fadeIn 1.2s ease-out;
}

.carousel-item.active .animate-fade-up {
    animation: fadeUp 1s ease-out 0.3s forwards;
    /* Added delay and forwards */
    opacity: 0;
    /* Start hidden */
}

/* For elements with specific delay class */
.carousel-item.active .delay-100 {
    animation-delay: 0.6s;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-up {
    animation: fadeUp 1s ease-out;
}

.delay-100 {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Cards */
.category-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
    /* Zoom effect */
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.section-title {
    position: relative;
    display: inline-block;
    font-family: var(--font-heading) !important;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

/* Contact Section Styling */
.section-contact {
    background-color: #f8f9fa;
}

.form-floating>.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color) !important;
}

.form-floating>label {
    transition: all 0.2s;
}

/* Testimonial Improvements */
.testimonial-card-enhanced {
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.testimonial-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.15;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border: 2px solid var(--secondary-color);
    padding: 2px;
}

/* Contact Page Enhancements */
.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(44, 62, 80, 0.1);
    /* Primary color with opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.card:hover .icon-circle {
    background-color: var(--primary-color);
    color: white;
}