@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400;700&display=swap');

/* Pushes the whole website down so it doesn't hide behind the fixed navbar */
body {
    padding-top: 20px; 
}
:root {
    --gold: #d4af37;
    --dark: #1a1a1a;
    --cream: #fdfbf7;
    --gray: #f4f4f4;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, .navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}

/* Navbar 
.navbar {
    background-color: #fff !important;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}
*/
.navbar {
    padding: 0.5rem 1rem; /* Reduces top/bottom padding so bar isn't too huge */
    min-height: 90px;     /* Ensures bar is tall enough */
}
/* Logo Styling - Perfect Circle */
/* Logo Styling - Bigger & Bolder */
.navbar-brand img {
    height: 75px;        /* Increased size (was 50px) */
    width: 75px;         /* Keep width same as height for circle */
    object-fit: cover;   /* Prevents stretching */
    border-radius: 50%;  /* Perfect circle */
    margin-right: 15px;  /* More space between logo and text */
    
    /* Optional: A gold border and shadow to make it visible */
    border: 2px solid #d4af37; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}
.nav-link {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #555 !important;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover { color: var(--gold) !important; }

/* Hero Section */
/* Hero Section - Sober & Elegant */
/* --- HERO SECTION (Restored & Fixed) --- */
.hero-section {
    position: relative;
    /* This points to your uploaded image */
    background: url('category_thumbnail/cover_necklace.jpg') center/cover no-repeat;
    
    /* Height of the banner */
    height: 75vh; 
    
    /* Layout */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    
    /* Pushes it down below the fixed navbar */
    margin-top: 70px;
    
    /* THE FIX: This adds a 50% dark overlay so text is white & clear */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5); 
}

/* Find .hero-section h1 and REPLACE it with this: */
.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    
    /* THE FIX: Luxury Gold */
    color: #d4af37 !important;
    
    /* Stronger shadow needed for Gold to be readable */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    
    margin-bottom: 1rem;
}
.btn-shop {
    background: var(--gold);
    color: white;
    padding: 12px 35px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s;
}
.btn-shop:hover { background: #b59020; color: white; transform: translateY(-2px); }

/* Aesthetic Category Cards */
.cat-card {
    position: relative;
    overflow: hidden;
    border-radius: 0; /* Sharp edges for luxury feel */
    border: none;
    margin-bottom: 30px;
    cursor: pointer;
}
.cat-card img {
    width: 100%;
    height: 400px; /* Taller, elegant aspect ratio */
    object-fit: cover;
    transition: transform 0.6s ease;
}
.cat-card:hover img { transform: scale(1.05); }

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 40px 20px 20px;
    color: white;
    text-align: center;
    transition: all 0.3s;
}
.cat-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 400;
    letter-spacing: 1px;
}
.cat-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}
/* Floating Action Button */
.btn-gold {
    background-color: #d4af37;
    color: white;
    font-family: 'Playfair Display', serif;
    transition: transform 0.3s;
}
.btn-gold:hover {
    background-color: #b59020;
    color: white;
    transform: scale(1.05);
}

/* Modal Styling */
.modal-content {
    border-radius: 0; /* Sharp edges for luxury feel */
}
.form-control:focus {
    box-shadow: none;
    border: 1px solid #d4af37 !important;
    background: white !important;
}
/* Footer */
/* footer { background-color: #222; color: #aaa; padding: 40px 0; font-size: 0.9rem; } */
/* --- LUXURY FOOTER STYLES --- */
.footer {
    background-color: #1a1a1a;
    color: #b0b0b0; /* Soft grey text */
    font-size: 0.95rem;
}

/* Links (Clean & Simple) */
.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: #d4af37; /* Turns Gold on hover */
    padding-left: 5px; /* Slight movement effect */
}

/* Round Social Buttons */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #333; /* Subtle border */
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #d4af37; /* Fills with Gold */
    border-color: #d4af37;
    color: white;
    transform: translateY(-3px); /* Floats up slightly */
}
/* --- 1. LUXURY HERO BANNER --- */
.category-hero {
    /* Replace with a URL to a generic jewellery background if you have one */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    height: 350px; /* Taller, more impressive banner */
    margin-bottom: 60px;
}

/* --- 2. PREMIUM PRODUCT CARDS --- */
.jewel-card {
    border: none;
    background: #fff;
    transition: all 0.4s ease; /* Smooth floating effect */
    border-radius: 0px; /* Sharp corners look more expensive */
}

/* Hover Effect: The card floats up and gets a shadow */
.jewel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Image styling */
.jewel-card img {
    transition: transform 0.5s ease;
}

.jewel-card:hover img {
    transform: scale(1.05); /* Subtle zoom on image */
}

/* --- 3. TYPOGRAPHY & BUTTONS --- */
.card-title {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.price-tag {
    color: #c5a880; /* The signature Gold color */
    font-family: 'Lato', sans-serif;
}

/* The "Inquire" Button */
.btn-dark {
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: #c5a880; /* Turns Gold on hover */
    border-color: #c5a880;
    color: #fff;
}
.footer-link { 
    transition: color 0.3s ease; 
} 
.footer-link:hover { 
    color: #d4af37 !important; 
}
.category-banner-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .category-banner-card {
        height: 300px !important; /* Shorter on mobile for better scrolling */
    }
}
/* Standard Button State */
.btn-soulscript {
    background-color: #333 !important; /* Elegant Dark Gray/Black */
    color: white !important;
    border: none !important;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.4s ease; /* Smooth transition for the glow */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Golden Hover State */
.btn-soulscript:hover {
    background-color: #D4AF37 !important; /* Metallic Gold */
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); /* Golden Glow */
    transform: translateY(-2px); /* Subtle lift */
}

/* Active/Click State */
.btn-soulscript:active {
    background-color: #B8860B !important; /* Darker Gold on click */
    transform: translateY(0);
}
.soulscript-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(34, 34, 34, 0.95); /* Deep charcoal */
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    border-left: 4px solid #D4AF37; /* Soulscript Gold */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.soulscript-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.text-gold {
    color: #D4AF37;
}
.product-zoom-img {
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.product-zoom-img:hover {
    transform: scale(1.02);
}

.zoom-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #333;
    pointer-events: none;
}

.text-gold {
    color: #d4af37 !important;
}

.border-gold {
    border-color: #d4af37 !important;
}
.order-item img {
    border: 1px solid #eee;
}

.last-child-no-border:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.bg-warning-subtle {
    background-color: #fff3cd;
}
.btn-sm {
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Makes the SweetAlert progress bar golden */
.swal2-timer-progress-bar {
    background: #D4AF37 !important;
}
/* Force SweetAlert Success Icon to be Golden */
.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #D4AF37 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.swal2-icon.swal2-success .swal2-success-fix {
    background-color: transparent !important;
}