/**SCROLLBAR**/
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: #000000; 
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #8f8f8f 90%, rgba(192, 195, 194, 0)); 
  border-radius: 10px;
  border: 2px solid #383838; 
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #3b3a3a 90%, rgba(165, 168, 167, 0));
}

body, html {
    margin: 0;
    padding: 0;
    background: url('ESTUDIOARTURIUS.jpg') no-repeat center center fixed;
    font-family: Arial, sans-serif;
    color: #fff;
    background-size: cover;
    background-position: center center;
}

.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    z-index: 9999;
}

.top-bar .home-link {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.top-bar .right a {
    color: #fff;
    margin-left: 20px;
    font-size: 18px;
    transition: color 0.3s;
    padding-right: 3rem;
}

.top-bar .right a:hover {
    color: #1db954; 
}

.top-bar .left a{
    padding-left: 3rem;
}

.overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 100px 20px 50px; 
}

h1 {
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -1.5px;
    font-size: 30px;
}

.gallery {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

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

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

.video-container {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.video-container img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: none;
    outline: none;
    transition: transform 0.4s ease;
}

.video-container:hover img {
    transform: scale(1.03);
}

/* Botón de Play negro centrado */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

.caption {
    text-align: center;
    margin-top: 10px;
    font-size: 15px;
    letter-spacing: 1px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 50px;
    padding-top: 3rem;
}

.contact-button {
    background-color: transparent;
    color: #fff;
    padding: 15px 40px;
    border: 2px solid #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 2px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    display: inline-block;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.contact-button:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
    opacity: 50%;
}

footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin-top: 1rem;
}

.footer-left p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

.footer-logo {
  height: 55px;
  width: auto;
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.footer-row span {
  color: #aaa; 
  font-weight: bold;
}

.footer-row a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-row a:hover {
  color: #f1c40f;
}

.footer-right {
  text-align: right;
  font-size: 0.85rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

.footer-right .dev {
  margin-top: 8px;
  font-size: 0.8rem;
}

.footer-right .dev a {
  color: #b5b6b5;
  text-decoration: none;
}

.footer-right .dev a:hover {
  text-decoration: underline;
}

/* ======= DISEÑO RESPONSIVO ======= */
@media (max-width: 1440px) {
    .gallery-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 36px; }
    .gallery-3 { grid-template-columns: repeat(2, 1fr); }
    .gallery-2 { grid-template-columns: 1fr; }
    .top-bar .left a, .top-bar .right a {
        padding: 0 1rem;
        font-size: 14px;
    }
    .contact-button {
        font-size: 1.5em;
        padding: 12px 30px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 28px; }
    .gallery-3, .gallery-2 { grid-template-columns: 1fr; }
    .top-bar { flex-direction: column; align-items: flex-start; }
    .top-bar .left, .top-bar .right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }
    .top-bar .right { padding-right: 1rem; }
    .home-link { margin-left: 7.5rem; }
    .caption { font-size: 13px; }
    .contact-button {
        font-size: 1.2em;
        padding: 10px 25px;
    }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    height: 45px;
  }

  .footer-left p {
    font-size: 0.85rem;
    max-width: 250px;
  }

  .footer-center {
    gap: 12px;
  }

  .footer-row {
    gap: 8px;
  }

  .footer-row a {
    font-size: 0.9rem;
  }

  .footer-right {
    font-size: 0.8rem;
    text-align: center;
  }
}

