html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background-color: black;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures the body takes full height */
}

header {
  position: relative;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, #0d0d74, black);
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 50px; /* Set navbar height */
}

.logo {
  flex: 0 0 auto; /* Prevents the logo from growing */
}

.logo-image {
  height: 80px;
  margin: 0 10%;
}

.nav-links {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex: 1; /* Allows the nav links to take up remaining space */
  justify-content: center; /* Center the links */
}

.nav-links li {
  margin: 0 20px; /* Space between links */
}

a {
  color: white;
}

.nav-links a {
  font-family: "Kelvinch", sans-serif;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding-right: 20px; /* Added padding to the right of links */
}

.container {
  display: flex;
  flex: 1; /* Allows the container to grow and fill the space */
  margin-top: 20px; /* Space for the fixed navbar */
}

.hero {
  flex: 1; /* Takes up half of the container */
  padding: 20px 0; /* Added padding above and below the hero */
}

.hero-image {
  width: 100%;
  height: 400px; /* Set hero image height */
  object-fit: cover; /* Ensures the image covers the area */
}

.about {
  flex: 1; /* Takes up half of the container */
  padding: 60px 20px; /* Added padding around the about section */
  text-align: center;
  margin: 0 60px;
}

.events {
  max-width: 800px; /* Set a maximum width for the section */
}

section {
  margin: 0 5%;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* EMAIL LIST */
.booking {
  text-align: center;
}
#contact {
  border-radius: 8px; /* Rounded corners */
  max-width: 400px; /* Limit the width of the form */
  margin: 20px auto; /* Center the form */
}

#contact h2 {
  text-align: center; /* Center the heading */
  color: white; /* White text color for the heading */
}

form {
  display: flex; /* Use flexbox for layout */
  flex-direction: column; /* Stack elements vertically */
}

label {
  margin-bottom: 5px; /* Space between label and input */
  font-weight: bold; /* Bold labels for emphasis */
  color: white; /* White text color for labels */
}

input[type="text"],
input[type="email"] {
  padding: 10px; /* Padding inside input fields */
  margin-bottom: 15px; /* Space between input fields */
  border: 1px solid #ccc; /* Light border */
  border-radius: 4px; /* Rounded corners for inputs */
  font-size: 14px; /* Font size for inputs */
  color: white; /* White text color for input fields */
  background-color: #222; /* Dark background for input fields */
}

input[type="submit"] {
  background-color: #0056b3;
  color: white; /* White text color for button */
  padding: 10px; /* Padding inside button */
  border: none; /* Remove border */
  border-radius: 4px; /* Rounded corners for button */
  cursor: pointer; /* Pointer cursor on hover */
  font-size: 14px; /* Font size for button */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

input[type="submit"]:hover {
  background-color: #0c0c6a; /* Darker shade on hover */
}
input:focus-visible {
  outline: 2px solid #e6563c;
}

/* END EMAIL LIST */

/* Events */
.show-older-container {
  list-style-type: none;
}
.olderEvent {
  display: none;
}

#events,
#music {
  margin-bottom: 30px;
}

footer {
  display: flex;
  /* Distributes space between items */
  align-items: center;
  background: linear-gradient(
    to right,
    #0d0d74,
    black
  ); /* Gradient from blue to black */
  color: white;
  padding: 10px 50px;
  margin-top: auto; /* Pushes footer to the bottom */
}
footer p {
  margin-left: 20px; /* Removes default margin */
}

.site-footer { justify-content: space-between; gap: 12px; }

/* left grouping so logo and text stay together */
.footer-left { display: flex; align-items: center; gap: 12px;  min-width: 400px;}

/* logo sizing */
.logo-image { height: 40px; width: auto; display: block; }

/* right-side social */
.footer-right.social { text-align: right; width:100%;}
.footer-right img {height: 8px; width: 8px; opacity: 80%; padding-left: 5px;}

/* links and icons */
.social-link { display: inline-block; line-height: 0; }
.social-link img { display: block; width: 28px; height: 28px; object-fit: contain; transition: transform .15s ease, filter .15s ease; }
.social-link:hover img,
.social-link:focus img { transform: translateY(-2px) scale(1.03); filter: brightness(1.15); opacity:100%;}


/* responsive */
@media (max-width: 520px) {
  footer { flex-direction: column; align-items: flex-start; padding: 12px 20px; }
  .footer-right.social { align-self: flex-end; margin-top: 6px; }
  .logo-image { height: 36px; }
  .social-link img { width: 24px; height: 24px; }
}


hr {
  border: none; /* Remove default border */
  height: 1px; /* Set the height of the line */
  background: linear-gradient(
    to right,
    rgba(11, 11, 95, 0.5),
    rgba(255, 255, 255, 1),
    rgba(11, 11, 95, 0.5)
  );
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.5); /* Add a subtle shadow */
  margin: 10px 0; /* Add some space above and below */
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
  .logo-image {
    display: none; /* Hide logo on mobile */
  }

  .navbar {
    /* flex-direction: column;*/
    height: auto; /* Allow height to adjust */
    padding: 10px; /* Adjust padding */
  }

  .nav-links {
    /*flex-direction: column; */
    align-items: center; /* Center align links */
    margin-top: 10px; /* Space between logo and links */
  }

  .nav-links li {
    margin: 0 15px; /* Space between links */
  }

  .container {
    flex-direction: column; /* Stack hero and about sections vertically */
    margin-top: 40px; /* Adjust margin for navbar */
  }

  .hero {
    padding: 10px 0; /* Adjust padding for hero */
  }

  .about {
    margin: 0 20px; /* Reduce margin for smaller screens */
    padding: 0px 10px 20px 10px; /* Adjust padding for about section */
  }
  .about p {
    margin: 30px 0 20px 0;
  }

  .hero-image {
    height: 250px; /* Reduce hero image height for mobile */
  }
}

/* FONTS */
@font-face {
  font-family: "Kelvinch"; /* Name of the font */
  src: url("/fonts/kelvinch/Kelvinch-Roman.otf") format("opentype"); /* Path to the OTF file */
  font-weight: normal; /* Specify the weight */
  font-style: normal; /* Specify the style */
}
@font-face {
  font-family: "Scriptina"; /* Name of the font */
  src: url("/fonts/scriptina/SCRIPTIN.ttf") format("opentype"); /* Path to the OTF file */
  font-weight: normal; /* Specify the weight */
  font-style: normal; /* Specify the style */
}

.kelvinch {
  font-family: "Kelvinch", sans-serif; /* Fallback to a generic font */
  font-size: 45px;
  font-weight: normal;
}
.scriptina {
  font-family: "Scriptina", cursive; /* Fallback to a generic font */
  color: #e6563c;
  font-size: 113px;
  line-height: 0.75;
  font-weight: normal;
}
h1 {
  margin: 0;
}
h1 span.scriptina {
  margin-left: -30px;
}
h2 span.scriptina {
  font-size: 75px;
}
