/* Colours 
    Text #0A182E
    Background #FFFFFF
    Accent #0A182E
*/
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500; /* 100 to 900 */
    background-color: #f0f0f0 ;
    color: #0A182E;
}

h1 {
    font-size: 6rem;
    font-weight: 500;
}

h2 {
    font-size: 2.5rem;
    font-weight: 650;
    margin-top: 30px;
}
 
h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 30px;
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 15px;
}

p {
    font-size: 1rem;
    font-weight: normal;
    color: #0A182E;
    padding: 0.7rem 0;
}

strong {
    font-weight: bold;
}

ul {
    font-size: 1rem;
    font-weight: normal;
    color: #0A182E;
    padding: 0.7rem 0;
}

ul, ol {
    padding-left: 1.5rem;
}

.nav-header{
    height: 50px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    img {
        height: 50px;
        width: 50px;
    }
}

nav {
    position: absolute;
    box-sizing: border-box;
    width: 500px;
    z-index: 99999;
    left: 0;
    padding: 3vh;
    background-color: #ffffff;
    transform: translateX(-110%);
    transition: all 0.5s;
}

    
    
nav img {
        height: 100%;
        cursor: pointer;
    }
     
nav ul, ol {
        list-style: none;
        padding-left: 0;
        text-decoration: none;
        color:#000d33;
    }



nav li{
        margin-bottom: 15px;
        outline: #000d33 solid 2px;
        overflow: hidden;
        transition: all 0.2s ease;
    }

nav h2 {
        font-size: 3rem;
        margin-top: 0;
    }

nav button {
        background-color: #FFF;/*#000d33; /* base */
        color: #000d33;
        font-size: 1.5rem;
        text-align: start;
        padding: 2vh;
        width: 100%;
        height: 70px;
        outline: none;
        border: none;
        
        cursor: pointer;
        transition: background-color 0.2s ease;
    }
    
nav button:hover {
        background-color: #000d33; /* darker on hover */
        color: white;
    }

.active-underline {
    border-bottom: 2px solid #000d33;
}
.dropdown-links {
    display: none;
    padding-left: 20px;
}
.dropdown-links a {
        text-decoration: none;
        color: #000d33;
        font-size: 1.2rem;
        font-weight: 400;
    }
.dropdown-links a:hover {
        color: #000d33;
        text-decoration: underline;
    }

.dropdown-links a { display: block; margin-top: 5px; }
.dropdown-links.show {
    display: block;
    margin-bottom: 10px;
}
.button-with-dropdown {
    position: relative;
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    height: 70px;
}
.button-with-dropdown a {
        border-right: #000d33 solid 2px;
        flex-grow: 1;
}
.button-with-dropdown a button {
            border-right: unset;
            flex-grow: unset;
        }
    

.button-with-dropdown button {
        border-right: #000d33 solid 2px;
        flex-grow: 1;
    }

.button-with-dropdown img {
        height: 100%;
        aspect-ratio: 1;
        cursor: pointer;
        filter: invert(1);
        transform: rotate(180deg);
        transition: all 0.2s;
    }

#headerImage{
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    text-align: left;
}
    
#headerImage img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        object-position: 50% 75%;
    }

#headerImage h1 {
        position: absolute;
        z-index: 2;
        color: white;
        left: 10vw;
        bottom: 1rem;
        font-size: 4rem;
    }

#headerImage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent),  /* top-to-bottom fade */
        linear-gradient(to right, rgba(0, 0, 0, 0.2), transparent);   /* left-to-right fade */
    pointer-events: none;
    z-index: 1;
}



/* Mobile override */
@media (max-width: 768px) {
    #headerImage {height: 30vh;}
    #headerImage h1 {font-size: 3rem;}
}

#miniNav {
    margin-bottom: 5vh;
    text-align: left;
}
#miniNav a {
        color: blue;
        transition: color 0.2s ease;
    }
    
#miniNav a:hover {
        color:black;
    }


.whatsapp-float {
    position: fixed;
    background-color: white;
    padding: 8px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: rgb(78, 78, 78) 0 0 5px;
    bottom: 20px;
    right: -100px;
    z-index: 9999;
    width: 60px; height: 60px;
    transition: right 0.6s ease-in-out;
}
.whatsapp-float img {
    height: 100%;
    width: 100%;
}

.whatsapp-float.show { right: 20px; }

.whatsapp-icon {width: 100%; height: 100%;}


footer {
    background-color: #0A182E;
    padding: 10vw;
    padding-bottom: 15vh;
    box-sizing: border-box;
    display: flex;
    gap: 3vw;
    justify-content: center;
}
    

footer h2, footer p, footer a {color: #FFFFFF;}

footer a {
        text-decoration: underline;
    }

footer h2 {
        margin-bottom: 20px;
    }

.footerChild{
    flex: 1;
}


footer #copyright, #email {
        margin-top:15px;
        padding-bottom: 0;
    }
#credit, #whatsapp, #telephone{
        padding-top: 0;
        padding-bottom: 0;
    }
#credit {
        font-size: 1em;
        opacity: 0.6;
    }

footer form {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
}
footer form label {
            color: #FFFFFF;
            font-size: 1rem;
        }
    
        
footer form input[type="email"], textarea {
            box-sizing: border-box;
            padding: 10px;
            font-size: 1rem;
            border: none;
            width: 100%;
            background-color: inherit;
            color: #fff;
            border-bottom: #FFFFFF 1px solid;
            width: 100%;
            margin-bottom: 10px;
        }

footer form button {
            background-color: #FFFFFF;
            color: #0A182E;
            font-size: 1rem;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
            align-self: flex-start;
        }

footer form button:hover {
            background-color: #0A182E;
            color: #FFFFFF;
            border: 1px solid #FFFFFF;
        }

footer form input[type="email"]:focus, textarea:focus {
            border-bottom: #FFFFFF 3px solid;
            outline: none;
        }

footer form textarea {
            resize: none;
            overflow: hidden; 
        }
    


#screenPadder {
    margin: 2vh 10vw 15vh 10vw; 
    text-align: left;
}


@media (max-width: 768px) {
    nav {
        width: 100%;
        height: 100%;
    }

    footer {
        flex-direction: column;
    }


    h1 {
        font-size: 2rem;
        font-weight: 800;
    }
    
    h2 {
        font-size: 1.8rem;
        font-weight: 650;
    }
     
    h3 {
        font-size: 1.4rem;
        font-weight: 400;
    }
    #headerImage h1 {
        left: 4vw;
    }
    #screenPadder {
        margin: 2vh 4vw 15vh 4vw; 
    }
}


@media (max-width: 768px) {
    .desktop-only {display: none;}
}

@media (min-width: 769px) {
    .mobile-only {display: none;}
}

