:root {
    --primary-green: #1b4d3e;
    /* Deep Forest Green */
    --accent-green: #2c6e58;
    --text-white: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --font-main: 'Noto Sans KR', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    transform: translateX(-100%);
}

.logo img {
    height: 200px;
    width: auto;
    transition: height 0.3s ease;
}

header.scrolled .logo img {
    height: 120px;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-white);
    /* Default white on transparent header */
    transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

header.scrolled nav a {
    color: var(--primary-green);
    text-shadow: none;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* If it was a video, this ensures it covers the area */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Darken for text readability */
}

.hero-content {
    z-index: 1;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-block {
    text-align: center;
}

.text-block h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.text-block p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Green Solution Section */
.bg-green {
    background-color: var(--primary-green);
}

.bg-green h2 {
    color: var(--text-white);
}

.bg-green p {
    color: rgba(255, 255, 255, 0.8);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

/* Contact */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background-color: var(--primary-green);
    color: var(--text-white);
    font-size: 1.1rem;
    border-radius: 50px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: var(--accent-green);
}

/* Footer */
footer {
    background-color: #113329;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 40px 0;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
        /* Simple mobile hide for now */
    }
}