/* Common styles for header and footer */

/* Navigation bar styles */
nav {
  width: 100%;
  height: 80px; /* Increased height to accommodate larger elements and slogan */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(15, 15, 25, 0.95); /* Semi-transparent but more opaque than content blocks */
  position: fixed;
  top: 0;
  left: 0;
  right: 0; /* Ensure full width */
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  margin: 0 auto; /* Center the container */
  position: relative; /* For absolute positioning of children */
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Already using flex-start as requested */
}

.brand-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-icon {
  height: 40px; /* Increased size */
  width: auto;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.8rem; /* Increased size */
  background: linear-gradient(to right, #33cfff, #0088ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.nav-slogan {
  font-size: 0.8rem;
  font-weight: 600; /* Changed from 400 to 600 for bold text */
  letter-spacing: 0.05em; /* Added letter spacing for better readability */
  margin-top: 0.2rem;
  margin-left: 0.2rem;
  display: block;
  white-space: nowrap;
  background: linear-gradient(to right, #0088cc, #0066aa); /* Deeper blue gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 480px) {
  .nav-slogan {
    display: none; /* Hide slogan only on very small screens */
  }
}

@media (max-width: 768px) {
  .nav-icon {
    height: 35px; /* Slightly smaller on mobile */
  }
  
  .nav-logo {
    font-size: 1.6rem; /* Slightly smaller on mobile */
  }
}

.nav-links {
  display: flex;
  justify-content: flex-end; /* Align navigation links to the right */
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #00aaff;
}

/* Footer styles */
.social-footer {
  height: 60px; /* Fixed height for consistency */
  font-size: 1rem;
  color: #aaa;
  text-align: center;
  width: 100%;
  background-color: rgba(15, 15, 25, 0.95); /* Semi-transparent but more opaque than content blocks */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0; /* Ensure full width */
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto; /* Center the container */
  position: relative; /* For absolute positioning of children */
}

.social-link {
  color: #888;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: 500;
}

.social-link:hover {
  text-decoration: underline;
  color: #ccc;
}

.divider {
  color: #555;
  margin: 0 0.2rem;
}

/* Common page structure */
html {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: scroll; /* Always show vertical scrollbar to prevent layout shifts */
}

body {
  background-color: #000; /* Keep as fallback */
  background-image: url('../BK.png');
  background-position: center;
  background-size: cover;
  background-attachment: fixed; /* Creates parallax effect */
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  font-family: 'Manrope', sans-serif;
  color: #fff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  position: relative; /* For absolute positioning of children */
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  padding: 100px 0 80px 0; /* Increased top padding to account for taller header */
  box-sizing: border-box;
}

.container {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
}

/* Additional responsive styles */
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 95%;
  }
  
  .main-content {
    padding: 90px 0 70px 0;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 1rem;
  }
  
  .nav-container {
    padding: 0 16px;
  }
  
  .footer-links {
    padding: 0 16px;
    font-size: 0.9rem;
  }
  
  .social-link {
    margin: 0 0.3rem;
  }
}