/* CSS Root Colors - Adjusted for closer match */
:root {
    --primary-color: #034078; /* Base dark blue, used for scrolled header, footer, buttons - chosen from your palette */
    --primary-color-darker: #001F54; /* A darker shade from your palette */
    --secondary-color: #1282A2; /* Main call-to-action blue for buttons - a brighter option from your palette */
    --accent-color: #6CAEFF; /* Kept your existing accent or you could choose e.g., a lighter shade or a contrasting color if available */
    --text-color-light: #FEFCFB; /* Using the lightest color from your palette */
    --text-color-dark: #333333; /* Keeping this for general dark text, or could use #0A1128 if very dark text is needed */
    --text-color-medium: #555555;
    --hero-overlay-color: rgba(3, 64, 120, 0.65); /* Adjusted overlay based on the new --primary-color: #034078 */
    --background-light: #F8F9FA; /* You might want to adjust this to complement the new palette, #FEFCFB could be an option for a very light background */
    --background-white: #FFFFFF; /* Or use #FEFCFB from your palette for off-white */
    --border-color-light: #DEE2E6;
    --font-primary: 'Lato', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --container-width: 1140px;
    --border-radius: 4px;
    --box-shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --box-shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: var(--text-color-dark);
    background-color: var(--background-white);
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-color);
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { /* Specifically for Hero H1 based on new image */
    font-size: 3.2rem; /* Larger to match new image */
    font-weight: 900; /* Very bold */
    line-height: 1.2;
    color: var(--text-color-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Subtle shadow for readability */
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
section h2 {
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.1rem;
    color: var(--text-color-light);
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-color-medium);
    font-size: 0.95rem;
}
p.subtitle {
    font-size: 1rem;
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-color-medium);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    text-align: center;
    margin: 0.5rem 0.5rem 0.5rem 0;
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}
.btn:hover {
    transform: translateY(-2px);
}

/* Standard Primary Button (used for Hero "View Our Catch", "Our Fleet", "View All Products") */
.btn-primary {
    background-color: var(--secondary-color); /* Solid blue */
    color: var(--text-color-light);
    border-color: var(--secondary-color);
}
.btn-primary:hover {
    background-color: #336AB0;
    border-color: #336AB0;
}

/* Hero "Learn Our Story" Button - specific style */
.btn-hero-secondary {
    background-color: rgba(20, 30, 50, 0.4); /* Semi-transparent dark background */
    color: var(--text-color-light);
    border: 1px solid rgba(255, 255, 255, 0.5); /* Subtle light border */
}
.btn-hero-secondary:hover {
    background-color: rgba(30, 45, 70, 0.6);
    border-color: var(--text-color-light);
}

/* General Secondary/Outline Button (used in CTA) - check if this is still needed or covered by btn-outline-dark/light */
.btn-secondary {
    background-color: var(--text-color-light);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--text-color-light);
    border-color: var(--accent-color);
}


/* Header Contact Button */
.btn-nav-contact {
    background-color: var(--secondary-color); /* Solid blue as per new image */
    color: var(--text-color-light);
    border: 1px solid var(--secondary-color);
    padding: 0.6rem 1.4rem; /* Adjust padding to fit */
}
.btn-nav-contact:hover {
    background-color: #336AB0; /* Darker shade of secondary */
    border-color: #336AB0;
    color: var(--text-color-light); /* Ensure text remains light */
}


.btn-outline-dark { /* For About Us section */
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}
.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.btn-outline-light { /* For CTA section */
    background-color: transparent;
    color: var(--text-color-light);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.btn-outline-light:hover {
    background-color: var(--text-color-light);
    color: var(--primary-color-darker);
    border-color: var(--text-color-light);
}


/* Header - MODIFIED FOR TRANSPARENCY */
header {
    position: absolute; /* Overlay on hero */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: transparent; /* Initially transparent */
    padding: 1rem 0; /* Adjusted padding for new look */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for scroll */
}
header.header-scrolled {
    position: fixed; /* Fix header on scroll */
    background-color: var(--primary-color); /* Solid background on scroll */
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: var(--font-primary);
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--text-color-light); /* Logo text is white */
    /* If using an image logo: */
    /* display: flex; align-items: center; */
}
/* header .logo img { height: 40px; width: auto; } */


header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

header nav ul li {
    margin-left: 1.75rem;
}

header nav ul li a {
    color: var(--text-color-light); /* Nav links are white/light */
    font-weight: 600; /* Slightly bolder for visibility */
    font-size: 0.9rem; /* As per new image, slightly smaller */
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    opacity: 0.9;
}
header nav ul li a:not(.btn-nav-contact):after { /* Underline for non-buttons */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-color-light); /* Light underline */
    transition: width 0.3s ease;
}
header nav ul li a:hover:not(.btn-nav-contact),
header nav ul li a.active-nav:not(.btn-nav-contact) {
    color: var(--text-color-light);
    opacity: 1;
}
header nav ul li a:hover:not(.btn-nav-contact):after,
header nav ul li a.active-nav:not(.btn-nav-contact):after {
    width: 60%; /* More subtle underline */
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    display: block; width: 25px; height: 2px;
    background-color: var(--text-color-light); margin: 6px 0; transition: all 0.3s ease-in-out;
}
header.header-scrolled .menu-toggle span {
    background-color: var(--text-color-light); /* Ensure hamburger is visible on scrolled header */
}


