/* ===== Global Styles ===== */
:root {
  --bg-color: #1a1a1a;        /* unified dark background */
  --text-color: #ffffff;
  --accent-color: #f59116;
  --font-family: 'DM Sans', 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: url("https://res.cloudinary.com/dtl8l1au7/image/upload/v1768217570/6045754_rknbx3.jpg");
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

main {
  flex: 1; /* allows main content to expand */
}

footer {
  margin-top: auto; /* pushes footer to bottom */
}

/* ===== Navigation ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  transition: top 0.3s ease;
}

nav img {
  max-width: 180px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #b0b0b0;
}

#Selected {
  color: #b0b0b0;
  font-weight: bold;
}

/* ===== Headline Sections ===== */
.Headline, .ContactHeadline {
  padding-top: 10rem;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.Headline h1, .ContactHeadline h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  text-align: center;
}

/* ===== TitleDes Section ===== */
#TitleDes {
  border-left: 1px solid #ffffff;
  padding-left: 2rem;
  margin-left: 8rem;
  margin-bottom: 4rem;
  text-align: left !important;
}

#TitleDes h1 {
  text-align: left !important;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  font-weight: 700;
  line-height: 1.2;
}

#TitleDes h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

#TitleDes p {
  text-align: left !important;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ffffff;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  max-width: 800px;
}

/* ===== Section Headings ===== */
.Headline section h2 {
  text-align: center;
}

/* ===== Gallery / Portfolio ===== */
.gallery, .PortfolioContent, .Row1, .Row3, .VideoContent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

/* Center content inside each gallery item (captions under videos/images) */
.gallery > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gallery img, .PortfolioContent img,
.gallery video, .PortfolioContent video,
.Row1 img, .Row3 img, .Row2 video {
  flex: 1 1 250px;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.gallery img:nth-child(1), .PortfolioContent img:nth-child(1),
.gallery video:nth-child(1), .PortfolioContent video:nth-child(1) {
  animation-delay: 0.1s;
}
.gallery img:nth-child(2), .PortfolioContent img:nth-child(2),
.gallery video:nth-child(2), .PortfolioContent video:nth-child(2) {
  animation-delay: 0.2s;
}
.gallery img:nth-child(3), .PortfolioContent img:nth-child(3),
.gallery video:nth-child(3), .PortfolioContent video:nth-child(3) {
  animation-delay: 0.3s;
}
.gallery img:nth-child(4), .PortfolioContent img:nth-child(4),
.gallery video:nth-child(4), .PortfolioContent video:nth-child(4) {
  animation-delay: 0.4s;
}
.gallery img:nth-child(5), .PortfolioContent img:nth-child(5),
.gallery video:nth-child(5), .PortfolioContent video:nth-child(5) {
  animation-delay: 0.5s;
}
.gallery img:nth-child(n+6), .PortfolioContent img:nth-child(n+6),
.gallery video:nth-child(n+6), .PortfolioContent video:nth-child(n+6) {
  animation-delay: 0.6s;
}

.gallery img:hover, .PortfolioContent img:hover,
.gallery video:hover, .PortfolioContent video:hover,
iframe:hover {
  transform: scale(1.05);
}

.gallery, .VideoSection {
    display: flex;
    flex-wrap: wrap;
}

.gallery > div  {
    width: 20%; /* Each item takes up 1/4 of the total width */
    box-sizing: border-box;
    padding: 0.5rem; /* Gives some space around each iframe */
    
}

iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Maintains the aspect ratio */
}

