/* Google Fonts are loaded via HTML */

:root {
  --title-font: 'Playfair Display', serif;
  --body-font: 'Inter', sans-serif;
  --text-color: #111;
  --gray-light: #f4f4f4;
  --gray-dark: #333;
  --accent: #d86e52;
  --container-width: 1200px;
}

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

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

/* NAV */
.nav {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--title-font);
  font-size: 20px;
  text-decoration: none;
  color: #000;
}

.nav-menu a,
.nav-right a {
  margin: 0 10px;
  text-decoration: none;
  color: #222;
  font-size: 15px;
}

.cart-icon {
  margin-left: 10px;
  font-size: 20px;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--container-width);
  margin: 40px auto;
  padding: 20px;
}

.hero-text h1 {
  font-family: var(--title-font);
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text-largo h1 {
  font-family: var(--title-font);
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text p {
  max-width: 420px;
  margin-bottom: 15px;
}

.hero-text .link {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

.hero-img img {
  width: 100%;
  border-radius: 4px;
}

.img-caption {
  font-size: 13px;
  margin-top: 8px;
  color: #555;
}

/* ÚLTIMAS CREACIONES */
.ultimas {
  text-align: center;
  padding: 50px 20px;
  background: var(--gray-light);
}

/* GALERIA (para index.html) */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3%;
}

.galeria img {
  width: 100%;
  border-radius: 4px;
}

.galeria p {
  margin-top: 10px;
  font-family: var(--title-font);
  font-size: 18px;
}

.galeria span {
  color: #444;
  font-size: 15px;
}


.ultimas h2 {
  font-family: var(--title-font);
  font-size: 32px;
  margin-bottom: 40px;
}

.grid-obras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3%;
}

.obra img {
  width: 100%;
  border-radius: 4px;
}

.obra h3 {
  margin-top: 10px;
  font-family: var(--title-font);
  font-size: 18px;
}

.precio {
  color: #444;
  font-size: 15px;
  margin-bottom: 5px;
}

.buy-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 8px 14px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 3px;
}

/* OPINIONES */
.opiniones {
  padding: 60px 20px;
  text-align: center;
}

.opiniones h2 {
  font-family: var(--title-font);
  font-size: 32px;
  margin-bottom: 40px;
}

.opiniones-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mini-title {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #777;
}

.ver-mas {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: #111;
  color: #eee;
  padding: 60px 20px;
}

.footer-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.footer h4 {
  margin-bottom: 10px;
  font-family: var(--title-font);
  font-size: 18px;
  text-align: center;
}

.footer input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 4px;
  border: none;
}

.footer button {
  padding: 10px 16px;
  border: none;
  background: var(--accent);
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.credito {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
}

/* BANNER DESTACADO REDES SOCIALES */
.social-cta {
    padding: 70px 20px;
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center; 

}

.social-cta h2 {
    font-family: var(--title-font);
    font-size: 36px;
    margin-bottom: 15px;
}

.social-cta p {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #444;
}

/* --- SOCIAL BUTTONS --- */
.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    max-width: 350px;
    flex-wrap: wrap;
}

.btn-ig, .btn-wa {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

/* Instagram button */
.btn-ig {
    background: #111;
    color: white;
}
.btn-ig:hover {
    background: #333;
}

/* WhatsApp button */
.btn-wa {
    background: #25D366;
    color: white;
}
.btn-wa:hover {
    background: #1eb856;
}

/* Responsive */
@media (max-width: 600px) {
    .social-buttons {
        flex-direction: column;
        gap: 12px;
    }
}



/* RESPONSIVE */
@media (max-width: 600px) {
    .social-cta h2 {
        font-size: 28px;
    }
    .social-buttons {
        flex-direction: column;
        gap: 12px;
    }
}


/* RESPONSIVE */
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    max-width: 100%;
    margin: 0 auto 15px auto;
  }

  .hero-text h1 {
    font-size: 46px;
  }

  .galeria {
    padding: 20px;
    gap: 20px;
  }
}