/* ====================== */
/* Preloading & Fonts */
/* ====================== */
@font-face {
    font-family: 'Logo';
    src: url('assets/logo.png') format('png');
}



/* ====================== */
/* Global Styles */
/* ====================== */


html, body {
    height: 100%;
    margin: 0;
}
  

body {
    background: url('assets/Background.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    margin-top: 0;
}


h1 {
    font-weight: 700;
    font-family: 'Noto Sans Japanese', Sans-Serif;

}

p {
    font-weight: 400; /* Normal */
    text-align: justify;
    word-spacing: 0.05em;
    line-height: 1.6;

}



/* ====================== */
/* Responsive Background */
/* ====================== */
@media (max-width: 991px) {
    body {
        background-position: calc(50% + 10%) center;
    }
}

@media (max-width: 768px) {
    body {
        background-position: calc(50% + 15%) center;
    }
}

@media (max-width: 576px) {
    body {
        background-position: calc(50% + 20%) center;
    }
}

/* ====================== */
/* Header */
/* ====================== */
header {
    margin: 0;
    padding: 0;
}

/* ====================== */
/* Navbar & Logo Styles */
/* ====================== */
.navbar-brand.logo {
    background-image: url('assets/Logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 80px;
    width: 160px;
    display: block;
}

@media (min-width: 992px) {
    .navbar-brand.logo {
        height: 160px;
        width: 320px;
    }
}

@media (max-width: 991px) {
    .navbar-brand.logo {
        height: 140px;
        width: 280px;
    }
}

@media (max-width: 768px) {
    .navbar-brand.logo {
        height: 120px;
        width: 240px;
    }
}

/* Navbar items styling */
.navbar-light .navbar-toggler {
    border-color: rgb(255, 255, 255);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav {
    align-items: right;
    width: auto;
}

.navbar-nav .nav-item {
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: rgb(255, 255, 255) !important;
    font-weight: bold;
    text-decoration: none;
    font-family: 'Noto Sans Japanese', Sans-Serif;
    position: relative;
    padding-bottom: 5px;
}

.navbar-nav .nav-link.active {
    color: rgb(255, 255, 255) !important;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
    visibility: hidden;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link.active:after,
.navbar-nav .nav-link:hover:after {
    visibility: visible;
    transform: scaleX(1);
}

/* Responsive Navbar (Mobile) */
@media (max-width: 768px) {
    .navbar-nav {
        align-items: center; /* Center items horizontally */
        justify-content: space-evenly; /* Evenly distribute items across the vertical axis */
        margin: 0; /* Remove default margin */
        padding: 0; /* Remove padding */
        width: 100%; /* Full width for alignment */
        text-align: center; /* Center-align text */
        height: 100%; /* Match container height */
    }

    .navbar-nav .nav-item {
        padding: 0 15px; /* Add horizontal padding */
    }

    .navbar-nav .nav-link {
        font-size: 1.25rem; /* Make links larger */
        padding: 15px 20px; /* Increase padding for easier tapping */
        color: white; /* Ensure readability */
        font-weight: bold; /* Highlight the links */
        text-align: center; /* Center-align text */
    }

    .mobile-nav-container {
        position: fixed; /* Fixed positioning */
        top: 20%; /* Start at the top of the viewport */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Align to the center */
        width: 85%; /* Set width to 80% for spacing on sides */
        height: 60%; /* Take up the top 60% of the viewport */
        background-color: rgba(0, 0, 0, 0.99); /* Semi-transparent black background */
        border-radius: 10px; /* Rounded corners for a cleaner look */
        padding: 15px 0; /* Inner spacing */
        z-index: 1000; /* Ensure visibility */
        justify-content: center; /* Vertically center the navbar */
        align-items: center; /* Horizontally center the navbar */
        transition: all 0.3s ease-in-out;
    }
}


/* ====================== */
/* Footer Styles */
/* ====================== */

/* Ensure footer container gets custom styling */
footer .container {
    padding: 0; /* Remove any default padding from Bootstrap */
    width: 100%; /* Ensure it spans the full width */
    max-width: 100%; /* Override Bootstrap's max-width */
    justify-content: center; /* Vertically center items */
    align-items: center; /* Horizontally center items */
    text-align: center; /* Center text inside the container */
}

/* Footer Styles */
footer {
    background-color: rgba(0, 0, 0, 0.8); /* Footer background color */
    padding: 1rem 0; /* Equivalent to Bootstrap py-3 */
    position: relative;
    width: 100%; /* Ensure it spans the full width */
}

footer .social-links {
    margin: 10px 0; /* Add margin around the social icons */
}

footer .social-links a {
    color: white; /* White color for icons */
    margin: 0 0.5rem; /* Space between icons */
    font-size: 1.5rem; /* Icon size */
    text-decoration: none; /* Remove underline from links */
}

footer .social-links a:hover {
    color: #e46f69; /* Highlight color on hover */
}

footer p {
    margin-top: 0px; /* Space between social links and copyright */
    color: white; /* Ensure copyright text is white */
    text-align: center; /* Center align the copyright text */
    width: 100%; /* Ensure the paragraph spans the full width for proper centering */
}

.footer-email {
    color: white;               /* Matches other icons */
    font-weight: bold;          /* Bold text */
    text-decoration: none;      /* Remove underline */
    font-size: 1rem;            /* Adjust size if needed */
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #e46f69;             /* Highlight color on hover (matches your social links) */
}






/* ====================== */
/* Content Area Styles */
/* ====================== */
.content-home,
.content-full {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-left: 0;
    margin-right: auto;
    justify-content: center; /* Center content vertically */
    padding: 3rem; /* Reduce padding for better spacing */
}

.content-home {
    max-width: 50%;
}

.content-full {
    max-width: 100%;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 991px) {
    .content-home {
        max-width: 100%;
        padding: 3.5rem;
        margin-top: 5vh; /* Adjust margin to reduce space above the container */
    }
}

@media (max-width: 768px) {
    .content-home {
        max-width: 100%;
        padding: 4rem; /* Slightly smaller padding on mobile */
        margin-top: 5vh;
        justify-content: center; /* Center content vertically */
    }
}

