/*
Theme Name: Layca Art
Author: Alexis Guerrero
Version: 1.50
Description: Tema personalizado para la web de Layca Art 2026
*/

html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative; 
  overflow-x: hidden;
  overflow-y: clip;
}

main {
  flex: 1;
}

.page-width {
  margin: 0 auto;
  padding: 3rem 2rem;
  max-width: 1400px;
}

.page-width p {
  line-height: 1.3;
}

.hero-header {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  padding: 0 5rem;
}

.hero-logo {
  padding: .5rem;
}

.hero-logo img {
  display: block;
  height: 20rem;
  width: 20rem;
}

.hero-nav {
  width: 33%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-btn {
  padding: .8rem 1.4rem;
  color: #000000;
  border: 2px solid black;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  width: 100%;
  font-size: smaller;
  text-align: center;
  white-space: nowrap;
  background-color: #ffffffa1;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background-color: #497163;
  color: white;
}

.hero-social {
  position: absolute;
  right: 0%;
  top: 0%;
}

.hero-social svg {
  width: 34px;
  height: 34px;
  fill: black;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  background: #000000d6;
  color: #fff;
  padding: 3rem 1.5rem 1rem;
  font-size: 0.9rem;
  position: relative;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
}

.footer-left {
  text-align: left;
}

.footer-center {
  text-align: center;
}

.footer-center .custom-logo {
  height: 12rem;
  width: 12rem;
  filter: invert(1);
}

.footer-right {
  text-align: right;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-subtitle {
  font-weight: 600;
  margin: 1rem 0 0.4rem;
}

.footer-description {
  line-height: 1.5;
  opacity: 0.9;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.3rem;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-inner.footer-grid p {
  text-wrap-style: balance;
}

section#servicios h2 {
  text-align: center;
  font-size: 2rem;
}

.section h2 {
  margin-bottom: 2rem;
  margin-top: 0;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bodas-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: 8px;
}

.service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.service-link:hover img {
  transform: scale(1.1);
  filter: brightness(0.85);
}

.service-text {
  padding: 0 1rem;
}

.image-wrapper {
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.service-link:hover .image-wrapper {
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.bodas-media video {
  width: 100%;
  border-radius: 8px;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.flowers {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  transform: rotate(115deg);
  height: 36%;
  left: 72vw;
  top: 4%;
  right: auto;
  opacity: .9;
}

.flowers2 {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  height: 23%;
  top: 41%;
  right: 62%;
  opacity: 0.6;
}

.faq-section {
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.faq-title {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-container {
  border-top: 1px solid black;
}

.faq-item {
  border-bottom: 1px solid black;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.faq-question {
  list-style: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  padding: 1rem;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.faq-icon::before, 
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: black;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item[open] .faq-icon::before {
  transform: translate(-50%, -50%) rotate(180deg);
}

.faq-item[open] .faq-question {
  margin-bottom: 1rem;
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.6;
  animation: fadeIn 0.4s ease forwards;
  padding: 0 1rem;
  color: #444;
}

.faq-answer p {
  margin: .5rem 0 .8rem;
}

.hero-badge-single {
  position: absolute;
  right: 2%;
  top: -12%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-badge-single:hover {
  transform: scale(1.1) rotate(2deg);
}

.pulse-highlight {
  animation: attention-pulse 0.8s ease-in-out 2;
}

@keyframes attention-pulse {
  0% {
    transform: translateY(0);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-10px);
    filter: brightness(1.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1159px) {
  .hero-nav {
    flex-direction: column;
    margin-right: 6%;
  }
}

@media (max-width: 768px) {
  .page-width {
    padding: 1.2rem;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-nav {
    width: 80%;
    text-align: center;
    margin-right: 0;
  }

  .hero-social {
    right: 0%;
    top: 0%;
    margin: 0;
    padding: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
  }

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .hero-logo {
    display: flex;
    justify-content: center;
  }

  .bodas-content {
    grid-template-columns: 1fr;
  }

  .page-width p {
    text-align: justify;
  }

  .service-item p {
    text-align: left;
  }

  .flowers {
    height: 14%;
    top: 3%;
    left: auto;
    opacity: 0.6;
  }

  .flowers2 {
    display: none;
  }

  .faq-question {
    font-size: 1rem;
  }

  .hero-badge-single {
    position: relative;
    display: block;
    text-align: center;
    margin: 1rem auto;
    right: auto;
    top: auto;
  }
}

@media (min-width: 596px) and (max-width: 877px) {
  .services-grid > .service-item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 1rem);
  }
}