:root {
    --bg: #080808;
    --green: #79ff00;
    --white: #ffffff;
    --gray: #666;
}

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

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    padding: 30px 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.logo { font-weight: 900; line-height: 1; font-size: 1.5rem; }
.logo .green { color: var(--green); }
.logo small { font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 300; }

nav a { color: white; text-decoration: none; margin-left: 25px; font-size: 0.8rem; font-weight: 700; opacity: 0.6; transition: 0.3s; }
nav a.active, nav a:hover { opacity: 1; color: var(--green); }

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden; /* Clips the carousel at the edges */
}

/* Carousel Logic */
.carousel-area {
    position: absolute;
    left: 3%;
    top: -10%;
    width: 60%;
    height: 120%;
    transform: rotate(10deg); /* 10 degree angle to the right */
    z-index: 1;
}

.carousel-wrapper {
    display: flex;
    gap: 30px;
    height: 100%;
}

.track {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card {
    width: 400px; /* Base size */
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    flex-shrink: 0;
}

/* Infinite Scroll Animations */
.track-up { animation: scrollUp 25s linear infinite; }
.track-down { animation: scrollDown 25s linear infinite; }

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Halfway because we doubled the HTML content */
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Hero Content (Right) */
.hero-content {
    position: relative;
    z-index: 10;
    margin-left: auto;
    width: 50%;
    padding-right: 15%;
}

.headline h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.85; font-weight: 900; margin: 0; }
.headline .thin { font-weight: 200; font-style: italic; }
.green-it { color: var(--green); font-style: italic; font-size: 2.5rem; }

.hero-main-img {
    width: 100%;
    max-width: 500px;
    margin-top: 30px;
    position: relative;
}

.hero-main-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.abstract-graphic {
    position: absolute;
    bottom: -60px;
    right: -100px;
    font-size: 18rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    z-index: 1;
    opacity: 0.8;
}

.caption { margin-top: 15px; color: var(--gray); font-size: 0.9rem; }

/* Intro */
.intro-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 5%;
    flex-wrap: wrap;
    gap: 40px;
}

.intro-text h2 { font-size: clamp(1.5rem, 4vw, 2.8rem); max-width: 800px; font-weight: 400; line-height: 1.2; }

.rotating-badge {
    width: 180px;
    height: 180px;
    position: relative;
}

.rotating-badge svg {
    animation: rotate 10s linear infinite;
}

.x-inner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 900;
    color: var(--green);
}

@keyframes rotate { to { transform: rotate(360deg); } }

/* Clients Section */
.clients {
    padding: 60px 0;
    background: #000;
    border-top: 1px solid #111;
    overflow: hidden;
}

.client-track {
    display: flex;
    justify-content: space-around;
    font-weight: 800;
    color: #333;
    font-size: 1.5rem;
}

/* Services */
.services { padding: 100px 5%; }
.section-header h3 { font-size: 3rem; margin-bottom: 50px; text-transform: uppercase; }
.section-header span { display: block; font-size: 1rem; color: var(--gray); font-style: italic; font-weight: 400; text-transform: none; }

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

.s-card {
    height: 500px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.overlay h4 { font-size: 1.8rem; line-height: 1; }
.overlay span { display: block; font-weight: 200; font-size: 1.2rem; font-style: italic; }

/* Footer */
footer {
    padding: 100px 5% 50px;
    background: #000;
    border-top: 1px solid #111;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.footer-col h4 { margin-bottom: 20px; color: var(--green); text-transform: uppercase; font-size: 0.9rem; }
.footer-col a { display: block; color: var(--white); text-decoration: none; margin-bottom: 10px; opacity: 0.6; }
.footer-col p { opacity: 0.6; line-height: 1.6; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #111;
    padding-top: 30px;
    font-size: 0.8rem;
    color: var(--gray);
}

/* RESPONSIVENESS */
@media (max-width: 1200px) {
    .card { width: 300px; height: 400px; }
    .hero-content { width: 60%; }
}

@media (max-width: 992px) {
    .hero { flex-direction: column; height: auto; padding: 150px 5%; }
    .carousel-area { position: relative; width: 120%; left: -10%; height: 500px; transform: rotate(5deg); margin-bottom: 50px; }
    .hero-content { width: 100%; padding: 0; text-align: center; }
    .hero-main-img { margin: 30px auto; }
}

@media (max-width: 600px) {
    .card { width: 220px; height: 300px; }
    .headline h1 { font-size: 3.5rem; }
}

.page-header { 
    padding: 180px 5% 50px; /* Increased top padding to clear absolute header */
    text-align: center; 
}
.photo-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    grid-auto-rows: 350px; 
    gap: 20px; 
    padding: 0 5% 100px; 
}

/* Fix for videos and contact too */
.video-hero { margin-top: 0; }
.contact-container { padding-top: 180px; }


.page-header { padding: 150px 5% 50px; text-align: center; }
.outline-text { font-size: 8vw; font-weight: 900; -webkit-text-stroke: 1px var(--green); color: transparent; text-transform: uppercase; }
.filter-bar { margin-top: 20px; }
.filter-bar a { color: white; text-decoration: none; margin: 0 15px; font-weight: 700; font-size: 0.9rem; opacity: 0.5; }
.filter-bar a.active { opacity: 1; color: var(--green); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 300px; gap: 15px; padding: 0 5% 100px; }
.photo-item { background-size: cover; background-position: center; border-radius: 10px; transition: 0.5s; cursor: pointer; }
.photo-item:hover { transform: scale(0.98); filter: brightness(1.2); }
.photo-item.tall { grid-row: span 2; }
.photo-item.wide { grid-column: span 2; }

@media (max-width: 768px) { .photo-item.wide { grid-column: span 1; } }



.video-hero { height: 70vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.v-hero-content { z-index: 10; text-align: center; }
.v-hero-content h1 { font-size: clamp(2rem, 5vw, 5rem); font-weight: 900; }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; padding: 100px 5%; }
.video-card h4 { margin-top: 20px; font-size: 1.2rem; }
.video-card h4 span { color: var(--green); font-style: italic; font-weight: 300; font-size: 1rem; margin-left: 10px; }
.thumb { height: 250px; background-size: cover; background-position: center; border-radius: 15px; position: relative; display: flex; align-items: center; justify-content: center; }
.play-btn { width: 60px; height: 60px; background: var(--green); color: black; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: 0.3s; opacity: 0; }
.thumb:hover .play-btn { opacity: 1; transform: scale(1.1); cursor: pointer; }



.contact-container { padding: 180px 5% 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-info h1 { font-size: 2rem; margin-bottom: 10px; }
.contact-info h2 { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 30px; }
.contact-details { margin-top: 50px; }
.detail { margin-bottom: 25px; }
.detail span { color: var(--green); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; }
.detail p { font-size: 1.2rem; font-weight: 700; margin-top: 5px; }

form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; gap: 20px; }
input, select, textarea { 
    background: #111; border: 1px solid #222; padding: 20px; color: white; 
    font-family: inherit; border-radius: 5px; width: 100%;
}
input:focus, textarea:focus { border-color: var(--green); outline: none; }
.btn-send { 
    background: var(--green); color: black; border: none; padding: 20px; 
    font-weight: 900; cursor: pointer; transition: 0.3s; 
}
.btn-send:hover { letter-spacing: 2px; background: white; }

@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; padding-top: 120px; }
    .contact-info h2 { font-size: 2.5rem; }
}