/* =========================================================
   MAIN STYLESHEET
   This file controls the look of every page in the website.
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f3ee;
  color: #202020;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

/* ---------- Reusable layout ---------- */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.serif {
  font-family: Georgia, "Times New Roman", serif;
}

.section {
  padding: 90px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a6a52;
  margin-bottom: 14px;
}

.page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .95;
  font-weight: 400;
}

/* ---------- Header / navigation ---------- */
/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: #f6f3ee; /* Matches your site's warm background */
  color: #202020; /* Dark text from the start */
  transition: .2s ease;
}

.site-header.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, .06);
}

.navbar {
  min-height: 85px; /* Slightly taller for a breathable, editorial feel */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: 1px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 35px; /* Wider spacing between words */
  list-style: none;
  font-family: Georgia, "Times New Roman", serif; /* Serif typography */
  font-size: 17px;
  letter-spacing: 0; /* Removes the wide tracking */
  text-transform: capitalize; /* Changes from ALL CAPS to Title Case */
}

/* Hover & Active Underline Effect */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #202020;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  color: inherit;
  font-size: 25px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center; 
  justify-content: flex-start; /* Aligns content to the left side */
  color: white;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image img {
  height: 100%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Stacks two gradients: 
     1st creates the seamless fade to the page background at the bottom.
     2nd keeps the left side dark so your animated text remains readable. */
  background: transparent;
  z-index: -1;
}
.hero-content {
  padding: 120px 0 70px;
  max-width: 650px;
  /* Adds a minimum 20px gap on small screens, and aligns with the logo on large screens */
  margin-left: max(20px, calc((100vw - 1120px) / 2));
  z-index: 1;
}


/* Ensure text stays crisp and readable over the clearer image */
.hero h1, 
.hero p {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9vw, 125px);
  line-height: .86;
  font-weight: 400;
  letter-spacing: -3px;
}

.hero-title em {
  color: #d0a383;
  font-style: normal;
}

.hero-text {
  max-width: 470px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .86);
}

.button {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 20px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: .25s ease;
}

.button:hover {
  background: white;
  color: #202020;
}

