/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Megrim&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');

:root { /* Variables for shadow on text/sections etc background colour also */
    --text-shadow-title: 0px 2px 7px rgb(255, 255, 255);
    --text-shadow-subtitle: 0px 2px 7px rgb(255, 255, 255);
    --text-shadow: 0px 2px 7px rgb(255, 255, 255);
    --text-shadow-button: 0px 2px 5px rgb(255, 255, 255);
    --background-color: rgba(0, 32, 162, 0.562);
    --font-family-main: 'Megrim', sans-serif;
}

html {
    min-width: 360px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-main);
    color: rgb(182, 209, 233);
}

.global-overlay {
    position: fixed; /* Ensures it spans the viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Keeps it behind all other content */
    pointer-events: none; /* Prevents interactions */
    overflow: hidden; /* Ensures no unintended overflow issues */
}

.shadow-overlay {
    box-shadow: inset 0px 0px 10000px 80px rgba(241, 62, 62, 0.175);
    border-radius: 0%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color); /* Semi-transparent shadow */
    z-index: 1; /* Sits above the image but below content */
}

.content-overlay {
    filter: brightness(80%);
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    width: 100%;
    box-sizing: border-box; /* Includes padding in width calculations */
}

.menu {
    position: absolute;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 10;
    cursor: pointer;
}

.nav-menu {
    position: absolute;
    position: fixed;
    top: 20px;
    left: 80px; /* Initially placed just to the right of the hamburger icon */
    height: auto;
    clip-path: inset(0 100% 0 0);
    transition: 0.8s ease;
    z-index: 9;
}

.nav-menu.open {
    clip-path: inset(0 0 0 0);
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    width: 470px;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 40px;
}

.nav-menu ul li a {
    text-decoration: none;
    font-size: 1.3rem;
    color: #949494;
    position: relative; /* Required for ::after to position correctly */
    padding: 20px 10px;
    text-shadow: 0px 10px 8px rgb(255, 255, 255);
    transition: all 5s ease;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 20px; /* Position the underline below the text */
    left: 0;
    width: 0; /* Initial width is 0 */
    height: 2px; /* Thickness of the underline */
    background-color: rgba(255, 255, 255, 0.208); /* Color of the underline */
    transition: width 1s ease; /* Smooth transition for the width */
}

.nav-menu ul li a:hover {
    text-shadow: var(--text-shadow);
    color: rgb(182, 209, 233);
    transition: .8s;
}

.nav-menu ul li a:hover::after {
    width: 100%; /* Expand underline to full width on hover */
    background-color: rgb(182, 209, 233);

}

.nav-menu ul li a:active {
    text-shadow: 6px 15px 8px rgb(255, 255, 255);
    transition: 1s;
}

/* Section Styles */

.title {
    text-shadow: var(--text-shadow-title);
    font-size: 4.5rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 26px;
    margin: 0;
}

.title:hover {
    --text-shadow: 2px 2px 5px rgb(0, 0, 0);
    z-index: 1;
}

.enquiry-title:hover {
    --text-shadow: 1px 1px 5px rgb(222, 45, 45) ;
}

.subtitle {
    text-shadow: var(--text-shadow-subtitle);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 50px;
    margin-bottom: 50px;
}

.contact-btn, .send-btn {
    text-shadow: 2px 25px 12px rgb(255, 255, 255);
    font-weight: lighter;
    text-decoration: none;
    color: rgb(0, 0, 0);
    background: none;
    font-family: var(--font-family-main);
    padding: 10px 30px;
    border: 2px solid rgba(0, 0, 0, 0.169);
    border-radius: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    letter-spacing: 7px;
    box-shadow: 2px 2px 35px rgba(255, 255, 255, 0.130);
    transition: all 7s ease;
}

.send-btn {
    width: 150px;
}

.contact-btn:hover, .send-btn:hover {
    color: rgb(182, 209, 233);
    text-shadow: var(--text-shadow-button);
    background-color: var(--background-color);
    box-shadow: 0px 9px 4px rgba(255, 255, 255, 0.3);
    border: 2px double rgba(182, 209, 233, 0.851);
    animation: pulse 1s infinite;
    transition: .3s;
}

.contact-btn:active, .send-btn:active {
    box-shadow: 0px 15px 4px -7px rgba(255, 255, 255, 0.3);
    text-shadow: 2px 10px 5px rgb(255, 255, 255);
}

.contact-section {
    width: 100%;
}

.contact-details {
    clip-path: inset(100% 0 100% 0);
    list-style: none;
    padding: 0;
    z-index: 9;
    transition: 2s;
}

.contact-details ul {
    list-style: none;
    display: flex;
    align-self: center;
    justify-content: center;
    padding: 0px;
    gap: 50px;
    z-index: 9999;
}

