/* ===== ROOT VARIABLES ===== */
:root {
  /* Colors */
  --color-primary: #000000;
  --color-text-dark: #1d1d1f;
  --color-text-light: #6e6e73;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-background-light: #f5f5f7;
  --color-background-dark: #1d1d1f;

  /* Transparency */
  --nav-bg-opacity: 1.0;
  --nav-bg-opacity-scrolled: 1.0;
  --menu-bg-opacity: 0.95;
  --overlay-dark: rgba(0, 0, 0, 0.8);
  --overlay-medium: rgba(0, 0, 0, 0.4);
  --border-light: rgba(0, 0, 0, 0.1);
  --indicator-opacity: 0.3;
  --indicator-hover-opacity: 0.6;

  /* Borders */
  --border-radius-small: 5px;
  --border-radius-medium: 18px;
  --border-radius-large: 24px;
  --border-width: 1px;
  --border-width-thick: 2px;

  /* Content Block */
  --content-overlay-bg: rgba(255, 255, 255, 0.4);
  --content-text-size: 56px;
  --content-text-size-mobile: 32px;
  --content-text-size-small: 24px;

  /* Form */
  --form-input-bg: #f5f5f7;
  --form-input-border: rgba(0, 0, 0, 0.1);
  --form-input-focus-border: #0071e3;
  --form-label-color: #1d1d1f;
  --form-required-color: #ff3b30;
  --form-button-hover-bg: #86868b;

  /* Typography */
  --font-size-nav-desktop: 16px;
  --font-size-nav-mobile: 20px;
  --font-size-title-large: 48px;
  --font-size-title-mobile: 32px;
  --font-size-carousel-title: 36px;
  --font-size-carousel-title-mobile: 20px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --letter-spacing-tight: -0.5px;
  --letter-spacing-normal: 0.3px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

/* ===== NAVIGATION ===== */
.main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, var(--nav-bg-opacity));
  border-bottom: var(--border-width) solid var(--border-light);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-navigation.scrolled {
  background-color: rgba(255, 255, 255, var(--nav-bg-opacity-scrolled));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 40px;
  display: flex;
  align-items: center;
  max-width: 150px;
}

.nav-logo img {
  max-height: 40px;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.nav-logo:hover img {
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-text-dark);
  font-size: var(--font-size-nav-desktop);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-normal);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: var(--border-width-thick);
  background-color: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

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

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
}

.menu-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  position: relative;
  transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    top 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

/* Menu Toggle Active State (X icon) */
.menu-open .menu-icon {
  background-color: transparent;
}

.menu-open .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-open .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Back to Work Button */
.back-button-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 999;
}

.back-to-work-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  background-color: var(--color-primary);
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.back-to-work-btn:hover {
  background-color: var(--form-button-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(134, 134, 139, 0.3);
}

.back-to-work-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

/* View Full Article Link - Styled like back-to-work-btn */
.news-full-link {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  background-color: var(--color-primary);
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.news-full-link:hover {
  background-color: var(--form-button-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(134, 134, 139, 0.3);
}

.news-full-link:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 24px 8px 24px;
}

/* Section Spacing */
section {
  padding: 80px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: var(--font-size-title-large);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: 0px;
  text-align: center;
  color: var(--color-text-dark);
}

.section-title-large {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 0px;
  text-align: center;
  color: #1d1d1f;
}

/* Section Labels */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #6e6e73;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

section.is-visible .section-label {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SECTION 14: 16:9 Aspect Ratio (Work Grid) ===== */
.aspect-16-9 {
  background-color: #ffffff;
  padding: 0;
}

.aspect-grid-16-9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.aspect-item-16-9 {
  display: block;
  text-decoration: none;
  background-color: #f5f5f7;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.aspect-item-16-9.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.aspect-item-16-9:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.08);
}

.aspect-item-16-9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.3s ease;
}

.aspect-item-16-9:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.aspect-item-16-9::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.aspect-item-16-9:hover::before {
  opacity: 1;
}

/* Aspect 16:9 Overlay and Title */
.aspect-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.aspect-item-16-9:hover .aspect-overlay {
  opacity: 1;
}

.aspect-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== SECTION 5: Content Block ===== */
.content-block {
  background-image: url('../images/Arrival_image_01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--border-radius-large);
  margin: 0 auto;
  max-width: 800px;
  max-height: 200px;
  position: relative;
}

.content-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--content-overlay-bg);
  border-radius: var(--border-radius-large);
  z-index: 1;
}

.content-block .container {
  position: relative;
  z-index: 2;
}

.content-wrapper {
  padding: 0;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.content-text p {
  font-size: var(--content-text-size);
  line-height: 1.3;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: var(--letter-spacing-tight);
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
  background-color: var(--color-white);
  padding: 16px 0 80px 0;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-large);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--form-label-color);
  margin-bottom: 8px;
}

