@font-face {
    font-family: 'Yeseva One';
    src: url('/fonts/yeseva-one/yeseva-one-latin-ext.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Yeseva One';
    src: url('/fonts/yeseva-one/yeseva-one-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #333;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.top-bar {
    color: #aaabaf !important;
    background-color: #25283a;
    height: 55px;
    padding: 0;
}

.top-bar-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 0 280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 55px;
    color: #aaabaf;
}

.top-bar-social span {
    margin-right: 10px;
}

.top-bar-social a {
    color: #aaabaf;
    margin-right: 10px;
    text-decoration: none;
}

.top-bar-social a:hover {
    color: #59A9EA;
}

.top-bar-contact a {
    color: #aaabaf;
    text-decoration: none;
    margin-left: 20px;
}

.top-bar-contact a:hover {
    color: #59A9EA;
}

.top-bar-contact i {
    margin-right: 0.5rem;
    font-size: 1.625rem;
    vertical-align: middle;
}

.top-bar-contact .fa-whatsapp {
    color: #25D366;
}

.top-bar-contact a:has(.fa-whatsapp):hover {
    color: #25D366;
}

.top-bar-contact .fa-envelope {
    color: #59A9EA;
}

.main-header {
    position: relative;
    width: 100%;
    z-index: 100;
    pointer-events: none;
}

.main-header * {
    pointer-events: auto;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    pointer-events: none;
}

.header-container * {
    pointer-events: auto;
}

.logo-box {
    position: absolute;
    float: left;
    left: 0;
    top: 0;
    width: 230px;
    height: 230px;
    z-index: 101;
}

.logo {
    position: relative;
    display: block;
    padding: 30px 35px 20px;
    text-align: center;
    border-radius: 0 0 20px;
    background-color: #59A9EA;
}

.logo img {
    position: relative;
    z-index: 1;
}

.logo-small {
    display: none;
}

.logo::before {
    position: absolute;
    right: 3px;
    top: 102%;
    margin-top: -50px;
    height: 60px;
    width: 100%;
    content: "";
    background-color: #59A9EA;
    transform: rotate(-8deg);
    border-radius: 20px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 30px 0;
    margin-left: 40px;
    max-width: 1400px;
    width: 100%;
    height: 120px;
}

.mobile-social {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 12px;
    cursor: pointer;
}

.nav-toggle-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: #59A9EA;
    position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #59A9EA;
    left: 0;
}

.nav-toggle-icon::before {
    top: -6px;
}

.nav-toggle-icon::after {
    top: 6px;
}


.nav-close,
.nav-footer {
    display: none;
}

.nav-menu {
    gap: 70px;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 25px;
}

.nav-links li a {
    color: rgba(37, 40, 58, 0.9);
    text-decoration: none;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #59A9EA !important;
}

.lang-dropdown {
    position: relative;
    margin-left: auto;
}

.lang-toggle {
    background: rgba(37,40,58,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37,40,58,0.15);
    color: #333;
    padding: 0.625rem 1.125rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-toggle:hover {
    background: rgba(37,40,58,0.12);
    border-color: rgba(37,40,58,0.25);
    transform: translateY(-1px);
}

.lang-toggle .fi {
    font-size: 1.125rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lang-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(37,40,58,0.5);
    border-bottom: 2px solid rgba(37,40,58,0.5);
    transform: rotate(45deg);
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.lang-dropdown:hover .lang-toggle::after {
    transform: rotate(-135deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    list-style: none;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 10px rgba(0,0,0,0.08);
    min-width: 320px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.lang-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-menu li a:hover {
    background: linear-gradient(135deg, rgba(89,169,234,0.1), rgba(89,169,234,0.05));
    color: #59A9EA;
    transform: translateX(4px);
}

.lang-menu .fi {
    font-size: 1.25rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn-donate {
    background-color: #59A9EA;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
}

.btn-donate:hover {
    background-color: #4a94d1;
    color: #fff;
}

/* Footer */
.site-footer {
    background-color: #25283a;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 250px;
    height: auto;
    aspect-ratio: 250 / 63;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background: #f9a826;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #f9a826;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '›';
    margin-right: 8px;
    color: #f9a826;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: #f9a826;
    font-size: 1rem;
    margin-top: 4px;
    width: 16px;
}

.footer-contact span,
.footer-contact a {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Media Queries */
@media (max-width: 1200px) {
    .top-bar-inner {
        padding-left: 250px;
    }

    .main-nav {
        margin-left: 210px;
    }

    .nav-links li {
        margin-right: 15px;
    }

    .nav-links li a {
        font-size: 0.875rem;
    }

    .btn-donate {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 1024px) {
    .logo-box {
        width: 180px;
        height: 180px;
        left: 15px;
    }

    .logo img {
        width: 160px;
        height: auto;
    }

    .top-bar-inner {
        padding-left: 260px;
    }

    .top-bar-social a {
        margin-right: 30px;
    }

    .main-nav {
        margin-left: 0;
        max-width: 1024px;
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .top-bar-social {
        display: none;
    }

    .top-bar-contact {
        gap: 25px;
        display: flex;
    }

    .top-bar-contact a.contact-email {
        font-size: 0;
    }

    .top-bar-contact a.contact-email i {
        font-size: 1.375rem;
    }

    .mobile-social {
        display: flex;
        gap: 15px;
        margin-right: 20px;
    }

    .mobile-social a {
        color: #333;
        font-size: 1.125rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #25283a;
        display: flex;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 9999;
    }

    .menu-open .nav-links {
        right: 0;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links li a {
        display: block;
        padding: 18px 0;
        font-size: 1.1rem;
        color: #fff;
    }

    .menu-open {
        overflow: hidden;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.3);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .menu-open .menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    .lang-dropdown {
        display: block;
    }

    .menu-open .main-header {
        z-index: 10000;
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 25px;
        background: none;
        border: none;
        font-size: 1.75rem;
        color: #59A9EA;
        cursor: pointer;
    }

    .nav-footer {
        display: block;
        margin-top: auto;
        padding-top: 30px;
    }

    .nav-social {
        display: flex;
        gap: 30px;
        margin-bottom: 20px;
        justify-content: center;
    }

    .nav-social a {
        color: #fff;
        font-size: 1.75rem;
    }

    .nav-donate {
        display: block;
        background: #59A9EA;
        color: #fff !important;
        padding: 15px 30px;
        border-radius: 30px;
        text-align: center;
    }

    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: span 2;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .top-bar-inner {
        padding-left: 15px;
    }

    .logo-box {
        position: static;
        width: auto;
        height: auto;
    }

    .logo {
        padding: 5px 0;
        background: none;
        border-radius: 0;
    }

    .logo::before {
        display: none;
    }

    .logo-full {
        display: none;
    }

    .logo-small {
        display: block;
        width: 180px;
        height: auto;
    }

    .top-bar-contact a {
        font-size: 0;
        margin-left: 0;
    }

    .top-bar-contact i {
        font-size: 1.375rem;
    }

    .top-bar-contact {
        gap: 20px;
    }

    .lang-dropdown {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px 15px;
    }

    .footer-about {
        grid-column: span 2;
    }

    .footer-contact {
        grid-column: span 2;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 0;
        transform: none;
    }
}

@media (max-width: 320px) {
    .footer-main {
        padding: 30px 0 20px;
    }

    .footer-container {
        padding: 0 15px;
        gap: 25px;
    }

    .footer-logo img {
        width: 95%;
    }

    .footer-about p {
        font-size: 0.9rem;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}
