/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
}

html body {
    background: #000;
    color: #FEFFE9;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.home-page {
    overflow: hidden;
}

/* Header */
.header {
    position: absolute;
    top: 30px;
    width: 100%;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.nav-left {
    color: #FEFFE9;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
}
.nav-left:hover {
    color: #DFE777;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    width: 90px;
    filter: drop-shadow(0 0 6px rgba(200, 167, 78, 0.3));
}

/* COLORS 
#FEFFE9
#FFFDC1
#DFE777
#B8BC7F
#2E3105
*/
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Imagen fondo desenfocada */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/Prueba/img/Frame+259.webp") center/cover no-repeat;
    filter: blur(8px);
    transform: scale(1.05);
}

/* Capa oscura */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.6));
}

/* Contenido */
.hero-content {
    position: relative;
    max-width: 1200px;
    padding: 20px;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 15px;
    opacity: 0.7;
    margin-bottom: 50px;
}

/* CITA */
.cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cta span {
    font-size: 14px;
    color: #aaa;
}

/* Botón Vamono */
.btn {
    padding: 12px 32px;
    border: 1px solid #FFFDC1;
    color: #FFFDC1;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.btn:hover {
    background: #DFE777;
    color: #000;
}

/* ========================= */
/* GENERAL */
/* ========================= */

.artworks-page {
    font-family: 'Playfair Display', serif;
    margin: 0;
}

/* ========================= */
/* HERO DARK */
/* ========================= */

.art-hero {
    position: relative;
    padding: 180px 10% 160px;
    color: #FEFFE9;
    overflow: visible;
}

/* Imagen fondo */
.art-hero-bg {
    position: absolute;
    inset: 0;
    background: url("/Prueba/img/Frame+219.webp") center/cover no-repeat;
    filter: blur(18px) brightness(0.6);
    transform: scale(1.2);
    z-index: -2;
}

.art-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(0,0,0,0.4), rgba(0,0,0,0.95));
    z-index: -1;
}

.art-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.art-hero-text h1 {
    font-size: 80px;
    line-height: 1.05;
    max-width: 650px;
}

.art-hero-player {
    max-width: 380px;
    font-family: 'Inter', sans-serif;
}

.art-hero-player p {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 15px;
}


/* ========================= */
/* BEIGE SECTION */
/* ========================= */

.art-beige {
    position: relative;
    background: #FFFDC1;
    padding: 160px 10% 120px;
    color: #2b2b2b;
    z-index: 1;
}

.art-beige::before {
    content: "";
    position: absolute;
    bottom: -120px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #FFFDC1;

    clip-path: polygon(
        0 0%,
        50% 100%,
        100% 0%
    ); 

    z-index: 2;
}

.section-edit {
    background: #FEFFE9;
    padding: 250px 10% 130px 10%;
    color: #2b2b2b;
}

.beige-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 0px;
    font-size: 20px;
}

.art-content-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.art-image img {
    width: 400px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.art-info {
    max-width: 450px;
}

.art-info small {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    opacity: 0.7;
}

.art-info h2 {
    margin: 20px 0 40px;
    font-size: 34px;
    line-height: 1.3;
}

.download-btn {
    padding: 12px 30px;
    border: 1px solid #2b2b2b;
    text-decoration: none;
    color: #2b2b2b;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.download-btn:hover {
    background: #2b2b2b;
    color: #fff;
}

/* ========================= */
/* GALERÍA 3d */
/* ========================= */


.art-gallery {
  padding: 180px 8%;
  background: #DFE777;
  color: #2E3105;
  text-align: center;
  width: 100%;
  overflow: hidden; /* evita desbordes */
}
.gallery-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.gallery-item img {
    width: 100%;
    border-radius: 20px;
}

.placeholder-3d {
    height: 300px;
    background: #ccc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

/* ========================= */
/* GALERÍA 3D MEJORADA */
/* ========================= */

.art-gallery {
    padding: 180px 10% 160px;
    background: #DFE777;
    color: #2E3105;
    text-align: center;

}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    margin-bottom: 80px;
}

.gallery-row {
  display: flex;
  justify-content: space-between; /* center antes */
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}
model-viewer {
    max-width: 420px;
    height: 520px;
    border-radius: 25px;
    /*box-shadow: 0 20px 60px rgba(0,0,0,0.2);*/
}

.gallery-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.gallery-buttons .download-btn {
    border: 1px solid #2E3105;
    color: #2E3105;
}

.gallery-buttons .download-btn:hover {
    background: #2E3105;
    color: #FFFDC1;
}

.btn:hover {
  background-color: #aab85a;
  transform: translateY(-2px);
}

/* 3d  margin: 0 auto;*/
.gallery-3d-wrapper {
    max-width: 420px;
    flex-shrink: 0;
    
}

/* imagen */

.Principal-img img {
    model-viewer {
        width: 100%;
        max-width: 420px;
        height: auto;
        }
    width: 400px;
    border-radius: 25px;
    /*box-shadow: 0 20px 60px rgba(0,0,0,0.2);*/
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: flex-start; /* importante */
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.gallery-buttons-2 {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.gallery-buttons-2 button {
  padding: 10px 16px;
  border: 1px solid #2E3105;
  background:  #DFE777;
  cursor: pointer;
  transition: 0.2s;
}
.gallery-buttons-2 button a{
    text-decoration:none;
    color: #2b2b2b;
}

.gallery-buttons-2 button:hover {
  background:  #2b2b2b;
  color: #DFE777;
}