/* ---------- Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.intro-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 75px);
  font-weight: 400;
  line-height: .95;
}

.intro-title span {
  color: #a77455;
}

/* ---------- Portfolio cards ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  background: #ded8ce;
}

.portfolio-card img {
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover img {
  transform: scale(1.04);
}

.portfolio-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 65px 24px 24px;
  color: white;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

.portfolio-overlay h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.portfolio-overlay p {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: .82;
}

/* ---------- About page ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-photo {
  min-height: 620px;
}

.about-photo img {
  height: 100%;
}

.about-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: .95;
  font-weight: 400;
  margin-bottom: 25px;
}

.about-copy p {
  color: #666;
  margin-bottom: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 35px;
}

.stat {
  border-top: 1px solid #d6cec2;
  padding-top: 12px;
}

.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.stat small {
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
}

/* ---------- Gallery page ---------- */
.page-banner {
  padding: 155px 0 70px;
  background: #ded8ce;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery-item {
  overflow: hidden;
  height: 360px;
  cursor: pointer;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(7) {
  height: 470px;
}

.gallery-item img {
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.contact-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: .92;
}

.contact-copy p {
  max-width: 480px;
  color: #666;
  margin: 24px 0;
}

.contact-details {
  display: grid;
  gap: 10px;
  color: #555;
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c9c0b4;
  padding: 12px 2px;
  background: transparent;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #8a6a52;
}

.contact-form textarea {
  min-height: 125px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  border: 1px solid #202020;
  background: transparent;
  padding: 13px 20px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.contact-form button:hover {
  background: #202020;
  color: white;
}

/* ---------- Footer ---------- */
/* ---------- Footer ---------- */
.site-footer {
  background: #ece6dc; /* Soft beige matching the site's warm tones */
  color: #202020; /* Dark contrast for readability */
  padding: 80px 0 60px; /* Deep padding for a premium, spacious layout */
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer-logo {
  font-size: 32px;
  line-height: 1;
}

.social-links {
  display: flex;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  color: #202020;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #a77455;
}

.social-links svg {
  display: block;
}

.social-links a:hover {
  color: #a77455;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-footer a {
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #a77455;
}

/* ---------- Simple fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: .7s ease;
}

.fade-in.show {
  opacity: 1;
  transform: none;
}
/* ---------- Masonry / Random Size Gallery ---------- */
.masonry-gallery {
  column-count: 3; /* 3 columns on desktop */
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid; /* Prevents an image from being split across columns */
  margin-bottom: 20px;
  overflow: hidden;
  cursor: pointer; /* Keeps your click-to-enlarge script working */
}

.masonry-item img {
  width: 100%;
  height: auto; /* Respects the original random heights */
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-item:hover img {
  transform: scale(1.04);
}
/* ---------- Mobile styles ---------- */
@media (max-width: 800px) {
  .container {
    width: min(100% - 28px, 1120px);
  }
.collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.masonry-gallery {
    column-count: 2; /* 2 columns on tablets */
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: #1c1c1c;
    color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    transform: translateY(-100%);
    transition: .35s ease;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 101;
  }

  .intro-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(7) {
    height: 330px;
  }

  .about-photo {
    min-height: 450px;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 70px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(7) {
    height: 390px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat:last-child {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center; 
  justify-content: flex-start; /* Aligns content to the left side */
  color: white;
  overflow: hidden;
}

/* Background Image Slider */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #1c1c1c;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05); /* Slight zoom for a cinematic feel */
  transition: opacity 1.8s cubic-bezier(0.22, 1, 0.36, 1), transform 2.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* Keeps the subject centered during cropping */
  display: block;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Stacks two gradients: 
     1st creates the seamless fade to the page background at the bottom.
     2nd keeps the left side dark so your animated text remains readable. */
  background: transparent;
  z-index: -1;
}

.hero-content {
  padding: 120px 0 70px;
  max-width: 650px;
  /* Adds a minimum 20px gap on small screens, and aligns with the logo on large screens */
  margin-left: max(20px, calc((100vw - 1120px) / 2));
  z-index: 1;
}

/* Text Slide-Up Animation Styles */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(45px) rotate(3deg); /* Slight rotation for a dynamic float */
  animation: floatCharUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes floatCharUp {
  0% {
    opacity: 0;
    transform: translateY(45px) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.slide-up-item {
  transform: translateY(110%);
  opacity: 0;
  animation: slideUpAnim 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideUpAnim {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Animation Delays for Staggered Effect */
.slide-up-wrap:nth-child(1) .slide-up-item { animation-delay: 0.1s; }
.slide-up-wrap:nth-child(2) .slide-up-item { animation-delay: 0.3s; }
.slide-up-wrap:nth-child(3) .slide-up-item { animation-delay: 0.5s; }
.slide-up-wrap:nth-child(4) .slide-up-item { animation-delay: 0.7s; }

.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9vw, 125px);
  line-height: .86;
  font-weight: 400;
  letter-spacing: -3px;
  margin-top: 10px;
}

.hero-title em {
  color: #d0a383;
  font-style: normal;
}

.hero-text {
  max-width: 470px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .86);
}

.button {
  display: inline-block;
  padding: 13px 20px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: .25s ease;
}

.button:hover {
  background: white;
  color: #202020;
}/* ---------- Collage Grid ---------- */
.collage-section {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Changed to 5 columns */
  gap: 2px;
  background: #f6f3ee; 
}

.collage-item {
  position: relative;
  aspect-ratio: 1 / 1; /* Forces perfect squares */
  overflow: hidden;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.collage-item:hover img {
  transform: scale(1.05); /* Slight hover zoom to match your portfolio */
}

.collage-text-box {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.collage-text-box h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11px, 1.2vw, 17px); /* Slightly smaller to fit 5-column grid */
  font-weight: 400;
  line-height: 1.2;
  color: #202020;
}

.collage-text-box span {
  font-size: clamp(20px, 2.5vw, 40px); /* Slightly smaller to fit 5-column grid */
  display: block;
  margin: 6px 0;
  letter-spacing: 1px;
}
@media (max-width: 520px) {
  .masonry-gallery {
    column-count: 1; /* 1 column on small phones */
  }
}
/* ---------- Wave Animation for Story Landing ---------- */
.wave-link-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.wave-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.wave-item {
  overflow: hidden;
  /* This animation runs continuously, gently moving the images up and down */
  animation: floatWave 6s ease-in-out infinite;
}

/* Stagger the animations so they wave at different times */
.wave-item:nth-child(1) { animation-delay: 0s; }
.wave-item:nth-child(2) { animation-delay: 1.5s; }
.wave-item:nth-child(3) { animation-delay: 3s; }

/* Pushes the middle image down to create an interesting shape */
.wave-item.offset-down {
  margin-top: 60px; 
}

.wave-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Zoom effect when hovering over the grid */
.wave-link-wrapper:hover .wave-item img {
  transform: scale(1.05);
}

@keyframes floatWave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); } /* Floats up by 20px */
}

/* ---------- Video Support for Masonry Gallery ---------- */
.masonry-item video {
  width: 100%;
  height: auto;
  display: block;
  /* Removes default video controls and styling */
  outline: none;
  border: none;
}
/* ---------- Story Layout Grid ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px; /* Slight gap between images */
}

.story-card {
  display: block;
  cursor: pointer;
}

.story-image {
  overflow: hidden;
  aspect-ratio: 3 / 4; /* Forces a tall portrait shape */
  margin-bottom: 15px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-card:hover .story-image img {
  transform: scale(1.04);
}

.story-info {
  text-align: left;
}

.story-info h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 400;
  color: #202020;
  margin-bottom: 4px;
}

.story-info p {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.5px;
}
/* Mobile fix for wave grid */
@media (max-width: 800px) {
  .wave-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wave-item.offset-down {
    margin-top: 0; 
  }
}
@media (max-width: 520px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Responsive Rules for the Collage Grid ---------- */

/* Laptops & small desktops (screens smaller than 1000px) -> Shifts to 4 columns */
@media (max-width: 1000px) {
  .collage-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .collage-text-box h3 {
    font-size: clamp(12px, 2vw, 16px);
  }
  
  .collage-text-box span {
    font-size: clamp(22px, 3.5vw, 32px);
  }
}

/* Tablets (screens smaller than 768px) -> Shifts to 3 columns */
@media (max-width: 768px) {
  .collage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Phones (screens smaller than 520px) -> Shifts to 2 columns */
@media (max-width: 520px) {
  .collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Shrinks the text box content to fit the small mobile squares */
  .collage-text-box h3 {
    font-size: 11px;
  }
  
  .collage-text-box span {
    font-size: 20px;
    margin: 4px 0;
  }
}
/* ---------- Angled Background Section ---------- */
.angled-bg-section {
  position: relative;
  background-color: #a69888; /* Warm taupe color */
  /* Generates a seamless, subtle noise texture using SVG */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  /* Creates the smooth, shallow angled peak at the top */
  clip-path: polygon(0 40px, 50% 0, 100% 40px, 100% 100%, 0 100%);
  padding: 130px 0 100px; /* Extra top padding to clear the angled cut */
  color: white;
  margin-top: 50px;
}

/* Updates the text colors inside this specific section */
.angled-bg-section .story-info h3,
.angled-bg-section .story-info p {
  color: white; 
}

/* Typography matching the reference */
.script-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.5vw, 55px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 60px;
  letter-spacing: 0.5px;
}

.script-title em {
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
}

/* Creates the hand-drawn underline swoosh */
.underline-swoosh {
  position: relative;
  display: inline-block;
}

.underline-swoosh::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: -4px;
  width: 104%;
  height: 6px;
  /* Uses border-radius to curve the line organically */
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50% / 0 0 10px 10px;
  transform: rotate(-1deg);
}

/* Responsive adjustment for the angle on mobile */
@media (max-width: 520px) {
  .angled-bg-section {
    clip-path: polygon(0 25px, 50% 0, 100% 25px, 100% 100%, 0 100%);
    padding: 90px 0 70px;
  }
}
/* ---------- Animated Stats Grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns only */
  gap: 60px;
  max-width: 600px;
  margin-top: 40px;
}

.stat-item {
  border-top: 1px solid #d4cdc3; /* The subtle line above the numbers */
  padding-top: 25px;
}

.stat-number {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 55px;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 15px;
}

.stat-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #666;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Stack into one column on mobile screens */
@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr; 
    gap: 40px;
  }
}
.photo-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 16px; /* Adjust this number to make the curves sharper or softer */
}
/* ---------- Editorial Contact Page ---------- */
/* ---------- Editorial Contact Page ---------- */
.contact-editorial-grid {
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 60px;
  align-items: stretch;
  
  /* Overrides the default container to fill more of the screen */
  max-width: 1400px !important;
  width: 95% !important;
}

