/* General Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Color Palette */
    --color-primary: #1C3F95; /* Blue for brand elements */
    --color-secondary: #00B5D8; /* Light blue accent */
    --color-accent: #FF6B35; /* Orange for call-to-action */
    --color-dark: #0D1B2A; /* Dark blue for text & footer */
    --color-light-bg: #F5F9FF; /* Light background */
    --color-white: #FFFFFF; /* White for cards */

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-weight-bold: 700;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background: var(--color-light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
}

.navbar .logo img {
    height: 45px;
    margin-right: 12px;
}

.navbar nav a {
    color: var(--color-white);
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar nav a:hover {
    color: var(--color-secondary);
}

/* Hero */
.hero {
    text-align: center;
    padding: 8rem 0;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #e85a28;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.app-stores {
    margin-top: 2rem; /* Add spacing below the 'Get Started' button */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Space between the icons */
}

.app-stores a img {
    height: 50px; /* Adjust icon size */
    transition: transform 0.3s ease;
}

.app-stores a:hover img {
    transform: translateY(-3px); /* Subtle hover effect */
}


/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature h3 svg {
    color: var(--color-accent); /* Color icons to match accent */
    height: 30px;
    width: 30px;
}

.feature p {
    font-size: 1rem;
    color: #555;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(to right, #eaf2ff, #f9faff);
}

.pricing h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    width: 320px;
    text-align: left;
    transition: all 0.3s ease;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.card .price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.card .price span {
    font-size: 1rem;
    font-weight: normal;
    color: #555;
}

.card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.card ul li {
    margin: 0.75rem 0;
    font-size: 1rem;
    color: #333;
}

.btn-accent {
    display: block;
    text-align: center;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-accent:hover {
    background: #e85a28;
    transform: translateY(-2px);
}

.highlight {
    border: 2px solid var(--color-primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(28, 63, 149, 0.2);
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem;
    background: var(--color-dark);
    color: var(--color-white);
}

footer a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .navbar nav a {
        margin: 0 0.5rem;
    }
    .app-stores {
        flex-direction: column;
        gap: 1rem;
    }
}







/* Layout Fixes */


/* Ensure side menu is visible and not stuck to the edge */
#sideMenu,
#sideMenuNoVessel {
  width: 250px; /* Adjust to your desired size */
  background: var(--color-primary);
  color: var(--color-white);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  padding: 2rem 1rem;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.2);
  transform: translateX(0);
  transition: transform 0.3s ease;
  z-index: 999;
}

/* When hidden, slide it out of view */
#sideMenu.hidden,
#sideMenuNoVessel.hidden {
  transform: translateX(-100%);
}

/* Make sure main content doesn’t stick to the edges */
main,
.container,
#vesselDashboard,
#noVesselsView {
  padding: 1.5rem;
  margin-left: 270px; /* leave room for the side menu */
}

/* Make menu icon easy to see and clickable */
.menu-icon {
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin: 1rem;
}
