/* 
* Salasar We Buy Gold - Main Stylesheet
* Author: AI Assistant
* Version: 1.0
*/

/* ===== Base Styles ===== */
:root {
    /* Color Variables */
    --primary-color: #D4AF37; /* Gold */
    --primary-dark: #B8860B; /* Darker Gold */
    --primary-light: #F5E7A3; /* Light Gold */
    --secondary-color: #333333; /* Dark Gray */
    --text-color: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --black: #000000;
    --light-bg: #F9F9F9;
    --border-color: #E0E0E0;
    --success: #28a745;
    --danger: #dc3545;
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Box Shadow */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #444;
    color: var(--white);
}

.btn-call {
    background-color: var(--success);
    color: var(--white);
}

.btn-call:hover {
    background-color: #218838;
    color: var(--white);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.btn-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--black);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 15px 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
}

.main-nav .nav-list li {
    margin: 0 15px;
    position: relative;
}

.main-nav .nav-list li a {
    color: var(--white);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav .nav-list li a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-list li a:hover:after,
.main-nav .nav-list li a.active:after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--black);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--primary-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px !important;
    color: var(--white);
}

.dropdown-menu li a:hover {
    background-color: rgba(212, 175, 55, 0.2);
}

.header-buttons {
    display: flex;
    align-items: center;
}

.header-buttons .btn {
    margin-left: 10px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ===== Rate Ticker ===== */
.rate-ticker {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-label {
    font-weight: 600;
    margin-right: var(--spacing-sm);
    white-space: nowrap;
    min-width: 180px;
    display: flex;
    align-items: center;
}

.update-time {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-left: 10px;
    font-weight: normal;
}

.ticker-items {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ticker-item {
    display: flex;
    align-items: center;
    margin-right: var(--spacing-md);
    white-space: nowrap;
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.ticker-item .metal {
    font-weight: 500;
    margin-right: 5px;
}

.ticker-item .price {
    font-weight: 600;
}

/* Add a subtle highlight effect on hover */
.ticker-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary-color);
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.hero-buttons .btn {
    padding: 15px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: space-between;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
}

.badge img {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
}

.badge i {
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.badge:hover i {
    transform: scale(1.1);
}

.badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: var(--spacing-md);
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    z-index: -1;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
    border: 3px solid var(--white);
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* ===== Services Highlights ===== */
.services-highlights {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.gold-icon {
    color: var(--primary-color);
}

.silver-icon {
    color: #C0C0C0;
}

.diamond-icon {
    color: #B9F2FF;
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

/* ===== How It Works ===== */
.how-it-works {
    background-color: var(--white);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps-container:before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto var(--spacing-sm);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto var(--spacing-sm);
}

.step h3 {
    margin-bottom: var(--spacing-xs);
}

.step p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Why Choose Us ===== */
.why-choose-us {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.feature {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
    min-width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.feature p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== Testimonials Preview ===== */
.testimonials-preview {
    background-color: var(--white);
}

.testimonial-slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-bg);
}

.testimonial-slider::-webkit-scrollbar {
    height: 6px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: var(--light-bg);
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.testimonial-card {
    flex: 0 0 350px;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.testimonial-rating {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--spacing-sm);
}

.author-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

.testimonial-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ===== FAQ Preview ===== */
.faq-preview {
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.faq-question {
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-sm);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-cta {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: var(--spacing-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo img {
    height: 50px;
    margin-bottom: var(--spacing-sm);
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: var(--spacing-sm);
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-sm) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .steps-container {
        flex-wrap: wrap;
    }
    
    .steps-container:before {
        display: none;
    }
    
    .step {
        flex: 0 0 50%;
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        position: relative;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--black);
        box-shadow: var(--shadow-md);
        padding: var(--spacing-sm) 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        border-top: 1px solid var(--primary-color);
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-nav .nav-list {
        flex-direction: column;
    }
    
    .main-nav .nav-list li {
        margin: 10px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: auto;
        display: none;
        border: none;
        border-left: 2px solid var(--primary-color);
        margin-left: 15px;
        margin-top: 5px;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-buttons {
        display: none;
    }
    
    .hero-section {
        padding: var(--spacing-md) 0;
    }
    
    .hero-section .container {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
        order: 2;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .trust-badges {
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .hero-image {
        max-width: 90%;
        margin: 0 auto;
        order: 1;
    }
    
    .hero-image::before {
        display: none;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .testimonial-card {
        flex: 0 0 auto;
        width: 100%;
    }
}