.required {
  color: var(--form-required-color);
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  border: 2px solid var(--form-input-border);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--form-input-focus-border);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.submit-btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  background-color: var(--color-primary);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--form-button-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(134, 134, 139, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Form Response Messages */
.form-response {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-response.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-response.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* ===== ABOUT INTRO SECTION ===== */
.about-intro {
  padding: 0;
}

/* ===== CONTACT INTRO SECTION ===== */
.contact-intro {
  padding: 0;
}

/* ===== SECTION 2: Two-Column Gallery (16:10 Aspect Ratio) ===== */
.two-column-gallery {
  background-color: var(--color-white);
  padding: 0 0 20px 0;
}

.gallery-grid-16-10 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.aspect-item-16-10 {
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.aspect-item-16-10.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.aspect-item-16-10:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.08);
}

.aspect-item-16-10 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.3s ease;
}

.aspect-item-16-10:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.aspect-item-16-10::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.aspect-item-16-10:hover::before {
  opacity: 1;
}

/* ===== CLIENT GRID SECTION ===== */
.client-grid-section {
  background-color: var(--color-white);
  padding: 20px 0;
}

.client-grid-section .section-title {
  margin-bottom: 24px;
}

.client-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.client-logo-box {
  background-color: var(--color-white);
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius-medium);
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.client-logo-box.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.client-logo-box:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.2);
}

.client-logo-box img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* ===== SECTION 7: Film Description ===== */
.film-description {
  background-color: var(--color-background-light);
  padding: 20px 0;
}

.film-text {
  max-width: 900px;
  margin: 0 auto;
}

.film-text p {
  font-size: 21px;
  line-height: 1.7;
  color: var(--color-text-dark);
  text-align: center;
}

/* ===== CONTACT MESSAGE SECTION ===== */
.contact-message {
  background-color: var(--color-background-light);
  padding: 0;
}

.contact-message-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 14px 24px;
}

.contact-message h3 {
  font-size: 21px;
  line-height: 1.7;
  color: var(--color-text-dark);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  font-weight: var(--font-weight-normal);
}

/* ===== CAROUSEL SECTION ===== */
.carousel-gallery {
  background-color: var(--color-background-dark);
  padding: 16px 0px 20px 0px;
}

.carousel-gallery .section-title {
  color: var(--color-white);
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-large);
  overflow: hidden;
}

/* Portrait carousel variant (9:16 aspect ratio) */
.carousel-track-portrait {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--border-radius-large);
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.carousel-item.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
  background: linear-gradient(
    to top,
    var(--overlay-dark) 0%,
    var(--overlay-medium) 50%,
    transparent 100%
  );
  z-index: 2;
}

.carousel-title {
  font-size: var(--font-size-carousel-title);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin: 0;
  letter-spacing: var(--letter-spacing-tight);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.carousel-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-nav-btn.prev {
  left: 20px;
}

.carousel-nav-btn.next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, var(--indicator-opacity));
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, var(--indicator-hover-opacity));
  transform: scale(1.2);
}

.indicator.active {
  background-color: var(--color-white);
  width: 32px;
  border-radius: var(--border-radius-small);
}

/* ===== NEWS SECTION ===== */
.news-section {
  background-color: var(--color-white);
  padding: 0px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 0px;
}

.news-card {
  background-color: var(--color-background-light);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #e5e5e7;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 24px;
}

