/* Ailerons Font Import */
@font-face {
  font-family: "Aileron";
  src: url("../Assets/Ailerons/Ailerons-Typeface.otf") format("opentype");
}
@font-face {
  font-family: "Handscript";
  src: url("../Assets/hand-script/handscript-italic.otf") format("opentype");
}
@font-face {
  font-family: "Pixel";
  src: url("../Assets/Pixel/computer_pixel-7.ttf") format("opentype");
}
@font-face {
  font-family: "Arame";
  src: url("../Assets/Arame/Arame-Mono/Arame-Mono.ttf") format("opentype");
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  scroll-behavior: smooth;
}

/* Background Video */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.main-container {
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  overflow-y: scroll;       /* Ensure scroll functionality */
}

.main-container::-webkit-scrollbar {
  display: none;            /* Chrome, Safari, Opera */
}

/* Main Container */
.main-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.video-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);  /* Dim effect (0.6 = 60% darkness) */
  z-index: 1; 
  pointer-events: none; /* Allows clicks to pass through */
}

/* Section Base Styling */
.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  transition: transform 0.6s ease;
  text-align: center;
  color: white;
  padding: 60px 20px;
}

/* Independent Section Styling */
.intro h1 {
  font-family: "Handscript";
  font-size: 5rem;
  color: #7092b1;
  padding-bottom: 20px;
}

.intro {
  font-family: "Arame";
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  font-size: 1.6rem;
}

.intro-content {
  max-width: 60%;
  word-spacing: 10px;
  letter-spacing: 3px;
}

/* Intro Section */
.intro {
  position: relative;          /* Contain child elements */
  overflow: hidden;            /* Prevent it from showing outside */
}

/* Scroll or Die */
.scroll-text {
  position: absolute;
  bottom: 30px;               /* Stick to the bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 5;                  /* Ensure it's above the content */
}

.scroll-text:hover {
  opacity: 1;                  /* Slight opacity change on hover */
}

/* Vertical Line */
.scroll-text .line {
  width: 2px;
  height: 30px;
  background: #ffffff;
}



.section-1 h1 {
  font-family: "Aileron";
  font-size: 1.5rem;
  color: #f4c542;
  padding-bottom: 10px;
}

.section-1 p {
  font-family: "Roboto Mono", monospace;
  font-size: 1.5rem;
  color: #f4c542;
}

.section-1 h1 {
  font-size: 4rem;
  color: #ff5733; /* Custom color */
}

/* Button Container */
.button-container {
  display: flex;             /* Align buttons horizontally */
  justify-content: center;   /* Center horizontally */
  gap: 40px;                 /* Ample spacing between buttons */
  margin: 40px 0;            /* Add vertical margin */
}

/* Sleek Transparent Buttons */
.sleek-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 40px;         /* Comfortable button size */
  font-size: 18px;            /* Readable text */
  font-family: "Arame", sans-serif;
  color: #ffffff;             /* White text */
  background: transparent;    /* Transparent background */
  border: 2px solid #ffffff;  /* White border */
  border-radius: 30px;        /* Rounded corners */
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1); /* Subtle glow */
  letter-spacing: 2px;        /* Stylish letter spacing */
  text-transform: uppercase;
}

/* Hover Effect */
.sleek-btn:hover {
  background: rgba(255, 255, 255, 0.1); /* Light transparent fill */
  color: #1db954;                       /* Green accent on hover */
  transform: translateY(-5px);          /* Smooth lift effect */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

/* Active/Clicked Effect */
.sleek-btn:active {
  transform: scale(0.98);               /* Slight press effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .button-container {
    flex-direction: column;             /* Stack vertically on smaller screens */
    gap: 20px;
  }
  
  .sleek-btn {
    width: 100%;
    max-width: 300px;
    padding: 10px 30px;
    font-size: 16px;
  }
}



.section-2 {
  font-family: "Pixel";
  font-size: 2rem;
  color: #9d4edd;
}

.section-2 h1 {
  font-size: 3rem;
  color: #1db954; /* Custom color */
}

/* Content Line Separation */
.content p {
  font-size: 2rem;
  line-height: 1.8;
  margin: 15px 0;
}

/* Buttons */
#discord-button,
#gcrp-button {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100px;
  border: 2px solid white;
  position: fixed;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  right: 15vw;
  z-index: 11;
  overflow: hidden;
  padding: 0;
}

#discord-button img,
#gcrp-button img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  z-index: 9999;
  transition: transform 0.3s ease-in-out;
}

#discord-button:hover,
#gcrp-button:hover {
  background: white;
  transform: scale(1.1);
}

#discord-button:hover img,
#gcrp-button:hover img {
  transform: scale(1.2);
  filter: invert(1);
}

/* Credits and CEO */
.credits,
.ceo {
  position: absolute;
  color: #fff;
  font-size: 30px;
  font-family: "Pixel";
  opacity: 0.7;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.credits:hover,
.ceo:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Plane Cards Styling */
.fleet-section {
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.fleet-section h1 {
  padding-bottom: 2vw;
  font-family: 'Arame';
  font-size: 5rem;
}

.fleet-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* Reduced spacing */
  justify-content: center;
  align-items: stretch; /* Ensures all cards have equal height */
  max-width: 1400px;
  margin: 0 auto;
}

.plane-card {
  background: #0f0f10;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s;
  width: 300px;  /* Compact width */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.plane-card:hover {
  transform: translateY(-10px);
}

/* Image Container */
.image-container {
  width: 100%;
  height: 160px; /* Consistent image height */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2a2a2c;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Consistent scaling */
}

/* Plane Info */
.plane-info {
  padding: 15px;
  text-align: left;
  flex-grow: 1; /* Fills remaining space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Aligns text vertically */
  font-family: "Roboto Mono", monospace;
}

.plane-info h2 {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 8px;
}

.plane-info p {
  font-size: 16px;
  color: #ccc;
  margin: 3px 0;  /* Reduced spacing */
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .plane-card {
    width: 45%;
  }
}

@media screen and (max-width: 768px) {
  .plane-card {
    width: 90%;
  }

  .fleet-container {
    gap: 15px; /* Tighter spacing on small screens */
  }
}


