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

/* ================= VARIABLES ================= */
:root {
  --menu-base-rgb: 25,25,25;
  --menu-opacity: 0.75;
  --text-main: #EDE300;
  --text-secondary: #fff;
  --bg-rgb: 29,29,27;
  --menu-blur: 8px;
}

/* ================= BODY ================= */
body {
  background: rgb(var(--bg-rgb));
  color: var(--text-secondary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  line-height: 1.4;
}

/* ================= NAV ================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 8px;
  text-align: right;
  background: rgba(var(--bg-rgb), 0.95);
  z-index: 1000;
  padding-right: clamp(20px, 10vw, 120px);
}

nav .nav-logo {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 127px;
  z-index: 20;
}

/* ================= MENU TOGGLE ================= */
input[type="checkbox"] {
  display: none;
}

.menu-toggle {
  display: inline-block;
  cursor: pointer;
  position: relative;
  z-index: 1010;
}

.menu-toggle svg {
  width: 30px;
  height: 30px;
  fill: var(--text-main);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#close {
  display: none;
}

/* ================= CSS para alternar iconos ================= */
#menu:checked + .menu-toggle #Capa_2 {
  display: none;
}

#menu:checked + .menu-toggle #close {
  display: block;
}

/* Animación al pasar por encima */
.menu-toggle:hover {
  animation: swingBlur .4s ease-in-out;
  transform-origin: center;
  will-change: transform, filter;
}

/* ================= MENU LIST ================= */
.menu-list {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(var(--menu-base-rgb), var(--menu-opacity));
  backdrop-filter: blur(var(--menu-blur));
  -webkit-backdrop-filter: blur(var(--menu-blur));
  z-index: 999;
  padding: 40px 20px;
  overflow-y: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#menu:checked ~ .menu-list {
  display: flex;
}

/* ================= MENU ITEMS ================= */
.menu-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.menu-list li {
  width: 100%;
  max-width: 720px;
}

.menu-list a {
  display: block;
  width: 100%;
  padding: 18px 24px;
  text-align: center;
  font-size: clamp(18px, 3.6vw, 28px);
  text-decoration: none;
  border-radius: 8px;
  background: transparent;
  transition: 0.2s ease;
  position: relative;
  color: var(--text-main);
  font-family: Helvetica, sans-serif;
}

.menu-list a.white {
  color: var(--text-secondary);
}

.menu-list a:hover {
  animation: swingBlur .4s ease-in-out;
  transform-origin: -1px center;
  will-change: transform, filter;
}

/* ================= ANIMATIONS ================= */
@keyframes swingBlur {
  0%   { transform: rotate(0); filter: blur(0); }
  15%  { transform: rotate(10deg); filter: blur(1px); }
  30%  { transform: rotate(-10deg); filter: blur(2px); }
  45%  { transform: rotate(7deg); filter: blur(1px); }
  60%  { transform: rotate(-7deg); filter: blur(1.5px); }
  75%  { transform: rotate(3deg); filter: blur(.5px); }
  100% { transform: rotate(0); filter: blur(0); }
}

/* ================= SECCIONES ================= */
.SecLogo {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.SecLogo .sec-logo img {
  width: 40vw;
  max-width: 320px;
}

.BGProj1, .BGProj2, .BGProj3 {
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.BGProj1 { background-image: url("img/blenderCuchara.png"); }
.BGProj2 { background-image: url("img/CUP.png"); }
.BGProj3 { background-image: url("img/FOTO.png"); }

.Proj {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  text-align: center;
  height: 100vh;
  padding-bottom: 60px;
}

.TitulosProj {
  color: white;
  font-size: clamp(60px, 15vw, 120px);
  font-family: "dazzle-unicase", sans-serif;
}

.botonVer {
  margin-top: 150px;
  background: rgb(var(--bg-rgb));
  color: var(--text-main);
  width: clamp(150px, 20vw, 230px);
  padding: clamp(10px, 2vw, 20px);
  font-family: Helvetica, sans-serif;
  font-weight: bold;
}

.botonVer:hover {
  animation: swingBlur .4s ease-in-out;
  transform-origin: center;
  will-change: transform, filter;
  background: var(--text-main);
  color: rgb(var(--bg-rgb));
}

.filtros{
    width: 40px;
  height: 40px;
  justify-self: end;
  fill: var(--text-main);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
    color: #ffffff;
}

.hero-section .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-section .text-content {
    padding-right: 40px;
}

.hero-section h1 {
    font-size: 120px;
      font-family: "dazzle-unicase", sans-serif;
    font-weight: bold;
    margin-bottom: 60px;
    letter-spacing: 2px;
color: white;
}

.hero-section .text-content p {
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.8;
color: white;
  font-family: Helvetica, sans-serif;

}

.hero-section .image-container {
    position: relative;
}

.hero-section .image-container img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 40px;
    }

    .hero-section h1 {
        font-size: 80px;
    }

    .hero-section .content-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 30px 20px;
    }

    .hero-section .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-section .text-content {
        padding-right: 0;
    }

    .hero-section h1 {
        font-size: 60px;
        margin-bottom: 40px;
    }

    .hero-section .text-content p {
        font-size: 14px;
    }
}





.blender-section {
    min-height: 100vh;
    color: #ffffff;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blender-section h2 {
    font-size: 80px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 3px;
          font-family: "dazzle-unicase", sans-serif;

}

.blender-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 50px;
}

.blender-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.blender-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.blender-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.blender-text p {
    font-size: 14px;
    line-height: 1.8;
    color: white;
      font-family: Helvetica, sans-serif;

}

.blender-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blender-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* ================= CARRUSEL ================= */
.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.4s ease;
}

.carousel-track img {
    min-width: 100%;
    flex-shrink: 0;
    max-width: none;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 2.2rem;
    line-height: 1;
    padding: 6px 14px;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.2s;
}

.dot.active {
    background: var(--text-main);
}

@media (max-width: 1024px) {
    .blender-section {
        padding: 60px 40px;
    }

    .blender-section h2 {
        font-size: 60px;
        margin-bottom: 40px;
    }

    .blender-gallery {
        gap: 15px;
    }

    .blender-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blender-section {
        padding: 40px 20px;
    }

    .blender-section h2 {
        font-size: 45px;
        margin-bottom: 30px;
    }

    .blender-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .blender-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blender-text p {
        font-size: 13px;
    }
}

/* ================= FOOTER ================= */
footer {
  padding: clamp(10px, 5vw, 60px) clamp(20px, 10vw, 120px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.iconosFooter {
  width: 25px;
  height: 25px;
  fill: var(--text-main);
  margin: 10px;
}
a{
  text-decoration: none;
}
a svg:hover {
  animation: swingBlur .4s ease-in-out;
  transform-origin: center;
  will-change: transform, filter;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 720px) {
  .SecLogo .sec-logo img {
    width: 60vw;
    max-width: 200px;
  }

  .menu-list a {
    font-size: clamp(16px, 4.5vw, 24px);
  }
}

html {
  scroll-behavior: smooth;
}

.gallery-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-4 img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= GALERIA FOTOGRAFIA ================= */
.foto-gallery img {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.foto-gallery img:hover {
    filter: grayscale(0%);
}

/* ================= LIGHTBOX ================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.lightbox-close svg {
  width: 36px;
  height: 36px;
  fill: var(--text-main);
  display: block;
}

.lightbox-close:hover svg {
  animation: swingBlur .4s ease-in-out;
  transform-origin: center;
  will-change: transform, filter;
}

.blender-gallery img,
.carousel-track img {
  cursor: pointer;
}