/* RESET & VARIABLES */
:root {
    --primary-red: #e60000;
    --dark-bg: #111111;
    --darker-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.red { color: var(--primary-red); }

h1 { font-size: 4rem; text-transform: uppercase; letter-spacing: 2px; line-height: 1.1; }
h2 { font-size: 3rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 6rem 0; }
.bg-darker { background-color: var(--darker-bg); }
.text-center { text-align: center; margin-bottom: 3rem;}
.py-0 { padding-top: 6rem; padding-bottom: 0;}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-red);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--primary-red);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(230, 0, 0, 0.4);
    background-color: #ff0a0a;
}

.btn-outline {
    background-color: transparent;
}
.btn-outline:hover {
    background-color: var(--primary-red);
    color: white;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.5s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a.btn { margin-left: 1rem; }
.nav-links a:hover:not(.btn) { color: var(--primary-red); }

.hamburger { display: none; cursor: pointer; }
.bar {
    display: block; width: 25px; height: 3px;
    margin: 5px auto; background-color: white;
    transition: all 0.3s ease;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17,17,17,0.3) 0%, var(--dark-bg) 100%);
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.subtitle {
    font-size: 1.25rem; font-weight: 500;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--text-muted);
    margin: 1rem 0;
}

.slogan {
    font-family: 'Brush Script MT', cursive, "Outfit";
    font-weight: 400; color: var(--primary-red);
    font-size: 3rem; transform: rotate(-5deg);
    margin-bottom: 2.5rem;
}

/* LAYOUT: SPLIT */
.layout-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ABOUT SECTION */
.role-badge {
    display: inline-block;
    background: rgba(230,0,0,0.1);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(230,0,0,0.3);
}

.experience-list {
    list-style: none;
    margin-top: 2rem;
}

.experience-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--primary-red);
}

.experience-list strong {
    display: block; font-family: var(--font-heading);
    color: white; font-size: 1.1rem;
}

.experience-list span { color: var(--text-muted); font-size: 0.9rem;}

.image-frame {
    position: relative;
    border-radius: 8px;
    padding: 1rem;
}
.image-frame::before {
    content: ''; position: absolute;
    top: -10px; right: -10px;
    width: 60%; height: 60%;
    border-top: 4px solid var(--primary-red);
    border-right: 4px solid var(--primary-red);
    border-radius: 0 8px 0 0;
    z-index: 1;
}

.image-frame img {
    opacity: 0;
    clip-path: inset(10% 0 10% 0);
    transform: scale(1.1);
    transition: opacity 1.2s ease, clip-path 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s; /* Give it a slight delay upon entering view */
}

.in-view .image-frame img {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
}

.abstract-portrait {
    width: 100%; aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(230,0,0,0.1) 100%);
    border-radius: 8px; display: flex;
    justify-content: center; align-items: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.abstract-portrait span {
    font-family: var(--font-heading); font-size: 8rem;
    font-weight: 800; color: rgba(255,255,255,0.05);
}

/* SERVICES */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255,255,255,0.03);
}

.service-card:hover { 
    border-color: rgba(230,0,0,0.5); 
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(230,0,0,0.15);
}

.card-img {
    width: 100%; height: 200px;
    overflow: hidden;
    position: relative;
}
.card-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--card-bg) 0%, transparent 50%);
    opacity: 0.8;
}
.card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .card-img img { transform: scale(1.1); }

.card-content { padding: 2rem; }
.card-content.centered-only { height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: center; border: 2px dashed rgba(255,255,255,0.1);}
.card-content p { color: var(--text-muted); font-size: 0.95rem; }

.service-card.red-theme { background: var(--primary-red); }
.service-card.red-theme .card-content p { color: rgba(255,255,255,0.9); }
.service-card.red-theme h3 { color: white; }

/* MARQUEE / TARGET CLIENTS */
.marquee-track {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-items {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    padding-right: 2rem;
}

.pill {
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.client-card {
    min-width: 280px;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.client-card::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
    transition: background 0.3s;
}

.client-card:hover::after {
    background: rgba(230, 0, 0, 0.5);
}

.client-card text, .client-card span {
    position: relative; z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem; font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* FOOTER */
.footer {
    background-color: var(--card-bg);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 4rem;
}

.footer-info h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.footer-info p { color: var(--text-muted); margin-bottom: 2rem; }

.footer-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item { display: flex; gap: 1rem; align-items: flex-start;}
.detail-item .icon { font-size: 1.5rem; }
.detail-item p { color: var(--text-muted); }

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    background: var(--darker-bg);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ANIMATIONS & RESPONSIVE */
.hidden { opacity: 0; }
.in-view {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-up { opacity: 0; animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.3rem; }
    .layout-split { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content { padding: 0 1rem; }
    .section { padding: 4rem 1rem; }
    
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        left: -100%; top: 72px;
        flex-direction: column;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(15px);
        width: 100%; text-align: center;
        transition: 0.3s; padding: 2rem 0;
        border-bottom: 2px solid var(--primary-red);
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 1.5rem 0; }
    .nav-links a.btn { margin: 0; }

    /* Adjust image frames for mobile */
    .image-frame { padding: 0; margin-top: 1rem; }
    .image-frame::before { display: none; }
    
    /* Footer stacking */
    .footer-layout { flex-direction: column; text-align: center; }
    .detail-item { justify-content: center; text-align: left; }
}
