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

:root {
  --nav-height: 100px;
}

/* ----- BACKGROUND ----- */
.background {
  display: flex;
  align-items: center;
}

/* ----- PAGE ----- */
.page {
  display: none;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding-top: 150px;
  min-height: 100vh;
}

.page.active {
  display: block;
  opacity: 1;
}

/* ----- MODAL ----- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.modal-content {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  position: relative;
}

.modal iframe {
  width: 100%;
  height: 100%;
}

.modal.open {
  display: flex;
}

/* ----- CLOSE ----- */
.close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* ----- SECTION ----- */
section {
  display: none;
  width: 100%;
}

section.active {
  display: block;
}

/* ----- GENERAL ----- */
body, .content{
  font-family: 'Century Gothic Paneuropean', 'Century Gothic', sans-serif;
  font-weight: 100;
  font-style: normal;
  font-synthesis:none;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.03em;
  text-justify: inter-word;
  margin: 0;
  padding: 0;
}

main{
  padding-top: 120px;
}

/* ----- HOME & NAVIGATION ----- */ 
.Home{
  min-height: 100vh;
  width: 100%;
  background-image: url(../img/background.jpg);
  background-size: cover;
  background-position: center;
}

.logo, nav ul li a, h1{
    font-family: 'Courier New', Courier, monospace;
}

nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7%;
  padding-left: 8%;
  padding-right: 8%;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--nav-height);
}

.logo{
  color:#eeeeee;
  font-weight: 700;
  font-size: 50px;
  cursor: pointer;
}

nav > p {
  position: absolute;
  top: 135px;
  left: 8%;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 100;
  color: #eeeeee;
  letter-spacing: 0.03em;
  margin: 0;
  cursor: pointer;
}

nav ul{
  padding: 0;
  margin: 0;
}

nav ul li{
  list-style-type: none;
  display: inline-block;
  padding: 20px 65px;
}

nav ul li a{
  color: #eeeeee;
  text-decoration: none;
  font-weight: 400;
  font-size: 30px;
  position: relative;
  transition: transform 0.25s ease;
}

nav ul li a:hover{
  transform: translateY(-1px);
}

nav ul li a::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;

  width: 0;
  height: 1px;
  background-color: #eeeeee;

  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a:focus-visible::after{
  width: 100%;
}

/* ----- HOME IMAGE ----- */
.Home {
  position: relative;
}

