/* --- 1. BASE STYLES --- */
body {
    background-color: #ffffff;
    color: #111111;
    font-family: 'TT Rounds Neue Trl Cnd', "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 2. HEADER & NAV --- */
header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e1e4e8;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    display: block;
}

nav a {
    color: #000;
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3dbcb8;
}

/* --- 3. HERO SECTION --- */
.hero-wrapper {
    background-color: #f6f5f8; 
    width: 100%;
}

.hero {
    padding: 100px 0;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 70px;
}

.hero-video {
    flex: 1.2;
}

.hero-video video {
    width: 100%;
    border-radius: 35px;
    display: block;
}

.hero-text {
    flex: 1;
}

.hero-text h1, .vfx-text {
    font-family: 'TT Rounds Neue Trl Cnd', sans-serif;
    font-weight: 300;
    display: inline-block; 
    transform: scaleY(0.95); 
    transform-origin: bottom left;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.0; 
    color: #111;
    margin: 0;
    letter-spacing: -0.02em; 
}

.vfx-text {
    font-size: 2.8rem;
    color: #333;
    margin-top: 5px;
}

/* --- 4. PROJECTS GRID (HOME) --- */
.projects-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.section-title {
    font-family: 'TT Rounds Neue Trl Cnd', sans-serif;
    font-size: 3rem; 
    font-weight: 200;  
    text-transform: uppercase;
    letter-spacing: 0.15em; 
    margin-bottom: 50px;   
    color: #111;           
    display: inline-block;
    transform: scaleY(0.95);
    transform-origin: bottom left;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
}

.project-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-link h3 {
    font-family: 'TT Rounds Neue Trl Cnd', sans-serif;
    margin: 25px 0 8px 0;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    display: block;
    transition: color 0.3s ease;
}

.btn {
    display: inline-block;
    color: #999;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    margin-top: 5px;
}

.project-card:hover img { transform: scale(1.02); }
.project-card:hover h3, .btn:hover { color: #3dbcb8; }

/* --- 5. PROJECT DETAIL PAGES --- */
.project-detail {
    padding: 80px 0;
}

.project-hero-image {
    width: 100%;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 20px;
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-media {
    margin: 60px 0;
    width: 100%;
}

.project-media video, .project-media img {
    width: 100%;
    border-radius: 20px;
    display: block;
    mix-blend-mode: normal !important; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Info Grid */
.project-info {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 30px;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.info-block h4 {
    font-family: 'TT Rounds Neue Trl Cnd', sans-serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 10px;
}

.info-block p { font-size: 1.1rem; font-weight: 400; }
.info-desc p { font-size: 1.2rem; line-height: 1.6; color: #444; }

/* In-Grid Credits */
.info-credits {
    grid-column: 1 / 3;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.info-credits p {
    font-family: 'TT Rounds Neue Trl Cnd', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: #999;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.info-credits a { color: #888; text-decoration: none; transition: color 0.3s ease; }
.info-credits a:hover { color: #3dbcb8; }

/* --- 6. CONTACT & FOOTER --- */
#contact {
    background-color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid #f2f2f2;
}

.contact-box {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 700;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    font-family: 'TT Rounds Neue Trl Cnd', sans-serif;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: 'TT Rounds Neue Trl Cnd', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #3dbcb8;
    transform: translateY(-2px);
}

footer {
    padding: 60px;
    text-align: center;
    color: #ccc;
    font-size: 0.8rem;
}

/* --- 7. MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .hero-split { flex-direction: column; text-align: center; }
    .hero-text h1, .vfx-text { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .container { padding: 0 20px; }
    .project-info { grid-template-columns: 1fr; }
    .info-credits { grid-column: 1; }
}