/* Google Fonts Link */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif; /* Use Montserrat for the whole page */
  background-color: #000000; /* Set background to black */
  display: flex;
  background-image: url('../images/Background/RedBackground.jpeg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 60px; /* Increased padding to account for navbar height */  flex-direction: column;
  align-items: center;
  min-height: 100vh; /* Ensures the footer stays at the bottom */
  padding: 5px 10px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black for glassy effect */
  backdrop-filter: blur(10px); /* Adds the glassy blur effect */
  -webkit-backdrop-filter: blur(10px); /* Safari compatibility */
  color: white;
  padding: 5px 5px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Soft shadow for depth */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle bottom border */
}

header .logo {
  height: 50px; /* Set the height for the logo */
}

nav {
  height: 50px; /* Keep the height of the navbar */
  display: flex; /* Make the nav a flex container */
  justify-content: flex-end; /* Align items to the right */
  align-items: center; /* Center items vertically */
  width: 100%; /* Ensure it spans the full width */
}

nav ul {
  display: flex; /* Ensures the list items are in a row */
  list-style: none; /* Removes bullet points */
}

nav ul li {
  display: inline-block;
  line-height: 50px; /* Centers nav items vertically */
  margin: 0 5px;
}

nav ul li a {
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
  text-decoration: none; /* Remove underline */
}



.checkbtn {
  font-size: 22px;
  color: white;
  cursor: pointer;
  display: none; /* Hidden by default; shown in mobile view */
}

#check {
  display: none; /* Hidden checkbox for toggling */
}

/* Responsive Styles */
@media (max-width: 1050px) {
  label.logo {
      padding-left: 10px; /* Adjust padding for smaller screens */
  }

  nav ul li a {
      font-size: 16px; /* Smaller font size on medium screens */
  }
}

/* Responsive media query code for small screens */
@media (max-width: 890px) {
  .checkbtn {
      display: block; /* Show hamburger icon */
  }

  nav ul {
      position: fixed; /* Make the menu fixed on the screen */
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black for glassy effect */
      backdrop-filter: blur(10px); /* Adds the glassy blur effect */
      top: 50px; /* Position below the navbar */
      left: -100%; /* Hide offscreen initially */
      text-align: center;
      transition: all 0.5s; /* Smooth transition */
      flex-direction: column; /* Stack items vertically */
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds a soft shadow for depth */
  }

  nav ul li {
      display: block; /* Stack nav items vertically */
      margin: 20px 0; /* Spacing between items */
      line-height: 30px; /* Adjust line height */
  }

  nav ul li a {
      font-size: 20px; /* Increase font size on mobile */
      color: white; /* Ensure text is visible */
  }

  a:hover,
  a.active {
      background: none; /* No additional background on hover or active state */
      color: white; /* Keep text color consistent */
  }

  #check:checked ~ ul {
      left: 0; /* Slide in menu when checkbox is checked */
  }
}

/* Hero Section */
.hero {
  background: url('black-smooth-wall-textured-background.jpg') no-repeat center center/cover;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 80px 20px;
  width: 100%;
}

/* Header */
header {
  width: 100%;
  background-color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

/* Contact Container */
/* Adjust the existing margin-top for the contact-container */
.contact-container {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 850px;
  overflow: hidden;
  margin-top: 70px; /* Space to ensure it doesn't overlap with the fixed header */
}


/* Left and Right Sections */
.left-section, .right-section {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.left-section {
  background-color: #f4f0ff;
}

.left-section h2 {
  color: #000000;
  font-size: 20px;
  margin-bottom: 15px;
}

.left-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  margin: 0 8px;
  color: #6e32bf;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.right-section {
  background-color: #7c3aed;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.right-section input, 
.right-section textarea, 
.right-section button {
  width: 100%;
  max-width: 300px;
  background-color: #9b5bdf;
  border: 2px solid #ffffff;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
  color: #ffffff;
  font-size: 14px;
}

.right-section textarea {
  resize: none;
  height: 80px;
}

.right-section input:focus, 
.right-section textarea:focus {
  outline: none;
  border-color: #f4f0ff;
}

.right-section button {
  background-color: #ffffff;
  color: #7c3aed;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.right-section button:hover {
  background-color: #f4f0ff;
}

/* Footer */
footer {
  background-color: #111;
  width: 100%;
  margin-top: 30px; /* Adjusted margin to create space between the footer and contact card */
  padding: 20px 0; /* Added padding for better spacing inside the footer */
  bottom: 0;

}

.footerContainer {
  width: 100%;
  padding: 70px 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footerLogo img {
  height: 80px;
  width: auto;
}

.footerContent {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.socialIcons {
  display: flex;
  justify-content: center;
}

.socialIcons a {
  text-decoration: none;
  padding: 10px;
  background-color: white;
  margin: 10px;
  border-radius: 50%;
}

.socialIcons a i {
  font-size: 2em;
  color: black;
  opacity: 0.9;
}

.socialIcons a:hover {
  background-color: #111;
  transition: 0.5s;
}

.socialIcons a:hover i {
  color: white;
}

.footerNav {
  margin: 30px 0;
}

.footerNav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

.footerNav ul li a {
  color: white;
  margin: 20px;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;
}

.footerNav ul li a:hover {
  opacity: 1;
}

.footerBottom {
  background-color: #000;
  padding: 20px;
  text-align: center;
}

.footerBottom p {
  color: white;
}

.designer {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0px 5px;
}

/* Responsive Adjustments */
@media (max-width: 700px) {
  .footerContainer {
    flex-direction: column;
    align-items: center;
  }

  .footerContent {
    align-items: center;
  }

  .footerNav ul {
    flex-direction: column;
  }

  .footerNav ul li {
    width: 100%;
    text-align: center;
    margin: 10px;
  }

  .socialIcons a {
    padding: 8px;
    margin: 4px;
  }
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }
  .left-section, .right-section {
    width: 50%;
    padding: 40px;
  }
  .left-section h2 {
    font-size: 24px;
  }
  .right-section input, .right-section textarea {
    font-size: 16px;
  }
  .right-section button {
    padding: 15px;
    font-size: 16px;
  }
}
