﻿/* ===================================
   CUSTOM FONTS
   =================================== */

/* Sailors Font - For bold headings */
@font-face {
    font-family: 'Sailors';
    src: url('fonts/Sailors-Regular.woff2') format('woff2'), url('fonts/Sailors-Regular.woff') format('woff'), url('fonts/Sailors-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sailors';
    src: url('fonts/Sailors-Bold.woff2') format('woff2'), url('fonts/Sailors-Bold.woff') format('woff'), url('fonts/Sailors-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Rafale Font - For navigation and body text */
@font-face {
    font-family: 'Rafale';
    src: url('fonts/Rafale-Light.woff2') format('woff2'), url('fonts/Rafale-Light.woff') format('woff'), url('fonts/Rafale-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rafale';
    src: url('fonts/Rafale-Regular.woff2') format('woff2'), url('fonts/Rafale-Regular.woff') format('woff'), url('fonts/Rafale-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rafale';
    src: url('fonts/Rafale-Bold.woff2') format('woff2'), url('fonts/Rafale-Bold.woff') format('woff'), url('fonts/Rafale-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ===================================
   NAVIGATION BAR STYLES - MOBILE FIRST
   =================================== */

/* Base Navbar - Mobile */



.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fffef3;
    /*background-image: url('../Images/nav_bg.svg');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;*/
    /*background-color: #fffef3;*/
    box-shadow: none;
    /*background: white;*/ /* default at top */
/*    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
*/    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;
    padding: 0;
}

    .navbar.scrolled-up {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        background-image: none;
    }

    .navbar.hidden {
        transform: translateY(-100%);
       /* background:transparent;*/
    }


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    max-width: 90%;
    margin: 0 auto;
}

/* Logo - Mobile */
.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 40px;
        width: auto;
        transition: transform 0.3s ease;
    }

        .logo img:hover {
            transform: scale(1.05);
        }

/* Hamburger Menu - Mobile (Visible by Default) */
.hamburger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
/* Hamburger smaller + orange */

    .hamburger .bar {
        width: 20px;
        height: 2px;
        background-color: #E8622A;
        margin: 4px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Hamburger Animation When Active */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

/* Navigation Menu - Mobile (Hidden by Default) */
.nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 254, 243, 0.98);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    /* box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);*/
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

    /* Show Nav Menu When Active - Mobile */
    .nav-menu.active {
        left: 0;
    }

/* Nav Items - Mobile */
.nav-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

    .nav-item:last-child {
        border-bottom: none;
    }

/* Nav Links - Mobile */
.nav-link {
    text-decoration: none;
    color: #384f45;
    font-family: 'Rafale', 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
    display: block;
    width: 100%;
}

    .nav-link:hover {
        color: #D97330;
    }

    /* Active Link - Mobile */
    .nav-link.active {
        color: #384f45;
    }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: #F4C542;
            border-radius: 2px;
        }

/* ===================================
   TABLET/DESKTOP STYLES (769px and up)
   =================================== */

@media screen and (min-width: 768px) {
    /* Nav Container - Desktop */
    .nav-container {
        padding: 26px 10px;
    }

    /* Logo - Desktop */
    .logo img {
        height: 90px;
    }

    /* Hide Hamburger - Desktop */
    .hamburger {
        display: none;
    }

    /* Navigation Menu - Desktop (Always Visible) */
    .nav-menu {
        position: static;
        flex-direction: row;
        background-color: transparent;
        width: auto;
        box-shadow: none;
        gap: 40px;
        padding: 0;
        left: 0;
    }

    /* Nav Items - Desktop */
    .nav-item {
        padding: 0;
        border-bottom: none;
    }

    /* Nav Links - Desktop */
    .nav-link {
        font-size: 16px;
        display: inline-block;
        width: auto;
    }

        /* Active Link Underline - Desktop */
        .nav-link.active::after {
            bottom: -5px;
            left: 0;
            transform: none;
            width: 100%;
        }
}

/* ===================================
   LARGE DESKTOP (1200px and up)
   =================================== */

@media screen and (min-width: 1200px) {
    .navbar {
        background-position: center 50%;
    }
    
    .nav-container {
        padding: 15px 15px;
    }

    .logo img {
        height: 115px;
    }

    .nav-menu {
        gap: 50px;
    }

    .nav-link {
        font-size: 15px;
    }
}
