::-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;
}



.header {
    position: top;
    top: 0;
    max-width: 100%;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

.header .right a {
    color: #fff;
    margin-left: 20px;
    font-size: 18px;
    transition: color 0.3s;
}

.header .right a:hover {
    color: #1db954;
}

.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: 48px;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 2rem;
    width: 100%;
}

.horizontal-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.vertical-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.image-container {
    overflow: hidden;
}

.image-container img {
    width: 100%;
    display: block;
    border: none;
    outline: none;
    transition: transform 0.4s ease;
    object-fit: cover;
}

.horizontal-row .image-container img {
    aspect-ratio: 16/9; 
}

.vertical-row .image-container img {
    aspect-ratio: 9/16; 
}

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

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

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

.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;
}

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

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;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

/**RESPONSIVE**/

/* Hasta 1200px */
@media screen and (max-width: 1200px) {
    .horizontal-row {
        grid-template-columns: repeat(3, 1fr);
    }

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

    h1 {
        font-size: 40px;
    }

    .contact-button {
        font-size: 1.5em;
        padding: 12px 30px;
    }

    .footer-simple {
        flex-direction: column;
        gap: 10px;
    }
}

/* Hasta 900px */
@media screen and (max-width: 900px) {
    .horizontal-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .vertical-row {
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 0.6rem 1.2rem;
    }

    .header .left {
        margin-bottom: 0;
    }

    .header .right {
        display: flex;
        gap: 15px;
        align-items: center;
        margin-top: 0;
        margin-left: auto;
    }

    .overlay {
        padding: 70px 15px 40px;
    }

    h1 {
        font-size: 36px;
    }

    .contact-button {
        font-size: 1.3em;
        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;
  }
}

/* Hasta 600px */
@media screen and (max-width: 600px) {
    .horizontal-row {
        grid-template-columns: 1fr;
    }

    .vertical-row {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 30px;
    }

    .contact-button {
        font-size: 1.1em;
        padding: 10px 20px;
    }

    .header {
        padding: 0.5rem 1rem;
    }

    .header .home-link {
        font-size: 14px;
    }

    .header .right a {
        font-size: 16px;
        margin-left: 12px;
    }

    .footer-simple {
        font-size: 12px;
        padding: 1rem 2rem;
    }

    .modal-content {
        max-width: 95%;
        max-height: 80%;
    }

    .close-modal {
        font-size: 30px;
        right: 20px;
    }
}

/* Hasta 400px */
@media screen and (max-width: 400px) {
    h1 {
        font-size: 26px;
    }

    .contact-button {
        font-size: 1em;
        padding: 8px 18px;
    }

    .header .right a {
        margin-left: 10px;
        font-size: 14px;
    }

    .footer-simple {
        flex-direction: column;
        font-size: 11px;
        gap: 5px;
    }
}

