@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');

:root {
    --bg-dark: #121212;
    --bg-surface: #1e1e1e;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --green-light: #82d275;
    --green-dark: #388e3c;
    --green-gradient: linear-gradient(135deg, var(--green-light), var(--green-dark));
}

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

body {
    font-family: 'ACME Gothic', 'Acme', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

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

main {
    padding-top: 100px;
    min-height: calc(100vh - 80px);
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at center, #1e3320 0%, var(--bg-dark) 70%);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: var(--green-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--green-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 142, 60, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-surface);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--green-light);
}

.card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    background-color: #000;
    cursor: pointer;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover img {
    opacity: 0.7;
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-button::after {
    content: '';
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.video-container:hover .play-button {
    transform: scale(1.1);
    background-color: #ff0000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.feature-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-image img {
    width: 100%;
    position: relative;
    z-index: 2;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--green-light);
}

.feature-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-surface);
    border: 1px solid #333;
    color: var(--text-main);
    border-radius: 5px;
    font-family: 'ACME Gothic', 'Acme', sans-serif;
    font-size: 1.1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--green-light);
}

footer {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-surface);
    border-top: 1px solid #333;
    margin-top: auto;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hidden.slide-left {
    transform: translateX(-100px);
}

.hidden.slide-right {
    transform: translateX(100px);
}

.hidden.show {
    opacity: 1;
    transform: translate(0, 0);
}

.paintbrush-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160%;
    height: 80%;
    z-index: 0;
    filter: blur(40px);
    border-radius: 100px;
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease-out;
}

.slide-left.paintbrush-bg::before {
    transform-origin: left center;
}

.slide-right.paintbrush-bg::before {
    transform-origin: right center;
}

.show.paintbrush-bg::before {
    opacity: 0.4;
    transform: translate(-50%, -50%) scaleX(1);
}

.paintbrush-green::before {
    background-color: #91FF82;
}

.paintbrush-orange::before {
    background-color: #FDA86B;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #333;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    border-color: var(--green-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border: 2px solid #333;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-family: sans-serif;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--green-light);
}

@media (max-width: 768px) {
    .feature-section, .feature-section.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-image {
        flex: auto;
        max-width: 50%;
        margin: 0 auto 20px auto;
    }
    
    .feature-text h2 {
        font-size: 2rem;
    }
}