/* --- Left Column: Photos --- */
.contact-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%; 
}

.photo-arched,
.photo-standard {
  width: 100%;
  overflow: hidden;
  /* Crucial flexbox fix: stops the natural image size from breaking the stretch */
  min-height: 0; 
}

.photo-arched {
  flex: 1.5; /* 60% of the height */
  border-top-left-radius: 500px;
  border-top-right-radius: 500px;
}

.photo-standard {
  flex: 1; /* 40% of the height */
}

.contact-visuals img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* --- Left Column: Photos --- */
.contact-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.photo-arched,
.photo-standard {
  width: 100%;
  overflow: hidden;
}

/* Creates the perfect top arch */
.photo-arched {
  aspect-ratio: 4 / 5;
  border-top-left-radius: 500px;
  border-top-right-radius: 500px;
}

.photo-standard {
  aspect-ratio: 4 / 3;
}

.contact-visuals img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Right Column: Form --- */
.form-heading {
  font-family: 'Bodoni Moda', serif;
  font-size: 32px;
  font-weight: 400;
  color: #202020;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  margin-bottom: 25px;
}

.form-intro {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
}

.form-intro p {
  margin-bottom: 15px;
}

/* Form Fields */
.editorial-form .form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.editorial-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.editorial-form label {
  font-family: 'Bodoni Moda', serif;
  font-size: 15px;
  color: #202020;
  margin-bottom: 8px;
}

