
:root {
  --bg-color: #050505;
  --bg-card: #0a0a0a;
  --text-main: #ffffff;
  --text-muted: #999999;
  --accent: #ffffff;
  --border-color: #1a1a1a;
  
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero-section.hero-full-width {
  position: relative;
  width: 100%;
  max-width: 100vw;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.mobile-hero-title {
  display: none;
}

.hero-full-width .hero-image-wrapper {
  width: 100%;
}

.hero-full-width .hero-banner-img {
  width: 100%;
  height: 85%; 
  display: block;
}

.hero-full-width .hero-content {
  position: absolute; 
  bottom: 5%; 
  z-index: 10;
}

.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.6); 
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

.btn-icon {
  font-size: 1.4rem; 
}

.social-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social-btn.btn-primary {
  background: var(--accent);
  color: #000;
}

.social-btn.btn-primary:hover {
  background: rgba(255, 255, 255, 0.8);
}

.scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.scroll-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

.glow-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  margin: 0 auto;
}

.portfolio-header {
  position: relative;
  padding: 60px 20px 60px 20px; 
  text-align: center;
}

.portfolio-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 80px;
  background: rgba(255, 255, 255, 0.03);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.portfolio-header h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.portfolio-header h2 {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 50px; 
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  counter-reset: work-counter; 
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  position: relative;
  padding-top: 30px; 
  border-top: 1px solid rgba(255, 255, 255, 0.1); 
  counter-increment: work-counter; 
  transition: border-color 0.4s ease;
}

.work-item:hover {
  border-top-color: rgba(255, 255, 255, 0.5); 
}

.work-item::before {
  content: '0' counter(work-counter);
  position: absolute;
  top: -14px; 
  left: 0;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background-color: var(--bg-color); 
  padding-right: 15px;
  letter-spacing: 2px;
  transition: color 0.4s ease;
}

.work-item:hover::before {
  color: var(--accent); 
}

.work-placeholder {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  border-radius: 4px; 
}

.work-placeholder.poster {
  aspect-ratio: 4 / 5; 
}

.work-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.work-item:hover .work-placeholder img {
  transform: scale(1.04);
}

.work-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 5px; 
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  transition: color 0.3s ease;
}

.work-title::after {
  content: '↗';
  font-size: 1.6rem;
  font-weight: 400;
  opacity: 0;
  transform: translate(-15px, 15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.work-item:hover .work-title::after {
  opacity: 1;
  transform: translate(0, 0);
  color: var(--text-main);
}

.work-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}


.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  padding: 0 40px;
  max-width: 1000px;
  margin: 0 auto 100px auto; 
}

.video-work {
  align-items: center;
  text-align: center;
  border-top: none; 
  padding-top: 0;
}

.video-work::before {
  display: none; 
}

.video-item {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: border-color 0.4s ease;
}

.video-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.video-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}


.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  padding-top: 50px; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.95); 
  backdrop-filter: blur(5px);
}

.modal-content {
  margin: auto;
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  animation-name: zoom;
  animation-duration: 0.4s;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

@keyframes zoom {
  from {transform:scale(0.8); opacity: 0;} 
  to {transform:scale(1); opacity: 1;}
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #f1f1f1;
  font-size: 45px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1001;
}

.close-modal:hover,
.close-modal:focus {
  color: #888;
  text-decoration: none;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 20px 0;
  height: 150px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  text-transform: uppercase;
}


.portfolio-footer {
  width: 100%;
  margin-top: 50px;
  padding: 80px 40px 40px 40px;
  border-top: 1px solid var(--border-color);
  background-color: #020202;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
}

.footer-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--text-main);
  transform: translateX(-5px);
}

.link-icon {
  font-size: 1.6rem; 
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer-link:hover .link-icon {
  color: var(--text-main); 
}

.footer-bottom {
  max-width: 1400px;
  margin: 80px auto 0;
  text-align: center;
  color: #444;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-weight: 600;
}


.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0); 
}

.cookie-banner {
  position: fixed;
  bottom: -150px; 
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
  bottom: 0; 
}

.cookie-text p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 800px;
  line-height: 1.5;
}

.cookie-btn {
  padding: 10px 24px;
  font-size: 0.75rem;
  margin-left: 20px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
  }
  
  .cookie-btn {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .portfolio-gallery, .video-gallery {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
 
  .hero-full-width .hero-image-wrapper {
    display: none;
  }

  .hero-section.hero-full-width {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: radial-gradient(circle at center, #111 0%, var(--bg-color) 100%);
  }

  .mobile-hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }

  .mobile-hero-title h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--text-main);
  }

  .mobile-hero-title p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 500;
  }

  .hero-full-width .hero-content {
    position: relative; 
    bottom: auto;
    width: 100%;
  }

  .social-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 15px;
  }
  
  .social-btn {
    width: 85%;
    padding: 16px 20px;
    justify-content: center;
  }

  .portfolio-header {
    padding: 40px 15px 30px 15px;
  }

  .portfolio-header h1 {
    font-size: 2.2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-link:hover {
    transform: none;
    color: var(--text-main);
  }
  
  .close-modal {
    top: 10px;
    right: 20px;
  }

  .work-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .work-desc.expanded {
    display: block;
    -webkit-line-clamp: initial;
    overflow: visible;
  }

  .read-more-btn {
    display: inline-block;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    cursor: pointer;
    border-bottom: 1px solid var(--text-muted);
    padding-bottom: 2px;
  }
}

@media (min-width: 769px) {
  .read-more-btn {
    display: none;
  }
}