/* ========================================
   Additional Sections Styles
   Price, Portfolio, Ceiling Types, Rooms, Process, Video
   ======================================== */

/* ========================================
   PRICE / BRANDS SECTION
   ======================================== */

.price-section {
  background: transparent;
}

.price-header {
  margin-bottom: 48px;
}

.price-label {
  color: var(--color-secondary);
  margin-bottom: 14px;
}

.price-section .section-subtitle {
  font-size: 14.5px;
  color: var(--color-gray-500);
  max-width: 420px;
  margin: 0 auto;
}

/* Grid: mobile carousel, desktop grid */
.brands-grid {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
  padding: 0 4px;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5), 0 30px 80px rgba(0,0,0,0.06);
}

.brands-grid::-webkit-scrollbar {
  display: none;
}

/* Desktop: 3-column grid */
@media (min-width: 860px) {
  .brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    padding: 0;
    scroll-snap-type: none;
  }
}

/* Brand card */
.brand-card {
  background: var(--glass-bg);
  border: 1px solid rgba(180, 180, 195, 0.45);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  flex: 0 0 80%;
  scroll-snap-align: center;
  box-shadow: var(--glass-shadow);
}

.brand-card:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (min-width: 860px) {
  .brand-card {
    flex: none;
  }
}

/* Shine */
.brand-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 42%, rgba(255,255,255,0.2) 50%, transparent 58%);
  transform: translateX(-100%);
  pointer-events: none;
  z-index: 5;
}
.brand-card:hover::after {
  animation: brandShine 0.7s ease forwards;
}
@keyframes brandShine { to { transform: translateX(60%); } }

/* Head: badge + name + flag */
.brand-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.brand-card__left {
  flex: 1;
  min-width: 0;
}

.brand-card__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.brand-card__badge--price { background: rgba(34,160,70,0.1); color: #1a9a4a; }
.brand-card__badge--popular { background: rgba(50,80,200,0.1); color: #3258cc; }
.brand-card__badge--eco { background: rgba(60,160,120,0.1); color: #2a9a6a; }
.brand-card__badge--premium { background: rgba(180,130,40,0.1); color: #a07820; }
.brand-card__badge--wide { background: rgba(100,80,160,0.1); color: #6a50a0; }
.brand-card__badge--default { background: rgba(100,100,120,0.08); color: var(--color-gray-500); }

.brand-card__name {
  font-size: 26px;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-card__flag {
  width: 30px;
  height: 20px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.brand-card__flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Price */
.brand-card__price {
  font-size: 22px;
  font-weight: 800;
  color: #c41e1e;
  margin-bottom: 4px;
  line-height: 1;
}

.brand-card__price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-secondary);
}

.brand-card__price-note {
  font-size: 11px;
  color: var(--color-gray-500);
  margin-top: 4px;
  margin-bottom: 14px;
  line-height: 1.3;
  font-weight: 400;
}

/* Specs */
.brand-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
  flex: 1;
}

.brand-card__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.brand-card__spec:last-child {
  border-bottom: none;
}

.brand-card__spec-label {
  font-size: 12px;
  color: var(--color-secondary);
  font-weight: 500;
}

.brand-card__spec-value {
  font-size: 12.5px;
  color: var(--color-gray-900);
  font-weight: 600;
}

.brand-card__spec-value--accent {
  color: #1a9a4a;
  font-weight: 700;
}

/* Tags */
.brand-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.brand-card__tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(0,0,0,0.03);
  color: var(--color-gray-500);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

.brand-card:hover .brand-card__tag {
  background: rgba(0,0,0,0.05);
}

/* Order button */
.brand-card__btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: auto;
  background: linear-gradient(135deg, #d42020, #b81818);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-card__btn:hover {
  box-shadow: 0 8px 25px rgba(200,30,30,0.25);
  transform: translateY(-1px);
}

.brand-card__btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}

.brand-card__btn:hover::before {
  left: 100%;
}

/* "More about manufacturers" link */
.brands-more {
  text-align: center;
  margin-top: 40px;
}

.brands-more__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--glass-bg);
  border: 1px solid rgba(180, 180, 195, 0.45);
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.35s ease;
  box-shadow: var(--glass-shadow);
}

.brands-more__link:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  color: #c41e1e;
}

.brands-more__link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.brands-more__link:hover svg {
  transform: translateX(4px);
}

/* Mobile: remove mosaic frame, give cards own rounding */
@media (max-width: 859px) {
  .brands-grid {
    border-radius: 0;
    box-shadow: none;
    gap: 12px;
    padding: 8px 4px;
  }
  .brand-card {
    flex: 0 0 80%;
    border-radius: 16px;
    border: 1px solid rgba(180, 180, 195, 0.45);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  }
}

@media (max-width: 520px) {
  .brand-card {
    padding: 24px 20px 20px;
    flex: 0 0 85%;
    border-radius: 16px;
  }
  .brand-card__name {
    font-size: 22px;
  }
  .brand-card__price {
    font-size: 20px;
  }
  .brands-more__link {
    padding: 12px 28px;
    font-size: 12px;
  }
}

