﻿/* ============================================
   RATAN GOLD BUYERS - Premium Brand Stylesheet
   Brand Colors: Maroon #4A0E17 | Gold #D4A017 | White #FFFFFF
   Modern Gradient Edition
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    --gold: #D4A017;
    --gold-light: #E0B030;
    --gold-dark: #B8890F;
    --maroon: #4A0E17;
    --maroon-light: #5E1520;
    --maroon-dark: #360A10;
    --cream: #FFF8EE;
    --gray: #666666;
    --light: #F5F0E8;
    --white: #FFFFFF;
    --green: #2E7D32;
    --red: #c0392b;
    --whatsapp: #25D366;
    /* Gradient Presets */
    --gradient-maroon: linear-gradient(135deg, #5E1520 0%, #4A0E17 50%, #360A10 100%);
    --gradient-gold: linear-gradient(135deg, #F0D060 0%, #D4A017 50%, #B8890F 100%);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(212, 160, 23, 0.15) 0%, rgba(212, 160, 23, 0.05) 100%);
    --gradient-dark: linear-gradient(180deg, #2D080D 0%, #360A10 50%, #1A0508 100%);
    --gradient-hero: linear-gradient(135deg, rgba(74, 14, 23, 0.94) 0%, rgba(54, 10, 16, 0.88) 50%, rgba(94, 21, 32, 0.92) 100%);
    --gradient-cta: linear-gradient(135deg, rgba(54, 10, 16, 0.97) 0%, rgba(74, 14, 23, 0.93) 50%, rgba(94, 21, 32, 0.95) 100%);
    --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FDF8EE 100%);
    --gradient-light: linear-gradient(180deg, #FDF8EE 0%, #F5F0E8 100%);
    --gradient-green: linear-gradient(135deg, #3CB043 0%, #2E7D32 100%);
    --gradient-whatsapp: linear-gradient(135deg, #2DD46B 0%, #25D366 100%);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, #FFF8EE 0%, #FFFDF7 50%, #FFF8EE 100%);
}

/* ============================================
   3. TOP BAR
   ============================================ */
.top-bar {
    background: linear-gradient(180deg, #1A0508 0%, var(--maroon-dark) 100%);
    color: #ccc;
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .top-bar .gold-rate-ticker {
        color: var(--gold);
        font-weight: 600;
        animation: pulse 2s infinite;
    }

    .top-bar .rate-up {
        color: var(--green);
        margin-left: 5px;
    }

    .top-bar a {
        color: #ccc;
        text-decoration: none;
    }

        .top-bar a:hover {
            color: var(--gold);
        }

/* ============================================
   4. LANGUAGE SWITCHER
   ============================================ */
.language-switcher select {
    background: rgba(74, 14, 23, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

    .language-switcher select option {
        background: var(--gradient-maroon);
        color: #fff;
    }

/* ============================================
   5. NAVBAR
   ============================================ */
.navbar {
    background: var(--gradient-maroon);
    padding: 12px 0;
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

    .navbar.scrolled {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    }

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold) !important;
    letter-spacing: 1px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

    .navbar-brand .logo-rg {
        background: var(--gradient-gold);
        color: var(--maroon);
        font-weight: 900;
        font-size: 1.4rem;
        padding: 6px 12px;
        border-radius: 4px;
        letter-spacing: 0;
    }

    .navbar-brand span {
        display: block;
        font-size: 0.7rem;
        color: #ccc;
        letter-spacing: 3px;
        font-weight: 400;
    }

.nav-link {
    color: #ccc !important;
    font-weight: 500;
    margin: 0 8px;
    transition: color 0.3s;
    position: relative;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--gold) !important;
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 8px;
            right: 8px;
            height: 2px;
            background: var(--gradient-gold);
        }

.btn-call-nav {
    background: var(--gradient-gold);
    color: var(--maroon-dark) !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.95rem;
    animation: glow 2s infinite;
}

    .btn-call-nav:hover {
        background: linear-gradient(135deg, #F5D870 0%, #E0B030 100%);
        transform: translateY(-2px);
    }

/* ============================================
   6. HERO
   ============================================ */
.hero {
    background: var(--gradient-hero), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--maroon);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

    .hero .badge-trust {
        background: linear-gradient(135deg, rgba(212, 160, 23, 0.2) 0%, rgba(212, 160, 23, 0.1) 100%);
        border: 1px solid var(--gold);
        color: var(--gold);
        padding: 8px 20px;
        border-radius: 50px;
        font-size: 0.9rem;
        display: inline-block;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 3rem;
        font-weight: 800;
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 15px;
        line-height: 1.3;
    }

        .hero h1 .highlight {
            background: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 35px;
        color: #ccc;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

    .hero-buttons .btn-gold {
        background: var(--gradient-gold);
        color: var(--maroon-dark);
        font-weight: 700;
        padding: 14px 35px;
        border-radius: 50px;
        font-size: 1.1rem;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
        border: none;
    }

        .hero-buttons .btn-gold:hover {
            background: linear-gradient(135deg, #F5D870 0%, #E0B030 100%);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(212, 160, 23, 0.5);
        }

    .hero-buttons .btn-outline {
        background: transparent;
        border: 2px solid var(--gold);
        color: var(--gold);
        font-weight: 600;
        padding: 12px 30px;
        border-radius: 50px;
        font-size: 1.1rem;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
    }

        .hero-buttons .btn-outline:hover {
            background: linear-gradient(135deg, rgba(212, 160, 23, 0.15) 0%, rgba(212, 160, 23, 0.05) 100%);
        }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

    .hero-stats .stat {
        text-align: center;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
        font-weight: 700;
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-stats .stat-label {
        font-size: 0.85rem;
        color: #ccc;
    }

/* ============================================
   7. SECTION TITLES
   ============================================ */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 55px;
}

    .section-title .subtitle {
        color: var(--gold);
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .section-title h2 {
        font-weight: 700;
        font-size: 2.2rem;
        color: var(--maroon);
        margin-bottom: 15px;
    }

        .section-title h2 span {
            background: var(--gradient-gold);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

    .section-title .divider {
        width: 60px;
        height: 3px;
        background: var(--gradient-gold);
        margin: 0 auto;
        border-radius: 2px;
    }

    .section-title p {
        color: var(--gray);
        max-width: 600px;
        margin: 15px auto 0;
    }

/* ============================================
   8. PROCESS STEPS
   ============================================ */
.process-section {
    background: var(--gradient-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.process-step {
    text-align: center;
    flex: 1;
    min-width: 180px;
    position: relative;
    padding: 30px 15px;
}

    .process-step .step-number {
        width: 60px;
        height: 60px;
        background: var(--gradient-gold);
        color: var(--maroon-dark);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 auto 15px;
        transition: transform 0.3s;
        box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
    }

    .process-step:hover .step-number {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(212, 160, 23, 0.5);
    }

    .process-step h5 {
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--maroon);
    }

    .process-step p {
        font-size: 0.85rem;
        color: var(--gray);
    }

    .process-step::after {
        content: '→';
        position: absolute;
        right: -20px;
        top: 45px;
        font-size: 1.5rem;
        color: var(--gold);
    }

    .process-step:last-child::after {
        content: '';
    }

/* ============================================
   9. LIVE RATE WIDGET
   ============================================ */
.rate-widget {
    background: var(--gradient-maroon);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 40px rgba(74, 14, 23, 0.4);
    border: 1px solid rgba(212, 160, 23, 0.2);
}

    .rate-widget .rate-label {
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #ccc;
    }

    .rate-widget .rate-prices {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin: 25px 0;
        flex-wrap: wrap;
    }

    .rate-widget .rate-item h3 {
        font-size: 1rem;
        color: #ccc;
        font-weight: 400;
    }

    .rate-widget .rate-item .price {
        font-size: 2.2rem;
        font-weight: 700;
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .rate-widget .rate-update {
        font-size: 0.8rem;
        color: #aaa;
    }

/* ============================================
   10. GOLD CALCULATOR
   ============================================ */
.calculator-section {
    background: var(--gradient-maroon);
    color: #fff;
}

.calculator-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

    .calculator-box label {
        color: var(--gold);
        font-weight: 600;
        margin-bottom: 8px;
    }

    .calculator-box .form-control,
    .calculator-box .form-select {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        padding: 12px;
        border-radius: 8px;
    }

        .calculator-box .form-control:focus,
        .calculator-box .form-select:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 0.2rem rgba(212, 160, 23, 0.25);
        }

        .calculator-box .form-select option {
            background: var(--maroon-dark);
            color: #fff;
        }

.calculator-result {
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.15) 0%, rgba(212, 160, 23, 0.05) 100%);
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

    .calculator-result .result-amount {
        font-size: 2.5rem;
        font-weight: 800;
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* ============================================
   11. COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

    .comparison-table th,
    .comparison-table td {
        padding: 15px 20px;
        text-align: center;
    }

    .comparison-table thead th {
        background: var(--gradient-maroon);
        color: #fff;
        font-weight: 600;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

        .comparison-table thead th:first-child {
            background: var(--gradient-gold);
            color: var(--maroon-dark);
        }

    .comparison-table tbody tr {
        border-bottom: 1px solid #e0e0e0;
        transition: background 0.3s;
    }

        .comparison-table tbody tr:hover {
            background: linear-gradient(90deg, #FFFDF7 0%, #FFF8EE 100%);
        }

    .comparison-table tbody td {
        font-size: 0.95rem;
    }

    .comparison-table .check {
        color: var(--green);
        font-size: 1.3rem;
        font-weight: bold;
    }

    .comparison-table .cross {
        color: var(--red);
        font-size: 1.3rem;
        font-weight: bold;
    }

/* ============================================
   12. SERVICE CARDS
   ============================================ */
.service-card {
    background: var(--gradient-card);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #eee;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-color: var(--gold);
        background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
    }

    .service-card .icon-circle {
        width: 80px;
        height: 80px;
        background: var(--gradient-gold-subtle);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        font-size: 2rem;
    }

    .service-card h4 {
        font-weight: 700;
        margin-bottom: 12px;
        color: var(--maroon);
    }

    .service-card p {
        color: var(--gray);
        font-size: 0.9rem;
    }

/* ============================================
   13. TESTIMONIALS (KEPT FOR STYLING, REMOVED FROM INDEX)
   ============================================ */
.testimonial-section {
    background: var(--gradient-light);
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 10px;
    border-left: 4px solid var(--gold);
}

    .testimonial-card .stars {
        color: var(--gold);
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .testimonial-card .quote {
        font-style: italic;
        margin-bottom: 15px;
        color: #555;
        line-height: 1.6;
    }

    .testimonial-card .author {
        font-weight: 600;
        color: var(--maroon);
    }

/* ============================================
   14. OWNER SECTION
   ============================================ */
.owner-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
}

.owner-card {
    background: var(--gradient-card);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #eee;
}

    .owner-card .owner-photo {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        border: 4px solid var(--gold);
        margin: 0 auto 20px;
        background: var(--gradient-light);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 4rem;
        color: #ccc;
    }

    .owner-card h4 {
        font-weight: 700;
        color: var(--maroon);
        font-size: 1.3rem;
    }

    .owner-card .owner-title {
        color: var(--gold);
        font-weight: 600;
        margin-bottom: 10px;
    }

    .owner-card p {
        line-height: 1.8;
    }

/* ============================================
   15. GALLERY
   ============================================ */
.gallery-img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .gallery-img:hover {
        transform: scale(1.03);
    }

    .gallery-img img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

/* ============================================
   16. FAQ ACCORDION
   ============================================ */
.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 5px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.12) 0%, rgba(212, 160, 23, 0.05) 100%);
    color: var(--maroon);
    font-weight: 600;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gold);
}

.accordion-body {
    color: #555;
    line-height: 1.7;
}

/* ============================================
   17. CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-cta), url('/images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--maroon);
    color: #fff;
    padding: 80px 0;
}

    .cta-section h2 {
        background: var(--gradient-gold);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 700;
        font-size: 2rem;
    }

    .cta-section p {
        color: #ccc;
    }

    .cta-section .btn-cta {
        background: var(--gradient-gold);
        color: var(--maroon-dark);
        font-weight: 700;
        padding: 15px 40px;
        border-radius: 50px;
        font-size: 1.2rem;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s;
    }

        .cta-section .btn-cta:hover {
            background: linear-gradient(135deg, #F5D870 0%, #E0B030 100%);
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(212, 160, 23, 0.5);
        }

/* ============================================
   18. WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: var(--gradient-whatsapp);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
    animation: bounce 2s infinite;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        color: #fff;
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    }

/* ============================================
   19. GOOGLE REVIEWS
   ============================================ */
.google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--maroon-dark);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
    transition: all 0.3s;
    border: none;
}

    .google-reviews:hover {
        background: var(--gold-light);
        box-shadow: 0 6px 20px rgba(212, 160, 23, 0.5);
        transform: translateY(-2px);
        color: var(--maroon-dark);
    }

/* ============================================
   20. WHY ITEMS
   ============================================ */
.why-item {
    padding: 15px 15px 15px 20px;
    border-left: 3px solid var(--gold);
    margin-bottom: 20px;
    background: var(--gradient-card);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

    .why-item h5 {
        font-weight: 600;
        color: var(--maroon);
        margin-bottom: 5px;
    }

    .why-item p {
        color: var(--gray);
        margin: 0;
    }

/* ============================================
   21. FOOTER
   ============================================ */
.footer {
    background: var(--gradient-dark);
    color: #bbb;
    padding: 60px 0 20px;
}

    .footer h5 {
        color: var(--gold);
        font-weight: 700;
        margin-bottom: 20px;
        font-size: 1.1rem;
    }

    .footer a {
        color: #bbb;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer a:hover {
            color: var(--gold);
        }

    .footer .eco-badge {
        background: var(--gradient-green);
        color: #fff;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        display: inline-block;
        margin-top: 10px;
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

/* ============================================
   22. KEYFRAME ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(212, 160, 23, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(212, 160, 23, 0.6);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-8px);
    }
}

/* ============================================
   23. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .process-step::after {
        content: '';
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

        .hero-buttons .btn-outline {
            margin-left: 0;
        }

    .process-steps {
        flex-direction: column;
    }

    .rate-widget .rate-prices {
        gap: 20px;
    }

    .rate-widget .rate-item .price {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .calculator-box {
        padding: 25px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }
}