/* Hero Section - MODIFIED */
.hero {
    background-image: url('../img/Ai\ \(1\).png'); /* !! REPLACE THIS !! */
    background-size: cover;
    background-position: center center;
    color: var(--text-color-light);
    padding: 12rem 0 8rem 0; /* More top padding to account for transparent header */
    position: relative;
    text-align: left;
    min-height: 70vh; /* Ensure it takes a good portion of the viewport */
    display: flex; /* For vertical alignment of content if needed, though padding handles it here */
    align-items: center;
}
.hero-overlay {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--hero-overlay-color); /* Updated overlay color */
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px; /* Wider content for new hero */
    margin-left: calc((100% - var(--container-width))/2 + 15px);
}

.hero p { /* Hero paragraph specific styling */
    font-size: 1.1rem; /* Adjusted size from new image */
    margin-bottom: 2.5rem; /* More space before buttons */
    max-width: 580px;
    color: rgba(255, 255, 255, 0.95); /* Very light and clear */
    font-weight: 400; /* Regular weight for hero paragraph */
    line-height: 1.6;
}
.hero .btn {
    margin-right: 1rem; /* Space between buttons */
    padding: 0.85rem 2rem; /* Slightly larger hero buttons */
    font-size: 1rem;
}


/* Features Section (Unchanged from your provided CSS) */
.features {
    padding: 4.5rem 0;
    background-color: var(--background-light);
}
.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    text-align: left;
}
.feature-item {
    padding: 1.75rem 1.5rem;
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.feature-item svg {
    width: 40px;
    height: 40px;
    margin-bottom: 1.25rem;
    color: var(--accent-color);
}
.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}
.feature-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color-medium);
    margin-bottom: 0;
}

/* About Us Section (Unchanged) */
.about-us {
    padding: 5rem 0;
    background-color: var(--background-white);
}
.about-us .container {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}
.about-text {
    flex: 1.2;
}
.about-text h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1.25rem;
}
.about-text p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.about-images {
    flex: 1;
    display: grid;
    grid-template-areas:
        "main main"
        "sub1 sub2";
    gap: 1rem;
}
.about-images img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-medium);
    object-fit: cover;
    width: 100%;
}
.about-images img:first-child {
    grid-area: main;
    height: 280px;
}
.about-images img:nth-child(2) {
    grid-area: sub1;
    height: 150px;
}
.about-images img:nth-child(3) {
    grid-area: sub2;
    height: 150px;
}

/* Premium Catch Section (Unchanged) */
.premium-catch {
    padding: 5rem 0;
    background-color: var(--background-light);
}
.premium-catch h2 {
    margin-bottom: 0.75rem;
}
.catch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.catch-item {
    background-color: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.catch-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.catch-item-content {
    padding: 1.25rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.catch-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.catch-item p {
    font-size: 0.9rem;
    color: var(--text-color-medium);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.catch-item p.season {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.catch-item a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: auto;
}
.catch-item a:hover {
    color: var(--primary-color);
}
.btn-view-all {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 0 auto;
}

/* Testimonials Section (Unchanged) */
.testimonials {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}
.testimonials h2, .testimonials .subtitle {
    color: var(--text-color-light);
}
.testimonials .subtitle {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testimonial-item {
    background-color: #32537E;
    padding: 2rem 1.75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.testimonial-item blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}
.testimonial-item blockquote::before {
    content: '“';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    left: 0rem;
    top: -1rem;
    font-family: Georgia, serif;
    line-height: 1;
}
.author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.author img {
    width: 60px;
    height: 60px;
    object-fit: cover; /* This is key */
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    flex-shrink: 0;
}

.author p {
    margin-bottom: 0;
    line-height: 1.4;
    font-size: 0.9rem;
    color: var(--text-color-light);
}
.author p strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color-light);
}

/* CTA Section (Unchanged) */
.cta {
    background-color: var(--primary-color-darker);
    color: var(--text-color-light);
    padding: 5rem 0;
}
.cta .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.cta-text {
    flex: 1.2;
}
.cta-text {
    flex: 1.2;
}
.cta-text h2 {
    text-align: left;
    color: var(--text-color-light);
    font-size: 2rem;
    margin-bottom: 1rem;
}
.cta-text svg{
    margin-right: 6px;
}
.cta-text p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}
.cta-text p.contact-info {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}
.cta-text p.contact-info img {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}
.cta-text .btn {
    margin-top: 1rem;
}
.cta-image {
    flex: 1;
    max-width: 450px;
}
.cta-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-medium);
}

