/* Main styles */

:root {
  --dark-bg: #363432;
  --rental-color: #196774;
  --production-color: #90a19d;
  --post-color: #f0941f;
  --dcp-color: #ef6024;
}

.logo-header {
  height: 50px;
}

body {
  font-family: "Manrope", sans-serif;
  color: white;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* overlay start */

.dev-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(2px);
  z-index: 9999;

  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

.dev-overlay__content {
  text-align: center;
  color: #fff;
  font-family: inherit;
}

.dev-overlay__title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dev-overlay__subtitle {
  margin-top: 10px;
  font-size: 18px;
  opacity: 0.7;
}

.dev-overlay__brand {
  margin-top: 20px;
  font-size: 16px;
  opacity: 0.5;
  letter-spacing: 1px;
}

/* overlay end */

.main-container {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
/* Initial blocks layout */

.blocks-container {
  display: flex;
  width: 100%;
  height: 100vh;
}

.service-block {
  position: relative;
  width: 25%;
  height: 100%;
  background-color: var(--dark-bg);
  transition: width 0.6s ease-in-out, background-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.expanded {
  width: 100% !important; /* Force full width */
  z-index: 10;
}

/* Block content styling */

.block-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.number {
  font-size: 150px;
  font-weight: 800;
  margin-bottom: 48px;
  transition: opacity 0.3s ease;
}

.icon {
  max-width: 250px;
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 20%;
}

.block-text {
  transition: transform 0.5s ease;
}

.block-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  min-width: 352px;
}

.block-text p {
  font-size: 18px;
  margin-bottom: 48px;
  line-height: 1.4;
  text-transform: uppercase;
  max-width: 350px;
  min-width: 349px;
}

.next-btn {
  background-color: transparent;
  border: 1px solid white;
  color: white;
  padding: 24px 60px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.next-btn:hover {
  background-color: white;
  color: var(--dark-bg);
}
/* Hover effects */

#block1:hover {
  background-color: var(--rental-color);
}

#block2:hover {
  background-color: var(--production-color);
}

#block3:hover {
  background-color: var(--post-color);
}

#block4:hover {
  background-color: var(--dcp-color);
}

.service-block:hover .number {
  opacity: 0;
}

.service-block:hover .icon {
  opacity: 1;
}

.service-block:hover .block-text {
  transform: translateY(50px);
}

/* Expanded content */

.expanded-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  overflow-y: auto; /* Enable scrolling for content */
}

.expanded-content.active {
  opacity: 1;
  pointer-events: all;
}

/* Header styling */

.section-header {
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed; /* Make header sticky at the top */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
}

.section-header nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.section-header nav ul li a {
  color: white;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.section-header nav ul li a:hover {
  opacity: 0.7;
}
/* Hero section */

.hero-section {
  min-height: 100vh; /* Full viewport height */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px; /* Account for fixed header */
  box-sizing: border-box;
}

.hero-icon {
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  max-width: 600px;
  line-height: 1.5;
}
/* Content sections */

.content-section {
  padding: 4rem 2rem;
  background-color: var(--dark-bg);
  min-height: 50vh;
  width: 100%;
}

.content-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
/* Footer */

footer {
  padding: 2rem;
  background-color: #1e1e1c;
  text-align: center;
  width: 100%;
}
/* Utility classes */

.hidden {
  display: none;
}

/* Individual block colors when expanded */

#block1.expanded {
  background-color: var(--rental-color);
}

#block2.expanded {
  background-color: var(--production-color);
}

#block3.expanded {
  background-color: var(--post-color);
}

#block4.expanded {
  background-color: var(--dcp-color);
}

/* Make sure expanded blocks fill entire viewport */

.expanded .expanded-content.active {
  min-height: 100vh;
  width: 100vw;
}

/* Additional styles for proper scrolling */

html.scrollable,
body.scrollable {
  overflow: auto !important;
  height: auto !important;
}

.main-container.scrollable {
  overflow: visible !important;
  height: auto !important;
}

.expanded-content.active {
  position: relative !important;
  height: auto !important;
  overflow: visible !important;
  min-height: 100vh !important;
}

.service-block.expanded {
  overflow: visible !important;
}

/* Ensure content sections are fully visible */

.content-section {
  min-height: 50vh;
  padding: 4rem 2rem;
  position: relative;
}

/* Adjust hero section padding */

.hero-section {
  padding-top: 80px;
}

/* Fix for fixed header */

.section-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Smooth scrolling for the entire page */

html {
  scroll-behavior: smooth;
}

/* new code */
