/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* fixes anchor scrolling for fixed navbar */
}

body {
  font-family: "Outfit", sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  background: #0a0a23;
  color: white;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: #0d47a1;
  padding: 10px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-title span {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

/* Dropdown menu */
.dropdown {
  position: relative;
}

.hamburger {
  font-size: 22px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hamburger:hover {
  color: #90caf9;
  transform: scale(1.1);
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content a {
  color: #0d47a1;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Hero section */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url("images/gym.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  font-weight: 700;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 25px;
  font-weight: 300;
  animation: fadeInUp 1s ease;
}

/* Sections */
.section {
  padding: 25px 20px;
  text-align: center;
  transition: all 0.5s ease;
}

.section h2 {
  margin-bottom: 15px;
  color: #0d47a1;
  font-weight: 600;
}

/* Paragraph styling */
p {
  font-size: 1.15rem;
  line-height: 1.8;
  padding: 0 15px;
  margin-bottom: 15px;
}

/* Reduce Stark Fitness spacing */
.stark-section p {
  margin-bottom: 15px; /* tighter spacing between about, created for, and text */
}

/* Responsive paragraph padding */
@media (min-width: 1024px) {
  p { padding: 0 60px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  p { padding: 0 40px; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  margin: 10px;
  font-size: 16px;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
  font-weight: 500;
}

.hero .btn {
  background: #00C2FF;
  color: #111;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 194, 255, 0.4);
}

.hero .btn:hover {
  background: #33D6FF;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 194, 255, 0.6);
}

#download .btn:first-of-type {
  background-color: #0d47a1;
}

#download .btn:first-of-type:hover {
  background-color: #1565c0;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn.alt {
  background-color: black;
}

.btn.alt:hover {
  background-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Screenshots */
.screenshot-gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.screenshot-gallery img {
  width: 220px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Team section */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-member {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center; /* centers all content */
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.team-member h3 {
  font-size: 1.5rem;
  color: #0d47a1;
  margin-bottom: 8px;
}

.team-member .role {
  font-size: 1rem;
  color: #222;        /* darker than before */
  font-weight: 700;    /* makes it bold */
  margin-bottom: 10px;
}

/* Remove horizontal padding from p inside team-member to fix email alignment */
.team-member p {
  padding: 0;        /* remove inherited padding */
  margin: 5px 0;     /* optional vertical spacing */
}

/* Links inside team-member */
.team-member a {
  font-size: 0.95rem;
  color: #1565c0;
  text-decoration: none;
  font-weight: 500;
  display: inline-block; /* respects content width */
}

.team-member a:hover {
  text-decoration: underline;
}

footer {
  background: #0d47a1;
  color: white;
  padding: 10px 20px; /* thin footer */
  font-weight: 300;
  position: relative;
  display: flex;
  justify-content: center; /* centers the content container */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.footer-left {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-logo {
  height: 50px;      /* lets the width scale naturally */
  max-height: 50px;  /* ensures the logo never makes the footer too tall */
  width: auto;
  object-fit: contain;
}

.footer-center {
  flex: 2;
  text-align: center;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 20px; /* increased from 12px to 20px for more spacing */
}

.footer-right a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #00C2FF;
}

footer p {
  margin: 0;
  line-height: 1.2;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #00C2FF;
}

/* Stark Fitness Section */
.stark-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
  text-align: center;
}

.stark-logo {
  height: 300px;
  width: auto;
  margin-bottom: 15px;
}

.stark-text {
  font-size: 1.2rem;
  color: #0d47a1;
  font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive: stack team on small screens */
@media (max-width: 768px) {
  .team {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments for hero */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 15px;
    background-position: center top;
  }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
}

@media (max-width: 480px) {
  .hero { background-position: top; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero .btn { padding: 12px 24px; font-size: 14px; }
}
/* Survey Section Styling */
.survey-section {
  background: #fef6e4; /* soft highlight background */
  border: 2px solid #ff9800;
  border-radius: 15px;
  padding: 30px 20px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.survey-section h2 {
  color: #0d47a1;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.survey-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff9800;
  text-decoration: none; /* remove underline from whole link */
  transition: all 0.3s ease;
}

.survey-text {
  text-decoration: underline; /* underline only the words */
}

.survey-link:hover .survey-text {
  color: #e68900;
  text-decoration: underline;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0d47a1;
  color: white;
  padding: 8px 12px;
  z-index: 100;
  border-radius: 4px;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}