.editorial-form label span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #888;
  font-style: italic;
}

/* Pill-shaped Inputs */
.editorial-form input,
.editorial-form select {
  width: 100%;
  background-color: #efebe4; /* Beige background to match reference */
  border: none;
  border-radius: 30px; /* Fully rounded ends */
  padding: 14px 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: background-color 0.3s ease;
}

/* Textarea is slightly less rounded so it doesn't clip text */
.editorial-form textarea {
  width: 100%;
  background-color: #efebe4;
  border: none;
  border-radius: 20px; 
  padding: 16px 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  outline: none;
  resize: vertical;
}

.editorial-form input:focus,
.editorial-form select:focus,
.editorial-form textarea:focus {
  background-color: #e5dfd5;
}

/* Submit Button */
.submit-btn {
  background-color: #202020;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 14px 35px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #a77455; /* Accent color hover */
}

/* Mobile Responsiveness */
@media (max-width: 800px) {
  .contact-editorial-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .editorial-form .form-row {
    grid-template-columns: 1fr;
  }
}
/* Pill-shaped Inputs */
.editorial-form input,
.editorial-form select {
  width: 100%;
  box-sizing: border-box; /* Add this line */
  background-color: #efebe4;
  border: none;
  border-radius: 30px;
  padding: 14px 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: background-color 0.3s ease;
}

.editorial-form textarea {
  width: 100%;
  box-sizing: border-box; /* Add this line */
  background-color: #efebe4;
  border: none;
  border-radius: 20px; 
  padding: 16px 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #333;
  outline: none;
  resize: vertical;
}
/* ---------- Instagram Reel Wrapper ---------- */
.instagram-reel-wrapper {
  max-width: 400px; /* Limits width to a standard phone size */
  margin: 0 auto;   /* Centers the video perfectly */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Adds a soft elegant shadow */
}

/* Forces the embedded Instagram iframe to behave */
.instagram-reel-wrapper iframe {
  width: 100%;
  height: 710px; /* Standard vertical height for Reels */
  border: none;
  display: block;
  border-radius: 16px;
}
/* ---------- Site Footer ---------- */
/* Fixes the white gap at the bottom by forcing the body to stretch */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* Pushes the footer down */
}

