/* Estilos para Pafaritos - Tienda de Aros para Novias */
:root {
  --primary-color: #C2BD9D; /* Beige/caqui del logo */
  --secondary-color: #9A9579; /* Versión más oscura del beige para contraste */
  --accent-color: #5A5746; /* Versión aún más oscura para acentos */
  --bg-color: #FFFFFF; /* Blanco */
  --text-color: #333333;
  --font-main: 'Playfair Display', 'Didot', serif;
  --font-secondary: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

/* Header y Navegación */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
}

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

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)), url('../images/aretes-novia-elegante-1.jpeg');
  background-size: cover;
  background-position: center;
  margin-top: 70px;
}

.hero h1 {
  font-family: var(--font-main);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--accent-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(194, 189, 157, 0.3);
}

/* Sección de Colección */
.collection {
  padding: 5rem 5%;
}

.section-title {
  font-family: var(--font-main);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent-color);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-family: var(--font-main);
  margin-bottom: 5px;
  color: var(--accent-color);
}

.gallery-overlay p {
  font-size: 0.9rem;
}

/* Sección Acerca de */
.about {
  padding: 5rem 5%;
  background-color: rgba(194, 189, 157, 0.2); /* Versión transparente del beige */
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding-right: 3rem;
}

.about-text h2 {
  font-family: var(--font-main);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: white;
  padding: 3rem 5%;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: var(--font-main);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-section p {
  margin-bottom: 1rem;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background-color: white;
  color: var(--accent-color);
  border-radius: 50%;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

/* WhatsApp Flotante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Optimización para dispositivos móviles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo-img {
    height: 40px;
    margin-bottom: 10px;
  }
  
  .nav-links {
    margin-top: 1rem;
  }
  
  .nav-links li {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
