/* Amaze Jewels custom styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@400;500;700&display=swap');

:root {
    --gold: #d4af37;
    --dark: #121212;
    --light: #ffffff;
    --gray-light: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
    color: var(--light) !important;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--light);
    border: none;
}

.btn-gold:hover,
.btn-gold:focus {
    background-color: #b5922d;
    color: var(--light);
}

/* Outline gold button */
.btn-outline-gold {
    color: var(--gold);
    border: 1px solid var(--gold);
    background-color: transparent;
}
.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background-color: var(--gold);
    color: var(--light);
}

/* Card styles */
.card-product {
    border: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--light);
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card-product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform .3s;
}

.card-product:hover img {
    transform: scale(1.05);
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: #fff;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

/* Hero section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--light);
    padding: 5rem 0;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Category showcase */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform .2s;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-badges .badge {
    background: var(--gray-light);
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

/* Form control */
.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212,175,55,.25);
}

/* Table styles */
table.table td, table.table th {
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .category-card {
        height: 150px;
    }
}