/* ========== Premium Color Scheme ========== */
:root {
    --primary-color: #1a1a1a;      /* Elegant Black */
    --secondary-color: #c9a961;    /* Champagne Gold */
    --accent-color: #8b7355;       /* Bronze */
    --tertiary-color: #2c2c2c;     /* Dark Gray */
    --text-dark: #1a1a1a;
    --text-light: #6b7280;
    --bg-light: #f8f7f4;           /* Warm Off-White */
    --bg-premium: #faf9f6;         /* Ivory */
    --success-color: #10b981;
    --whatsapp-color: #25d366;
    --border-gold: #d4af37;
}

/* ========== Global Styles ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-premium);
}

a {
    transition: all 0.3s ease;
}

/* Premium Gradient Background */
.premium-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.premium-border {
    border-top: 3px solid var(--secondary-color);
}

/* Elegant Typography */
.font-elegant {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
}

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

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

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

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

/* ========== Navbar ========== */
.navbar {
    padding: 1.2rem 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.navbar-brand {
    font-size: 1.6rem;
    color: var(--primary-color) !important;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Georgia', serif;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Search Bar */
.search-form {
    min-width: 300px;
}

.search-input-group {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.15);
    border: 2px solid rgba(201, 169, 97, 0.3);
    transition: all 0.3s ease;
    background: #fff;
}

.search-input-group:focus-within {
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
    border-color: var(--secondary-color);
}

.search-input {
    border: none;
    border-right: none;
    padding: 0.65rem 1.3rem;
    font-size: 0.9rem;
    background: #fefefe;
    transition: all 0.3s ease;
}

.search-input:focus {
    border: none;
    box-shadow: none;
    background: #fff;
    outline: none;
}

.search-input::placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.btn-search {
    background: linear-gradient(135deg, var(--secondary-color), #b89952);
    border: none;
    color: #fff;
    padding: 0.65rem 1.3rem;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: linear-gradient(135deg, #b89952, var(--secondary-color));
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.btn-search i {
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .search-form {
        width: 100%;
    }
}

/* ========== Buttons ========== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 32px;
}

.btn-primary:hover {
    background-color: var(--tertiary-color);
    border-color: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 12px 32px;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.5);
    color: white;
}

/* ========== WhatsApp Floating Button ========== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin-top: 4px;
}

/* ========== Cards ========== */
.card {
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.card-img-top {
    border-radius: 0;
    object-fit: cover;
    height: 230px;
    transition: transform 0.5s ease;
}

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

/* ========== Product Cards ========== */
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.product-card img {
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(201, 169, 97, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.product-card .card-body {
    background: linear-gradient(to bottom, white 0%, rgba(248, 247, 244, 0.3) 100%);
}

.product-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ========== Trust Badges ========== */
.trust-badge {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 247, 244, 0.95) 100%);
    border-left: 3px solid var(--secondary-color);
    margin: 10px 0;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.trust-badge i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2em;
}

/* ========== Hero Section ========== */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ========== Section Headings ========== */
.section-heading {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), var(--accent-color), transparent);
}

.section-heading.text-start::after {
    left: 0;
    transform: none;
}

/* ========== Forms ========== */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ========== Footer ========== */
.footer-premium {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    border-top: 3px solid var(--secondary-color);
    position: relative;
    color: #d1d1d1;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.5;
}

.footer-heading {
    color: var(--secondary-color);
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 1.125rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.footer-text {
    color: #b8b8b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Footer Badges */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15), rgba(201, 169, 97, 0.05));
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 20px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.badge-premium:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.25), rgba(201, 169, 97, 0.1));
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.2);
}

/* Footer Links */
.footer-links {
    padding-left: 0;
}

.footer-link {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
    opacity: 0.6;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.footer-link:hover i {
    transform: translateX(4px);
    opacity: 1;
}

/* Footer Info */
.footer-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8b8b8;
    font-size: 0.95rem;
}

.footer-info i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 20px;
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b8b8b8;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    min-width: 20px;
    margin-top: 2px;
}

.footer-contact .bi-whatsapp {
    color: #25d366;
}

/* Social Icons */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.05));
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--secondary-color), #b89952);
    border-color: var(--secondary-color);
    color: #000;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    padding: 25px 0;
    margin-top: 20px;
}

.footer-copyright {
    color: #999;
    font-size: 0.9rem;
}

.footer-credit {
    color: #999;
    font-size: 0.9rem;
}

.text-gold {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-premium {
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-link {
        justify-content: center;
    }
    
    .footer-info li,
    .footer-contact li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* ========== Responsive Adjustments ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .card-img-top {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ========== Loading Animation ========== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Utility Classes ========== */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Premium Background Texture */
.bg-light {
    background-color: var(--bg-premium) !important;
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(201, 169, 97, 0.02) 10px,
            rgba(201, 169, 97, 0.02) 20px
        );
    pointer-events: none;
}

/* Premium accent line */
.premium-accent {
    position: relative;
    padding-top: 3px;
}

.premium-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}
