/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #111827;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.brand-gradient-text {
    background: linear-gradient(to right, #2dd4bf, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NAVBAR (STICKY & VISIBLE) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    /* Highest layer */

    /* Glassmorphism Effect */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    /* Animation */
    opacity: 0;
    animation: fadeInSimple 1s ease-out forwards;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -1px;
}

.navbar-contact {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    border: 2px solid #000;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s;
}

.navbar-contact:hover {
    background: #000;
    color: #fff;
}

/* --- HERO SECTION --- */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
}

/* Background Layers */
.gradient-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #2dd4bf 0%, #f97316 100%);
    clip-path: polygon(0 0, 56% 0, 46% 100%, 0 100%);
    z-index: 1;
    transform: translateX(-100%);
    animation: slideInStrip 1.5s ease-out forwards;
    animation-delay: 0.2s;
}

.black-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    clip-path: polygon(0 0, 53% 0, 43% 100%, 0 100%);
    z-index: 2;
    transform: translateX(-100%);
    animation: slideInBlack 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
}

/* Text DEEP WHY */
.text-layer {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
}

.text-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
    opacity: 0;
    animation: fadeText 1s ease-out forwards;
}

.text-left .hero-title {
    color: #fff;
    padding-right: 10%;
    animation-delay: 1.5s;
}

.text-right .hero-title {
    color: #000;
    padding-left: 10%;
    animation-delay: 1.8s;
}

/* --- NEW SCROLL INDICATOR --- */
.scroll-wrapper {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;

    opacity: 0;
    animation: fadeText 1s ease-out forwards;
    animation-delay: 2.5s;
}

.scroll-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4b5563;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
}

/* The Mouse Animation */
.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #000;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

@keyframes slideInStrip {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideInBlack {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes fadeText {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSimple {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* --- CONTENT SECTIONS --- */
.content-wrapper {
    position: relative;
    background: white;
    z-index: 10;
}

.pitch-section {
    padding: 8rem 1.5rem;
    text-align: center;
}

.pitch-container {
    max-width: 50rem;
    margin: 0 auto;
}

.pitch-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.pitch-text {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Footer */
.footer {
    background-color: #fafafa;
    padding: 4rem 1.5rem;
    border-top: 5px solid;
    border-image: linear-gradient(to right, #2dd4bf, #f97316) 1;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-company {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-details {
    list-style: none;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-details strong {
    color: #111827;
    font-weight: 600;
    display: inline-block;
    width: 60px;
}

.contact-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
}

/* --- NAVIGATION LINKS --- */
.nav-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
}

.nav-link {
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #2dd4bf, #f97316);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- SECTION HEADERS --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

/* --- DYNAMIC SECTION CONTAINERS --- */
.portfolio-section,
.media-section {
    padding: 6rem 1.5rem;
    border-top: 1px solid #f3f4f6;
}

.portfolio-section {
    background: #ffffff;
}

.media-section {
    background: #fafafa;
}

.portfolio-container,
.media-container {
    max-width: 80rem;
    margin: 0 auto;
}

/* --- CSS GRID LAYOUT --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* --- GRID CARDS --- */
.grid-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #fafafa;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.grid-card:hover .card-img {
    transform: scale(1.05);
}

/* Iframe support (YouTube/LinkedIn) */
.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.card-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.card-link {
    font-weight: 700;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    align-self: flex-start;
    transition: transform 0.2s;
}

.grid-card:hover .card-link {
    transform: translateX(4px);
    background: linear-gradient(to right, #2dd4bf, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}