.site-footer {
  background-color: #efebe4; /* Beige background applied to the full width */
  width: 100%;
  padding: 50px 0;
  margin-top: auto; /* Ensures it stays at the bottom */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.footer-col p, 
.footer-col a {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.footer-col a:hover {
  color: #a77455; /* Accent color on hover */
}

/* Specific Column Alignments */
.left-col {
  text-align: left;
}

.center-col {
  text-align: center;
}

.right-col {
  text-align: right;
}

/* Footer Logo Styling */
.footer-logo {
  font-family: 'Bodoni Moda', serif !important;
  font-size: 26px !important;
  letter-spacing: 1px;
  margin-bottom: 15px !important;
}

.footer-logo span {
  font-size: 0.8em;
}

/* Social Icon Styling */
.social-link {
  display: inline-block;
  color: #1a1a1a;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  color: #a77455;
}

/* Mobile Responsiveness for the Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr; /* Stacks everything into a single column on phones */
    text-align: center;
    gap: 30px;
  }
  
  .left-col, .center-col, .right-col {
    text-align: center;
  }
}
/* ---------- Editorial Split Section (Matching Light Site Theme) ---------- */
.editorial-split-section {
  background-color: #f9f8f6; /* Matches your site's soft cream/beige background */
  color: #444444;            /* Dark, readable neutral text */
  padding: 120px 0;
  font-family: 'Arial', sans-serif;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left Column Styling */
.split-heading {
  font-family: 'Bodoni Moda', serif;
  font-size: 48px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.15;
  margin: 20px 0 30px 0;
  letter-spacing: -0.5px;
}

.split-body p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555555;
}

.split-body strong {
  color: #1a1a1a;
  font-weight: 500;
}

/* Editorial Button Styling */
.editorial-btn {
  display: inline-block;
  background-color: #1a1a1a; /* Dark sleek button to contrast the light background */
  color: #f9f8f6;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.editorial-btn:hover {
  background-color: #a77455; /* Warm accent brown on hover */
  transform: translateY(-2px);
}

/* Right Column Box Styling */
.split-right-box {
  border: 1px solid #e2ddd5;
  background-color: #ffffff; /* Clean white card contrasting the cream section */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.tracker-header {
  font-size: 11px;
  letter-spacing: 2px;
  color: #777777;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.tracker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee8e0;
  padding: 24px 0;
}

.tracker-row h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.tracker-row span {
  font-size: 12px;
  color: #777777;
}

.tracker-number {
  font-family: 'Bodoni Moda', serif;
  font-size: 32px;
  color: #1a1a1a;
  font-weight: 400;
}

.highlight-num {
  color: #a77455; /* Warm accent brown for numbers like 2027 */
}

.tracker-footer-note {
  font-size: 11px;
  line-height: 1.6;
  color: #777777;
  margin-top: 30px;
  border-top: 1px solid #eee8e0;
  padding-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .split-heading {
    font-size: 36px;
  }
  
  .split-right-box {
    padding: 25px;
  }
}
/* ---------- Auto-Sliding Photo Marquee Section ---------- */
.about-slider-section {
  background-color: #f9f8f6; /* Matches your site theme */
  padding: 60px 0 100px 0;
  overflow: hidden;
  width: 100%;
}

.slider-container {
  width: 100%;
  overflow-x: scroll; /* Enables smooth programmatic scrolling */
  scrollbar-width: none; /* Hides scrollbar on Firefox */
  -ms-overflow-style: none; /* Hides scrollbar on IE/Edge */
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px 0; /* Padding allows space for the center image scale effect */
}

.slider-container::-webkit-scrollbar {
  display: none; /* Hides scrollbar on Chrome/Safari */
}

.slider-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  padding: 0 50px;
}

.slider-item {
  flex: 0 0 280px; /* Sets card width so roughly 4-5 fit on standard screens */
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  filter: brightness(0.92); /* Slightly dimmed when on the sides */
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Center Image Focus Scale Animation */
.slider-item.is-center {
  transform: scale(1.12); /* Increases size slightly */
  z-index: 10;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  filter: brightness(1); /* Full brightness for the focal center image */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .slider-item {
    flex: 0 0 220px;
    height: 300px;
  }
}
/* ---------- Portfolio Card Hover Effect ---------- */
.portfolio-card:hover img {
  transform: scale(1.03);
}

/* Responsive adjustment for mobile screens */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}
/* ---------- Uniform 4-Column Portfolio Grid ---------- */
.portfolio-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: stretch; /* Forces all cards in the row to match the tallest height */
}

