/* Defining CSS custom properties */
:root {
  --highlight-bg: #22D3EE; /* Sky Cyan */
  --highlight-text: #0F172A; /* Slate Navy */
  --text-light: #FFFFFF;
  --primary-bg: #f9fafb;
  --primary-text: #111827;
  --secondary-text: #6b7280;
  --active-bg: #022c22;
  --active-text: #ffffff;
  --text-dark: #0F172A;
  --radius: 16px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



/* Defining CSS custom properties */
:root {
  --highlight-bg: #22D3EE; /* Sky Cyan */
  --highlight-text: #0F172A; /* Slate Navy */
  --text-light: #FFFFFF;
  --primary-bg: #f9fafb;
  --primary-text: #111827;
  --secondary-text: #6b7280;
  --active-bg: #022c22;
  --active-text: #ffffff;
  --text-dark: #0F172A;
  --radius: 16px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auto-header .logo a
        {
            text-decoration: none;
            color: #0F172A;
        }
        

  .top-bar .logo a
   {
            text-decoration: none;
            color: #0F172A;
    }

    .top-bar
    {
      padding: 1rem 4rem;
    }


/* Styling dropdown menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 3rem;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1001;
  min-width: 12rem;
  padding: 0.5rem 0;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.dropdown.open .dropdown-menu {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--primary-text);
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f3f4f6;
}

/* Styling sticky auto-header */
.auto-header {
  position: fixed;
  top: -5rem;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: var(--shadow);
  padding: 0.75rem 4rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: top 0.3s ease-in-out;
}

.auto-header.visible {
  top: 0;
}

.auto-header .logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
}

.auto-header .actions {
  display: flex;
  gap: 0.75rem;
}

.auto-header .actions button {
  background: transparent;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 2.5rem;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.auto-header .actions button:hover {
  transform: scale(1.05);
  background-color: #f3f4f6;
}

/* Styling top bar (inside hero) */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4rem;
  background-color: transparent;
  color: var(--text-light);
  z-index: 999;
  width: 100%;
}

.top-bar .logo {
  font-size: 1.7rem;
  font-weight: 700;
}

.top-bar .actions {
  display: flex;
  gap: 0.75rem;
}

.top-bar .actions button {
  background: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  min-height: 2.5rem;
  font-size: 1rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.top-bar .actions button:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Adjusting header for mobile (≤768px) */
@media (max-width: 768px) {
  .auto-header {
    padding: 0.5rem 1rem;
  }

  .auto-header .logo {
    font-size: 1.3rem;
  }

  .auto-header .actions button {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .top-bar {
    padding: 0.5rem 1rem;
    flex-direction: row;
    justify-content: space-between;
  }

  .top-bar .logo {
    font-size: 1.4rem;
  }

  .top-bar .actions button {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}

/* Styling footer section */
footer {
  background: #0f172a;
  color: var(--text-light);
  padding: 3rem 1rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  max-width: 75rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--highlight-bg);
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
  background: #0f172a;
}

.footer-social a {
  color: var(--text-light);
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  max-width: 75rem;
  margin: 2rem auto 0;
  border-top: 1px solid #2c3e50;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-store img {
  height: 2rem;
  transition: transform 0.2s ease;
}

.footer-store img:hover {
  transform: scale(1.05);
}

/* Adjusting footer for small mobile (≤480px) */
@media (max-width: 480px) {
  .footer-col h4 {
    font-size: 1.1rem;
  }

  .footer-col ul li a {
    font-size: 0.9rem;
  }

  .footer-social a {
    font-size: 1.3rem;
  }
}