/* Old ceiling types mosaic styles removed — now in ceiling-types.css */

/* ========================================
   ROOMS SECTION (by room type, 3x2 mosaic)
   ======================================== */

.rooms-section {
  background: transparent;
}


/* PROCESS SECTION — moved to process.css */

/* ========================================
   PORTFOLIO SECTION (fix 11 — carousel)
   ======================================== */

.portfolio-section {
  background: transparent;
  padding-bottom: var(--space-8);
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin: var(--space-6) 0;
}

/* Portfolio carousel wrapper */
.portfolio-carousel {
  position: relative;
  margin-top: var(--space-6);
}

/* Horizontal scrolling strip */
.portfolio-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;

  padding: 0 var(--space-4);
  scrollbar-width: none;
  /* Soft fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.portfolio-grid::-webkit-scrollbar {
  display: none;
}

/* Mobile: 1 card wide */
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--gradient-light);
  flex: 0 0 88%;
}

/* Desktop: ~6 cards visible */
@media (min-width: 768px) {
  .portfolio-item {
    flex: 0 0 calc((100% - 5 * 12px) / 4);
  }
}

@media (min-width: 1024px) {
  .portfolio-item {
    flex: 0 0 calc((100% - 5 * 12px) / 6);
  }
  .portfolio-grid {
    padding: 0;
  }
}

.portfolio-image {
  width: 100%;
  height: 97vw;
  max-height: 630px;
  background: var(--gradient-light);
  background-size: cover;
  background-position: center;
  transition: var(--transition-base);
}

@media (min-width: 768px) {
  .portfolio-image { height: 330px; max-height: none; }
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(140, 123, 99, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  opacity: 0;
  transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-caption {
  color: var(--color-white);
  font-size: var(--text-xs);
  text-align: center;
  font-weight: 500;
  margin: 0;
}

/* Hide filtered items */
.portfolio-item.hidden {
  display: none;
}

/* Navigation arrows */
.portfolio-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(230,233,240,0.8);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-gray-700);
}

.portfolio-arrow:hover {
  background: var(--color-white);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  transform: translateY(-50%) scale(1.1);
}

.portfolio-arrow--prev { left: 8px; }
.portfolio-arrow--next { right: 8px; }

/* Hide arrows on mobile (swipe is enough) */
@media (max-width: 767px) {
  .portfolio-arrow { display: none; }
  .portfolio-grid {
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  }
}

/* ========================================
   VIDEO GALLERY SECTION
   ======================================== */

/* ========================================
   VIDEO SECTION — Hero + Thumbs layout
   ======================================== */
.video-section {
  background: transparent;
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}

/* Glow elements hidden — using default body metallic bg */
.video-glow { display: none; }

/* Header */
.video-header {
  margin-bottom: 44px;
}

.video-header__label {
  letter-spacing: 5px;
  color: var(--color-secondary);
  margin-bottom: 14px;
  font-family: var(--font-display);
}

.video-header__title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.video-header__sub {
  font-size: var(--text-sm);
  color: var(--color-secondary);
  font-weight: 400;
}

/* === HERO VIDEO === */
.video-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 14px;
  border: 1px solid rgba(180, 180, 195, 0.45);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.06),
    0 4px 16px rgba(0,0,0,0.04),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.4s ease;
}

.video-hero:hover {
  box-shadow:
    0 28px 70px rgba(0,0,0,0.09),
    0 6px 20px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
  border-color: rgba(160, 160, 180, 0.6);
}

.video-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c8cad4 0%, #b8bcc8 30%, #c0c4d0 50%, #caced8 80%, #c4c8d2 100%);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.video-hero:hover .video-hero__bg {
  transform: scale(1.03);
}

/* Silver ceiling reflections */
.video-hero__bg::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  box-shadow: 0 0 40px 12px rgba(255,255,255,0.15);
}

.video-hero__bg::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  box-shadow: 0 0 30px 8px rgba(255,255,255,0.1);
}

/* Angled shine */
.video-hero__shine {
  position: absolute;
  top: -30%;
  left: -10%;
  width: 120%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.35) 0%, transparent 60%);
  pointer-events: none;
}

/* Soft overlay */
.video-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(180,184,196,0.3) 100%);
  z-index: 1;
}

/* Play button */
.video-hero__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(220, 222, 230, 0.85);
  border: 1.5px solid rgba(180, 180, 195, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.video-hero:hover .video-hero__play {
  background: rgba(210, 40, 40, 0.85);
  border-color: rgba(210, 40, 40, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow:
    0 0 35px rgba(210, 40, 40, 0.2),
    0 8px 30px rgba(210, 40, 40, 0.15);
}

/* Pulse ring */
.video-hero__play::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(180, 180, 195, 0.45);
  animation: videoPulse 2.5s ease-in-out infinite;
}

.video-hero:hover .video-hero__play::before {
  border-color: rgba(210, 40, 40, 0.15);
}

@keyframes videoPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.18); opacity: 0; }
}

.video-hero__play svg {
  width: 28px;
  height: 28px;
  color: var(--color-gray-500);
  margin-left: 3px;
  transition: color var(--transition-base);
}