.news-date {
  display: block;
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 22px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.news-excerpt {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 20px;
}

.news-read-more {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.news-read-more:hover {
  background-color: #424245;
  transform: scale(1.05);
}

/* News Modal */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal.active {
  opacity: 1;
  visibility: visible;
}

.news-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.news-modal-container {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--border-radius-large);
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  margin: 40px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

/* Hide scrollbar on desktop only */
@media (min-width: 1025px) {
  .news-modal-container {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }

  .news-modal-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
}

.news-modal.active .news-modal-container {
  transform: scale(1);
}

.news-modal-close {
  position: sticky;
  top: 16px;
  right: 16px;
  float: right;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 10;
  margin: 16px 16px 0 0;
}

.news-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.news-modal-content {
  clear: both;
}

.news-modal-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.news-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-modal-body {
  padding: 40px 48px 48px 48px;
}

.news-modal-date {
  display: block;
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-modal-title {
  font-size: 36px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-tight);
}

.news-modal-text {
  font-size: 17px;
  color: var(--color-text-dark);
  line-height: 1.7;
}

.news-modal-text p {
  margin-bottom: 20px;
}

.news-modal-text p:last-child {
  margin-bottom: 0;
}

/* ===== NEWS ARTICLE PAGE ===== */
.news-article-page {
  background-color: var(--color-white);
  padding: 0px 0 80px;
}

.news-article-header {
  text-align: center;
  padding: 0px 0 40px;
  max-width: 900px;
  margin: 0 auto;
}

.news-article-date {
  display: block;
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
  margin-bottom: 20px;
  padding-top: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-article-title {
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-tight);
}

.news-article-image {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 48px;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.news-article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--color-text-dark);
  line-height: 1.8;
}

.news-article-content p {
  margin-bottom: 24px;
}

.news-article-content p:last-child {
  margin-bottom: 0;
}

/* ===== CREDITS SECTION ===== */
.credits-section {
  background-color: var(--color-white);
  padding: 0;
}

/* Client Credit - Large Featured Style */
.client-credit {
  text-align: center;
  padding: 0px 0 17px;
  max-width: 1000px;
  margin: 0 auto;
}

.client-label {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-top: 20px;
  margin-bottom: 16px;
}

.client-name {
  font-size: 80px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  line-height: 1.1;
  margin: 0 0 0px 0;
  letter-spacing: var(--letter-spacing-tight);
}

/* Credits Image Grid - 3 images in 16:9 */
.credits-image-grid {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 0 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.credits-image-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--border-radius-medium);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.credits-image-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.credits-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Portrait 9:16 Aspect Ratio Grid */
.credits-image-grid-portrait {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 48px 0 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.credits-image-item-portrait {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--border-radius-medium);
}

.credits-image-item-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.credits-image-item-portrait:hover img {
  transform: scale(1.05);
}

/* 16:9 Video Container */
.credits-video-container {
  max-width: 1200px;
  margin: 0 auto 0px;
  padding: 0 0px;
}

.credits-video-container + .credits-video-container {
  margin-top: 32px;
}

/* 9:16 Portrait Video Grid Container */
.credits-video-grid-portrait {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 0px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.credits-video-container-portrait {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.credits-video-container-portrait > div {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 0 !important;
}

.credits-video-container-portrait iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-large);
}

.credits-video-container img,
.credits-video-container video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--border-radius-large);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Iframe embed container styling */
.credits-video-container > div {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Remaining Credits List */
.credits-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.credits-row {
  display: grid;
  gap: 0 0;
}

.credits-row.credits-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.credits-row.credits-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.credit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 32px;
  position: relative;
}

/* Vertical dividing lines between items in first row */
.credit-item.credit-with-divider::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 80%;
  width: var(--border-width);
  background-color: var(--border-light);
}

.credit-item:last-child {
  border-bottom: none;
}

