/* ================================
   MEJIDO DESIGN - STYLESHEET
   ================================ */

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

/* Body */
body {
  font-family: "Optima", "Segoe UI", "Candara", "Calibri", Arial, sans-serif;
  background: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Container */
.container {
  text-align: center;
  max-width: 600px;
}

/* Logo */
.logo {
  width: 220px;
  height: 220px;
  margin: 0 auto -20px;
  animation:
    fadeIn 1s ease-in,
    breathe 3s ease-in-out infinite;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-text {
  position: absolute;
  color: #8b5a5f;
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: 1.5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 0 20px;
  line-height: 1.4;
}

.logo:hover img {
  opacity: 0;
}

.logo:hover .logo-text {
  opacity: 1;
}

/* Typography */
h1 {
  color: #666;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeIn 1s ease-in 1.2s forwards;
  line-height: 1.5;
}

h1 strong {
  font-weight: 600;
  font-size: 22px;
}

h2 {
  color: #8b5a5f;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s ease-in 1.6s forwards;
  line-height: 1.6;
}

/* Contact */
.contact {
  margin-top: 40px;
  opacity: 0;
  animation: fadeIn 1s ease-in 2s forwards;
}

.contact-label {
  color: #666;
  font-size: 14px;
  text-transform: lowercase;
  letter-spacing: 2px;
  position: relative;
  height: 20px;
}

.contact-label a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.contact-label a:hover {
  color: #8b5a5f;
}

.contact-label a .contact-text strong {
  font-weight: 600;
}

.contact-label a .contact-text,
.contact-label a .contact-email {
  transition: opacity 0.3s ease;
}

.contact-label a .contact-email {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
  white-space: nowrap;
  color: #8b5a5f;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.contact-label a:hover .contact-text {
  opacity: 0;
}

.contact-label a:hover .contact-email {
  opacity: 1;
}

/* Video Overlay */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.video-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-container {
  width: 90%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  background: black;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(0.8);
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.video-overlay.active .video-container {
  transform: scale(1);
  opacity: 1;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.3s ease;
  z-index: 10;
}

.close-video:hover {
  color: #8b5a5f;
}

/* Animations */
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .logo {
    width: 120px;
    height: 120px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 17px;
  }

  .contact-label {
    font-size: 12px;
  }

  .logo-text {
    font-size: 12px;
  }
}
