@charset "utf-8";

:root {
    --primary: #e9e9e9;
    --accent: #26A69A;

    /* Default (Light) */
    --background: #ffffff;
    --text: #000000;
    --container-bg: #e9e9e9;
    --border: #000000;
    --overlay: rgba(0, 0, 0, 0.4);
    --linear-background: linear-gradient(135deg, #ffffff 0%, #c5c5c5 100%);
}

html, body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body.light-mode {
    --background: #ffffff;
    --text: #000000;
    --container-bg: #e9e9e9;
    --border: #000000;
    --overlay: rgba(0, 0, 0, 0.4);
    --linear-background: linear-gradient(135deg, #ffffff 0%, #c5c5c5 100%);
}

body.dark-mode {
    --background: #000000;
    --text: #ffffff;
    --container-bg: #1a1a1a;
    --border: #ffffff;
    --overlay: rgba(0, 0, 0, 0.2);
    --linear-background: linear-gradient(135deg, #3a3a3a 0%, #000000 100%);
}

body {
    margin: 0;
    font-family: 'Inter', 'Noto Sans SC', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.8;
    transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
}

body.dark-mode .header {
    background-color: rgba(0, 0, 0, 0.45);
}

.header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 95%;
    margin: 0 auto;
}

.header a {
    color: var(--text);
    text-align: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header a:hover,
.header a:focus {
    color: var(--accent);
    outline: none;
}

.header a:focus {
    outline: 0.125rem solid var(--accent);
    outline-offset: 0.125rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media screen and (max-width: 768px) {
    .header nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .header a {
        display: block;
        text-align: left;
    }

    .header-right {
        flex-direction: column;
        align-items: flex-start;
    }
}

.main {
    width: 100%;
    margin: 0 auto;
}

.blank {
    height: 4rem;
}

h1 {
    color: var(--text);
    font-size: 2.5rem;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.2;
}

p {
    color: var(--text);
    font-size: 1.25rem;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.5;
}

.container {
    position: relative;
    width: 100%;
    height: 60vh;
}

.contain {
    position: relative;
    width: 100%;
    height: 60vh;
}

.container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container-text {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--overlay);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container-text h1,
.container-text p {
    color: #ffffff;
    text-align: center;
}

.fill {
    width: 75%;
    margin-bottom: 1rem;
}

.explore {
    background: transparent;
    border: 0.1rem solid #ffffff;
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2rem;
}

.explore:hover {
    background-color: #ffffff;
    color: #000000;
}

a {
    text-decoration: none;
}

.opening {
    width: 95%;
    height: 20rem;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    background: var(--linear-background);
    transition: all 0.3s ease;
}

.opening:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0.2rem 0.2rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
}

.opening-left {
    flex: 80%;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.opening-right {
    flex: 20%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 3rem;
}

.opening-right-button {
    background: transparent;
    border: 0.1rem solid var(--background);
    color: var(--background);
    padding: 0.8rem 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.opening-right-button:hover {
    background-color: var(--text);
    color: var(--background);
}

.left-right,
.second-left-right {
    width: 95%;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

.left,
.second-right {
    flex: 30%;
    padding: 3rem;
}

.left {
    padding-right: 5rem;
}

.second-right {
    padding-left: 5rem;
}

.right,
.second-left {
    flex: 70%;
    position: relative;
    overflow: hidden;
}

.right img,
.second-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.left-text,
.second-right-text {
    margin: auto 0;
}

.left-text h1,
.left-text p,
.second-right-text h1,
.second-right-text p {
    text-align: justify;
}

.left-text h1,
.second-right-text h1 {
    font-size: 2rem;
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}

.left-text p,
.second-right-text p {
    font-size: 1.2rem;
}

.highlighted {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 30%;
    height: 0;
    overflow: hidden;
    margin: 0 auto;
}

.video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.foot {
    width: 95%;
    margin: 0 auto;
}

.footer-title {
    text-align: center;
    margin-bottom: 2rem;
}

.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    padding: 3rem;
    gap: 2rem;
}

.footer-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--container-bg);
    transition: all 0.3s ease;
    padding: 2rem;
    box-sizing: border-box;
}

.footer-item:hover {
    background-color: var(--background);
    border: 0.1rem solid var(--border);
    border-radius: 1rem;
    transform: scale(1.05);
    box-shadow: 0.2rem 0.2rem 1rem rgba(0, 0, 0, 0.2);
}

.footer-item-top {
    width: 100%;
    height: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.footer-item-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-item-bottom {
    width: 100%;
    padding-top: 1rem;
}

.footer-item-bottom h1 {
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.footer-item-bottom p {
    font-size: 1rem;
    color: var(--text);
}

.footer-text {
    display: flex;
    text-align: left;
    margin-top: 1rem;
    align-items: flex-start;
    gap: 1rem;
}

.text-left-1,
.text-left-2,
.text-left-3 {
    flex: 0 0 auto;
    max-width: 35%;
    text-align: right;
}

.text-right-1,
.text-right-2,
.text-right-3 {
    flex: 1 1 auto;
    min-width: 0;
}

.back {
    text-align: center;
    padding: 1rem 0;
}

button {
    background: transparent;
    border: 0.1rem solid var(--border);
    color: var(--text);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: var(--text);
    color: var(--background);
}
