/* Reset */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  overflow-y: auto;               /* allow scrolling for pull-to-refresh */
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #333;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10%;
  box-sizing: border-box;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;          /* match navbar height */
  max-width: 100%;       /* don't overflow container */
  object-fit: contain;   /* keeps proportions */
}

/* Menu container */
.menu-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Menu */
.menu {
  display: flex;
  gap: 10px;
}

/* Menu buttons */
.menu button {
  background-color: #555;
  color: white;
  border: none;
  padding: 0 16px;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
}

/* Active page */
.menu button.active {
  background-color: #ff6600;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  border-radius: 6px;
  flex-direction: column;
  z-index: 1001;
  width: max-content;
  min-width: 100%;
}

.dropdown.open .dropdown-content {
  display: flex;
}

.dropdown-content button {
  width: 100%;
  text-align: left;
  padding: 12px;
  background-color: #444;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-left: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  #menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #333;
    z-index: 999;
  }

  #menu.show {
    display: flex;
  }

  .menu button {
    width: 100%;
    height: 50px;
    text-align: left;
    border-radius: 0;
    padding: 0 16px;
    font-size: 18px;
  }

  .dropdown-content {
    position: static;
    width: 100%;
  }

  .dropdown-content button {
    padding-left: 30px;
  }
}

/* Content */
.content {
  margin-top: 60px;
}

/* Section */
.section {
  height: 500px;
  margin-bottom: 20px;
  background: #f4f4f4;
  border: 1px solid #ccc;
  padding: 20px;
}

/* Background */
body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* static on scroll for desktop */
}

/* Hero Section */
.hero {
  flex: 1;                  /* fills space between header and footer */
  display: flex;
  flex-direction: column;
  justify-content: center;   /* center vertically if space allows */
  align-items: center;
  padding-top: 80px;         /* push below fixed navbar */
  padding-bottom: 40px;      /* small bottom padding */
  gap: 20px;
  box-sizing: border-box;
}

/* Bubble for text */
.hero-bubble {
  background-color: rgba(0,0,0,0.7);
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 90%;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  margin-bottom: 30px;
}

/* Buttons Container */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.hero-buttons button {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 25px 50px;
  font-size: 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.hero-buttons button:hover {
  background-color: #e65c00;
  transform: scale(1.05);
}

/* Mobile Hero */
@media (max-width: 768px) {
  .hero {
    min-height: auto; /* let content define height */
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-bubble {
    padding: 20px 25px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .hero-buttons button {
    width: 95%;
    max-width: 400px;
    padding: 25px;
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

footer {
  flex-shrink: 0; /* prevents footer from shrinking */
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- Software Download Buttons ---------- */
.software-section button {
    background-color: #ff6600; 
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    margin: 5px 5px 10px 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

.software-section button:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.software-section button:active {
    transform: translateY(0);
    box-shadow: none;
}

.software-section {
    margin-bottom: 2rem;
}

.software-section h2 {
    margin-bottom: 0.5rem;
    color: #f4f4f4;
    font-size: 1.3rem;
}

.software-section p a {
    color: #ff6600;
    text-decoration: none;
}

.software-section p a:hover {
    text-decoration: underline;
}