/* Footer (Unchanged) */
footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-about h3 {
    font-size: 1.6rem;
    color: var(--text-color-light);
    margin-bottom: 0.75rem;
}
.footer-about p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: white;
}
.social-links a {
    margin-right: 0.8rem;
    display: inline-block;
}
.social-links img {
    width: 22px; height: 22px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.social-links a:hover img { opacity: 1; }

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}
.footer-links ul li a:hover { color: var(--text-color-light); }

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: white;
}
.footer-contact p svg {
    width: 16px; height: 16px;
    margin-right: 10px;
    margin-top: 3px;
    
}

.footer-bottom {
    background-color: rgba(0,0,0,0.15);
    padding: 1.25rem 0;
    font-size: 0.85rem;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
}
.footer-bottom p { margin-bottom: 0; color: rgba(255,255,255,0.6); }
.footer-bottom a { color: rgba(255,255,255,0.6); margin: 0 0.5rem; }
.footer-bottom a:hover { color: var(--text-color-light); }


/* Responsive Styles - Ensure these are still effective (Header mobile might need minor adjustment for scrolled state) */
@media (max-width: 992px) {
    h1 { font-size: 2.8rem; } /* Adjusted for new hero */
    h2 { font-size: 1.8rem; }
    .hero { padding: 10rem 0 6rem 0; } /* Adjust hero padding */
    .hero-content { margin-left: 5%; margin-right: 5%; max-width: none; }

    .about-us .container { flex-direction: column; gap: 2.5rem; }
    .about-text { text-align: center; flex: 0 0 auto; }
    .about-text h2 { text-align: center; }
    .about-images { margin-top: 2rem; max-width: 500px; margin-left:auto; margin-right:auto;}

    .cta .container { flex-direction: column-reverse; gap: 2.5rem; }
    .cta-text { text-align: center; flex: 0 0 auto; }
    .cta-text h2 { text-align: center; }
    .cta-image { margin-bottom: 1rem; max-width: 400px; margin-left:auto; margin-right:auto; }
}

@media (max-width: 768px) {
    header .container { padding: 0 20px; }
    header nav ul { /* Mobile menu style */
        display: none; flex-direction: column; position: absolute;
        top: 100%; /* Position below header */
        left: 0; width: 100%;
        background-color: var(--primary-color); /* Solid background for mobile dropdown */
        padding: 0.5rem 0; box-shadow: 0 3px 5px rgba(0,0,0,0.15);
    }
    header.header-scrolled nav ul { /* Ensure it uses the primary color when header is scrolled */
         background-color: var(--primary-color);
    }
    header nav ul.active { display: flex; }
    header nav ul li { margin: 0; text-align: center; width:100%; }
    header nav ul li a {
        display: block; padding: 0.9rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1);
        width:100%; color: var(--text-color-light); /* Ensure link color for mobile */
    }
    header nav ul li a:not(.btn-nav-contact):after { display: none; }
    header nav ul li:last-child a { border-bottom: none; }
    header nav ul li .btn-nav-contact { /* Mobile nav contact button */
        display: block; /* Take full width or center it */
        width: calc(100% - 2rem); /* Full width with some padding */
        margin: 0.75rem auto;
        padding: 0.8rem 1.5rem;
    }

    .menu-toggle { display: block; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    h1 { font-size: 2.3rem; } /* Hero H1 for mobile */
    .hero { padding: 8rem 0 5rem 0; }
    .hero p { font-size: 1rem; }
    .hero .btn { font-size: 0.9rem; padding: 0.8rem 1.5rem; }

    .features .container, .catch-grid, .testimonial-grid, .footer-grid {
        grid-template-columns: 1fr; gap: 1.5rem;
    }
    .feature-item { align-items: center; text-align:center; }
    .feature-item img { margin-left:auto; margin-right:auto; }

    .footer-grid { text-align: center; }
    .footer-about .social-links { display: flex; justify-content: center; }
    .footer-contact p { justify-content: center; }
    .footer-bottom .container { flex-direction: column; gap: 0.75rem; }
    .footer-bottom p, .footer-bottom p:last-child { text-align: center; }
}

@media (max-width: 576px) {
    body { font-size: 15px; }
    .hero { padding: 7rem 0 4rem 0; } /* Adjust hero padding for smallest screens */
    h1 { font-size: 2rem; }
    .hero-content .btn {
        display: block; margin-left: auto; margin-right: auto;
        width: 90%; max-width:300px;
    }
    .hero-content .btn + .btn { margin-top: 1rem; }

    .about-text .btn, .cta-text .btn {
        display: block; margin-left: auto; margin-right: auto;
        width: 90%; max-width:300px;
    }
    .about-text .btn + .btn, .cta-text .btn + .btn { margin-top: 1rem; }

    .catch-item-content { padding: 1rem 1.25rem 1.25rem; }
    .testimonial-item { padding: 1.5rem 1.25rem; }
    .testimonial-item blockquote { padding-left: 2rem; }
    .testimonial-item blockquote::before { font-size: 3rem; top: -0.5rem; }
}