/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f2f4f7;
    color: #333;
    line-height: 1.6;
}
/* Header with logo and navigation */
header {
    background-color: #001f3f;
    padding: 10px 20px;
    color: #fff;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo-title .logo {
    height: 50px;
    width: 50px;
    margin-right: 15px;
}

.logo-title h1 {
    font-size: 1.8em;
    margin: 0;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.top-nav a:hover {
    background-color: #ffcc00;
    color: #001f3f;
}

/* Make header responsive on small screens */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .top-nav {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
    }
    .top-nav a {
        margin: 5px 10px 0 0;
    }
}


/* Shop styles */
.shop-item {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    display: inline-block;
    width: 200px;
    vertical-align: top;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
}

.shop-item button {
    background-color: #001f3f;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 3px;
    margin-top: 5px;
}

.shop-item button:hover {
    background-color: #ffcc00;
    color: #001f3f;
}

/* Footer */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
/* ===== Mobile Menu Animations ===== */
#navbar {
  transition: max-height 0.5s ease-in-out;
}
#navbar.open {
  max-height: 500px;
}
.menu-link {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}
#navbar.open .menu-link {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger animation for menu links */
#navbar.open .menu-link:nth-child(1) { transition-delay: 0.05s; }
#navbar.open .menu-link:nth-child(2) { transition-delay: 0.1s; }
#navbar.open .menu-link:nth-child(3) { transition-delay: 0.15s; }
#navbar.open .menu-link:nth-child(4) { transition-delay: 0.2s; }
#navbar.open .menu-link:nth-child(5) { transition-delay: 0.25s; }
#navbar.open .menu-link:nth-child(6) { transition-delay: 0.3s; }
#navbar.open .menu-link:nth-child(7) { transition-delay: 0.35s; }
#navbar.open .menu-link:nth-child(8) { transition-delay: 0.4s; }
#navbar.open .menu-link:nth-child(9) { transition-delay: 0.45s; }
#navbar.open .menu-link:nth-child(10) { transition-delay: 0.5s; }
#navbar.open .menu-link:nth-child(11) { transition-delay: 0.55s; }

/* Hamburger icon animation */
#menu-toggle span {
  transition: all 0.3s ease;
  transform-origin: center;
}
#menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
#menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
#menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

