/* =============================================================================
   TABLE OF CONTENTS
   =============================================================================
   1. Font Declarations
   2. Base Styles
   3. Navigation
   4. Video Background
   5. Logo
   6. Content Layout
   7. Footer
   8. Contact Form
   9. Example Buttons
   10. Media Queries / Responsive Adjustments
   ============================================================================= */

/* =============================================================================
   1. Font Declarations
   ============================================================================= */
@font-face {
  font-family: 'Gonero';
  src: url('fonts/Gonero-BlackUltraExpanded.woff2') format('woff2'),
       url('fonts/Gonero-BlackUltraExpanded.woff') format('woff'),
	   url('fonts/Gonero-BlackUltraExpanded.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PPNeueMontreal';
  src: url('fonts/PPNeueMontreal-Bold.woff2') format('woff2'),
       url('fonts/PPNeueMontreal-Bold.woff') format('woff'),
	   url('fonts/PPNeueMontreal-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PPNeueMontreal';
  src: url('fonts/PPNeueMontreal-Medium.woff2') format('woff2'),
       url('fonts/PPNeueMontreal-Medium.woff') format('woff'),
	   url('fonts/PPNeueMontreal-Medium.ttf') format('truetype');
  font-weight: medium;
  font-style: normal;
  font-display: swap;
}

/* =============================================================================
   2. Base Styles
   ============================================================================= */
body, 
html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  font-family: 'PPNeueMontreal', sans-serif;
}

h1 {
  letter-spacing: 5px;
  font-family: 'Gonero', sans-serif;
  margin: 0;
}

h2 {
  font-family: 'Gonero', sans-serif;
  font-weight: bold;
}

h3 {
  font-family: 'PPNeueMontreal', sans-serif;
  font-weight: bold;
}

p {
  font-family: 'PPNeueMontreal', sans-serif;
  font-weight: medium;
}

.underline {
  text-decoration: underline;
}

/* =============================================================================
   3. Navigation
   ============================================================================= */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 20;
}

.hamburger-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease;
}

.mobile-menu-open .hamburger-menu span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-open .hamburger-menu span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .hamburger-menu span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Responsive Behavior */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh; /* Fill the entire viewport height */
    background-color: rgba(0, 0, 0, 0.9); /* 90% black background */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 15;
    padding: 80px 0; /* Add substantial top and bottom padding */
    box-sizing: border-box; /* Ensure padding is included in height calculation */
  }
  
  .nav-container {
    display: flex;
    justify-content: flex-end;
    padding: 20px 30px;
  }
  
  .mobile-menu-open .nav-links {
    transform: translateX(0);
  }
  
  .nav-links a {
    font-size: 1.5rem;
  }
}
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  backdrop-filter: blur(5px);
}

nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 70%;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-family: 'PPNeueMontreal', sans-serif;
  font-weight: medium;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background-color: white;
}

/* =============================================================================
   4. Video Background
   ============================================================================= */
.video-background {
  background: #000;
  position: fixed;
  top: 0; 
  right: 0; 
  bottom: 0; 
  left: 0;
  z-index: -100;
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: -99;
}

.video-foreground {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 100vw;
  height: 100vh;
}

.video-foreground iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 */
}

/* =============================================================================
   5. Logo
   ============================================================================= */
.logo-container {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 1s ease-in-out;
}

.logo-container.bottom {
  transform: translate(-50%, 17vh);
}

/* =============================================================================
   6. Content Layout
   ============================================================================= */
.title-container {
  position: fixed;
  left: 130px; 
  bottom:10vh; 
  transform: translateY(50%); 
  z-index: 1;
}

.rotated-title {
  transform-origin: left center; 
  transform: rotate(-90deg) translateY(-50%); 
  color: white;
  font-size: clamp(5rem, 4vh, 10rem);
  white-space: nowrap; 
  letter-spacing: 5px;
  font-family: 'Gonero', sans-serif;
  margin: 0;
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.content-inner {
  padding: 20px;
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.content-section {
  min-height: 200px;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;

}

.content-section p {
  flex-grow: 1;
}

/* =============================================================================
   7. Footer
   ============================================================================= */
.footer-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 70%;
  margin: 0 auto;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  margin-right: 20px;
  text-transform: uppercase;
}

.copyright {
  color: #555;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* =============================================================================
   8. Contact Form
   ============================================================================= */
.form-grid {
  grid-column: span 2;
  grid-row: span 2;
}

.info-section {
  grid-column: 3;
  grid-row: 1;
}

.social-section {
  grid-column: 3;
  grid-row: 2;
}

.form-group {
  margin-bottom: 10px;
  margin-right: 30px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-family: 'PPNeueMontreal', sans-serif;
  font-weight: medium;
}

.form-control {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 5px;
  color: white;
  font-family: 'PPNeueMontreal', sans-serif;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.btn-submit {
  background: white;
  color: black;
  border: none;
  padding: 12px 30px;
  font-family: 'PPNeueMontreal', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.btn-submit:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.contact-info {
  margin-bottom: 20px;
}

.social-contact a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
  margin-bottom: 15px;
  transition: opacity 0.3s;
}

.social-contact a:hover {
  opacity: 0.7;
}

.social-contact svg {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* =============================================================================
   9. Example Buttons
   ============================================================================= */
.btn-examples {
  display: inline-block;
  background: white;
  color: black;
  border: none;
  padding: 10px 24px;
  font-family: 'PPNeueMontreal', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
}

.btn-examples:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =============================================================================
   10. Media Queries / Responsive Adjustments
   ============================================================================= */
@media (max-width: 992px) {
  .content-inner {
    grid-template-columns: repeat(1, 1fr);
    width: 85%;
    max-width: 85%;
  }
  
  .form-grid {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .info-section,
  .social-section {
    grid-column: 1;
  }
  
  .info-section {
    grid-row: 2;
  }
  
  .social-section {
    grid-row: 3;
  }
}

@media (max-width: 768px) {
  .content-inner {
    width: 90%;
    max-width: 90%;
  }
  
  .title-container {
    left: 20px; /* Even closer to edge on smaller screens */
  }
  
  .rotated-title {
    font-size: clamp(4rem, 12vh, 8rem); /* Smaller on mobile */
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .nav-container {
    padding: 15px;
  }
  
  .logo-container dotlottie-player {
    width: 100vw;
    height: 100vh;
  }
  
  .logo-container.bottom {
    transform: translate(-50%, 5vh);
  }
  
  .btn-examples {
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .content-inner {
    grid-template-columns: 1fr;
  }
  
  .title-container {
    bottom: 45vh;
  }
  
  .rotated-title {
    font-size: clamp(3rem, 10vh, 6rem);
  }
  
  .form-grid, 
  .info-section, 
  .social-section {
    grid-column: 1;
  }
  
  .form-grid {
    grid-row: 1;
  }
  
  .info-section {
    grid-row: 2;
  }
  
  .social-section {
    grid-row: 3;
  }
}