/* 
   style.css - AutoDropper LLC Shared Resource
   Optimized for High-Visibility Mobile Branding
*/

:root {
  --bg-color: #272D30;
  --nav-bg: #1a1f21;
  --menu-bg: #343a40;
  --brand-orange: #FB8A51;
  --text-light: #d1d1d1;
  --border-subtle: #444;
}

/* 1. Global Reset & Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background-color: var(--bg-color);
  color: var(--text-light);
  overflow-x: hidden;
}

/* Brand Colors & Centered Headings */
h1,
h2,
h3,
a {
  color: var(--brand-orange);
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-align: center;
  width: 100%;
}

h2 {
  font-size: 1.6rem;
  border-bottom: 1px solid #3a3f41;
  padding-bottom: 5px;
  margin-top: 2rem;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* 2. Navigation Bar Structure */
nav {
  background: var(--nav-bg);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  min-height: 60px;
}

.nav-left {
  display: flex;
  align-items: center;
}

/* Enhanced Burger Button - Large Tap Target for Mobile */
.burger {
  font-size: 2.5rem;
  cursor: pointer;
  color: white;
  margin-right: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 50px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Clickable Logo & Brand Name */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-weight: bold;
  color: white;
  letter-spacing: 1.5px;
  margin-left: 15px;
  font-size: 1.5rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.logo-link:hover .brand-name {
  color: var(--brand-orange);
}

/* Desktop vs Mobile Logo Logic */
.mobile-icon {
  display: none;
}

.desktop-logo {
  display: block;
}

/* 3. Main Menu Panel (Hamburger Sidebar) */
#menu-control {
  display: none;
}

.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--menu-bg);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 200;
  list-style: none;
  padding: 60px 0 0 0;
  margin: 0;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
}

.menu-panel a {
  display: block;
  padding: 20px 25px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 1.1rem;
}

.menu-panel a:hover {
  background: var(--bg-color);
  color: white;
}

/* Background Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 150;
}

#menu-control:checked~.menu-panel {
  transform: translateX(0);
}

#menu-control:checked~.overlay {
  opacity: 1;
  visibility: visible;
}

/* 4. Mobile Adjustments - Massive Hit Areas */
@media screen and (max-width: 600px) {
  nav {
    min-height: 75px;
    /* Taller bar to accommodate larger icons */
    padding: 5px 10px;
  }

  .burger {
    font-size: 3.2rem;
    /* Visually huge icon */
    padding: 15px;
    min-width: 64px;
    /* Industry-leading tap target size */
    min-height: 64px;
    margin-right: 5px;
    transform: scale(1.1);
  }

  .desktop-logo {
    display: none;
  }

  .mobile-icon {
    display: block;
    height: 38px;
  }

  .brand-name {
    font-size: 1.3rem;
    margin-left: 8px;
  }

  h1 {
    font-size: 1.8rem;
  }
}

/* 5. Main Content & Bullet Lists */
main {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

main ul {
  padding-left: 20px;
  margin-bottom: 30px;
  list-style-type: none;
}

main li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 5px;
}

main li::before {
  content: "•";
  color: var(--brand-orange);
  font-weight: bold;
  position: absolute;
  left: -20px;
}

main li strong {
  color: var(--brand-orange);
  display: inline;
  margin-right: 5px;
}

/* 6. Footer Styles */
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.85rem;
  opacity: 0.5;
  color: white;
}