/*
=====================================================
PROJECT: Edit Doula
AUTHOR: Juan Pendino <pendino@gmail.com>
COMPANY: Roncey Software <https://ronceyconsulting.com>
DATE: 2025-04-15

VERSION: 1.0.0
LICENSE: MIT License
=====================================================
*/

/*
=====================================================
1. RESET & GLOBAL CONFIGURATION
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Atlas Grotesk', sans-serif;
    font-weight: normal;
    font-style: normal;
    background-color: #000;
    color: #fafafa;
}

.wrapper {
    position: absolute;
    bottom: 0;
}
 .container {
            max-width: 900px;
            margin: 90px auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        
        .section {
            margin: 20px 0;
        }
        .section p {
            line-height: 1.6;
        }
        .list {
            list-style-type: none;
            padding: 0;
        }
        .list li {
            padding: 5px 0;
        }
        .list strong {
            color: #000;
        }

/*
=====================================================
2. TIPOGRAPHY
=====================================================
*/
@font-face {
    font-family: 'Atlas Grotesk';
    src: url('../fonts/AtlasGrotesk/AtlasGrotesk-Light.woff2') format('woff2'),
         url('../fonts/AtlasGrotesk/AtlasGrotesk-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atlas Grotesk';
    src: url('../fonts/AtlasGrotesk/AtlasGrotesk-Regular.woff2') format('woff2'),
         url('../fonts/AtlasGrotesk/AtlasGrotesk-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Atlas Grotesk';
    src: url('../fonts/AtlasGrotesk/AtlasGrotesk-RegularItalic.woff2') format('woff2'),
         url('../fonts/AtlasGrotesk/AtlasGrotesk-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Atlas Grotesk';
    src: url('../fonts/AtlasGrotesk/AtlasGrotesk-Medium.woff2') format('woff2'),
         url('../fonts/AtlasGrotesk/AtlasGrotesk-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Atlas Grotesk';
    src: url('../fonts/AtlasGrotesk/AtlasGrotesk-Black.woff2') format('woff2'),
         url('../fonts/AtlasGrotesk/AtlasGrotesk-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*
=====================================================
3. COMMON UTILITIES
=====================================================
*/

.hidden {
    display: none !important;
}

h2 {
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color:#fafafa;
    /*color: #96a9e8;*/
}

.text-center {
    text-align: center;
}

.badge {
    margin: 0 0 0.8rem 2.5rem;
    color: #ffffff;
    text-transform: capitalize;
}

strong {
     background-color:#97329b8f;
            color: #fff;
            padding: 0.3rem;
            font-weight: initial;
}

.size2-5 {
    font-size: 2.5rem;
}

/*
=====================================================
4. HEADER & NAVIGATION
===================================================== */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: transparent;
}
.brand {
    z-index: 1!important;
    max-width: 250px;
}
.brand a {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fafafa;
    text-decoration: none;
}
.brand img {
    width: 100%;
    height: auto;
}

.menu-toggle {
    width: 30px;
    height: 22px;
    position: absolute;
    right: 20px;
    cursor: pointer;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px; /* espacio entre líneas */
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 9;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.4s ease, opacity 0.3s ease;
    transform-origin: center;
}
.menu-toggle.open {
    position: fixed;
}
/* Animación cruz */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    background: #97329b;
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    background: #97329b;
}

.menu-content {
    position: fixed;
    height: 100vh;
    right: -100vw;
    background-color: #ffffff8c;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: right 0.5s ease;
    z-index: 8;
}

.menu-content.show {
    right: 0;
}

.menu-content nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 40px;
}

.menu-content nav a {
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    color: #97329b;
    transition: color 0.3s;
    width: 100%;
}

.menu-content nav a:hover {
    color: #ffffff;
    background-color: #97329b;
}

.menu-content .footer-contact {
    margin-top: 2rem;
    font-size: 1rem;
}

.menu-content .footer-contact p {
    margin: 5px 0;
}

/* Botón de cierre dentro del menú */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 30;
}

.close-btn span {
    position: absolute;
    top: 13px;
    left: 0;
    width: 100%;
    height: 4px;
    background: red;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-btn span:first-child {
    transform: rotate(45deg);
}

.close-btn span:last-child {
    transform: rotate(-45deg);
}

/*
=====================================================
5. MEDIA QUERIES
=====================================================
*/

@media (min-width: 769px) {
    .about-content h2 {
    font-size: 4rem!important;
}
    .projects-rows .row {
    font-size: 3.5rem!important;
    }

    .menu-content {
        /*width: 50vw;*/
        right: -50vw;
        left: auto;
        
    }

    .menu-content .footer-contact {
        display: none;
    }
    
    .menu-content.show {
        right: 0;
    }

    .menu-toggle:hover {
        transform: scale(1.1);
    }

    .menu-toggle:hover + .menu-content {
        right: 0;
    }
    .content-title h2 {
    font-size: 3.5rem!important;
}
.about-content {
    max-width: 65vw;
    padding: 6rem 2rem 4rem 4rem!important;
}
.about-text {
    font-size: 1.8rem!important;
    line-height: 1.6!important;
}
}


/*
=====================================================
6. COMPONENTS
=====================================================
*/

/* Botones, cards, formularios, etc. */

/*
=====================================================
8. PAGES
=====================================================
*/

.home.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.home video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: none;
}
.home video.active {
    display: block;
}

.projects-rows {
    position: relative;
    z-index: 1;
    padding: 0.5rem 0 2rem 2rem;
}

.projects-rows .row {
    font-size: 2.5rem;
    line-height: 1;
    display: grid;
}

.row .link {
  position: relative;
  display: inline-block;
  color: #fafafa;
  padding: 0.4rem;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
}

.row .link::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #97329b;
  z-index: -1;
}

.row .link:hover::before {
  width: 100%;
}


section.about-us {
    position: relative;
  overflow: hidden;
        min-height: 100vh;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    #edit-doula {
        background-image: url('../images/bg-about1.jpg?9596');
    }
    #remote-workflows {
        background-image: url('../images/bg-about2a.jpg');
    }
    #remote-workflows .about-content {
        max-width: 50vw;
    }
    #contact {
        background-image: url('../images/contacto.jpg');
    }
