@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/*
Theme Name: ORO PREMIUM
Theme URI: https://oropremium.es
Author: Manus AI
Author URI: https://manus.im
Description: Plantilla profesional para tienda de compra de oro con tasación profesional, pago inmediato, reseñas, mapa interactivo, formulario de contacto y botón de WhatsApp.
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oro-premium
Domain Path: /languages
Tags: gold, jewelry, business, responsive, mobile-friendly, contact-form, map, whatsapp

ORO PREMIUM - Tema WordPress Profesional para Tienda de Compra de Oro
Copyright (C) 2024

Este programa es software libre; puedes redistribuirlo y/o modificarlo
bajo los términos de la Licencia Pública General GNU tal como se publica
por la Free Software Foundation; ya sea la versión 2 de la Licencia, o
(a tu opción) cualquier versión posterior.
*/

/* ============================================
   VARIABLES Y ESTILOS GLOBALES
   ============================================ */

:root {
    --primary-color: #d4af37;
    --secondary-color: #1a1a1a;
    --accent-color: #8b7500;
    --light-bg: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    padding-top: 45px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */

.header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.6rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
}

.header.hide-header {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: normal;
}

.logo span {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: normal;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
}

.navbar {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
}



/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    color: var(--white);
    padding: 150px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23d4af37" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="none"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1.5px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */

section {
    padding: 80px 20px;
}

section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================================
   SECCIÓN TASACIÓN
   ============================================ */

.tasacion {
    background-color: var(--light-bg);
}

.tasacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tasacion-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tasacion-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tasacion-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.tasacion-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.card-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* ============================================
   SECCIÓN PROCESO/PAGO INMEDIATO
   ============================================ */

.pago-inmediato {
    background-color: var(--white);
}

.proceso-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step:hover .step-number {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.step:hover p {
    color: var(--secondary-color);
}

.step-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.step:hover .step-link {
    color: var(--secondary-color);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    display: none;
}

.beneficios-pago {
    display: flex;
    justify-content: space-around;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.beneficio {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.beneficio i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* ============================================
   SECCIÓN RESEÑAS
   ============================================ */

.resenas {
    background-color: var(--light-bg);
}

.resenas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.resena-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.resena-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.resena-texto {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.resena-autor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.resena-autor strong {
    color: var(--secondary-color);
}

.resena-autor span {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.resenas-cta {
    text-align: center;
    margin-top: 3rem;
}

.resenas-cta p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ============================================
   SECCIÓN UBICACIÓN/MAPA
   ============================================ */

.ubicacion {
    background-color: var(--white);
}

.mapa-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.mapa {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.info-ubicacion {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-ubicacion h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.info-item:hover {
    background-color: var(--white);
    transform: translateX(5px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.info-item strong {
    color: var(--secondary-color);
    display: block;
}

.info-item p {
    color: var(--text-light);
    margin-top: 0.3rem;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-color);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-link:hover {
    background-color: #1eaa50;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECCIÓN FORMULARIO
   ============================================ */

.contacto {
    background-color: var(--light-bg);
}

.formulario-container {
    max-width: 600px;
    margin: 2rem auto;
}

.formulario {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
}

.formulario button {
    width: 100%;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */

.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-flotante:hover {
    background-color: #1eaa50;
    transform: scale(1.1);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .navbar {
        order: 3;
        width: 100%;
        gap: 1rem;
        justify-content: space-around;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .mapa-container {
        grid-template-columns: 1fr;
    }

    .mapa {
        height: 300px;
    }

    .proceso-steps {
        flex-direction: column;
    }

    .step-arrow {
        display: block;
        transform: rotate(90deg);
        margin: 0;
    }

    .beneficios-pago {
        flex-direction: column;
        gap: 1rem;
    }

    .tasacion-grid {
        grid-template-columns: 1fr;
    }

    .resenas-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-flotante {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    section {
        padding: 40px 15px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .whatsapp-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .formulario {
        padding: 1.5rem;
    }
}
