/* Base Styles */
:root {
    --primary-blue: #002b5c;
    --secondary-blue: #004080;
    --accent-blue: #4fa3e3;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --bg-light: #ffffff;
    --bg-alt: #f9f9f9;
}

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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
header {
    background-color: var(--primary-blue);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-blue);
}

/* Hero Section (Home Only) */
#home {
    background: linear-gradient(rgba(0, 43, 92, 0.85), rgba(0, 64, 128, 0.85)), url('https://placehold.co/1920x800/001f3f/FFFFFF?text=Home+Hero+Banner') center/cover no-repeat;
    color: var(--text-light);
    text-align: center;
    padding: 10rem 2rem;
}

#home h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

#home p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Subpage Banner */
.page-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.page-banner h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
}

/* Generic Section Styles */
section.content-page, section.home-content {
    padding: 4rem 2rem;
    flex: 1;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-blue);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.alt-bg {
    background-color: var(--bg-alt);
}

/* Image Grid (For basic 3 Placeholders) */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.image-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Product Cards Grid (For Products Page) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card .content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.product-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Lists */
ul.features {
    list-style: none;
    margin-top: 1.5rem;
}

ul.features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

ul.features li::before {
    content: "⚓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* Contact Details */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-top: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    margin-top: auto;
}

footer span {
    color: var(--text-light);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    #home h1, .page-banner h1 {
        font-size: 2.5rem;
    }
}