/* ===== iFrame Styling ===== */
iframe {
  border-radius: 8px;
  transition: transform 0.3s;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
  animation-delay: 0.4s;
  flex: 0 1 calc(25% - 1.5rem);
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Central play button */
.plyr__control--overlaid {
  background: rgba(5, 5, 5, 0.9); /* gold background */
  color: black;                       /* play icon color */
  border-radius: 50%;
  font-size: 2rem;
}

/* Control bar */
.plyr__controls {
  background: rgba(255, 255, 255, 0.7);
  padding: 8px;
}

.plyr__controls button {
  color: #fffefe;
}

.plyr__controls button:hover {
  color: #161611; /* gold hover */
}

/* Progress bar accent */
:root {
  --plyr-color-main: #302f2f; /* global accent color */
}

/* Hide controls by default */
.plyr__controls {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show controls when hovering over the player */
.plyr:hover .plyr__controls {
  opacity: 1;
}

/* Apply rounded corners to Plyr videos */
.plyr__video-embed iframe {
  border-radius: 12px;   /* adjust radius to taste */
  overflow: hidden;      /* ensures corners clip properly */
  width: 100%;
  height: 100%;

}

.plyr__video-embed {
  width: 100%;
  max-width: 100%;       /* prevents overflow */
  aspect-ratio: 16 / 9;  /* keeps correct proportions */
  border-radius: 12px;   /* rounded corners */
  overflow: hidden;
}



.plyr {
  border-radius: 12px;
  overflow: hidden; 
}

/* ===== Video Section ===== */
.VideoSection {
  text-align: center;       /* centers the heading text */
  margin: 4rem 0;
  display: flex;
  flex-direction: column;   /* stack title above videos */
  align-items: center;      /* center everything horizontally */
}

/* Center the h2 title */
.VideoSection h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  text-align: center;       /* ensures the title is centered */
}

/* Center the video content */
.VideoContent {
  display: flex;
  flex-wrap: wrap;
  /*justify-content: center;  /* centers the videos horizontally */
  /*gap: 2rem;                /* spacing between videos */
  width: 100%;
  max-width: 900px;         /* keeps them grouped in the middle */
}

/* Override gallery iframe sizing for advertisement videos */
.VideoContent iframe, .VideoContent, 
.VideoContent .plyr__video-embed iframe {
  flex: none;          /* cancel the 25% flex rule */
  width: 80%;          /* make them wider */
  max-width: 800px;    /* cap width */
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  display: block;
}


/* ===== Contact Section ===== */
.contact-section {
  max-width: 600px;
  margin: 8rem auto 4rem;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  text-align: center;
  opacity: 0; /* start hidden */
  animation: fadeSlideUp 1s ease-out forwards;
}

.contact-section h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.contact-info {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: 1.2rem;
  margin: 1rem 0;
}

/* ===== Social Icons ===== */
.social-icons, .Socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.social-icons img, .Socials img {
  width: 80px;
  max-width: 150px;
  transition: transform 0.3s ease;
  opacity: 0; /* start hidden */
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.social-icons img:nth-child(1) { animation-delay: 0.5s; }
.social-icons img:nth-child(2) { animation-delay: 0.7s; }

.social-icons img:hover,
.Socials img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #ffffff;
  border-radius: 50%;
}

/* ===== Buttons ===== */
.ContactBtn {
  display: block;
  color: var(--text-color);
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--text-color);
  border-radius: 5px;
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
}

.ContactBtn:hover {
  background-color: #b0b0b0 ;
  transform: scale(1.05);
}


/* ===== Hero Section ===== */
.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  align-items: center;
  height: auto;
  margin-top: 150px;
  margin-bottom: 10px;
}

.hero {
  width: 100%;
  height: 400px; 
  color: white; 
  text-align: center;
  line-height: initial; 
  position: relative;
  top: 50%;
 

  
  
}

.hero > h2 {
      /* Remove default margins for cleaner look */
    height: 20%;
    top: 50%;   
    margin-top: 10%; 
    margin-bottom: 2px;
}

.hero h2 {
  
  margin-bottom: 5px;
}

.hero p {
  margin-top: 5px;
}





.hero1 {
  background: url('https://res.cloudinary.com/dtl8l1au7/image/upload/v1768407328/coppa-cover-vJPZ4Gy6RZM-unsplash_r0527x.jpg') no-repeat center center; 
  -webkit-background-size: stretch;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 60%;
  margin-top: 30px;
  background-color: rgba(0,0,0,0.4); 
  background-blend-mode: multiply;
}

.hero2 {
  background: url('https://res.cloudinary.com/dtl8l1au7/image/upload/v1768838621/AdobeStock_1745006726_q1zntf.jpg') no-repeat right center; 
  -webkit-background-size: stretch;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 60%;
  background-color: rgba(0,0,0,0.4); 
  background-blend-mode: multiply;
}

.hero3 {
  background: url('https://res.cloudinary.com/dtl8l1au7/image/upload/v1768820972/AdobeStock_420496622_oimzyp.jpg') no-repeat right center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 60%;
  background-blend-mode: multiply;
}

.hero4 {
  background: url('https://res.cloudinary.com/dtl8l1au7/image/upload/v1768409778/mix-5592020_1280-1-1280x660_ypsq8p.webp') no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 60%;
   background-color: rgba(0,0,0,0.4); 
   background-blend-mode: multiply;
}

.hero {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: var(--delay, 0s);
}


/* =========================================================
   ABOUT PAGE STYLES
   ========================================================= */