.portfolio-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Enforces a uniform square (1:1) aspect ratio for every image */
.portfolio-img-box {
  width: 100%;
  aspect-ratio: 1 / 1; 
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
  background-color: #eee;
  flex-shrink: 0;
}

.portfolio-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover .portfolio-img-box img {
  transform: scale(1.04);
}

/* Text wrapper to force uniform spacing at the bottom */
.portfolio-text-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.portfolio-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 20px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 5px;
  line-height: 1.3;
}

.portfolio-date {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  color: #777777;
  letter-spacing: 0.5px;
  margin-top: auto; /* Pushes the date cleanly to the bottom if needed */
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
  .portfolio-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .portfolio-grid-4col {
    grid-template-columns: 1fr;
  }
}
/* ---------- YouTube Video Grid & Wrappers ---------- */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Enforces a perfect 16:9 widescreen ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background-color: #000;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Layout: Stacks videos vertically on smaller screens */
@media (max-width: 900px) {
  .youtube-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* ---------- Custom Editorial Video Player Grid (Reduced Size) ---------- */
.custom-video-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 980px; /* Reduced from 1200px to make everything more compact */
  margin: 0 auto;
}

.custom-video-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background-color: #111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Large top feature aspect ratio - slightly smaller profile */
.large-feature .video-thumbnail-wrapper {
  aspect-ratio: 16 / 9;
  max-height: 440px; /* Caps the maximum height so it doesn't get too large */
  margin: 0 auto;
}

/* Bottom row layout */
.bottom-videos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.bottom-videos-row .video-thumbnail-wrapper {
  aspect-ratio: 16 / 10;
  max-height: 280px; /* Caps the height for the two smaller side-by-side videos */
}

.video-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.85);
}

.custom-video-card:hover img {
  transform: scale(1.03);
  filter: brightness(0.7);
}

/* Custom Gold Play Button Style (Scaled down slightly) */
.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; /* Reduced size */
  height: 52px; /* Reduced size */
  background-color: #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 3;
  padding-left: 2px;
}

.custom-video-card:hover .custom-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #e5c158;
}

/* Bottom Caption Overlay (Slightly more compact padding) */
.video-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px 20px 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.film-type-tag {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #d4af37;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.film-names {
  font-family: 'Bodoni Moda', serif;
  font-size: 20px; /* Reduced font scale */
  font-weight: 400;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
}

.large-feature .film-names {
  font-size: 24px; /* Reduced from 28px for a balanced look */
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .bottom-videos-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


/* ---------- Testimonial Auto-Slider ---------- */
.testimonial-slider-container {
  width: 100%;
  overflow-x: auto;
  /* scroll-behavior: smooth; <-- DELETE THIS LINE! */
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 0; 
  -webkit-overflow-scrolling: touch;
}
.testimonial-slider-container::-webkit-scrollbar {
  display: none;
}

.testimonial-track {
  display: flex;
  gap: 40px;
  align-items: center;
  will-change: transform;
  /* Mathematically centers the cards based on their width */
  padding: 0 calc(50vw - 200px); 
}

.testimonial-card {
  flex: 0 0 400px;
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 8px;
  text-align: center;
  
  /* Base state: slightly smaller and dimmer so the zoomed one pops */
  opacity: 0.5;
  transform: scale(0.85); 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  
  /* Smooth transitions */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s ease, 
              opacity 0.5s ease;
}
.testimonial-card.is-zoomed,
.testimonial-card:hover {
  opacity: 1 !important;
  transform: scale(1.15) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
  z-index: 10;
}



/* Center Review Zoom Effect */
.testimonial-card.is-center {
  transform: scale(1.15); /* Scales up */
  opacity: 1; /* Full visibility */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); /* Stronger shadow */
  z-index: 10;
}

.test-quote {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 25px;
  font-style: italic;
}

.test-author {
  font-family: 'Arial', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: #a77455; /* Warm accent brown */
  text-transform: uppercase;
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 300px;
    padding: 40px 25px;
  }
  .testimonial-track {
    padding: 0 calc(50vw - 150px);
  }
  .test-quote {
    font-size: 18px;
  }
}


