/* style.css */
body {
    margin: 0;
    font-family: 'dejavu-serif', sans-serif;
    scroll-behavior: smooth;
    background: #fffae9;
}

#site-header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    z-index: 1000;
    background: #fffae9b6;
    font-family: "VendSand", sans-serif;
}

#site-header.scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}

#logo-text {
    max-height: 70px;
}

.logo-container img {
    max-height: 80px;
    width: auto;
    transition: max-height 0.3s ease;
}

#site-header.scrolled .logo-container img {
    max-height: 30px; 
}

#logo-text.scrolled {
    max-height: 26.2px;
}

#site-header.scrolled #logo {
    height: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #1e5255;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1.2em;
}

nav a:hover {
    color: #288a82;
}

#splash {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fffae9;
}

.splash-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

#splash::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#splash-header {
    position: relative;
    font-size: 1.5rem;
    text-align: center;
    z-index: 2;
    margin: 0;
}

#splash-text {
    position: relative;
    font-size: 3rem;
    text-align: center;
    z-index: 2;
    animation: fadeInOut 7s ease-in-out infinite;
    margin: 0;
}

.scroll-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    animation: arrowBob 2.4s ease-in-out infinite;
}

.scroll-arrow span {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2.5px solid #fffae9;
    border-bottom: 2.5px solid #fffae9;
    transform: rotate(45deg);
}

.scroll-arrow span:nth-child(1) {
    animation: arrowFade 2.4s ease-in-out infinite 0s;
}

.scroll-arrow span:nth-child(2) {
    animation: arrowFade 2.4s ease-in-out infinite 0.3s;
}

@keyframes arrowBob {
    0%, 100% { transform: translateX(-50%) translateY(0);   }
    50%       { transform: translateX(-50%) translateY(9px); }
}

@keyframes arrowFade {
    0%, 100% { opacity: 0.25; }
    50%       { opacity: 0.9;  }
}

@keyframes fadeInOut {
    0%, 5%   { opacity: 0; }
    15%, 85% { opacity: 1; }
    95%, 100%{ opacity: 0; }
}

main {
    color: #1e5255;
}

h2 {
    font-family: "VendSand", sans-serif;
    font-size: 2em;
}

section:not(#splash) {
    padding: 40px 0; 
    min-height: 40vh;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

section.bg-main { background: #fffae9; }
section.bg-blue  { background: #1e52552d; }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.section-divider {
    border: none;
    border-top: 1px solid #1e525594;
    margin: 60px 0px;
}

.section-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.section-columns-inv {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.section-inner p {
    font-size: 1.1em;
}

.section-inner .small {
    font-size: 1em;
    font-style: italic;
}

.bold {
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    background: #1e5255;
    color: #fffae9;
    font-family: "VendSand", sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: #288a82;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

.col-aside {
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-aside img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.185);
}

.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact-button p {
    font-family: "VendSand", sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 2px;
}

.contact-buttons button {
    width: 100%;
    height: 100%;
    max-height: 60px;
    font-family: 'dejavu-serif', sans-serif;
    margin: 10px;
}

footer {
    background: #1e5255;
    color: #fffae9dc;
    padding: 20px 20px;
    text-align: center;
    font-size: 0.8em;
    font-weight: 400;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

footer p {
    margin: 10px;
    padding: 0;
}

.low-focus {
    color: #fffae9bb;
}

footer a {
    color: #fffae9dc;
}

footer a:hover {
    color:#fffae9;
}

/* Scrollbar */
::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
}

/* Mobile Styling */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5.5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #1e5255;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1040;
}

.nav-backdrop.open { display: block; }

@media (max-width: 768px) {

    #site-header       { padding: 14px 20px; }
    #site-header.scrolled { padding: 10px 20px; }

    .nav-toggle { display: flex; }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 72%;
        max-width: 300px;
        height: 100vh;
        background: #fffae9f5;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.35s ease;
        z-index: 1050;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.13);
    }

    nav.open { right: 0; }

    nav ul {
        flex-direction: column;
        gap: 36px;
        text-align: center;
    }

    nav a { font-size: 1.4em; }

    #splash-header { font-size: 1.1rem; padding: 0 20px; }
    #splash-text   { font-size: 2rem;   padding: 0 20px; }

    .section-inner { padding: 0 20px; }

    .section-columns,
    .section-columns-inv {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-columns-inv > *:first-child { order: 0; }
    .section-columns-inv .col-aside       { order: 1; }

    .col-aside {
        justify-content: center;
    }

    .col-aside img {
        width: 65%;
        max-width: 280px;
        height: auto;
        max-height: unset;
        aspect-ratio: 3 / 4;
        object-fit: cover;
    }

    .contact-buttons {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    h2 { font-size: 1.65em; }

    .logo-container img { max-height: 58px; }
    #logo-text          { max-height: 48px; }
    }


    @media (max-width: 480px) {
    #splash-text   { font-size: 1.6rem; }
    #splash-header { font-size: 1rem; }

    .btn-primary {
        font-size: 1em;
        padding: 12px 22px;
    }

    section:not(#splash) { min-height: unset; }
}
