:root {
  --bg-color: #ffffff;
  --text-color: #1a1a1a;
  --accent-color: #fcb016;
  /* Updated Yellow */
  --secondary-accent: #2d3436;
  /* Dark grey */

  --font-main: 'Manrope', sans-serif;
  --font-display: 'Manrope', sans-serif;
  --spacing-unit: 1rem;
  --container-width: 1200px;
}

body.dark-mode {
  --bg-color: #121212;
  --text-color: #f0f0f0;
  --secondary-accent: #b0b0b0;
}

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

html {
  scroll-behavior: smooth;
}


body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.no-scroll {
  overflow: hidden;
}


a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  /* Reduced size further as requested */
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

.hamburger {
  display: none;
}


/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  /* Ensure content is above background */
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: #1a1a1a;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Header */
header {
  padding: 2rem 0;
  position: absolute;
  /* Initial state */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  color: var(--text-color);
  /* Default to dark in light mode */
}

body.dark-mode header {
  color: #ffffff;
  /* White in dark mode */
}

/* Navbar Links - Initial State */
.nav-links a {
  opacity: 0.8;
  font-weight: 500;
  color: inherit;
  /* Follow header color */
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

/* Theme Toggle */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0;
  line-height: 1;
  transition: transform 0.3s ease;
  color: inherit;
  /* Follow header color */
}

#theme-toggle:hover {
  transform: rotate(15deg);
}

/* Sticky Header State */
header.sticky {
  position: fixed;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: var(--text-color);
}

body.dark-mode header.sticky {
  background: rgba(18, 18, 18, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

/* Logo Logic */
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Initial State - Light Mode (Hero is White-ish): Logo is Normal (Dark) */
/* No filter needed for default black logo */

/* Initial State - Dark Mode (Hero is Dark): Logo is White */
body.dark-mode header:not(.sticky) .logo img {
  filter: brightness(0) invert(1);
}

/* Sticky State - Light Mode: Logo is Normal (Dark) */
header.sticky .logo img {
  filter: none;
}

/* Sticky State - Dark Mode: Logo is Yellow (#fcb016) */
body.dark-mode header.sticky .logo img {
  filter: brightness(0) saturate(100%) invert(75%) sepia(36%) saturate(3000%) hue-rotate(1deg) brightness(103%) contrast(102%);
}


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

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}


/* Navigation CTA - "Start!" */
.nav-links .nav-btn-start {
  background-color: var(--accent-color);
  color: #000;
  padding: 0.5rem 1.75rem;
  border-radius: 50px;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(252, 176, 22, 0.4);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-links .nav-btn-start:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(252, 176, 22, 0.6);
  background-color: #fff;
  border-color: var(--accent-color);
  color: #000;
}

/* Theme Switch Toggle */
/* Theme Switch Toggle - Premium Animated */
.theme-switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-left: 1.5rem;  Removed, handled by gap in nav-right */
}

.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 70px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #87CEEB;
  /* Day Sky Blue */
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .5s ease-in-out;
  border-radius: 34px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 2px 5px rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.slider:before {
  background-color: #FFD700;
  /* Sun Gold */
  border-radius: 50%;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  /* Bouncy transition */
  width: 26px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
  /* Sun Glow */
}

/* Icons inside the switch (Clouds/Stars) could be added here for extra detail */
.slider .icon-sun,
.slider .icon-moon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  transition: opacity 0.4s, transform 0.4s;
}

/* We hide the text icons and use pure CSS shapes/bg for cleaner look, 
   or we can style them as background elements */
.slider .icon-sun {
  left: 8px;
  opacity: 0;
}

.slider .icon-moon {
  right: 8px;
  opacity: 0;
}