/* ---------- Contact Information Block (Center Aligned) ---------- */
.contact-info-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px; /* Brings it slightly closer to the form above */
  padding-top: 20px;
  width: 100%;
  /* Removed top border per request */
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the content horizontally */
  text-align: center; /* Centers the text alignment */
}

.info-label {
  font-family: 'Arial', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: #999999;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Links and Text styling */
.info-text {
  font-family: 'Bodoni Moda', serif;
  font-size: 20px;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.info-text:hover {
  color: #a77455; /* Warm gold/brown accent on hover */
}

/* Social Icons Container */
.social-links {
  display: flex;
  flex-direction: row; /* Puts icons side by side */
  justify-content: center;
  gap: 20px;
  margin-top: 2px;
}

.social-links a {
  color: #1a1a1a;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: #a77455;
  transform: translateY(-3px); /* Gives the icons a tiny, elegant lift on hover */
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .contact-info-block {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 50px;
  }
}

@media (max-width: 600px) {
  .contact-info-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* ---------- Left-Aligned Logo & Social Block ---------- */
.footer-logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Forces the logo and icons to align to the left edge */
  gap: 15px; /* Adds perfect spacing between the logo and the icons below it */
  width: 100%;
  padding: 20px 0;
}

.logo-text {
  font-family: 'Bodoni Moda', serif;
  font-size: 28px;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: 1px;
  margin-bottom: 5px; /* Extra breathing room above the icons */
}

.social-links-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px; /* Spacing between the Instagram and Facebook icons */
}

.social-links-inline a {
  color: #1a1a1a;
  display: flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links-inline a:hover {
  color: #a77455;
  transform: translateY(-2px);
}
/* ---------- Video Portfolio Grid (Custom Stacking) ---------- */
.video-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns base */
  gap: 30px; /* Gives nice breathing room between the stacked videos */
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

/* Base Video Item Features (Kept from previous version) */
.video-item {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background-color: #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  aspect-ratio: 16 / 9; /* Perfect YouTube widescreen */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-item iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* The Hover Effect */
.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* --- Layout Spanning Rules --- */
/* Forces an item to take up the entire row (1 column) */
.full-width { 
  grid-column: span 2; 
}

/* Forces an item to take up half the row (2 columns) */
.half-width { 
  grid-column: span 1; 
}

/* --- Responsive Adjustments for Mobile --- */
@media (max-width: 768px) {
  .video-portfolio-grid {
    grid-template-columns: 1fr; /* Drops everything to 1 column on phones */
    gap: 20px;
  }
  
  .full-width, .half-width { 
    grid-column: span 1; 
  }
}
/* ---------- Strict Row-Based Layout ---------- */
/* ---------- Strict Row-Based Layout (Scaled Down) ---------- */
.video-portfolio-container {
  display: flex;
  flex-direction: column;
  gap: 20px; 
  
  /* These 3 lines control the overall size and centering */
  width: 90%; 
  max-width: 1000px; /* Change this number to make them larger or smaller */
  margin: 40px auto 0 auto; 
}
.portfolio-row-1 {
  display: grid;
  grid-template-columns: 1fr;
}

.portfolio-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* Space between items in row 2 */
}

/* This matches your wireframe exactly (4 columns in 1 row) */
.portfolio-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* Space between the 4 items */
}

/* ---------- Custom Cinematic Video Cards ---------- */
.custom-video-card {
  width: 100%;
  border-radius: 8px; /* Remove this line if you want sharp, wireframe-style corners */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.video-thumbnail-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Play Button Styling */
.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background-color 0.3s ease;
  z-index: 2;
}

/* Caption Overlay */
.video-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.film-type-tag {
  font-family: 'Arial', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.8;
}

.film-names {
  font-family: 'Bodoni Moda', serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0;
}

/* Scale down UI for the 4-in-a-row layout */
.portfolio-row-4 .film-names { font-size: 16px; }
.portfolio-row-4 .custom-play-btn { width: 45px; height: 45px; }

/* ---------- Hover Interactions ---------- */
.custom-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.custom-video-card:hover .video-thumbnail-wrapper img {
  transform: scale(1.05);
}
.custom-video-card:hover .custom-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #ffffff;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
  .portfolio-row-4 { grid-template-columns: repeat(2, 1fr); } /* 4-row becomes 2x2 on tablet */
}
@media (max-width: 600px) {
  .portfolio-row-2, .portfolio-row-4 { grid-template-columns: 1fr; } /* All become 1 column on phone */
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  /* SIZE: Increase height (default was 45px, set to 70px or larger as needed) */
  height: 85px; 
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;

  
}