.home-image {
  position: absolute;
  right: 8%;
  left: calc(8% + 800px + 60px);
  top: 55%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-image img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.home-image .photo-caption {
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #eeeeee !important;
  text-align: center;
  margin-top: 10px;
  opacity: 0.8;
  letter-spacing: 0.03em;
}

/* ----- CONTENT ----- */
.content{
  font-family: 'Century Gothic Paneuropean', 'Century Gothic', sans-serif;
  font-weight: 100;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: #eeeeee;
  padding-top: 80px;

  position: relative;
  top: 5%;
  left: 8%;
  transform: none;

  text-align: justify;
  max-width: 800px;
  letter-spacing: 0.03em;
  line-height: 2;
  text-justify: inter-word;
}

.content h1{
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: #925D73;
  font-size: 30px;
}

.content h4{
  font-weight: 100;
  font-style: normal;
  font-synthesis: none;
}

/* ----- TEXT STYLES ----- */
.highlight {
  color: #925D73;
  font-weight: 600;
}

.lila {  
  font-weight: 600;
  color: #85739c;
}

h2{
  font-family: 'Courier New', Courier, monospace;
  font-weight: 400;
  font-size: 50px;
  color: #eeeeee;
  margin-bottom: 15px;
  text-align: center;
  padding-top: 50px;
  margin-bottom: 40px;
}

h3{
  font-family: 'Courier New', Courier, monospace;
  font-weight: 400;
  font-size: 25px;
  color: #925D73;
  text-align: center;
}

/* ----- WORK ----- */
.Work{
  width: 100%;
  padding: 150px 100px 70px 100px;
  background-color: #120a0e;
}

.box{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.Work-text{
  grid-column: 1 / -1;       
  max-width: 1000px;
  font-size: 14px;
  color: #eeeeee;
  text-align: center;         
  margin: 20px auto 0; 
}

/* ----- CARDS ----- */
.card{
  height: 390px;
  width: 100%;
  max-width: 500px;
  padding: 20px;
  background: black;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin: 0 auto;
}

.card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.card .button{
  background-color: #3B1B28;
  color: #eeeeee;
  text-decoration: none;
  font-weight: 100;
  font-size: 20px;
  border-radius: 999px;

  border: 1px solid transparent;
  padding: 1px 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  min-height: 44px;
}

.btn,
.button,
.back-btn {
  width: fit-content;
  padding: 10px 20px;
  white-space: nowrap;
}

.Work .card .button {
  align-self: center;
}

/* ----- MORE IN BUTTON ----- */
.button:hover{
  transition: .4s;
  background-color: black;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.button{
  position: relative;
  transition: 
    background-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.button::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: #eeeeee;
  transition: width 0.3s ease, left 0.3s ease;
}

.button:hover::after{
  width: 70%;
  left: 15%;
}

.button:active{
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.button:focus-visible{
  outline: 2px solid #eeeeee;
  outline-offset: 4px;
}

/* ----- VIDEO THUMBNAIL ----- */
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.video-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.video-thumb:hover::before {
  background: rgba(0, 0, 0, 0.6);
}

.video-thumb:hover img {
  transform: scale(1.05);
}

/* ----- PLAY BUTTON ----- */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 50px;
  color: #eeeeee;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);

  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.video-thumb:hover .play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

/* ----- WORK PAGES ----- */
.Films,
.Music,
.Commercials,
.Other {
  background: black; 
  min-height: 100vh;
  padding: 150px 100px 70px 100px;
}

.Music .card,
.Films .card,
.Commercials .card,
.Other .card{
  padding: 0;
  height: auto;
  width: 100%;
  opacity: 1;
  transform: none;
  background: none;
  border-radius: 0;
}

/* ----- PAGE GRID ----- */
.Films .grid,
.Music .grid,
.Commercials .grid,
.Other .grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 30px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 300px;
}

.grid .card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  position: relative;
}

.grid .card:hover {
  background-color: none;
  box-shadow: none;
  transform: none;
}

.grid .video-thumb {
  position: relative;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 15px;
}

.grid .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.grid .video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.grid .video-thumb:hover::before {
  background: rgba(0, 0, 0, 0.65);
}

.grid .video-thumb:hover img {
  transform: scale(1.05);
}

.grid .video-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0 20px;
  color: #eeeeee;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.grid .video-thumb:hover .video-info {
  opacity: 1;
}

.grid .video-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #eeeeee;
}

.grid .video-description {
  font-size: 14px;
  font-family: 'Century Gothic Paneuropean', 'Century Gothic', sans-serif;
  color: #eeeeee;
  font-weight: 100;
  margin-bottom: 8px;
}

.grid .video-role {
  font-size: 14px;
  font-family: 'Century Gothic Paneuropean', 'Century Gothic', sans-serif;
  color: #eeeeee;
  font-weight: 100;
}

