/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Winter Theme Variables */
:root {
    --color-bg: #070b14;
    --color-bg-alt: #0a1020;
    --color-text: #f0f6ff;
    --color-text-muted: #94a3b8;
    --color-accent: #7dd3fc;
    --color-accent-2: #a5f3fc;
    --color-accent-hover: #bae6fd;
    --color-border: #1e293b;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1100px;
    --gradient: linear-gradient(135deg, #7dd3fc 0%, #a5f3fc 50%, #f0f9ff 100%);
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent-hover);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(125, 211, 252, 0.1);
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-text);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero with Mountain Background */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: url('../img/mountain-hero.png') center bottom / cover no-repeat;
    background-color: var(--color-bg);
}

/* Gradient overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 11, 20, 0.4) 0%,
        rgba(7, 11, 20, 0.2) 40%,
        rgba(7, 11, 20, 0.3) 70%,
        rgba(7, 11, 20, 0.8) 100%
    );
    pointer-events: none;
}

.hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 60px rgba(125, 211, 252, 0.4), 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero .tagline {
    position: relative;
    z-index: 1;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero .location {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Snow Canvas */
#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

/* Sections */
.section {
    padding: 7rem 0;
    position: relative;
    background: var(--color-bg);
}

.section-alt {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
    max-width: 600px;
}

/* About */
.about-content {
    max-width: 700px;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.9;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Ventures - Frosted Glass */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.venture-card {
    background: rgba(125, 211, 252, 0.03);
    border: 1px solid rgba(125, 211, 252, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.venture-card:hover {
    border-color: rgba(125, 211, 252, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(125, 211, 252, 0.1);
}

.venture-card:hover::before {
    opacity: 1;
}

.venture-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.venture-type {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.venture-card > p:not(.venture-type) {
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.75;
}

.venture-highlights {
    list-style: none;
}

.venture-highlights li {
    color: var(--color-text-muted);
    padding: 0.6rem 0;
    border-top: 1px solid rgba(125, 211, 252, 0.08);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.venture-highlights li::before {
    content: '→';
    color: var(--color-accent);
    font-weight: 600;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(125, 211, 252, 0.02);
    border: 1px solid rgba(125, 211, 252, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.project-card:hover {
    border-color: rgba(125, 211, 252, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.project-card:hover::after {
    opacity: 0.05;
}

.project-card h4,
.project-card p {
    position: relative;
    z-index: 1;
}

.project-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.project-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Featured project cards */
.project-card-featured {
    border-color: rgba(125, 211, 252, 0.15);
}

.project-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    z-index: 1;
}

/* Contact */
#contact {
    text-align: center;
}

#contact .container {
    max-width: 600px;
}

#contact h2 {
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.contact-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--color-bg);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(125, 211, 252, 0.3);
}

.contact-btn:hover {
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(125, 211, 252, 0.5);
}

/* Footer */
footer {
    padding: 2.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(125, 211, 252, 0.08);
    background: var(--color-bg);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        background-position: center center;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .section {
        padding: 5rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .ventures-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .venture-card,
    .project-card {
        padding: 1.75rem;
    }
}