.about-content {
    min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  margin-top: 6rem;
  color: #fff;
  position: relative;
}

.about-text {
  color: #fafafa;
  font-family: 'Atlas Grotesk', sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
}

#bio .about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: initial!important;
  margin: 0 auto;
  padding: initial!important;
}
.bio-col {
    position: relative;
  padding: 2rem;
}
.bio-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.bio-text p {
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.col-left,
.col-right {
  flex: 1 1 48%;
  box-sizing: border-box;
  padding: 0px 1rem 0px 3rem;
}



/* En móviles, que las columnas se apilen */
@media (max-width: 991px) {
  .col-left,
  .col-right {
    flex: 1 1 100%;
    padding: 1rem;
  }
  
}

.about-text p {
    margin-bottom:1.6rem;
}

.credits {
    float: right;
    padding: 2rem;
}

.col-left {
  align-self: flex-start;
}

.col-right {
  align-self: flex-start;
  position: relative;
}

@media (min-width: 769px) {
 


@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}


}

@media (min-width: 1920px) {
    
.bio-text p {
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1.4rem;
}
}

.about-content h2 {
  width: 100%;
  font-size: 2rem;
  font-weight: 900;
}

@media screen and (max-width: 768px) {
    .projects-rows .row {
    font-size: initial;
}
    .back-link {
        display: none!important;
    }
  .cover-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    display: block;
    margin: 0 auto;
  }
  .about-content {
    flex-direction: column;
  }

  .about-text {
    flex: 1 1 100%;
  }

  .content-footer {
    width: 80%;
    flex-direction: column;
    align-items: flex-start!important;
    padding: 0 0 1.5rem 1.5rem;
}
.platform-logos p, .film-logos p {
    font-size: 1rem!important;
    text-align: left!important;
}
.film-logos {
    padding-left: initial!important;
}
.size2-5 {
    font-size: 1.4rem;
}

.rrss-link {
        background-color: #fff;
    color: #97329b;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.3rem;
    margin-right: 2rem;
    border-radius: 12px;
}
.rrss-link:hover {
    background-color:#97329b;
    color: #fff;
}

