/* Global Styles - Shared across all pages */

/* Internet Font */
@font-face {
    font-family: 'Internet';
    src: url('../fonts/LT Internet 400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Internet';
    src: url('../fonts/LT Internet Bold 700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Internet', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Language Switch Styles */
.lang-switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #155d52;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #71118c;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Navigation Styles */
.navbar {
    background-color: #34495e;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar-logo {
    height: 70px;
    width: auto;
    position: absolute;
    left: 0rem;
}

.navbar-links {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.navbar a:hover {
    background-color: #2c3e50;
}

/* Page Banner/Header Styles */
.page-header,
.blog-header,
.about-header,
.donation-header {
    background: linear-gradient(to right, #f7ae6b, #61c4db);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-header h1,
.blog-header h1,
.about-header h1,
.donation-header h1 {
    margin: 0 0 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 300;
}

.page-header p,
.about-header p,
.donation-header p {
    margin: 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer Styles */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    width: 100%;
    margin-top: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.social-link:hover {
    color: #3498db;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.social-text {
    font-size: 1rem;
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: center;
        gap: 0rem;
    }

    .navbar-logo {
        position: static;
        margin-bottom: 0rem;
    }

    .navbar-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .page-header h1,
    .blog-header h1,
    .about-header h1,
    .donation-header h1 {
        font-size: 2rem;
    }
}