/* ----- SKELETON ----- */
.skeleton {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  background: linear-gradient(
    90deg,
    #1a1a1a 25%,
    #2a2a2a 37%,
    #1a1a1a 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* ----- ABOUT ----- */
.About{
  width: 100%;
  padding: 150px 100px 70px 100px;
  background-color: #110d17;
}

.About h2{
  margin-bottom: 60px;
}

.about-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.About img{
  height: auto;
  width: 300px;
  border-radius: 50px;
  display: flex;
}

.About-text h4{
  font-weight: 100;
  margin-bottom: 10px;
  text-align: center;
}

.About-text{
  width: 100%;
  max-width: 1000px;
  color: #eeeeee;
  text-align: justify;
}

.About-main{
  width: 1300px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ----- CONTACT ----- */
.Contact{
  width: 100%;
  padding: 150px 100px 70px 100px;
  background-image: url(../img/contact.jpg);
  background-size: cover;
  background-position: center;
}

.contact-wrapper {
  max-width: 900px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* ----- CONTACT FORM ----- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Century Gothic Paneuropean', 'Century Gothic', sans-serif;
  font-size: 16px;
  color: #eeeeee;

  background: black;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;

  outline: none;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #eeeeee;
  opacity: 1;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: black;
  opacity: 0.8;
  border-color: #85739c;
}

/* ----- CONTACT FORM STATUS ----- */
.form-status {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-status.success {
  color: #8bcf9c;
  opacity: 1;
}

.form-status.error {
  color: #cf8b8b;
  opacity: 1;
}

/* ----- SUBMIT BUTTON ------ */
.contact-form .btn {
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  color: #eeeeee;
  background-color: #85739c;

  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 999px;
  position: relative;
  transition: 
    background-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  min-height: 44px;
  border: none;
}

.contact-form .btn:hover{
  transition: .4s;
  background-color: black;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.contact-form .btn::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: #eeeeee;
  transition: width 0.3s ease, left 0.3s ease;
}

.contact-form .btn:hover::after{
  width: 70%;
  left: 15%;
}

.contact-form .btn:active{
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.contact-form .btn:focus-visible{
  outline: 2px solid #eeeeee;
  outline-offset: 4px;
}

/* ----- CONTACT INFO ----- */
.contact-info {
  display: flex;
  flex-direction: row;  
  gap: 100px;
  justify-content: center;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #eeeeee;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.info-item span {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 100;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.info-item svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #85739c;
  flex-shrink: 0;
  transition: fill 0.25s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.info-item:hover {
  transform: translateX(-2px); 
  opacity: 0.8;
}

.info-item:hover svg {
  stroke: #85739c;
  filter: drop-shadow(0 4px 8px rgba(146, 93, 115, 0.4));
}

/* ----- FOOTER ----- */
footer{
  position:relative;
  width: 100%;
  height: 200px;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

footer p:nth-child(1){
  font-size: 18px;
  color: #eeeeee;
  margin-bottom: 20px;
  font-weight: 100;
  font-family: 'Courier New', Courier, monospace;
}

footer p:nth-child(2){
  font-size: 14px;
  color: #eeeeee;
  max-width: 800px;
  text-align: center;
  line-height: 26px;
}

/* ----- END ----- */
.end{
  position: absolute;
  color: #eeeeee;
  bottom: 40px;
  font-size: 15px;
}

/* ---------------------------------------------------
   RESPONSIVE DESIGN - PRESERVING ORIGINAL PROPORTIONS
   -------------------------------------------------- */

/* ----- TABLETS & SMALLER LAPTOPS ----- */
@media (max-width: 1400px) {
  .home-image {
    left: calc(8% + 650px + 40px);
  }
  
  .home-image img {
    width: 280px;
    height: 280px;
  }

  .home-image .photo-caption {
    font-size: 12px;
    max-width: 280px;
  }
  
  .content {
    max-width: 650px;
  }

  nav > p {
    font-size: 13px;
    top: 120px;
  }
}

@media (max-width: 1200px) {
  .home-image {
    left: calc(8% + 550px + 30px);
  }
  
  .home-image img {
    width: 240px;
    height: 240px;
  }
  
  .home-image .photo-caption {
    font-size: 12px;
    max-width: 240px;
  }
  
  .content {
    max-width: 550px;
    font-size: 18px;
  }
  
  .content h1 {
    font-size: 26px;
  }
  
  .logo {
    font-size: 40px;
  }
  
  nav ul li {
    padding: 15px 45px;
  }
  
  nav ul li a {
    font-size: 26px;
  }
  
  nav > p {
    font-size: 13px;
    top: 110px;
  }
  
  .Work,
  .Films,
  .Music,
  .Commercials,
  .Other,
  .About,
  .Contact {
    padding: 130px 80px 60px 80px;
  }
  
  h2 {
    font-size: 42px;
  }
  
  h3 {
    font-size: 22px;
  }
}

/* ----- TABLETS (PORTRAIT) ----- */
@media (max-width: 1000px) {
  .Home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
  }
  
  .content {
    position: static;
    left: 0;
    top: 0;
    max-width: 100%;
    padding-top: 20px;
  }
  
  .home-image {
    position: static;
    transform: none;
    margin-top: 40px;
    margin-bottom: 40px;
    left: auto;
    right: auto;
  }
  
  .home-image img {
    width: 300px;
    height: 300px;
  }
  
  .box {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .About-main {
    flex-direction: column;
  }
  
  .About-text {
    text-align: center;
  }
  
  .contact-info {
    gap: 50px;
  }
}

/* ----- LARGE PHONES & SMALL TABLETS ----- */
@media (max-width: 768px) {
  body, .content {
    font-size: 15px;
  }
  
  .logo {
    font-size: 35px;
  }
  
  nav ul li {
    padding: 12px 30px;
  }
  
  nav ul li a {
    font-size: 25px;
  }
  
  nav > p {
    font-size: 12px;
    top: 100px;
  }
  
  h2 {
    font-size: 35px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .box {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .Films .grid,
  .Music .grid,
  .Commercials .grid,
  .Other .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }
  
  .Work,
  .Films,
  .Music,
  .Commercials,
  .Other,
  .About,
  .Contact {
    padding: 120px 40px 50px 40px;
  }
  
  .home-image img {
    width: 260px;
    height: 260px;
  }
  
  .About img {
    width: 260px;
  }
  
  .contact-info {
    gap: 40px;
  }
}

/* ----- PHONES (MEDIUM) ----- */
@media (max-width: 640px) {
  body, .content {
    font-size: 16px;
    line-height: 1.8;
  }
  
  .logo {
    font-size: 30px;
  }
  
  nav ul li {
    padding: 10px 20px;
  }
  
  nav ul li a {
    font-size: 20px;
  }
  
  nav > p {
    font-size: 12px;
    top: 60px;
  }
  
  h2 {
    font-size: 35px;
    padding-top: 30px;
    margin-bottom: 30px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .content h1 {
    font-size: 25px;
  }
  
  .Films .grid,
  .Music .grid,
  .Commercials .grid,
  .Other .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .Work,
  .Films,
  .Music,
  .Commercials,
  .Other,
  .About,
  .Contact {
    padding: 110px 30px 40px 30px;
  }
  
  .page {
    padding-top: 130px;
  }
  
  .home-image img {
    width: 220px;
    height: 220px;
  }
  
  .home-image .photo-caption {
    font-size: 12px;
  }
  
  .About img {
    width: 220px;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }
  
  .card .button,
  .contact-form .btn {
    font-size: 15px;
  }
  
  footer {
    height: auto;
    padding: 30px 20px;
  }
  
  footer p:nth-child(1) {
    font-size: 15px;
  }
  
  footer p:nth-child(2) {
    font-size: 12px;
  }
}

/* ----- PHONES (SMALL) ----- */
@media (max-width: 480px) {
  body, .content {
    font-size: 15px;
  }
  
  .logo {
    font-size: 25px;
  }
  
  nav ul li {
    display: block;
    padding: 8px 0;
  }
  
  nav ul li a {
    font-size: 17px;
  }
  
  nav > p {
    font-size: 10px;
    top: 75px;
  }
  
  h2 {
    font-size: 25px;
  }
  
  h3 {
    font-size: 16px;
  }
  
  .content h1 {
    font-size: 20px;
  }
  
  .Work,
  .Films,
  .Music,
  .Commercials,
  .Other,
  .About,
  .Contact {
    padding: 100px 20px 30px 20px;
  }
  
  .home-image img {
    width: 200px;
    height: 200px;
  }
  
  .home-image .photo-caption {
    font-size: 10px;
  }
  
  .About img {
    width: 200px;
  }
  
  .card {
    padding: 15px;
    border-radius: 35px;
  }
  
  .card .button,
  .contact-form .btn {
    font-size: 15px;
  }
  
  .info-item {
    font-size: 15px;
  }
  
  .info-item svg {
    width: 18px;
    height: 18px;
  }
  
  .close {
    top: -30px;
    font-size: 25px;
  }
}