.video-hero:hover .video-hero__play svg {
  color: #fff;
}

/* Info bar — glass overlay at bottom */
.video-hero__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  z-index: 2;
  background: linear-gradient(to top, rgba(190,194,210,0.6) 0%, transparent 100%);
}

.video-hero__info-title {
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.video-hero__info-meta {
  font-size: 12px;
  color: var(--color-gray-500);
  font-weight: 400;
  display: flex;
  gap: 16px;
}

/* Duration badge */
.video-hero__dur {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(220, 222, 230, 0.85);
  border: 1px solid rgba(180, 180, 195, 0.4);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-500);
  z-index: 3;
}

/* === THUMBNAIL STRIP === */
.video-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid rgba(180, 180, 195, 0.35);
  transition: all 0.35s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.video-thumb.active {
  border-color: rgba(210, 40, 40, 0.5);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.04),
    0 0 14px rgba(210, 40, 40, 0.1);
}

.video-thumb:hover {
  border-color: rgba(160, 160, 180, 0.6);
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.video-thumb.active:hover {
  border-color: rgba(210, 40, 40, 0.6);
}

.video-thumb__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.video-thumb:hover .video-thumb__bg {
  transform: scale(1.08);
}

/* Thumbnails: real frames from video files */
.video-thumb:nth-child(1) .video-thumb__bg { background-image: url('../../images/video/thumbs/thumb-01.jpg'); }
.video-thumb:nth-child(2) .video-thumb__bg { background-image: url('../../images/video/thumbs/thumb-03.jpg'); }
.video-thumb:nth-child(3) .video-thumb__bg { background-image: url('../../images/video/thumbs/thumb-04.jpg'); }
.video-thumb:nth-child(4) .video-thumb__bg { background-image: url('../../images/video/thumbs/thumb-05.jpg'); }
.video-thumb:nth-child(5) .video-thumb__bg { background-image: url('../../images/video/thumbs/thumb-06.jpg'); }
.video-thumb:nth-child(6) .video-thumb__bg { background-image: url('../../images/video/thumbs/thumb-07.jpg'); }

/* Shine on thumb */
.video-thumb__bg::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 110%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.3) 0%, transparent 65%);
}

/* Bottom gradient overlay */
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(160,164,180,0.45) 0%, transparent 55%);
  z-index: 1;
  pointer-events: none;
}

/* Play icon on hover */
.video-thumb__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(220, 222, 230, 0.85);
  border: 1px solid rgba(180, 180, 195, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: all var(--transition-base);
}

.video-thumb:hover .video-thumb__icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-thumb__icon svg {
  width: 12px;
  height: 12px;
  color: var(--color-gray-500);
  margin-left: 1px;
}

.video-thumb__label {
  position: absolute;
  bottom: 7px;
  left: 8px;
  right: 8px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
  transition: color var(--transition-base);
}

.video-thumb:hover .video-thumb__label,
.video-thumb.active .video-thumb__label {
  color: #222;
}

.video-thumb__dur {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 9px;
  font-weight: 600;
  color: #777;
  z-index: 2;
  background: rgba(255,255,255,0.4);
  padding: 1px 6px;
  border-radius: 8px;
}

/* === CTA ROW === */
.video-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.video-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gray-500);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition-base);
}

.video-cta-link:hover {
  color: var(--color-gray-900);
  border-color: rgba(28,26,21,0.15);
}

.video-cta-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}

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

/* Video lightbox styles moved to video-gallery.css */

/* === VIDEO RESPONSIVE === */
@media (max-width: 767px) {
  .video-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-thumbs .video-thumb:nth-child(n+4) {
    display: none;
  }
  .video-hero {
    aspect-ratio: 16 / 9;
  }
  .video-hero__play {
    width: 60px;
    height: 60px;
  }
  .video-hero__play svg {
    width: 22px;
    height: 22px;
  }
  .video-hero__info {
    padding: 18px 20px;
  }
  .video-section {
    padding: 50px 0 40px;
  }
}

@media (max-width: 480px) {
  .video-thumbs {
    gap: 4px;
  }
  .video-thumb__label {
    font-size: 9px;
  }
}

/* Disable hover effects on touch devices for ceiling tiles */
@media (hover: none) {
  .ceiling-tile:hover .ceiling-tile__bg { transform: none; }
  .ceiling-tile:hover .ceiling-tile__bg::before { opacity: inherit; }
  .ceiling-tile:hover .ceiling-tile__overlay { background: linear-gradient(to top, rgba(20,20,35,0.55) 0%, rgba(20,20,35,0.15) 45%, transparent 100%); }
  .ceiling-tile:hover .ceiling-tile__name { transform: none; }
  .ceiling-tile:hover .ceiling-tile__price { color: rgba(255,255,255,0.65); transform: none; }
  .ceiling-tile:hover .ceiling-tile__desc { max-height: 0; opacity: 0; }
  .ceiling-tile:hover .ceiling-tile__arrow { opacity: 0; transform: translateY(-6px); }
  .ceiling-tile:hover::after { animation: none; }
}

/* Lightbox styles moved to lightbox.css */