/* Optional: Slight scale-up when hovering over the logo */
.logo-img:hover {
  transform: scale(1.9);
}
.iconic-heading {
  text-align: center; /* Centers all three lines equally */
  line-height: 1.2; /* Ensures the vertical gap between lines is exactly the same */
  font-weight: normal; 
}

.iconic-heading span {
  display: inline-block;
  margin: 10px 0; /* Adds equal breathing room above and below the word "ICONIC" */
  font-size: 1.5em; /* Makes the middle word larger for emphasis */
  letter-spacing: 2px; /* Adds a sophisticated wideness to the uppercase word */
  font-style: italic; /* Optional: gives it a classic editorial look */
}
/* Container to stack the images with a gap between them */
.stacked-image-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px; 
  width: 100%;
}

/* Force both images to be the exact same size */
.stacked-image-gallery img {
  width: 100%;
  height: 450px; /* Adjust this value to make both images taller or shorter */
  object-fit: cover; 
}

/* Create the rounded arch effect on the top image */
.stacked-image-gallery .arch-image {
  /* High pixel values on the top-left and top-right create the smooth curve */
  border-radius: 300px 300px 0 0; 
}

/* Keep the bottom image rectangular */
.stacked-image-gallery .rect-image {
  border-radius: 4px; /* Optional: adds a very subtle softening to the sharp corners */
}
/* Main Section Layout */
.why-choose-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  align-items: start;
}

/* Left Column Styling */
.why-choose-intro {
  position: sticky;
  top: 100px; /* Keeps the left side visible while scrolling through long accordion lists */
}

.why-choose-intro .subtitle {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: #a38c6b;
  text-transform: uppercase;
}

.why-choose-intro h2 {
  font-family: 'Playfair Display', serif; /* Or your preferred serif font */
  font-size: 3rem;
  line-height: 1.1;
  margin: 20px 0;
  font-weight: normal;
}

.why-choose-intro p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ready-text {
  font-size: 1.2rem;
  color: #000 !important;
  margin-top: 40px;
}

.enquire-btn {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.enquire-btn:hover {
  background: #333;
}

/* Right Column Accordion Styling */
.accordion-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); /* Soft drop shadow matching your image */
}

.accordion-item {
  border-bottom: 1px solid #eaeaea;
}

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

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 25px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.accordion-header:hover, .accordion-header.active {
  color: #a38c6b; /* Accent color on hover/active */
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out; /* Smooth sliding animation */
}

.accordion-content p {
  color: #666;
  line-height: 1.6;
  padding-bottom: 25px;
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .why-choose-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-choose-intro {
    position: static;
  }
}
/* Container for the left side */
.accordion-column {
  display: flex;
  flex-direction: column;
}

/* Enlarged, centered heading above the accordion */
.why-choose-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 3rem; /* Matches the size of Let's Create Something Timeless */
  font-weight: normal;
  margin: 0 0 40px 0; /* Adds spacing between the heading and the white box */
  color: #000;
}

/* Adjust the right column so the text visually aligns with the white box, 
   since the left side now has a large heading taking up space at the top */
.why-choose-intro {
  position: sticky;
  top: 100px;
  padding-top: 85px; /* Pushes the right-side text down to align with the accordion card */
}

/* Existing styles for h2 inside the intro */
.why-choose-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 20px 0;
  font-weight: normal;
}
/* ==============================
   SOCIAL MEDIA ICONS
   ============================== */
/* =====================================
   SOCIAL MEDIA ICONS
   ===================================== */

.social-icons {
    display: flex;
    flex-direction: column;       /* VERTICAL */
    align-items: center;
    justify-content: center;
    gap: 22px;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}


/* Individual icon container */
.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 40px;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin: 0;
    padding: 0;

    text-decoration: none;

    flex-shrink: 0;

    transition: transform 0.3s ease;
}

.social-icons svg {
    display: block;

    width: 60px;
    height: 60px;

    margin: 0;
    padding: 0;
}

.social-icons a:hover {
    transform: scale(1.08);
}