/* ===========================================
   SECTION STYLES
   Reusable section components
   =========================================== */

/* Base section styles */
section {
  padding: 3rem 2rem;
}

/* Consistent H2 styling across all sections */
section h2 {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
}

@media (max-width: 768px) {
  section h2 {
    font-size: 2.25rem;
  }
}

/* Section Header - consistent across all sections */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
}

.section-header.align-right {
  text-align: right;
  margin-right: 0;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section-header .section-subheading {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .section-header .section-subheading {
    font-size: 20px;
  }
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  border: 2px solid var(--color-primary);
  transition: all 0.3s;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* ===========================================
   JUMP LINKS SECTION
   =========================================== */
.section-jump-links {
  padding: 1.5rem 2rem;
  background: var(--color-bg);
}

.jump-links-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.jump-link {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  background: var(--color-bg);
}

.jump-link:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

@media (max-width: 600px) {
  .jump-links-container {
    gap: 0.5rem;
  }

  .jump-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* ===========================================
   INTRO SECTION
   =========================================== */
.section-intro {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.intro-two-column {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.intro-content h2 {
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .intro-two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===========================================
   PLANNING SECTION (Accordion)
   =========================================== */
.section-planning {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.planning-container {
  max-width: 1100px;
  margin: 0 auto;
}

.planning-header {
  text-align: center;
  margin-bottom: 2rem;
}

.planning-header h2 {
  margin-bottom: 1rem;
}

.planning-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.planning-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background: var(--color-bg-alt);
}

.accordion-header-content {
  flex: 1;
  padding-right: 1.25rem;
}

.accordion-header-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  margin: 0 0 0.5rem 0;
}

.accordion-preview {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(69, 69, 69, 0.6);
  font-weight: 300;
  margin: 0;
}

.accordion-icon {
  color: #454545;
  transition: transform 0.2s;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.accordion-icon.open {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.25rem 1.25rem;
  display: none;
}

.accordion-body.open {
  display: block;
}

.accordion-body p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(69, 69, 69, 0.8);
  font-weight: 300;
  margin: 0 0 1rem 0;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .accordion-header-content h3 {
    font-size: 1.1rem;
  }

  .accordion-preview {
    font-size: 0.9rem;
  }

  .accordion-body p {
    font-size: 1rem;
  }
}

.intro-text {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
}

.intro-text p {
  margin-bottom: 1.5rem;
}

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

/* ===========================================
   HERO ABOUT SECTION
   =========================================== */
.section-hero-about {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.hero-about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.hero-about-image-wrapper {
  position: relative;
}

.hero-about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-about-image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Image grid variant */
.hero-about-image-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-about-image-main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-about-image-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.hero-about-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 2;
}

.hero-about-image-secondary img:last-child:nth-child(odd) {
  grid-column: span 2;
}

.hero-about-logo {
  position: absolute;
  top: 50%;
  right: -55px;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 2px;
  border: 1px solid var(--color-accent);
}

.hero-about-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-about-content h2 {
  margin-bottom: 1.5rem;
}

.hero-about-text {
  color: #555;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-about-text p {
  margin-bottom: 1rem;
}

.hero-about-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-about-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: background 0.3s;
  width: 100%;
  text-align: center;
  max-width: 400px;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

@media (max-width: 900px) {
  .hero-about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-about-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .hero-stat-number {
    font-size: 2.5rem;
  }

  .hero-about-logo {
    width: 90px;
    height: 90px;
    bottom: -15px;
    right: -10px;
  }
}

@media (max-width: 768px) {
  /* Hide logo badge on mobile - it covers the image */
  .hero-about-logo {
    display: none;
  }
}

/* ===========================================
   STATS SECTION
   =========================================== */
.section-stats {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stats-item {
  text-align: center;
  opacity: 0;
  transform: scale(0.5);
  animation: statsPop 0.6s ease-out forwards;
}

.stats-item:nth-child(1) { animation-delay: 0.1s; }
.stats-item:nth-child(2) { animation-delay: 0.25s; }
.stats-item:nth-child(3) { animation-delay: 0.4s; }

@keyframes statsPop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.stats-number {
  display: block;
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats-label {
  display: block;
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .stats-container {
    gap: 2rem;
  }

  .stats-number {
    font-size: 2.5rem;
  }
}

/* ===========================================
   HERO SECTION
   =========================================== */
.section-hero {
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  position: relative;
  background-color: var(--color-bg);
  background-size: cover;
  background-position: center;
  padding-top: 1.5rem;
  /* Full-bleed: break out of .site-main container */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-top: calc(-80px - 2rem); /* Offset the full .site-main padding-top */
}

.section-hero.has-background {
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,var(--overlay-opacity, 0.4)) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}

.hero-overlay.solid {
  background: rgba(0,0,0,var(--overlay-opacity, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
}

.section-hero h1 {
  margin-bottom: 1.5rem;
}

.section-hero p {
  font-size: 18px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .section-hero p {
    font-size: 20px;
  }
}

/* Contained hero variant - doesn't go edge-to-edge */
.section-hero.contained {
  width: auto;
  margin-left: 0;
  margin-top: 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden; /* Clip overlay to rounded corners */
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 1440px) {
  .section-hero.contained {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

/* Text position variants */
.section-hero.text-bottom {
  align-items: flex-end;
}

.section-hero.text-bottom .hero-content {
  padding-bottom: 3rem;
}

.section-hero.text-center {
  align-items: center;
}

/* Text-only hero (no background image) - compact height */
.section-hero:not(.has-background) {
  min-height: auto;
  padding: 4rem 2rem 2rem;
  align-items: center;
}

/* ===========================================
   HERO TEXT SECTION
   =========================================== */
.section-hero-text {
  padding: 1rem 2rem 3rem;
  background: var(--color-bg);
  text-align: center;
}

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

.section-hero-text h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text-subtext {
  font-size: 1.25rem;
  color: #666;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .section-hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text-subtext {
    font-size: 1.1rem;
  }
}

/* ===========================================
   HERO TEXT ANIMATED SECTION
   =========================================== */
.section-hero-text-animated {
  padding: 3rem 2rem 2rem;
  background: var(--color-bg);
  text-align: center;
}

.section-hero-text-animated .hero-text-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-hero-text-animated h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-animated-words {
  font-size: 1.25rem;
  color: #666;
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}

.animated-word {
  position: relative;
  display: inline;
}

.animated-word::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  opacity: 0;
  animation: underlineFlash 4s ease-out infinite;
  animation-delay: calc(var(--word-index) * 1s);
}

@keyframes underlineFlash {
  0%, 20% {
    opacity: 0;
  }
  25%, 45% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.hero-tagline {
  display: inline;
}

@media (max-width: 768px) {
  .section-hero-text-animated h1 {
    font-size: 1.8rem;
  }
  .hero-animated-words {
    font-size: 1.1rem;
  }
}

/* ===========================================
   TWO-COLUMN SECTION
   =========================================== */
.section-two-column {
  padding: 3rem 2rem;
}

.two-column-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-two-column.image-right .two-column-container {
  direction: rtl;
}

.section-two-column.image-right .two-column-container > * {
  direction: ltr;
}

.two-column-image img {
  width: 100%;
  height: auto;
}

.two-column-content h2 {
  margin-bottom: 1.5rem;
}

.two-column-text {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.two-column-text p {
  margin-bottom: 1rem;
}

.section-two-column.no-image .two-column-container {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.two-column-content.full-width {
  text-align: center;
}

/* Stats Row */
.stats-row {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.full-width .stats-row {
  justify-content: center;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .stats-row {
    justify-content: center;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* ===========================================
   SERVICES GRID SECTION
   =========================================== */
.section-services {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.services-header h2 {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.services-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.service-link:hover {
  color: #004499;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================================
   CTA BANNER SECTION
   =========================================== */
.section-cta {
  padding: 3rem 2rem;
  text-align: center;
  background-color: var(--color-bg);
  background-size: cover;
  background-position: center;
  position: relative;
}

.section-cta.has-background {
  color: #fff;
}

.section-cta.has-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

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

.section-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ===========================================
   TEXT BANNER SECTION
   =========================================== */
.section-text-banner {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.section-text-banner.has-background {
  color: #fff;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.banner-text {
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ===========================================
   BEHIND THE SCENES VIDEO SECTION
   =========================================== */
.section-bts {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.bts-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.bts-content h2 {
  margin-bottom: 0.75rem;
}

.bts-subtext {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 500;
}

.bts-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

.bts-video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.bts-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.bts-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s, transform 0.3s;
  pointer-events: auto;
}

.bts-play-button svg {
  width: 36px;
  height: 36px;
  color: #fff;
  margin-left: 4px;
}

.bts-play-button:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translate(-50%, -50%) scale(1.1);
}

.bts-play-button.hidden {
  display: none;
}

@media (max-width: 900px) {
  .bts-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bts-content {
    text-align: center;
  }
}

/* ===========================================
   PORTFOLIO MASONRY SECTION
   =========================================== */
.section-portfolio-bento {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.bento-container {
  max-width: 1200px;
  margin: 0 auto;
}

.bento-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bento-header h2 {
  margin-bottom: 0.75rem;
}

.bento-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

.bento-grid {
  column-count: 4;
  column-gap: 12px;
}

.bento-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.bento-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.bento-item:hover img {
  transform: scale(1.02);
}

.bento-cta {
  text-align: center;
  margin-top: 2rem;
}

.portfolio-link-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: #333;
  border: 2px solid #333;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.portfolio-link-btn:hover {
  background: #333;
  color: #fff;
}

@media (max-width: 1024px) {
  .bento-grid {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    column-count: 2;
    column-gap: 8px;
  }

  .bento-item {
    margin-bottom: 8px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 480px) {
  .bento-grid {
    column-count: 2;
  }
}

/* Mini Grid Gallery - Masonry style */
.section-mini-gallery {
  padding: 2rem 2rem 3rem;
  background: var(--color-bg);
}

.section-mini-gallery h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.mini-gallery-cta {
  text-align: center;
  margin-top: 1.5rem;
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.75rem 0;
  transition: color 0.3s ease;
}

.view-more-link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
}

.view-more-link:hover {
  color: #666;
}

.view-more-link:hover::after {
  transform: translateX(6px);
}

.mini-grid {
  column-count: 4;
  column-gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.mini-grid-item {
  break-inside: avoid;
  margin-bottom: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mini-grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.mini-grid-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .mini-grid {
    column-count: 3;
    column-gap: 6px;
  }
  .mini-grid-item {
    margin-bottom: 6px;
    border-radius: var(--radius-md);
  }
}

@media (max-width: 480px) {
  .mini-grid {
    column-count: 2;
  }
}

/* ===========================================
   PHOTOGRAPHY SERVICES SECTION
   =========================================== */
.section-photo-services {
  padding: 4rem 2rem;
  background: var(--color-bg-alt);
}

.photo-services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.photo-services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.photo-services-header h2 {
  margin-bottom: 0.5rem;
}

.photo-services-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.photo-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.photo-service-card {
  background: var(--color-bg);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.photo-service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.photo-service-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.photo-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.photo-service-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.photo-service-link:hover {
  color: #666;
}

.photo-service-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .photo-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .photo-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-service-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .photo-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   PORTFOLIO SLIDER SECTION
   =========================================== */
.section-portfolio-slider {
  padding: 3rem 0;
  background: var(--color-bg);
  overflow: hidden;
}

.portfolio-slider-container {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-header {
  text-align: left;
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.portfolio-header h2 {
  margin-bottom: 0.5rem;
}

.portfolio-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 800px;
}

.portfolio-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 2rem;
  background: var(--color-bg);
}

.portfolio-row-wrapper {
  overflow: hidden;
}

.portfolio-row-wrapper + .portfolio-row-wrapper {
  margin-top: 2px;
}

/* First row - top rounded corners */
.portfolio-row-wrapper:first-child {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Last row - bottom rounded corners */
.portfolio-row-wrapper:last-child {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.portfolio-slide {
  flex-shrink: 0;
  height: 200px;
}

.portfolio-slide img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .portfolio-slide {
    height: 130px;
  }

  .portfolio-card {
    margin: 0 1rem;
  }

  .portfolio-header {
    padding: 0 1rem;
    text-align: center;
  }
}

/* ===========================================
   GALLERY SECTION
   =========================================== */
.section-gallery {
  padding: 3rem 2rem;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.gallery-grid {
  column-gap: 1rem;
}

.gallery-grid.columns-2 { column-count: 2; }
.gallery-grid.columns-3 { column-count: 3; }
.gallery-grid.columns-4 { column-count: 4; }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.5rem;
}

/* ===========================================
   CONTACT FORM SECTION
   =========================================== */
.section-contact {
  padding: 3rem 2rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-sidebar img {
  width: 100%;
  margin-bottom: 2rem;
}

.contact-info-box {
  background: var(--color-bg-alt);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.contact-info-box h4 {
  margin-bottom: 1.5rem;
}

.contact-info-box p {
  margin-bottom: 1rem;
}

.contact-info-box a {
  color: #000;
}

.contact-social {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
}

.contact-social strong {
  display: block;
  margin-bottom: 0.75rem;
}

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

.contact-social-icons a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  transition: all 0.2s;
}

.contact-social-icons a:hover {
  background: #000;
  border-color: #000;
}

.contact-social-icons a:hover svg {
  fill: #fff;
}

.contact-social-icons svg {
  width: 18px;
  height: 18px;
  fill: #333;
}

.contact-form-wrapper h2 {
  margin-bottom: 1rem;
}

.contact-intro {
  margin-bottom: 2rem;
  color: #666;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #c00;
}

.form-group label .label-hint {
  font-weight: 400;
  color: #888;
  font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #000;
}

/* ===========================================
   FEATURE CARDS SECTION
   =========================================== */
.section-feature-cards {
  padding: 3rem 2rem;
  background: var(--color-bg);
}

.feature-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-primary {
  background: #0891b2;
  color: #fff;
}

.badge-dark {
  background: #1f2937;
  color: #fff;
}

.badge-accent {
  background: #14b8a6;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0891b2;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.3s;
}

.feature-link:hover {
  gap: 0.75rem;
}

.feature-link svg {
  transition: transform 0.3s;
}

.feature-link:hover svg {
  transform: translateX(4px);
}

/* ===========================================
   MOBILE RESPONSIVE
   =========================================== */
@media (max-width: 900px) {
  section h2 {
    font-size: 1.75rem;
  }

  .section-hero h1 {
    font-size: 2.25rem;
  }

  .two-column-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-two-column.image-right .two-column-container {
    direction: ltr;
  }

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

  .services-header h2 {
    font-size: 2rem;
  }

  .service-card {
    min-height: auto;
  }

  .feature-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid.columns-3,
  .gallery-grid.columns-4 {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  section {
    padding: 2rem 1.5rem;
  }

  .gallery-grid.columns-2,
  .gallery-grid.columns-3,
  .gallery-grid.columns-4 {
    column-count: 1;
  }
}

/* ===========================================
   SNEAK PEEK HERO SECTION
   =========================================== */
.section-sneak-peek-hero {
  padding: 4rem 2rem;
  background: var(--color-bg-alt);
}

.sneak-peek-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sneak-peek-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: bottom;
}

.sneak-peek-hero-content {
  text-align: left;
}

.sneak-peek-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.sneak-peek-hero-content h1 {
  font-size: 3rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
  color: var(--color-text);
}

.sneak-peek-date {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  font-style: italic;
}

@media (max-width: 900px) {
  .sneak-peek-hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .sneak-peek-hero-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .sneak-peek-hero-content {
    text-align: center;
  }

  .sneak-peek-hero-content h1 {
    font-size: 2rem;
  }
}

/* ===========================================
   SNEAK PEEK INDEX PAGE
   =========================================== */
.section-sneak-peek-index {
  padding: 4rem 2rem;
}

.sneak-peek-index-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sneak-peek-index-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sneak-peek-index-header h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.sneak-peek-index-header p {
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin: 0;
}

.sneak-peek-grid {
  column-count: 3;
  column-gap: 2rem;
}

.sneak-peek-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  break-inside: avoid;
  margin-bottom: 2rem;
}

.sneak-peek-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.sneak-peek-card-image {
  overflow: hidden;
}

.sneak-peek-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.sneak-peek-card-content {
  padding: 1.5rem;
}

.sneak-peek-card-type {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.sneak-peek-card h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.sneak-peek-card-date {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

@media (max-width: 900px) {
  .sneak-peek-grid {
    column-count: 2;
    column-gap: 1.5rem;
  }

  .sneak-peek-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  .sneak-peek-grid {
    column-count: 1;
  }

  .sneak-peek-index-header h1 {
    font-size: 2rem;
  }
}

/* ===========================================
   GALLERY HERO SECTION
   =========================================== */
.section-gallery-hero {
  padding: 4rem 2rem;
  background: var(--color-bg-alt);
}

.gallery-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.gallery-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  object-fit: cover;
}

.gallery-hero-content {
  text-align: left;
}

.gallery-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
  color: var(--color-text);
}

.gallery-hero-date {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-top: 1rem;
  font-style: italic;
}

.gallery-hero-venue {
  font-size: 1.125rem;
  color: var(--color-accent);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

@media (max-width: 900px) {
  .gallery-hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .gallery-hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery-hero-content {
    text-align: center;
  }

  .gallery-hero-content h1 {
    font-size: 2.5rem;
  }
}

/* ===========================================
   GALLERY STORY SECTION
   =========================================== */
.section-gallery-story {
  padding: 4rem 2rem;
  background: var(--color-bg);
}

.gallery-story-container {
  max-width: 800px;
  margin: 0 auto;
}

.gallery-story-content {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--color-text);
  text-align: center;
}

@media (max-width: 768px) {
  .gallery-story-content {
    font-size: 1.1rem;
    line-height: 1.8;
  }
}

/* ===========================================
   GALLERY GRID SECTION (Masonry)
   =========================================== */
.section-gallery-grid {
  padding: 2rem 2rem 4rem;
  background: var(--color-bg);
}

.gallery-grid-container {
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-masonry {
  column-gap: 1rem;
}

.gallery-masonry.columns-2 { column-count: 2; }
.gallery-masonry.columns-3 { column-count: 3; }
.gallery-masonry.columns-4 { column-count: 4; }

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

@media (max-width: 900px) {
  .gallery-masonry.columns-3,
  .gallery-masonry.columns-4 {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .gallery-masonry.columns-2,
  .gallery-masonry.columns-3,
  .gallery-masonry.columns-4 {
    column-count: 1;
  }

  .gallery-masonry-item {
    margin-bottom: 0.75rem;
  }
}

/* ===========================================
   GALLERY INDEX PAGE
   =========================================== */
.section-gallery-index {
  padding: 4rem 2rem;
}

.gallery-index-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-index-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-index-header h1 {
  font-size: 2.5rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.gallery-index-header p {
  color: var(--color-text-light);
  font-size: 1.125rem;
  margin: 0;
}

.gallery-index-grid {
  column-count: 3;
  column-gap: 2rem;
}

.gallery-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  break-inside: avoid;
  margin-bottom: 2rem;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.gallery-card-image {
  overflow: hidden;
}

.gallery-card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

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

.gallery-card-content {
  padding: 1.5rem;
}

.gallery-card-venue {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.gallery-card h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.gallery-card-date {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

@media (max-width: 900px) {
  .gallery-index-grid {
    column-count: 2;
    column-gap: 1.5rem;
  }

  .gallery-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  .gallery-index-grid {
    column-count: 1;
  }

  .gallery-index-header h1 {
    font-size: 2rem;
  }
}