.about-page{
  width: 100%;
  padding-top: 10rem; 
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.about-hero{
  text-align: center;
  margin-bottom: 3rem;
  padding: 2.25rem 1.5rem;
  background: rgba(0,0,0,0.55);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.about-kicker{
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.about-hero h1{
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.about-lede{
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  opacity: 0.95;
}

.about-section{
  margin: 22px auto;
  padding: 32px 34px;
  background: rgba(0,0,0,0.55);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  max-width: 1100px;
}

.about-section h2{
  font-size: 1.5rem;
  margin-bottom: 12px;
  text-align: left;
}

.about-section p{
  font-size: 1.05rem;
  opacity: 0.95;
  margin-top: 0;
  margin-bottom: 18px;         /* space before logos */
  max-width: 95ch;
}

/* Logo strip */
.about-logos{
  display:flex;
  flex-wrap:wrap;
  gap:28px;
  align-items:center;
  justify-content:flex-start;
  margin-top:14px;
}

.about-logo{
  height:58px;
  width:auto;
  opacity:0.9;
}

/* SVG logos → white */
.about-logo.mono{
  filter: brightness(0) invert(1);
}

/* SAMA PNG */
.about-logo.sama {
  filter: invert(1);
  height:48px;
}


.about-logo.sama,
.about-logo.damelin,
.about-logo.tut,
.about-logo.game,
.about-logo.clover,
.about-logo.sony {
  height: 80px;
}

.about-logo.netflix,
.about-logo.apple,
.about-logo.showmax {
  height: 56px;
}

/* Force mono for stubborn SVGs (Game, Clover) 
.about-logo.game,
.about-logo.clover {
  filter: brightness(0) saturate(100%) invert(1);
} */





.about-logo:hover{
  opacity: 1;
  transform: translateY(-1px);
}

/* Optional: artist pills */
.about-pilllist{
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.about-pill{
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  opacity: 0.95;
}

/* CTA spacing */
.about-cta{
  margin: 3rem 0 2rem;
  display: flex;
  justify-content: center;
}

/* Mobile tweaks */
@media (max-width: 768px){
  .about-page{
    padding-top: 4rem; /* your nav becomes static on mobile in your existing CSS */
  }

  .about-hero{
    padding: 1.75rem 1.1rem;
  }

  .about-hero h1{
    font-size: 2.05rem;
  }

  .about-section{
    padding: 1.5rem 1.1rem;
  }

  .about-logo{
    height: 28px;
    max-width: 140px;
  }
}

/* If you ever switch this page to a LIGHT section background,
   replace the logo filter with the line below:
   filter: grayscale(100%) brightness(0);
*/



/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 1rem;
  color: var(--text-color);
  background-color: rgba(0, 0, 0, 0.7);
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* ===== Animation Keyframes ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */

 @media (max-width: 768px) {
  /* Move #TitleDes to the left */
  #TitleDes {
    border-left: 1px solid #ffffff;
    padding-left: 1rem;  /* Reduced padding for mobile */
    margin-left: 1rem;   /* Reduced margin for mobile */
    margin-bottom: 2rem; /* Reduced bottom margin */
    text-align: left;
    width: 90%;          /* Take up most of the width but leave some space */
    max-width: none;     /* Remove any max-width restrictions */
  }

  /* Adjust heading and paragraph alignment */
  #TitleDes h1 {
    text-align: left !important;
    font-size: 1.8rem;   /* Slightly smaller font for mobile */
    line-height: 1.3;
  }

  #TitleDes p {
    text-align: left !important;
    font-size: 1rem;     /* Slightly smaller font for mobile */
    max-width: 100%;     /* Use full available width */
  }

  /* Gallery adjustments */
  .gallery > div {
    flex: 1 1 100%;   /* one video per row on tablets */
  }

  
  /* Navigation adjustments */
  nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.9);
    position: static;
  }

  nav img {
    max-width: 100%;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .Headline h1, .ContactHeadline h1 {
    font-size: 1.8rem;
  }

  .gallery img, .PortfolioContent img,
  .gallery video, .PortfolioContent video {
    /*min-width: 200px;
    max-width: 150px;
    height: 200px;*/
    max-width: 30%;
    max-height: 300px;
    height: auto;
    object-fit: cover;
  }

  .contact-info {
    text-align: center;
  }

  .social-icons {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-section {
    margin-top: 10rem;
    padding: 1.5rem;
  }

  .hero {
        width: 100%;     /* Each hero takes full width of the parent container on mobile phones */
    }


    
    
}

/* ===== Toggle Button ===== */
.nav-toggle {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.nav-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animated toggle (bars → X) */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Responsive Nav ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex; /* show hamburger on mobile */
  }

  .nav-links {
    display: none; /* hide links by default */
    flex-direction: column;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    width: 100%;
  }

  .nav-links.active {
    display: flex; /* show links when toggled */
    opacity: 1;
    transform: translateY(0);
  }

  

  nav ul {
    flex-direction: column; /* stack links vertically */
    gap: 0.5rem;
  }


}

/* =========================================================
   Portfolio mobile slider (scoped, won't affect index)
   ========================================================= */

/* Prevent your global iframe fade-in (opacity:0) from making slider slides look blank */
.video-scroll iframe,
.video-scroll .plyr__video-embed,
.video-scroll .plyr__video-embed iframe {
  opacity: 1 !important;
  animation: none !important;
}

/* Stop global ".gallery > div { width:20% }" from shrinking our slider wrappers */
.video-scroll .video-gallery > .video-slider,
.video-scroll .video-gallery > .vs-dots {
  width: 100% !important;
  padding: 0 !important;
}

/* Slider structure */
.video-scroll .video-slider {
  position: relative;
  width: 100%;
}

.video-scroll .vs-viewport {
  overflow: hidden;
  width: 100%;
}

.video-scroll .vs-track {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
  transition: transform 0.5s ease;
}

/* Force slider dots to lay out horizontally (override global .gallery > div flex-direction: column) */
.video-scroll .video-gallery > .vs-dots{
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

/* Bring slider dots closer to the video */
.video-scroll .vs-dots {
  margin-top: 0. !important;  /* was ~1rem */
}

@media (max-width: 768px) {
  /* The big space is the gallery gap between the slider and dots */
  .video-scroll .video-gallery {
    gap: 0.25rem !important; /* adjust: 0, 0.25rem, 0.5rem */
  }

  /* Remove the padding inherited from .gallery > div */
  .video-scroll .video-gallery > .vs-dots {
    padding: 0 !important;
    margin-top: 0 !important;
  }
}





/* Each slide is full width on mobile */
@media (max-width: 768px) {
  .video-scroll .vs-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 0.5rem;
  }

  /* Buttons */
  .video-scroll .vs-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
  }

  .video-scroll .vs-prev { left: 10px; }
  .video-scroll .vs-next { right: 10px; }

  /* Dots */
  .video-scroll .vs-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .video-scroll .vs-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
  }

  .video-scroll .vs-dots button.active {
    background: #333;
  }
}