.credit-label {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credit-value {
  font-size: 20px;
  font-weight: var(--font-weight-normal);
  color: var(--color-text-dark);
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--color-background-light);
  border-top: var(--border-width) solid var(--border-light);
  padding: 40px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: var(--font-weight-medium);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-text-dark);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav-menu {
    gap: 28px;
  }

  .nav-menu a {
    font-size: 13px;
  }

  .carousel-title {
    font-size: 28px;
  }

  .section-title {
    font-size: var(--font-size-title-mobile);
  }

  .carousel-overlay {
    padding: 32px;
  }

  .section-title-large {
    font-size: 52px;
    margin-bottom: 48px;
  }

  .aspect-grid-16-9 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid-16-10 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .two-column-gallery {
    padding: 0 0 20px 0;
  }

  .client-grid-section {
    padding: 30px 0;
  }

  .client-logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .client-logo-box {
    width: 75px;
    height: 75px;
  }

  .news-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    margin-top: 0px;
  }

  .client-name {
    font-size: 56px;
  }

  .credits-image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }

  .credits-list {
    gap: 24px;
    padding: 20px 16px;
  }

  .credits-row.credits-row-3,
  .credits-row.credits-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .credit-item {
    padding: 16px 24px;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .credit-item.credit-with-divider::after {
    height: 70%;
  }

  .credit-label {
    font-size: 16px;
    white-space: nowrap;
  }

  .credit-label::after {
    content: ':';
    margin-left: 2px;
  }

  .credit-value {
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-container {
    height: 60px;
    padding: 4px 16px 0px 16px;
  }

  .nav-logo {
    height: 28px;
  }

  /* Show hamburger, hide desktop menu */
  .menu-toggle {
    display: block;
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, var(--menu-bg-opacity));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s;
    z-index: 999;
  }

  .menu-open .nav-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
    padding: 0px 24px;
    height: auto;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    margin: 0;
    list-style: none;
    background-color: var(--color-white);
  }

  .nav-menu li {
    border-bottom: var(--border-width) solid var(--border-light);
    display: block;
    width: 100%;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: flex;
    font-size: var(--font-size-nav-mobile);
    font-weight: var(--font-weight-medium);
    padding: 20px 0;
    color: var(--color-text-dark);
    min-height: 60px;
    align-items: center;
    width: 100%;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    color: var(--color-primary);
    background-color: rgba(0, 113, 227, 0.05);
    padding-left: 12px;
  }

  /* Back to Work Button - Mobile */
  .back-button-container {
    top: 70px;
    right: 16px;
  }

  .back-to-work-btn {
    padding: 10px 20px;
    font-size: 12px;
  }

  section {
    padding: 1px 0;
  }

  .container {
    padding: 8px 16px;
  }

  .section-title {
    font-size: var(--font-size-title-mobile);
    margin-bottom: 0px;
  }

  .carousel-title {
    font-size: var(--font-size-carousel-title-mobile);
  }

  .carousel-overlay {
    padding: 24px;
  }

  .carousel-gallery {
    padding: 1px 0px 18px 0px;
  }

  .carousel-indicators {
    margin-top: 20px;
    gap: 8px;
  }

  .carousel-nav-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .carousel-nav-btn.prev {
    left: 10px;
  }

  .carousel-nav-btn.next {
    right: 10px;
  }

  .section-title-large {
    font-size: 40px;
    margin-bottom: 0px;
  }

  .aspect-grid-16-9 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Mobile Override: Force sections and work items to be visible immediately, disable animations */
  section {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .aspect-item-16-9 {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.3s ease !important;
  }

  .content-text p {
    font-size: var(--content-text-size-mobile);
    line-height: 1.4;
  }

  .content-wrapper {
    padding: 40px 24px;
  }

  .contact-form-section {
    padding: 10px 0 0 0;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
  }

  .submit-btn {
    padding: 14px 28px;
    font-size: 16px;
  }

  .gallery-grid-16-10 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .two-column-gallery {
    padding: 0 0 20px 0;
  }

  .client-grid-section {
    padding: 30px 0;
  }

  .client-logo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .client-logo-box {
    width: 75px;
    height: 75px;
  }

  .film-description {
    padding: 20px 0;
  }

  .film-text p {
    font-size: 17px;
    line-height: 1.4;
  }

  .news-section {
    padding: 0px 0;
  }

  .news-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
    margin-top: 0px;
  }

  .news-title {
    font-size: 20px;
  }

  .news-excerpt {
    font-size: 15px;
  }

  .news-modal-container {
    width: 95%;
    margin: 20px;
    max-height: 90vh;
  }

  .news-modal-body {
    padding: 32px 24px;
  }

  .news-modal-title {
    font-size: 28px;
  }

  .news-modal-text {
    font-size: 16px;
  }

  .news-modal-close {
    top: 12px;
    right: 12px;
    margin: 12px 12px 0 0;
  }

  .client-name {
    font-size: 40px;
  }

  .credits-image-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .credits-image-item {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
  }

  .credits-video-grid-portrait {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .credits-list {
    gap: 8px;
    padding: 8px 16px;
  }

  .credits-row.credits-row-3,
  .credits-row.credits-row-2 {
    grid-template-columns: 1fr;
  }

  .credit-item {
    padding: 8px 0;
    gap: 4px;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    text-align: center;
  }

  /* Hide all dividers on mobile */
  .credit-item.credit-with-divider::after {
    display: none;
  }

  .credit-label {
    font-size: 14px;
    white-space: nowrap;
  }

  .credit-label::after {
    content: ':';
    margin-left: 2px;
  }

  .credit-value {
    font-size: 16px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .content-text p {
    font-size: var(--content-text-size-small);
    line-height: 1.4;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 15px;
    padding: 10px 12px;
  }
}