.mr-1 {
    margin-right: 1;
}

#remote-workflows h2,
#remote-workflows p,
#remote-workflows h2,
#bio p
{
        /*color:#282828;*/
    }
}


@media (min-width: 768px) {
    h2 {
        font-size: 28pt;
    }

}

/*
=====================================================
9. ANIMATIONS & EFFECTS
=====================================================
*/

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

/*
=====================================================
10. PROJECT ITEM - FILM
=====================================================
*/
 .hero-img {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
  }
  .content-title {
    width: 100%;
    padding: 2rem;
     position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  }
  .content-title h2 {
    margin-bottom: 0px;
    color: #fff;
    text-transform: uppercase;
    font-size: 2rem;
  }
  .content-title h3 {
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
  }
  .content-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0 0 1.5rem 1.5rem;

  }
  .film-logos {
    padding-left: 2rem;
    text-align: center;
  }
  .platform-logos p,
  .film-logos p {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
  }
  .film-logos img {
    height: 60px;
    width: auto;
  }
  .experience-section {
  display: flex;
  flex-direction: row;
  padding: 2rem;
  box-sizing: border-box;
  gap: 2rem;
}

.experience-left-column,
.experience-right-column {
  flex: 1;
}

.tech-sheet {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.tech-item {
  border-top: 1px solid #fafafa;
  padding: 1rem 0;
  color: #fafafa;
  font-size: 1rem;
}

.tech-item:last-child {
  border-bottom: 1px solid #fafafa;
}
.tech-label {
  font-weight: 900;
}
.tech-sublist {
  list-style: none;
  padding-left: 1.5rem; /* efecto de tabulación */
  margin: 0.5rem 0 0;
}

.tech-sublist li {
  color: #fafafa;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.movie-cover {
  margin-top: 2rem;
  text-align: center;
}

.cover-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.experience-title {
  font-size: 2rem;
  color: #fafafa;
  margin-bottom: 1rem;
}

.experience-right-column p {
  font-size: 1rem;
  color: #fafafa;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
  .experience-section {
    flex-direction: column;
    height: auto;
  }

  .experience-left-column,
  .experience-right-column {
    flex: unset;
  }
}
.awards-section {
  padding: 4rem 2rem;
  background-color: #000;
  color: #fafafa;
}

.awards-container {
  max-width: 1200px;
  margin: 0 auto;
}

.awards-title-wrapper {
  margin-bottom: 2rem;
  text-align: center;
}

.awards-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Atlas Grotesk Black', sans-serif;
  color: #fafafa;
}

.awards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #fafafa;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 500px;
  width: 100%;
}

.award-logo {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.award-text {
  flex: 1;
}

.award-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 0.3rem 0;
  color: #fafafa;
}

.award-description {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
}

.platform-logo {
    height: 60px;
    width: auto;
}

/* Responsive */
@media (max-width: 600px) {
  .award-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .award-logo {
    width: 50px;
  }

  .award-text {
    margin-top: 0.5rem;
  }
}

.trailer-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 45vh;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
}

.trailer-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 2rem;
}

.trailer-title {
  margin-bottom: 0px;
}

.trailer-play-button {
  background: none;
  border: none;
  cursor: pointer;
}

.play-icon {
  fill: #fff;
  width: 60px;
  height: 60px;
}
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-wrapper {
  position: relative;
  width: 80%;
  max-width: 960px;
  aspect-ratio: 16/9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

.close-video-button {
  position: absolute;
  top: -40px;
  right: -20px;
  background: none;
  border: none;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left:50%;
  font-size: 2rem;
  color: #fafafa;
  animation: bounce 2s infinite;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}
.scroll-indicator.hidden {
  opacity: 0;
}

.timeline-deco {
  width: 100%;
  height: 5px;
  background-image: repeating-linear-gradient(
    to right,
    #97329b 0 20px,
    transparent 30px 50px
  );
  margin: 2rem auto;
  opacity: 0.2;
}
  .back-link {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top:2rem;
    left:2rem;
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
    z-index: 1111;
  }