/* Desktop: keep it behaving like a normal gallery grid */
@media (min-width: 769px) {
  .video-scroll .vs-viewport {
    overflow: visible;
  }

  .video-scroll .vs-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    transform: none !important;
  }

  .video-scroll .vs-slide {
    flex: 1 1 250px;
    max-width: 320px;
  }

  .video-scroll .vs-btn,
  .video-scroll .vs-dots {
    display: none;
  }
}

/* Center captions under videos in the portfolio slider */
.video-scroll .vs-slide p {
  text-align: center;
  width: 100%;
  margin-top: 0.5rem;
}

/* 
   ABOUT PAGE – SPACING TUNING
    */

.about-section{
  padding: 32px 34px;
  margin: 22px auto;
  max-width: 1100px;
}

.about-section h2{
  margin-bottom: 12px;
}

.about-section p{
  margin-top: 0;
  margin-bottom: 18px;
  max-width: 95ch;
}

/* Logo row spacing */
.about-logos{
  margin-top: 14px;
  gap: 26px;
  row-gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.about-logos img{
  display: block;
}

/* Mobile tuning */
@media (max-width: 768px){
  .about-section{
    padding: 22px 18px;
    margin: 16px 12px;
  }

  .about-logos{
    margin-top: 12px;
    gap: 30px;
    row-gap: 12px;
    justify-content: center;
  }

  .about-logo{
    height: 56px;
  }
}

/* ================================
   MOBILE: Reduce nav-to-content gap
   (Home, Portfolio, Contact)
   ================================ */

@media (max-width: 768px){

  /* Headlines right under nav */
  .Headline,
  .ContactHeadline{
    padding-top: 2rem; /* was effectively ~10rem */
  }

  /* Home page hero text block */
  #TitleDes{
    margin-top: 0.2rem;
  }

  /* Portfolio page */
  .video-scroll{
    margin-top: 1rem;
  }

  /* Contact page */
  .contact-section{
    margin-top: 3rem; /* down from 8–10rem */
  }
}

/* ================================
   PORTFOLIO: smoother mobile slider
   ================================ */
@media (max-width: 768px){

  .video-scroll .gallery{
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;                 /* avoid weird snap offsets */
  }

  .video-scroll .gallery > .plyr__video-embed{
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* Hide scrollbar */
  .video-scroll .gallery::-webkit-scrollbar{
    display: none;
  }
  .video-scroll .gallery{
    scrollbar-width: none; /* Firefox */
  }
}

/* ================================
   ABOUT transitions
   ================================ */

.about-page .about-hero,
.about-page .about-section,
.about-page .about-cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}

.about-page .is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-page .about-hero,
  .about-page .about-section,
  .about-page .about-cta {
    transition: none;
    transform: none;
    opacity: 1;
  }
}














