/* ===========================
   PATRICIA ABAL – MIYAGUI
   Stylesheet
   =========================== */

:root {
  --black: #0a0a0a;
  --dark: #1a1a1a;
  --mid: #2e2e2e;
  --light-gray: #c8c8c8;
  --off-white: #f0ede8;
  --white: #ffffff;
  --accent: #b5432a;
  --accent-light: #d9634a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* SKIP LINKS */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 6px 12px;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===========================
   HEADER / NAV
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mid);
  padding: 0 2rem;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
.main-nav ul li a {
  display: block;
  padding: 1.1rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-gray);
  transition: color 0.2s;
  font-weight: 400;
}
.main-nav ul li a:hover { color: var(--white); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--off-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem 0;
  width: 100%;
  text-align: right;
}

/* ===========================
   HERO
   =========================== */
.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}
.hero-logo {
  max-width: 480px;
  margin: 0 auto 2rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--light-gray);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-social { margin-top: 1.5rem; }

/* ===========================
   SOCIAL LINKS
   =========================== */
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.social-links a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  border-bottom: 1px solid var(--mid);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.social-links a:hover { color: var(--accent); border-color: var(--accent); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--light-gray);
  color: var(--light-gray);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  font-family: var(--font-body);
  font-weight: 400;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ===========================
   SECTION SERVICES
   =========================== */
.section-services {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid var(--mid);
}
.section-services h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--off-white);
}
.section-services h3 a { border-bottom: 1px solid var(--accent); }
.section-services h3 a:hover { color: var(--accent-light); }

.portadas-services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.portadas-services .service-text { text-align: center; }
.portadas-services .service-photo,
.portadas-services .portadas-img {
  width: 100%;
  object-fit: cover;
}

/* GIF HERO */
.gif-hero {
  width: 100%;
  line-height: 0;
  display: flex;
  justify-content: center;
  background: var(--black);
  padding: 0;
}
.gif-hero a { display: block; width: 100%; }
.gif-hero img,
.gif-hero video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s;
}
.gif-hero img:hover,
.gif-hero video:hover { opacity: 0.9; }

/* ===========================
   GALLERY GRID
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 4px;
  padding: 4px;
}
.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-grid img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

/* ===========================
   BIO / CONTACTO
   =========================== */
.section-bio {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}
.section-bio h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}
.bio-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 3rem;
}
.bio-photo {
  flex-shrink: 0;
  width: 180px;
  border-radius: 2px;
}
.bio-text p { margin-bottom: 1rem; font-size: 0.95rem; }

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 3rem auto 0;
  text-align: left;
}
.contact-form label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light-gray);
}
.contact-form input,
.contact-form textarea {
  background: var(--dark);
  border: 1px solid var(--mid);
  color: var(--off-white);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.75rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--accent-light); }

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--mid);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--light-gray);
}
.site-footer .social-links { margin: 1rem 0; }
.back-to-top {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--light-gray);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.back-to-top:hover { color: var(--accent); }

/* GOOGLE TRANSLATE */
.translate-widget {
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.idioma-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--light-gray);
  text-transform: uppercase;
}
.goog-te-combo {
  background: var(--dark) !important;
  color: var(--off-white) !important;
  border: 1px solid var(--mid) !important;
  padding: 5px 10px !important;
  font-size: 0.78rem !important;
  font-family: var(--font-body) !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  outline: none !important;
  min-width: 140px !important;
}
.goog-te-combo:hover { border-color: var(--accent) !important; }
.goog-te-gadget > a { display: none !important; }
.goog-te-gadget > span > a { display: none !important; }
.goog-te-gadget img { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ===========================
   INNER PAGES
   =========================== */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  letter-spacing: 0.35em;
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-family: var(--font-display);
  border-bottom: 1px solid var(--mid);
}
.back-link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  border-bottom: 1px solid var(--mid);
  margin-bottom: 3rem;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

/* GALERÍA PAGE */
.gallery-section { padding: 3rem 2rem; border-top: 1px solid var(--mid); }
.gallery-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  text-align: center;
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px;
}
.gallery-masonry img {
  width: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.gallery-masonry img:hover { opacity: 0.8; }

.canva-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 2rem 0;
}
.canva-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  min-height: 300px;
}


.collection-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-top: 0.5rem;
}

/* GALERÍA 2x3 */
.gallery-6grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 6px;
  row-gap: 80px;
}
.gallery-6grid img {
  width: 100%;
  height: 460px;
  object-fit: contain;
  background: var(--black);
  transition: opacity 0.3s;
}
.gallery-6grid img:hover { opacity: 0.8; }



/* PORTADAS PAGE */
.portadas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
  padding: 3rem 2rem;
}
.portadas-grid a, .portadas-grid-plain img {
  display: block;
  overflow: hidden;
}
.portadas-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.3s;
}
.portadas-grid img:hover { opacity: 0.8; transform: scale(1.03); }
.portadas-cta {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--mid);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto;
}

/* CONTACTO PAGE */
.contacto-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}
.contacto-wrap h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 2rem; letter-spacing: 0.15em; }
.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}
.links-grid a { display: block; transition: opacity 0.2s; }
.links-grid a:hover { opacity: 0.7; }
.links-grid img { max-height: 48px; width: auto; }
.links-grid .text-link {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gray);
  border: 1px solid var(--mid);
  padding: 0.5rem 1.2rem;
}
.links-grid .text-link:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.contact-info {
  font-size: 0.9rem;
  color: var(--light-gray);
  margin: 2rem auto;
  max-width: 560px;
  line-height: 1.9;
}
.contact-info a { color: var(--accent); }

/* Botón galería solo móvil */
.mobile-gallery-btn {
  display: none;
}

/* Subtítulo hero solo móvil */
.hero-mobile-subtitle { display: none; }
.hero-mobile-title { display: none; }
.hero-mobile-logo { display: none; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    padding-bottom: 1rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul li a { padding: 0.7rem 1rem; font-size: 0.85rem; }

  .hero-logo { display: none; }
  .hero-mobile-logo {
    display: block;
    width: 160px;
    margin: 0 auto 0.5rem;
  }
  .hero-mobile-title {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
  }
  .hero-mobile-subtitle {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--light-gray);
    margin-bottom: 0.3rem;
  }

  .mobile-gallery-btn {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
  }

  .portadas-services {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bio-inner { flex-direction: column; align-items: center; text-align: center; }
  .bio-photo { width: 140px; }

  .canva-embed { padding-top: 75%; }
  .canva-embed iframe { min-height: 260px; }

  .gallery-6grid { grid-template-columns: 1fr; }
  .gallery-6grid img { height: auto; max-height: 90vw; }

  .arte-gaza-img {
    max-width: 100% !important;
    width: 100%;
  }
  .portadas-darkart-img {
    max-width: 100% !important;
    width: 80% !important;
  }
  .portafolio-link-title {
    font-size: 1rem !important;
    letter-spacing: 0.15em !important;
  }

  .portadas-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 1.5rem 1rem;
  }
  .portadas-grid img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: var(--black);
  }
  .portadas-grid a {
    display: block;
    width: 100%;
  }
  .portadas-cta {
    padding: 2rem 1.5rem;
    font-size: 0.9rem;
  }
}