/* Dark Mode State */
input:checked+.slider {
  background-color: #1a1a2e;
  /* Night Dark Blue */
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

input:checked+.slider:before {
  transform: translateX(36px);
  background-color: #f4f6f0;
  /* Moon White */
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  /* Moon Glow */
}

/* Background decorations */
.slider::after {
  content: "☁️";
  position: absolute;
  right: 10px;
  top: 6px;
  font-size: 14px;
  opacity: 1;
  transition: 0.5s;
  color: white;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

input:checked+.slider::after {
  content: "✨";
  left: 10px;
  right: auto;
  opacity: 1;
  color: #fff;
  text-shadow: 0 0 5px #fff;
}



/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 6rem;
  /* Account for potential fixed header */
  overflow: hidden;
  /* Contain background */
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Hero Background Media */
.hero-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  /* Subtler */
  filter: grayscale(100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Light Mode: White Overlay - Reduced Opacity to balance visibility */
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
  transition: background 0.3s ease;
}

/* Dark Mode: Dark Overlay */
body.dark-mode .hero-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* Smoother Gradient */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  /* Increased height for smoother transition */
  z-index: 2;
  pointer-events: none;
}

/* Use standard gradient but taller */
body:not(.dark-mode) .hero-bottom-fade {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, #ffffff 100%);
}

body.dark-mode .hero-bottom-fade {
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 0.4) 50%, #121212 100%);
}

/* Portfolio Section relative for pattern positioning */
.portfolio {
  position: relative;
}

/* Ensure Portfolio Content is above pattern */
.portfolio .container {
  position: relative;
  z-index: 2;
}

/* Work Pattern - "segment bawah yang our work" */
.work-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  /* "Gradasi menghilang keatas": Visible at bottom (black), transparent at top (transparent) */
  mask-image: linear-gradient(to top, black 20%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 20%, transparent 100%);
}

/* Light Mode: Grey Pattern */
body:not(.dark-mode) .work-pattern {
  opacity: 0.05;
  filter: grayscale(100%) invert(1);
  /* Invert white pattern to black/grey for light theme */
}

/* Dark Mode: Texture */
body.dark-mode .work-pattern {
  opacity: 0.05;
  mix-blend-mode: soft-light;
}


.hero-content {
  max-width: 580px;
  /* Reduced width to force text wrapping similar to previous large font layout */
  position: relative;
  z-index: 3;
  /* Light Mode Text: Dark */
  color: var(--text-color);
}

/* Dark Mode Text: White */
body.dark-mode .hero-content {
  color: #ffffff;
}

/* Ensure headings inherit colour */
.hero-content h1,
.hero-content p {
  color: inherit;
  /* Light Mode: Add White Glow/Halo for readability over video */
  text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.8);
}

/* Re-add shadow for dark mode readability (Black shadow, no white glow) */
body.dark-mode .hero-content h1,
body.dark-mode .hero-content p {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}


.hero-sub {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  opacity: 0.9;
  max-width: 600px;
  line-height: 1.6;
}

/* Services Section (New) */
.services {
  padding: 8rem 0 4rem;
  position: relative;
  z-index: 5;
}

.services-intro {
  max-width: 700px;
  margin-bottom: 4rem;
}

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

.service-card {
  padding: 2.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* Smooth easing */
  position: relative;
  overflow: hidden;
}

body.dark-mode .service-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

body.dark-mode .service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
}

.service-icon {
  margin-bottom: 2rem;
  color: var(--accent-color);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(252, 176, 22, 0.1);
  /* Light orange background */
  transition: all 0.3s ease;
}

body.dark-mode .service-icon {
  background: rgba(252, 176, 22, 0.2);
}

.service-card:hover .service-icon {
  background: var(--accent-color);
  color: #fff;
  /* Icon turns white on hover */
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
  padding: 6rem 0;
}

.portfolio-intro {
  margin-bottom: 3rem;
  max-width: 800px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  opacity: 0.7;
}

/* Filters */
.portfolio-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 500;
  transition: all 0.3s;
  color: var(--text-color);
}

body.dark-mode .filter-btn {
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
}

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

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f0f0f0;
  cursor: pointer;
}

.portfolio-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* Placeholder background */
  background: #333;
}

.portfolio-item:hover .portfolio-media {
  transform: scale(1.1);
  /* Small zoom zoom */
}

/* Item Overlay */
.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  /* Let clicks pass through if needed */
}

