/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #ff6b35;
    --color-primary-dark: #e55a2b;
    --color-secondary: #004e89;
    --color-accent: #ffa500;
    --color-dark: #0a0e27;
    --color-dark-light: #1a1f3a;
    --color-text: #e8e8e8;
    --color-text-light: #b8b8b8;
    --color-snow: #ffffff;
    --color-glow: #ff8c42;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid var(--color-primary);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 0.2rem;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: 2px;
}

.logo-war {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 1px;
}

.logo-z {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 900;
    text-shadow: 0 0 10px var(--color-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('lastshelter_post.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    animation: backgroundMove 20s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes backgroundMove {
    0% {
        transform: scale(1) translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: scale(1.08) translateX(-20px) translateY(-15px) rotate(0.5deg);
    }
    50% {
        transform: scale(1.12) translateX(0) translateY(-10px) rotate(0deg);
    }
    75% {
        transform: scale(1.08) translateX(20px) translateY(-15px) rotate(-0.5deg);
    }
    100% {
        transform: scale(1.1) translateX(15px) translateY(10px) rotate(0deg);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center bottom, rgba(255, 140, 66, 0.15) 0%, transparent 70%),
        rgba(10, 14, 39, 0.65);
    pointer-events: none;
    z-index: 1;
    animation: overlayPulse 6s ease-in-out infinite, overlayMove 15s ease-in-out infinite alternate;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes overlayMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 5% 3%;
    }
}

.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: var(--color-snow);
    font-size: 1em;
    opacity: 0.7;
    animation: fall linear infinite;
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 14s; animation-delay: 2s; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 11s; animation-delay: 0.5s; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 13s; animation-delay: 1.5s; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 15s; animation-delay: 2.5s; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 10s; animation-delay: 0.8s; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 12s; animation-delay: 1.8s; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 14s; animation-delay: 2.2s; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 0.3s; }

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.snowflake::before {
    content: '❄';
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 120px 20px 80px;
}

.snow-container {
    z-index: 2;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.title-line {
    display: block;
    color: var(--color-text);
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
}

.title-z {
    color: var(--color-primary);
    font-size: 1.2em;
    text-shadow: 
        0 0 10px var(--color-primary),
        0 0 20px var(--color-primary),
        0 0 30px var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 
            0 0 10px var(--color-primary),
            0 0 20px var(--color-primary),
            0 0 30px var(--color-primary);
    }
    50% {
        opacity: 0.8;
        text-shadow: 
            0 0 15px var(--color-primary),
            0 0 30px var(--color-primary),
            0 0 45px var(--color-primary);
    }
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 165, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--color-text);
    line-height: 1.8;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.9),
        0 0 5px rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.3rem 3rem;
    font-size: 1.3rem;
}

.shelter-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 40%;
    background: radial-gradient(ellipse at center, rgba(255, 140, 66, 0.3) 0%, transparent 70%);
    pointer-events: none;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--color-dark-light);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--color-primary);
    margin: 1rem auto;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: var(--color-text-light);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.about-text strong {
    color: var(--color-primary);
    font-weight: 700;
}

.about-text .highlight {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: var(--color-accent);
    font-weight: 600;
    font-style: italic;
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--color-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--color-dark-light);
    padding: 2.5rem;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    padding: 120px 20px;
    background: linear-gradient(135deg, var(--color-dark-light) 0%, var(--color-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.cta-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-subtext {
    margin-top: 1.5rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    padding: 3rem 20px;
    background: var(--color-dark);
    border-top: 2px solid var(--color-primary);
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-text {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-war {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-text .highlight {
        padding-left: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

