* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body,
html {
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: auto;
}

#logo {
    width: clamp(100px, 18vw, 200px);
    height: auto;
    object-fit: contain;
    transition: width 0.3s ease;
}

/* Hamburger Menu */
.hamburger {
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 15px;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: white;
    display: block;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    overflow-x: auto;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-overlay.active .nav-menu {
    transform: translateY(0);
}

.nav-menu {
    list-style: none;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.nav-menu li {
    margin: 25px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.nav-overlay.active .nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

.nav-overlay.active .nav-menu li:nth-child(1) {
    transition-delay: 0.1s;
}
.nav-overlay.active .nav-menu li:nth-child(2) {
    transition-delay: 0.15s;
}
.nav-overlay.active .nav-menu li:nth-child(3) {
    transition-delay: 0.2s;
}
.nav-overlay.active .nav-menu li:nth-child(4) {
    transition-delay: 0.25s;
}
.nav-overlay.active .nav-menu li:nth-child(5) {
    transition-delay: 0.3s;
}
.nav-overlay.active .nav-menu li:nth-child(6) {
    transition-delay: 0.35s;
}
.nav-overlay.active .nav-menu li:nth-child(7) {
    transition-delay: 0.4s;
}
.nav-overlay.active .nav-menu li:nth-child(8) {
    transition-delay: 0.45s;
}
.nav-overlay.active .nav-menu li:nth-child(9) {
    transition-delay: 0.5s;
}
.nav-overlay.active .nav-menu li:nth-child(10) {
    transition-delay: 0.55s;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-menu a:hover {
    color: #007bff;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 200vh;
}

.hero::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: url("./assets/smiling-fisherman.avif") center/cover no-repeat;
    background-attachment: fixed;
    z-index: -1;
    transition: opacity 0.5s ease-out;
}

.overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 100%;
    height: 200vh;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}

.hero-overlay-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(-50%, -50%);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 11;
}

.hero-overlay-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: 4rem;
}

.hero p {
    font-size: 1.5rem;
}

.hero a {
    text-decoration: none;
    color: inherit;
}

.hero-overlay-content button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    background: #011e3d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.hero-overlay-content button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.hero-overlay-content button:active {
    transform: translateY(0);
}

/* Hero Sections 2 & 3 */

.hero-3 {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-3 {
    min-height: 100vh;
    background-image: url("./assets/Oman-fish-market-1-1920x960.jpg");
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3-content {
    max-width: 900px;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 60px 50px;
    border-radius: 12px;
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-3-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-3-content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-us-container {
    min-height: 120vh;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: url("./assets/old\ fisherman.avif") center/cover no-repeat fixed;
    padding: 20px;
}

.contact-us-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    padding: 60px 20px;
    background-color: #15181b6e;
    border-radius: 6px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-us-form label {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    color: #fff;
    font-size: 15px;
}

.contact-us-form input,
textarea {
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-us-form input:focus,
textarea:focus {
    border-color: #007bff;
}

.contact-us-form button {
    background-color: #007bff;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-us-form button:hover {
    background-color: #0056b3;
}

#responseMessage {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #000;
    color: white;
}

.footer-contents {
    padding: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-links ul {
    column-count: 2;
    column-gap: 40px;
}

.footer-links li {
    list-style: none;
    padding: 10px;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    color: #f4b400;
}

.social-media {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero::before {
        position: absolute;
        background-attachment: fixed;
        min-height: 100vh;
    }
    .navbar {
        padding: 10px 20px;
    }

    .hamburger {
        width: 50px;
        height: 50px;
    }

    .nav-menu a {
        font-size: 1.8rem;
    }

    .hero-3-content {
        padding: 50px 40px;
        max-width: 750px;
    }

    .hero-3-content h1 {
        font-size: 2.8rem;
    }

    .hero-3-content p {
        font-size: 1.15rem;
    }

    .contact-us-container {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 40px 20px;
    }

    .contact-us-logo img {
        width: 180px;
        margin-bottom: 25px;
    }

    .contact-us-form {
        width: 90%;
    }

    .footer-contents {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links ul {
        text-align: center;
    }

    .social-media {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero::before {
        position: absolute;
        background-attachment: fixed;
        min-height: 200vh;
    }
    .hero-3 {
        padding: 30px 15px;
    }

    .hero-3-content {
        padding: 40px 30px;
    }

    .hero-3-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-3-content p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 8px 15px;
    }

    #logo {
        width: clamp(80px, 25vw, 150px);
    }

    .hamburger {
        width: 45px;
        height: 45px;
        padding: 10px;
    }

    .hamburger-line {
        width: 25px;
        height: 2.5px;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .nav-menu li {
        margin: 20px 0;
    }

    .hero-overlay-content h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .hero-overlay-content p {
        font-size: 1rem;
        text-align: center;
        padding: 0 10px;
    }

    .hero-overlay-content button {
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    .hero-3-content {
        padding: 35px 25px;
    }

    .hero-3-content h1 {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .hero-3-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .contact-us-form {
        width: 95%;
        padding: 30px 15px;
    }

    .contact-us-form input,
    .contact-us-form textarea {
        font-size: 14px;
    }

    .footer-contents {
        padding: 20px;
    }

    .footer-links ul {
        column-count: 1;
    }

    .copyright p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-overlay-content h1 {
        font-size: 2.2rem;
    }

    .hero-overlay-content p {
        font-size: 1.1rem;
    }

    .contact-us-form {
        width: 85%;
    }
}

@media (max-width: 430px) {
    #logo {
        width: clamp(90px, 25vw, 140px);
    }

    .hero-overlay-content h1 {
        font-size: 2rem;
    }

    .hero-overlay-content p {
        font-size: 1rem;
    }

    .contact-us-form {
        width: 90%;
    }

    .nav-menu a {
        font-size: 1.3rem;
    }
}

@media (max-width: 375px) {
    .hero-overlay-content h1 {
        font-size: 1.6rem;
    }

    .hero-overlay-content p {
        font-size: 0.9rem;
    }

    .contact-us-form {
        width: 95%;
    }
}

@media (min-width: 1400px) {
    .hero-overlay-content h1 {
        font-size: 3.5rem;
    }

    .hero-overlay-content p {
        font-size: 1.5rem;
    }

    .hero-3-content {
        max-width: 1100px;
        padding: 70px 60px;
    }

    .hero-3-content h1 {
        font-size: 4rem;
    }

    .hero-3-content p {
        font-size: 1.5rem;
    }

    .contact-us-form {
        width: 40%;
    }
}
