/* ===========================
   DUDLAB HOME — Forty Style
   Dark, tiled, editorial layout
============================ */

/* ---------- Reset overrides ---------- */
.forty-page {
  font-family: 'Outfit', sans-serif;
  color: #fff;
  background: #2b2d33;
  padding-top: 0 !important;
}

.forty-page .navbar { display: none !important; }

.forty-page * { box-sizing: border-box; }

.forty-page a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}
.forty-page a:hover {
  color: #fff;
  border-bottom-color: transparent;
}

/* ---------- Forty Navbar ---------- */
.forty-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 56px;
  background: rgba(43, 45, 51, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.forty-nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border-bottom: none;
  letter-spacing: -0.5px;
}
.forty-nav-brand:hover { color: #fff; }
.forty-nav-brand span { font-weight: 300; }

.forty-nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1002;
}
.forty-nav-toggle .bar {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}
.forty-nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.forty-nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.forty-nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Side menu panel */
.forty-menu-overlay {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.forty-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.forty-menu {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100%;
  background: #333840;
  z-index: 1001;
  padding: 80px 40px 40px;
  transition: right 0.4s ease;
  overflow-y: auto;
}
.forty-menu.active {
  right: 0;
}

.forty-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}
.forty-menu ul li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.forty-menu ul li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  border-bottom: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.forty-menu ul li a:hover {
  color: #fff;
  padding-left: 8px;
}
.forty-menu ul li a i {
  width: 20px;
  text-align: center;
  font-size: 16px;
  color: rgba(255,255,255,0.4);
}

.forty-menu .menu-social {
  display: flex;
  gap: 12px;
  padding-top: 20px;
}
.forty-menu .menu-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  border-bottom: none;
  transition: all 0.3s ease;
}
.forty-menu .menu-social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

@media (max-width: 480px) {
  .forty-menu { width: 100%; right: -100%; }
}

/* ---------- Banner ---------- */
.forty-banner {
  position: relative;
  width: 100%;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 120px 60px 80px;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.forty-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(43, 45, 51, 0.88) 0%,
    rgba(43, 45, 51, 0.55) 100%
  );
}
.forty-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.forty-banner h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 10px;
  line-height: 1.05;
  color: #fff;
}
.forty-banner h1 span {
  font-weight: 300;
}
.forty-banner .banner-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin: 0 0 30px;
  letter-spacing: 1px;
}
.forty-banner .banner-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 14px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.forty-banner .banner-btn:hover {
  background: #fff;
  color: #2b2d33;
  border-bottom-color: #fff;
}

.forty-scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 24px;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 768px) {
  .forty-banner { padding: 100px 24px 60px; min-height: 80vh; }
  .forty-banner h1 { font-size: 42px; }
  .forty-banner .banner-tagline { font-size: 16px; }
}

