/* Global Styles */
:root {
  --primary-color: #f9f9f9;
  --secondary-color: #f0f0f0;
  --accent-color: #ec741e;
  --accent-color-transparent: #cd710096;
  --text-color: #2a2a2a;
  --text-light: #5a5a5a;
  --text-dark: #1a1a1a;
  --border-color: #e0e0e0;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 2px;
  color: var(--text-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: var(--accent-color);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--accent-color);
  background-color: transparent;
  /* color: var(--text-dark); */
  /* color: var(--accent-color); */
  border: 1px solid var(--accent-color);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background-color: rgba(249, 249, 249, 0.95);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(249, 249, 249, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled .logo {
  font-size: 1.2rem;
}

header.scrolled .nav-link {
  font-size: 0.8rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Major Mono Display', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 1.8px;
  line-height: 2rem;
/*  text-transform: uppercase;*/
}

.logo_big {
  font-family: 'Major Mono Display', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0px;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  white-space: auto;
  line-height: 5rem;
  margin-bottom: 0rem;
  
/*  text-transform: uppercase;*/
}

.logo span {
  color: var(--accent-color);
  font-weight: 400;
}

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 2.5rem;
}

.nav-link {
  font-weight: 300;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  color: var(--text-light);
}

.nav-link:hover {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background-color: var(--text-dark);
  left: 0;
  bottom: -3px;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  color: var(--text-light);
}

/* Hero Section */
.hero {
  height: 95vh;
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-image: url('../images/placeholder1.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-arrows {
  position: absolute;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
}

.arrow {
  width: 50px;
  height: 50px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.arrow:hover {
  background-color: var(--accent-color);
}

.arrow i {
  color: white;
  font-size: 1.2rem;
}

.hero-title, .hero-subtitle {
  color: white;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: fadeInDown 1s ease;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

/* Projects Gallery */
.projects {
  background-color: var(--secondary-color);
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  height: auto;
  margin-bottom: 1.5rem;
}

.filter-btn {
  border: none;
  /* border-radius: 0.2rem; */
  /* display: inline-block; */
  padding: 0.25rem 0.35rem;
  /* background-color: transparent; */
  /* border: 1px solid var(--accent-color); */
  /* color: var(--text-dark); */
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background-color: transparent;
  /* border-bottom: 1px solid var(--accent-color); */
  color: var(--accent-color);
  /* font-weight: bold; */


}

.filter-btn:hover {
  color: var(--accent-color);
  /* color: white; */
  transform: translateY(-2px);
}





.projects-gallery {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.5rem;
  height: auto;
  overflow: hidden;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  transition: opacity 0.4s, transform 0.4s;
  opacity: 1;
  transform: scale(1);
  /* margin-bottom: 0.0rem; */
}

.project-item.filter-in {
  opacity: 1;
  transform: scale(1);
  animation: fadeInProject 0.4s;
}

.project-item.filter-out {
  opacity: 0;
  transform: scale(0.95);
  animation: fadeOutProject 0.4s;
}

@keyframes fadeInProject {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOutProject {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  aspect-ratio: 2 / 3;
}

.project-item:hover .project-image {
  transform: scale(1.05);
}

.project-btn {
  cursor: pointer;
}

/* .project-btn:hover { */
  /* background-color: rgba(249, 249, 249, 0.25); */
  /* color: white; */
  /* transform: translateY(-2px); */
  /* transition: var(--transition); */
  /* border-color: white; */
  /* box-shadow: 0 5px 5px rgba(0, 0, 0, 0.15); */
/* } */



.project-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  background: linear-gradient(var(--accent-color-transparent), var(--accent-color), var(--accent-color));
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: scale(1.3, 1.3);
  opacity: 0;
  padding: 0.75rem;
  box-sizing: border-box;
  /* pointer-events: none; */
  text-align: left;
  margin-top: auto;
}

.project-item:hover .project-overlay {
  transform: scale(100%);
  opacity: 1;
  /* text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); */
}

.project-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
  color: var(--primary-color);
  line-height: 0.8;
  hyphens: manual;
  /* letter-spacing: 1px; */
}

.project-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 300;
  /* letter-spacing: 1px; */
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.project-description {
  font-size: 0.6rem;
  font-weight: 300;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.project-info {
  text-transform: uppercase;
  font-size: 0.5rem;
  font-weight: 300;
  color: var(--secondary-color);
  letter-spacing: 1px;
  border:var(--border-color) 0.5px solid;
  text-align: center;
  width: 70%;
  padding: 0.2rem ;
}

.project-overlay:hover .project-info {
  animation: forwards alternate fadeInUp 1s;
}

/* Project Modal Styles */
.project-modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  position: relative;
  background-color: var(--primary-color);
  margin: 5vh auto;
  padding: 30px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-radius: 2% 0 0 0;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  color: var(--text-dark);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1200;
}

.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  /* letter-spacing: 2px; */
  line-height: 0.9;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.modal-meta {
  display: grid;
  /* justify-content: space-between; */
  grid-template-columns: auto 20px 1fr;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.meta-title {
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
  line-height: 1.4;
}

.meta-value {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
  letter-spacing: 0.5px;
  /* flex-wrap: wrap; */
}

.modal-description {
  margin-bottom: 30px;
  line-height: 1.6;
}

.modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-row img:hover {
  transform: scale(1.03);
}

/* Awards Section */
.awards {
  background-color: var(--secondary-color);
}

.awards-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.award-item {
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.award-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.award-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.award-description {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.award-year {
  font-size: 0.8rem;
  color: var(--accent-color);
  font-weight: 500;
}

/* Credits Section */
.credits {
  background-color: var(--primary-color);
}

.credits-content {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.credits-column {
  flex: 1;
}

.credit-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.credit-year {
  font-size: 0.8rem;
  color: var(--accent-color);
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.credit-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.credit-role {
  font-size: 0.85rem;
  color: var(--text-light);
}



/* Showreel Section */
.showreel {
  background-color: var(--primary-color);
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  aspect-ratio: 16 / 9;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  top: 0;
  left: 0;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.play-button {
  width: 80px;
  height: 80px;
  background-color: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.play-button:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.play-button i {
  color: white;
  font-size: 2.5rem;
}

/* About Section */
.about {
  background-color: var(--secondary-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.about-image {
  flex: 1;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-text {
  flex: 1;
}

.about-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.8rem;
  color: var(--text-dark);
  letter-spacing: 2px;
}

.about-description {
  margin-bottom: 1.8rem;
  line-height: 1.9;
  color: var(--text-light);
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  /* display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  background-color: transparent;
  border: 1px solid var(--accent-color);
  border-radius: 50%; */
  transition: var(--transition);
}

.social-link:hover {
  /* background-color: var(--accent-color); */
  transform: translateY(-3px);
}

.social-link i {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.social-link:hover i {
  color: var(--accent-color);
}

/* Contact Section */
.contact {
  background-color: var(--primary-color);
}

.contact-content {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  width: 100%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group {
  position: relative;
}

.form-control {
  width: 100%;
  padding: 0.9rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 0;
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: var(--transition);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.back-to-top a {
  color: white;
  font-size: 1.2rem;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media screen and (max-width: 1100px) {
  .about-content {
    flex-direction: column;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .projects-gallery {
  grid-template-columns: repeat(auto-fill, minmax(150px, 160px));
  } 



}

@media screen and (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 1.5rem 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }

}

@media screen and (max-width: 600px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .about-title {
    font-size: 1.4rem;
  }
  
  .project-title {
    font-size: 1.4rem;
  }

  .project-category {
    font-size: 0.7rem;
  }

  .project-info {
    font-size: 0.4rem;
  }

  .projects-gallery {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .filter-btn {
    font-size: 0.5rem;
    padding: 0.2rem 0.3rem;
  }


}