/* 
   Stand With Ukraine - Main Stylesheet
   Premium, Clean, Verified.
   Colors: UA Blue (#0057B8), UA Yellow (#FFD700)
*/

:root {
    /* Brand Colors */
    --color-primary: #0057B8;
    --color-primary-dark: #003d80;
    --color-secondary: #FFD700;
    --color-secondary-dark: #e6c200;

    /* Text Colors */
    --color-text-main: #1a1a1a;
    --color-text-light: #555555;
    --color-text-white: #ffffff;

    /* Backgrounds */
    --color-bg-white: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-dark: #111111;
    --color-bg-grey: #e9ecef;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

a {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-text-white);
}

.text-ua-blue {
    color: var(--color-primary);
}

.text-ua-yellow {
    color: var(--color-secondary);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--color-text-light);
    font-size: 1.1rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 87, 184, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background-color: red;
    /* Make it more urgent/noticeable or just white */
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
    background: transparent;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    /* Default transparent header */
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
}

#header.scrolled .logo-text {
    color: var(--color-text-main);
}

#header.scrolled .logo-sub {
    color: var(--color-text-light);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

#header.scrolled .nav-link {
    color: var(--color-text-main);
}

#header.scrolled .nav-link:hover {
    color: var(--color-primary);
}

.donate-header-btn {
    background-color: var(--color-secondary);
    color: var(--color-text-main);
    border: none;
}

.donate-header-btn:hover {
    background-color: var(--color-secondary-dark);
    color: black;
}

.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

#header.scrolled .hamburger {
    color: var(--color-text-main);
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('../assets/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.war-counter {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#days-count {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
}

.counter-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.about-card {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Donation Section */
.donation-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--color-primary);
    color: white;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.donate-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.donate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #28a745;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 25px;
}

.card-body h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    height: 60px;
    /* Fixed height for alignment */
    overflow: hidden;
}

.card-tags {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: var(--color-bg-grey);
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    color: var(--color-text-main);
    font-weight: 500;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--color-bg-light);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.news-text {
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 500;
}

.read-more {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Hashtags */
.hashtags-box {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hashtag {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s;
}

.social-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

.twitter {
    background-color: #1DA1F2;
}

.facebook {
    background-color: #4267B2;
}

.linkedin {
    background-color: #0077b5;
}

.telegram {
    background-color: #0088cc;
}

/* Resources */
.resources-list {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.resource-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s;
}

.resource-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.res-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.res-desc {
    color: #666;
    flex-grow: 1;
    margin: 0 20px;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 80px 0 20px;
    border-top: 5px solid var(--color-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-desc {
    margin-top: 20px;
    color: #aaa;
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
}

.footer-col a {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: white;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 80px 30px;
    gap: 20px;
    transition: 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav-menu,
    .donate-header-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 50px 0;
    }

    .resource-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .res-desc {
        margin: 0;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}