/* ---------- Tiles Section ---------- */
.forty-tiles {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.forty-tile {
  position: relative;
  width: 50%;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
/* Row 1: wide + narrow */
.forty-tile:nth-child(1) { width: 60%; min-height: 480px; }
.forty-tile:nth-child(2) { width: 40%; min-height: 480px; }
/* Row 2: narrow + wide (flipped) */
.forty-tile:nth-child(3) { width: 40%; }
.forty-tile:nth-child(4) { width: 60%; }
/* Row 3: wide + narrow again */
.forty-tile:nth-child(5) { width: 60%; }
.forty-tile:nth-child(6) { width: 40%; }

.forty-tile img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.forty-tile:hover img {
  transform: scale(1.08);
}

/* Colored overlays */
.forty-tile .tile-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.85;
  transition: opacity 0.4s ease;
}
.forty-tile:hover .tile-overlay {
  opacity: 0.7;
}

.forty-tile:nth-child(1) .tile-overlay { background: #d4899b; }
.forty-tile:nth-child(2) .tile-overlay { background: #6bafc4; }
.forty-tile:nth-child(3) .tile-overlay { background: #8ca3a8; }
.forty-tile:nth-child(4) .tile-overlay { background: #5c7a88; }
.forty-tile:nth-child(5) .tile-overlay { background: #2b2d33; }
.forty-tile:nth-child(6) .tile-overlay { background: #454b54; }

.forty-tile .tile-content {
  position: relative;
  z-index: 2;
  padding: 30px 35px;
  width: 100%;
}
.forty-tile .tile-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 8px;
}
.forty-tile .tile-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
.forty-tile .tile-rule {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.4);
  border: none;
  margin: 12px 0;
}
.forty-tile .tile-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .forty-tile,
  .forty-tile:nth-child(1),
  .forty-tile:nth-child(2),
  .forty-tile:nth-child(3),
  .forty-tile:nth-child(4),
  .forty-tile:nth-child(5),
  .forty-tile:nth-child(6) {
    width: 100%;
    min-height: 300px;
  }
}

/* ---------- CTA Band ---------- */
.forty-cta {
  background: #333840;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.forty-cta h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  color: #fff;
}
.forty-cta .cta-btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  border-radius: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.forty-cta .cta-btn:hover {
  background: #fff;
  color: #2b2d33;
  border-bottom-color: #fff;
}
@media (max-width: 768px) {
  .forty-cta {
    flex-direction: column;
    padding: 40px 24px;
    text-align: center;
  }
  .forty-cta h2 { font-size: 22px; }
}

/* ---------- News Section ---------- */
.forty-news {
  background: #2b2d33;
  padding: 80px 60px;
}
.forty-news .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.news-card {
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.news-card:hover {
  background: rgba(255,255,255,0.08);
  border-left-color: #d4899b;
}
.news-card .news-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 10px;
}
.news-card .news-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0 0 14px;
}
.news-card .news-text em {
  color: rgba(255,255,255,0.9);
  font-style: italic;
}
.news-card .news-link {
  font-size: 12px;
  font-weight: 500;
  color: #d4899b;
  border-bottom: 1px dotted rgba(237,181,191,0.4);
}
.news-card .news-link:hover {
  border-bottom-color: transparent;
}
@media (max-width: 991px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .forty-news { padding: 50px 24px; }
}

/* ---------- About Band ---------- */
.forty-about {
  background: #333840;
  padding: 80px 60px;
}
.forty-about .about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px;
}
.forty-about .about-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.forty-about .about-icon {
  font-size: 40px;
  flex-shrink: 0;
  width: 50px;
  text-align: center;
  line-height: 1;
}
.forty-about .about-icon:nth-of-type(1) { color: #d4899b; }
.forty-about .about-text {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0;
}
.forty-about .about-text a {
  color: #fff;
  font-weight: 500;
}
@media (max-width: 768px) {
  .forty-about .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .forty-about { padding: 50px 24px; }
}

/* ---------- Contact Section ---------- */
.forty-contact {
  background: #2b2d33;
  padding: 80px 60px;
}
.forty-contact-inner {
  display: flex;
  gap: 60px;
  max-width: 960px;
  margin: 0 auto;
}
.forty-contact .contact-form-col {
  flex: 1;
}
.forty-contact .contact-info-col {
  flex: 0.8;
  min-width: 0;
}
.forty-contact .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 30px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.forty-contact input,
.forty-contact textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}
.forty-contact input:focus,
.forty-contact textarea:focus {
  border-color: rgba(255,255,255,0.4);
}
.forty-contact input::placeholder,
.forty-contact textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.forty-contact textarea {
  min-height: 120px;
  resize: vertical;
}
.forty-contact .form-row {
  display: flex;
  gap: 16px;
}
.forty-contact .submit-btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.forty-contact .submit-btn:hover {
  background: #fff;
  color: #2b2d33;
}

.forty-contact .info-item {
  margin-bottom: 24px;
}
.forty-contact .info-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 6px;
  border: none;
  padding: 0;
}
.forty-contact .info-item p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.6;
}
.forty-contact .info-item a {
  color: rgba(255,255,255,0.7);
}
.forty-contact .info-item a:hover {
  color: #fff;
}

.forty-contact .spotify-embed {
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .forty-contact { padding: 50px 24px; }
  .forty-contact-inner {
    flex-direction: column;
    gap: 40px;
  }
  .forty-contact .contact-info-col { width: 100%; flex: none; }
  .forty-contact .form-row { flex-direction: column; gap: 0; }
}

/* ---------- Footer (Forty-style) ---------- */
.site-footer {
  background: #1a1c20;
  padding: 0;
  width: 100%;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 30px;
}
.footer-content {
  display: flex;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col { flex: 1; }
.footer-col-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.footer-logo {
  max-width: 200px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.footer-logo:hover { opacity: 1; }
.footer-col h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 18px;
  padding: 0;
  border: none;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  border-bottom: none;
}
.footer-col ul li a:hover { color: #fff; }
.footer-address {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  border-bottom: none;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.footer-bottom {
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  margin: 0;
}
@media (max-width: 768px) {
  .footer-content { flex-direction: column; gap: 30px; }
  .footer-col-brand { justify-content: flex-start; }
  .footer-inner { padding: 40px 24px 24px; }
}