.contact-details img {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    height: 50px;
    width: 50px;
    border-radius: 20%;
    border: none;
    box-shadow: 0px 0px 10px 13px rgba(255, 255, 255, 0.3);
    transition: 2s;
    cursor: pointer;
    opacity: 30%;
}

.contact-details img:hover {
    transition: 1s;
    box-shadow: 0px 0px 10px 8px rgb(182, 209, 233);
    opacity: 100%;
}

.contact-details.open {
    clip-path: inset(0 0 0 0);
    transition: 2.7s;
}

.home-section {
    /* text-shadow: var(--text-shadow); */
    margin: 0;
    padding: 0;
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-title {
    font-size: 6rem;
    margin-bottom: 20px;
}

/* Enquiry Form */

.enquiry-section {
    text-shadow: var(--text-shadow);
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.enquiry-title {
    font-size: 4.5rem;
    letter-spacing: 2px;
    font-weight: lighter;
    margin: 2.5rem;
}

.enquiry-form label {
    font-size: 1.5rem;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 300px;
    margin: 0 auto;
}

.enquiry-form input, .enquiry-form textarea {
    padding: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    color: rgb(182, 209, 233);
    background-color: rgba(0, 0, 0, 0.172);
}

@media (max-width: 1440px) {

    .title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .contact-btn, .send-btn {
        padding: 10px 20px;
        font-size: 1rem;
        letter-spacing: 5.5px;
    }

    .enquiry-title {
        font-size: 3.5rem;
        margin: 2.5rem;
    }
    
    .enquiry-form label {
        font-size: 1.3rem;
    }
    
    .enquiry-form {
        min-width: 300px;
    }    
}

@media (max-width: 1310px) {

    .subtitle {
        font-size: 1.8rem;
        letter-spacing: 45px;

    }
}

@media (max-width: 1231px) {

    .subtitle {
        font-size: 1.7rem;
    }
}

@media (max-width: 1150px) {

    .subtitle {
        font-size: 1.7rem;
        letter-spacing: 40px;

    }
}

@media (max-width: 1050px) {

    .title {
        letter-spacing: 14px;
    }
    
    .subtitle {
        font-size: 1.8rem;
        letter-spacing: 30px;
    }
}

@media (max-width: 1024px) {

    .title {
        font-size: 3.5rem;
        letter-spacing: 16px;
    }

    .subtitle {
        font-size: 1.8rem;
        letter-spacing: 30px;
    }

    .contact-btn, .send-btn {
        padding: 10px 20px;
        font-size: 1rem;
        letter-spacing: 5.5px;
    }

    .enquiry-title {
        font-size: 3rem;
        margin: 2rem;
    }
}

@media (max-width: 880px) {

    .title {
        letter-spacing: 14px;
    }

    .subtitle {
        letter-spacing: 24px;
    }
}

@media (max-width: 768px) {

    .nav-menu ul li a {
        font-size: 1.2rem;
    }

    .title {
        font-size: 3.2rem;
        letter-spacing: 14px;
    }

    .subtitle {
        font-size: 1.6rem;
        letter-spacing: 24px;
    }
}

@media (max-width: 720px) {

    .title {
        font-size: 3rem;
        letter-spacing: 14px;
    }

    .subtitle {
        font-size: 1.4rem;
        letter-spacing: 24px;
    }
}

@media (max-width: 690px) {

    .title {
        letter-spacing: 12px;
    }

    .subtitle {
        letter-spacing: 20px;
    }
}

@media (max-width: 630px) {

    .title {
        font-size: 2.8rem;
        letter-spacing: 12px;
    }

    .subtitle {
        font-size: 1.3rem;
        letter-spacing: 18px;
    }
}

@media (max-width: 570px) {

    .title {
        font-size: 2.6rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 529px) {

    .nav-menu {
        left: 75px;
    }

    .title {
        font-size: 2.4rem;
    }

    .subtitle {
        letter-spacing: 16px;
    }
}

@media (max-width: 491px) {

    .nav-menu {
        left: 60px;
    }

    .nav-menu ul {
        gap: 10px;
    }

    .title {
        font-size: 2.2rem;
    }

    .subtitle {
        letter-spacing: 16px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    .nav-menu {
        left: 50px;
    }

    .title {
        font-size: 2.2rem;
        letter-spacing: 9px;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 15px;
    }

    .enquiry-title {
        font-size: 2.2rem;
        margin: 2rem;
    }

}

@media (max-width: 460px) {

    .nav-menu ul {
        gap: 5px;
    }

    .nav-menu ul li a {
        font-size: 1rem;
    }

    .title {
        font-size: 2rem;
        letter-spacing: 6px;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 10px;
    }

}

@media (max-width: 360px) {

    .nav-menu ul li a {
        font-size: 0.8rem;
    }

    .title {
        font-size: 1.65rem;
        letter-spacing: 5px;
    }

    .subtitle {
        font-size: 0.8rem;
    }
}



