/* Indoor Page - MINIMALISTISCH & STRAK DESIGN */

/* Indoor Hero Section */
.indoor-hero {
  background-color: var(--deep-black, #0a0a0a);
  background-image: linear-gradient(rgba(10,10,10,0.4),rgba(10,10,10,0.4)), url('../assets/piet-boon.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-image 0.3s ease;
}

.indoor-hero .hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 clamp(1rem, 4vw, 2rem);
  z-index: 2;
}

.indoor-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 300;
  color: var(--ivory-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
  /* STRAKKER */
}

.indoor-hero .hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: rgba(249, 247, 243, 0.9);
  margin-bottom: 0;
  font-weight: 300;
  letter-spacing: 0.3px;
  font-family: var(--font-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* MINIMALISTISCH INTRO SECTION */
.intro-section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--ivory-white);
  text-align: center;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.intro-content .section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--deep-black);
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.intro-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  /* STRAKKER */
  color: var(--deep-black);
  /* ZWART */
  font-family: var(--font-secondary);
  margin: 0;
  font-weight: 300;
  font-style: normal;
  /* GEEN ITALIC */
}

/* BRANDS OVERVIEW SECTION - MINIMALISTISCH */
.brands-overview-section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  position: relative;
  overflow: hidden;
}

.brands-header {
  text-align: center;
  margin-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  z-index: 1;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.brands-header .section-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--deep-black);
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brands-header .section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--deep-black);
  /* ZWART */
  font-family: var(--font-secondary);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
}

/* BRANDS GRID - MINIMALISTISCH 4-COLUMN LAYOUT */
.brands-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* BRAND TILES - STRAK EN MINIMAAL */
.brand-tile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  /* MINIMALE RADIUS */
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f8f8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  /* SUBTIEL */
}

.brand-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.brand-tile a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.brand-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}

.brand-tile:hover .brand-image img {
  transform: scale(1.05);
}

/* BRAND OVERLAY - MINIMAAL */
.brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: background 0.3s ease;
}

.brand-tile:hover .brand-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      transparent 100%);
}

.brand-name {
  color: var(--ivory-white);
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.brand-tile:hover .brand-name {
  transform: translateY(-4px);
}

/* LOADING & ERROR STATES */
.brands-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--deep-black);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.brands-loading p {
  font-family: var(--font-secondary);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--deep-black);
  font-weight: 400;
  margin: 0;
}

.no-brands,
.brands-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(3rem, 6vw, 4rem) 0;
  color: var(--deep-black);
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
}

.brands-error {
  color: #d32f2f;
}

/* CTA SECTION - MINIMALISTISCH */
.cta-section {
  padding: clamp(5rem, 8vw, 7rem) 0;
  background: var(--deep-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.cta-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--ivory-white);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.3px;
}

.cta-section p {
  color: rgba(249, 247, 243, 0.8);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: clamp(2.5rem, 5vw, 3rem);
  font-family: var(--font-secondary);
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background: var(--ivory-white);
  color: var(--deep-black);
  padding: clamp(0.9rem, 2vw, 1.1rem) clamp(2rem, 5vw, 3rem);
  font-family: var(--font-secondary);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 300;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--ivory-white);
}

.cta-button:hover {
  background: var(--deep-black);
  color: var(--ivory-white);
  border-color: var(--ivory-white);
  transform: translateY(-2px);
}

/* RESPONSIVE DESIGN */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .brands-overview-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 320px;
    gap: clamp(2rem, 3vw, 2.5rem);
    max-width: 1400px;
  }

  .brand-name {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
  }
}

/* Desktop (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
  .brands-overview-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    max-width: 1200px;
  }
}

/* Tablet Landscape (768px - 1023px) */
@media (max-width: 1023px) {
  .brands-overview-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: clamp(1.5rem, 3vw, 2rem);
  }

  .brand-name {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    letter-spacing: 0.3px;
    padding: 0 0.8rem;
  }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) {
  .indoor-hero {
    height: 60vh;
    min-height: 400px;
  }

  .intro-section,
  .brands-overview-section,
  .cta-section {
    padding: clamp(3rem, 6vw, 4rem) 0;
  }

  .brands-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 1.5rem;
  }

  .brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    padding: 0 0.5rem;
  }
}

/* Mobile (320px - 599px) */
@media (max-width: 599px) {
  .brands-overview-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 1.5rem;
  }

  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.3px;
    padding: 0 1rem;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  .brand-tile,
  .brand-image img,
  .brand-name,
  .cta-button,
  .loading-spinner {
    transition: none !important;
    animation: none !important;
  }

  .brand-tile:hover {
    transform: none !important;
  }

  .brand-tile:hover .brand-image img {
    transform: none !important;
  }

  .brand-tile:hover .brand-name {
    transform: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .brand-tile {
    border: 2px solid var(--deep-black);
  }

  .brand-overlay {
    background: rgba(0, 0, 0, 0.9) !important;
  }

  .cta-button {
    border: 2px solid var(--ivory-white);
  }
}

/* Print Styles */
@media print {
  .cta-section {
    background: white !important;
    color: black !important;
  }

  .cta-button {
    border: 2px solid black !important;
    color: black !important;
  }

  .brand-tile {
    box-shadow: none !important;
    border: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .brand-overlay {
    display: none !important;
  }

  .brands-overview-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Focus States for Accessibility */
.brand-tile:focus,
.cta-button:focus {
  outline: 3px solid var(--antique-gold);
  outline-offset: 2px;
}

/* Animation Delays for Staggered Loading */
.brand-tile {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.brand-tile:nth-child(1) {
  animation-delay: 0.05s;
}

.brand-tile:nth-child(2) {
  animation-delay: 0.1s;
}

.brand-tile:nth-child(3) {
  animation-delay: 0.15s;
}

.brand-tile:nth-child(4) {
  animation-delay: 0.2s;
}

.brand-tile:nth-child(5) {
  animation-delay: 0.25s;
}

.brand-tile:nth-child(6) {
  animation-delay: 0.3s;
}

.brand-tile:nth-child(7) {
  animation-delay: 0.35s;
}

.brand-tile:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure smooth loading */
@media (prefers-reduced-motion: reduce) {
  .brand-tile {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}