.portfolio-item:hover .item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.p-category {
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.9;
  font-weight: 400;
  /* Regular / Light */
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.p-subcategory {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
  /* Medium Bold */
  margin: 0;
}

/* Footer */
footer {
  background-color: #0f0f0f;
  /* Always dark footer for premium feel */
  color: #a0a0a0;
  padding: 5rem 0 2rem;
  margin-top: 0;
  /* Remove margin if it was there */
  font-size: 0.95rem;
}

body:not(.dark-mode) footer {
  /* Optional: If we want light footer in light mode, change this. 
       But the user image shows a dark footer. I will keep it dark for both modes to match the image reference. */
  background-color: #1a1a1a;
  color: #cccccc;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand .logo img {
  margin-bottom: 1.5rem;
  height: 60px;
  width: auto;
  /* Ensure logo is white in footer */
  filter: brightness(0) invert(1);
}

/* In dark mode, if logo is yellow, we might want it yellow in footer too. */
body.dark-mode .footer-brand .logo img {
  filter: brightness(0) saturate(100%) invert(75%) sepia(36%) saturate(3000%) hue-rotate(1deg) brightness(103%) contrast(102%);
}

.footer-tagline {
  max-width: 300px;
  line-height: 1.6;
}

.footer-links-col h4,
.footer-social-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links-col ul li {
  margin-bottom: 0.8rem;
}

.footer-links-col ul li a {
  transition: color 0.3s;
}

.footer-links-col ul li a:hover {
  color: var(--accent-color);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  /* Icons white */
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent-color);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Hero CTA (Watch Showreel) */
.hero-cta {
  margin-top: 2.5rem;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.8em 1.5rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-color);
  backdrop-filter: blur(5px);
}

body.dark-mode .btn-play {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.play-icon {
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: transform 0.3s ease;
}

.btn-play:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.btn-play:hover .play-icon {
  transform: scale(1.1);
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  width: 90%;
  max-width: 1000px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.open .video-modal-content {
  transform: scale(1);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: -10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s;
}

.close-modal:hover {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/* Portfolio Loader */
.portfolio {
  position: relative;
  /* Ensure loader is absolute to this */
}

.portfolio-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Center horizontally and vertically in the section */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.dark-mode .portfolio-loader {
  background: rgba(0, 0, 0, 0.8);
}

.portfolio-loader.active {
  opacity: 1;
  pointer-events: all;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(252, 176, 22, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-color);
  animation: spin 1s ease-in-out infinite;
  /* Adjust position if needed, but flex center should handle it */
  position: sticky;
  top: 50vh;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 1.1rem;
    margin: 1.5rem auto;
  }

  /* Force Services to Stack */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card {
    padding: 2rem;
  }

  /* Force Portfolio to Stack */
  .grid {
    grid-template-columns: 1fr;
  }

  /* Mobile Navigation - Hamburger Menu Overlay */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 2000;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 0;
    opacity: 0;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0s;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger animation for menu items */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-links.active li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .nav-links a {
    font-size: 2rem;
    font-weight: 700;
  }

  .nav-right {
    gap: 1rem;
  }

  /* Hamburger Button */
  .hamburger {
    display: block;
    position: relative;
    z-index: 2001;
    /* Above the menu overlay */
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
  }

  .hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 0px;
  }

  .hamburger span:nth-child(2) {
    top: 9px;
  }

  .hamburger span:nth-child(3) {
    top: 18px;
  }

  /* Hamburger Active State */
  .hamburger.open span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }

  .hamburger.open span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
  }

  /* Adjust modal width */
  .video-modal-content {
    width: 95%;
  }

  /* Close button position adjustment */
  .close-modal {
    top: -40px;
    right: 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .portfolio-filters {
    justify-content: center;
  }

  /* Make sure buttons don't overflow */
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
/* Interactive Eyes */
.interactive-eyes {
    display: inline-flex;
    gap: 4px; /* Space between eyes */
    position: relative;
    top: 10px; /* Adjust vertical alignment */
    margin-left: 10px;
    transform: rotate(15deg); /* Slightly tilted as requested */
    vertical-align: bottom;
}

.eye {
    width: 30px;
    height: 40px;
    background: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border: 1px solid #ccc;
}

.pupil {
    width: 14px;
    height: 14px;
    background: #331a00; /* Dark brown/black */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 2px 2px 2px rgba(255,255,255,0.3);
}

/* Add a little highlight to the pupil for realism */
.pupil::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

/* Override for alignment fix */
.interactive-eyes {
    top: -5px !important;
    vertical-align: middle !important;
    transform: rotate(5deg) !important;
    margin-left: 12px !important;
}
