/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
html {
    scroll-behavior: smooth;
  }
  
body {
    font-family: Helvetica, sans-serif;
    color: #545454;
    background-color: black;
  }
  
  /* Header/Navbar */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
  }
  
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 5vw;
    }
  
.navbar ul {
    display: flex;
    gap: 4rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
.navbar ul li {
    width: 120px;
    text-align: center;
  }
  
.navbar ul a {
    display: inline-block;
    color: #fafafa;
    text-decoration: none;
    font-weight: bold;
    font-family: Geneva, sans-serif;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
  }
  
.navbar ul a:hover {
    color: #c2c2c2;
    transform: scale(1.03);
  }
  
  /* Background Video */
#bg_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
  }
  
  /* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
.overlay-text-showreel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
  }
  
.overlay-text-showreel .h1 {
    color: #fafafa;
  }
  
  /* Portfolio Categories */
.portfolio-categories {
    width: 100%;
    margin-bottom: 2rem;
  }
  
.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  
.category-items {
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
  }
  
.category-items img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  
.category-items:hover img {
    transform: scale(1.01);
  }
  
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
.category-items:hover .overlay {
    opacity: 1;
  }
  
.overlay h2 {
    font-size: 2rem;
    font-family: Geneva, sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 50px #000;
  }
  
  /* Footer */
.site-footer {
    background-color: #1c1c1c;
    color: #fafafa;
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: #fafafa;
  }
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Circle size */
    height: 40px;
    border-radius: 50%;
    background-color: #626262; /* Brand red */
    transition: transform 0.25s ease, background-color 0.25s ease;
  }
  
.social-icon svg {
    width: 20px; /* Icon size inside circle */
    height: 20px;
    fill: white; /* Icon color */
  }
  
.social-icon:hover {
    transform: scale(1.05);
    background-color: #919191; /* Lighter on hover */
  }
.footer-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    color:#fafafa

  }
  
  /* Contact Page */
.contact-page {
    background-color: #1c1c1c;
  }
  
.contact-container {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 2rem;
    color: white;
  }
  
  /* Contact Box Split Layout */
.contact-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #000000;
    border-radius: 12px;
    padding: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
  }

  /* Contact Info */
.contact-info {
    flex: 1;
    color: #fafafa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  
.contact-info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    
  }
  
.contact-info p {
    margin-bottom: 2rem;
    line-height: 1.5;

    
  }
/* contact socials */
.contact-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:1.5rem;
}
  
  /* Contact Form */
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  
.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    background-color: #222;
    color: white;
    font-size: 1rem;
  }
  
.contact-form button {
    padding: 0.75rem;
    background-color: #fafafa;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
.contact-form button:hover {
    background-color: #c2c2c2;
  }
  
/* Portfolio Page Scoped Styles 
.portfolio-page h2 {
  font-size: 2rem;
  margin-top: 6rem;
  margin-bottom: 2rem;
  color: #fafafa;
  text-align: center;
}
*/

/* Video Section */

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #fafafa;
  margin: 8rem 0 3rem; /* spacing from top and bottom */
}

/* Video Projects */
.video-section {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
}

.video-item {
  flex: 1 1 400px;
  max-width: 600px;
}

.video-item iframe {
  width: 100%;
  height: 340px;
  border: none;
  
}

/* Masonry Gallery */
.gallery-section {
  padding: 2rem;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 1rem;
}

.masonry-gallery a {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  overflow: visible; /* allow image to grow outside container */
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease; /* optional subtle shift */
}

.masonry-gallery a img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-gallery a:hover img {
  transform: scale(1.01); /* enlarge image physically */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); /* optional depth */
  z-index: 10; /* make sure it appears above neighbors */
}


/* Responsive Masonry */
@media (max-width: 1024px) {
  .masonry-gallery {
      column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-gallery {
      column-count: 1;
  }

  .video-item iframe {
      height: 220px;
  }
}