html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  background-color: black;
}

/* HEADER */
.site-header {
  width: 100%;
}

.blackHeader {
  height: 100px;
  background-image: url('./Page 2 Pictures/header_background.png');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 200px;
  height: auto;
  cursor: pointer; /* Makes it obvious it's clickable */
}

.logo {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* smooth effect */
    cursor: pointer; /* show pointer on hover */
}

/* Hover effect */
.logo:hover {
    transform: scale(1.1); /* make it slightly bigger */
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* optional shadow */
}

.blackHeader a {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ===== Background ===== */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* ===== Top Section ===== */
.top-section {
  position: relative;
  height: calc(100vh - 100px); /* Adjust for header height */
  display: flex;
  align-items: center;  /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  text-align: center;
  color: white;
}

.text-container {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Heading */
h1 {
  font-size: 10rem;
  margin: 0;
  animation: moveText1 1s ease-out forwards;
  text-shadow: 5px 5px 0px black;
}

/* Subheading */
p {
  font-size: 1.5rem;
  animation: moveText2 1s ease-out forwards;
    text-shadow: 1px 1px 0px black;
}

/* Button */
.btn {
  display: inline-block;
  margin-top: 30px;
  font-size: 1.8rem;
  padding: 10px 25px;
  border: 2px solid white;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  transition: all 0.2s ease;
  animation: moveBtn 1s ease-out forwards;
}

.btn:hover {
  background-color: white;
  color: black;
  text-shadow: 0 0 10px white;
  transform: translateY(-2px);
}

/* ===== Animations ===== */
@keyframes moveText1 {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes moveText2 {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes moveBtn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ===== White Section ===== */
.contents2 {
  background-color: white;
  width: 100%;
  min-height: 100vh;
  padding: 50px 20px;
}

.text3 {
  color: black;
  font-size: 2rem;
  text-align: center;
}

.info{
  top: 1050px;
  left: 400px;
position: absolute;
width: 350px;
height: 230px;
box-shadow: 0 0 10px rgb(190, 190, 190);
border-radius: 12px;

}






/* ===== Responsive Breakpoints ===== */

/* Tablet / Laptop (≤1024px) */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  p { font-size: 1rem; }
  .btn { font-size: 1.5rem; }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .header-logo { height: 40px; }
  h1 { font-size: 2.5rem; }
  p { font-size: 1rem; }
  .btn { font-size: 1.2rem; padding: 8px 20px; }
  .text3 { font-size: 1.5rem; }
}

/* Extra Small Phones (≤480px) */
@media (max-width: 480px) {
  .header-logo { height: 35px; }
  h1 { font-size: 2rem; }
  p { font-size: 0.9rem; }
  .btn { font-size: 1rem; padding: 6px 15px; }
  .text3 { font-size: 1.2rem; }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 350px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

input, textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #0056b3;
}