/*
Theme Name: Compro Oro Palermo
Theme URI: https://comprooropalermo.com
Description: Tema profesional para tienda de compra de oro. Diseño elegante, responsivo y completamente personalizable.
Version: 1.0.0
Author: Compro Oro Palermo
Author URI: https://comprooropalermo.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: compro-oro-palermo
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ==========================================================================
   RESET Y ESTILOS BASE
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

a {
  color: #D4AF37;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #c49e2e;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   TIPOGRAFÍA
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* ==========================================================================
   CONTENEDOR Y LAYOUT
   ========================================================================== */

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.col {
  flex: 1;
  padding: 15px;
  min-width: 250px;
}

.col-2 {
  flex: 0 0 50%;
}

.col-3 {
  flex: 0 0 33.333%;
}

.col-4 {
  flex: 0 0 25%;
}

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

header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;1a1a1a
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #D4AF37, #f0e68c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #D4AF37;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D4AF37;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.btn-solicitar {
  background-color: #D4AF37;
  color: #1a1a1a;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-solicitar:hover {
  background-color: #c49e2e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

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

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg') center/cover;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: #f0f0f0;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #D4AF37;
  color: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #c49e2e;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid #D4AF37;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #D4AF37;
  color: #1a1a1a;
}

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

section {
  padding: 4rem 0;
}

section.light {
  background-color: #f9f9f9;
}

section.dark {
  background-color: #1a1a1a;
  color: white;
}

section.dark h2,
section.dark h3 {
  color: white;
}

section.dark p {
  color: #e0e0e0;
}

/* ==========================================================================
   TARJETAS DE PRODUCTOS
   ========================================================================== */

.product-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #D4AF37;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #D4AF37;
}

.product-card h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.product-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ==========================================================================
   PROCESO (PASOS)
   ========================================================================== */

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #D4AF37, #f0e68c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.process-step p {
  color: #666;
  font-size: 0.95rem;
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #D4AF37;
}

.testimonial-text {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.stars {
  color: #D4AF37;
  font-size: 1.1rem;
}

/* ==========================================================================
   FORMULARIO
   ========================================================================== */

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background-color: #D4AF37;
  color: #1a1a1a;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: #c49e2e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   UBICACIÓN Y HORARIOS
   ========================================================================== */

.location-info {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.location-icon {
  color: #D4AF37;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.location-content h3 {
  margin-bottom: 0.5rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table td {
  padding: 0.75rem;
  border-bottom: 1px solid #eee;
}

.schedule-table td:first-child {
  font-weight: 600;
  color: #1a1a1a;
}

.schedule-table td:last-child {
  text-align: right;
  color: #D4AF37;
  font-weight: 600;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   MAPA
   ========================================================================== */

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

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

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

.footer-section a {
  color: #D4AF37;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #f0e68c;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #D4AF37;
  color: #1a1a1a;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #f0e68c;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

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

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

.whatsapp-button:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
  }
}

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

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

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

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

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .col-2,
  .col-3,
  .col-4 {
    flex: 0 0 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

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

  .location-info {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero {
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  section {
    padding: 2rem 0;
  }
}
