
/* =========================================
   T-MICK | CINEMATIC CREATIVE PORTFOLIO
   BLACK • RED • WHITE
========================================= */

:root {
    --black: #070707;
    --dark: #101010;
    --panel: #141414;
    --red: #f0142f;
    --red-dark: #a80018;
    --white: #f7f7f7;
    --gray: #a5a5a5;
    --line: rgba(255, 255, 255, 0.10);
    --glow: 0 0 25px rgba(240, 20, 47, 0.22);
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: "Montserrat", "Segoe UI", sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* CINEMATIC BACKGROUND TEXTURE */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(240, 20, 47, 0.09),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 85% 70%,
            rgba(180, 0, 25, 0.07),
            transparent 35%
        );
}

/* SELECTION */

::selection {
    color: white;
    background: var(--red);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #080808;
}

::-webkit-scrollbar-thumb {
    background: var(--red-dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* GENERAL */

section {
    position: relative;
    padding: 100px 8%;
    scroll-margin-top: 70px;
}

h1, h2, h3 {
    font-family: "Montserrat", "Segoe UI", sans-serif;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

p {
    color: var(--gray);
    margin: 15px 0;
}

a {
    color: inherit;
    text-decoration: none;
}

section > h1,
section > h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

section > h1::after,
section > h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 4px;
    margin-top: 20px;
    background: var(--red);
    box-shadow: 0 0 15px rgba(240, 20, 47, 0.65);
    transition: width 0.4s ease;
}

section > h1:hover::after,
section > h2:hover::after {
    width: 115px;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 85px;
    padding: 18px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: rgba(7, 7, 7, 0.90);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(240, 20, 47, 0.20);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.logo h2:hover {
    color: var(--red);
    text-shadow: 0 0 20px rgba(240, 20, 47, 0.6);
}

.logo span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px var(--red);
    animation: pulse 2s infinite;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 27px;
}

.navbar a {
    position: relative;
    padding: 8px 0;
    color: #c5c5c5;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    transition: width 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: white;
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

/* =========================================
   HERO / INTRODUCTION
========================================= */

#home {
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    background:
        linear-gradient(
            90deg,
            rgba(7, 7, 7, 0.98) 0%,
            rgba(7, 7, 7, 0.86) 60%,
            rgba(7, 7, 7, 0.65) 100%
        );

    border-bottom: 1px solid var(--line);
    animation: fadeUp 1s ease both;
}

#home h1 {
    color: var(--red);
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -3px;
    text-shadow: 0 0 35px rgba(240, 20, 47, 0.20);
    animation: fadeUp 0.9s ease both;
}

#home h2 {
    max-width: 900px;
    margin-top: 25px;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    animation: fadeUp 1s ease 0.15s both;
}

#home p {
    max-width: 680px;
    font-size: 1.05rem;
    line-height: 1.9;
    animation: fadeUp 1s ease 0.3s both;
}

/* STYLE YOUR PORTRAIT */

/* CINEMATIC FULL-SCREEN PORTRAIT */

#home {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #050505;
    isolation: isolate;
}

#home .hero-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: -2;
    filter: brightness(0.65) contrast(1.12);
}

/* Cinematic black fade */
#home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.96) 0%,
        rgba(0, 0, 0, 0.72) 42%,
        rgba(0, 0, 0, 0.12) 100%
    );
}

/* Keep your existing hero content visible */
#home > div {
    position: relative;
    z-index: 1;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    #home {
        align-items: flex-end;
        padding-bottom: 45px;
    }

    #home .hero-portrait {
        object-position: 58% center;
        filter: brightness(0.48) contrast(1.1);
    }

    #home::before {
        background: linear-gradient(
            0deg,
            #050505 0%,
            rgba(0, 0, 0, 0.65) 45%,
            rgba(0, 0, 0, 0.12) 100%
        );
    }
}

/* INTRO TEXT BLOCK */

body > div {
    margin: 0 auto;
}

body > div h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

body > div h1,
body > div h2 {
    margin-bottom: 18px;
}

/* =========================================
   MY EXPERTISE
========================================= */

#services {
    background:
        linear-gradient(
            180deg,
            #101010 0%,
            #090909 100%
        );
}

#services > h1 {
    margin-bottom: 45px;
}

#services > div {
    position: relative;
    display: inline-flex;
    vertical-align: top;
    flex-direction: column;
    width: calc(25% - 23px);
    min-height: 230px;
    margin: 0 12px 25px 0;
    padding: 30px 24px;

    overflow: hidden;
    isolation: isolate;

    background: linear-gradient(
        145deg,
        #181818,
        #0d0d0d
    );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border-bottom: 3px solid var(--red);

    transition:
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;

    animation: fadeUp 0.8s ease both;
}

/* RED LIGHT SWEEP */

#services > div::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(240, 20, 47, 0.14) 50%,
        transparent 80%
    );

    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

/* GLOW AT TOP */

#services > div::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 55px;
    height: 2px;
    background: var(--red);
    box-shadow: 0 0 15px var(--red);
    transition: width 0.4s ease;
}

#services > div:hover {
    transform: translateY(-10px);
    border-color: rgba(240, 20, 47, 0.6);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(240, 20, 47, 0.12);
    background: linear-gradient(
        145deg,
        #201013,
        #101010
    );
}

#services > div:hover::before {
    transform: translateX(120%);
}

#services > div:hover::after {
    width: 100%;
}

#services > div h2 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.45;
    margin: 12px 0;
    color: var(--white);
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

#services > div:hover h2 {
    color: var(--red);
    transform: translateX(4px);
}

#services > div p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 0;
}

/* =========================================
   SELECTED WORKS / VIDEO PORTFOLIO
========================================= */

#Samples {
    background: #080808;
}

#Samples > p {
    max-width: 700px;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

#Samples > div {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: calc(50% - 18px);
    margin: 0 12px 35px 0;
    padding: 24px;

    background: #111;
    border: 1px solid #252525;
    border-radius: 10px;

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

#Samples > div:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 20, 47, 0.6);
    box-shadow: var(--glow);
}

#Samples > div h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

#Samples iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 6px;
    background: #050505;
}

/* PORTRAIT TIKTOK CARDS */

.commercial-videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px;
    width: 100%;
    margin-top: 25px;
}

#commercial {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#commercial > h2 {
    font-size: 1.3rem;
}

#commercial > p {
    font-size: 0.95rem;
}

.video-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    border: 1px solid #303030;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: var(--red);
    box-shadow: 0 0 30px rgba(240, 20, 47, 0.18);
}

.video-card iframe {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    min-height: 320px;
    border: none;
    background: #080808;
}

/* =========================================
   CONTACT
========================================= */

#contact {
    text-align: center;
    background:
        radial-gradient(
            ellipse at center,
            rgba(240, 20, 47, 0.10),
            transparent 65%
        ),
        #101010;
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
}

#contact h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

#contact h2::after {
    margin: 20px auto;
}

#contact p {
    max-width: 650px;
    margin: 15px auto 30px;
}

#contact > a {
    display: inline-block;
    padding: 14px 32px;
    color: white;
    background: var(--red);
    border: 1px solid var(--red);
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(240, 20, 47, 0.15);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

#contact > a:hover {
    background: transparent;
    color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(240, 20, 47, 0.3);
}

/* =========================================
   FOOTER
========================================= */

#footer {
    text-align: center;
    padding: 55px 8% 25px;
    background: #050505;
    border-top: 1px solid rgba(240, 20, 47, 0.25);
}

#footer h2 {
    color: var(--red);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(240, 20, 47, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin: 28px 0;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #ddd;
    border: 1px solid #333;
    border-radius: 50%;
    background: #111;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.social-links a:hover {
    color: white;
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(240, 20, 47, 0.4);
}

.copyright {
    font-size: 0.82rem;
    color: #777;
    margin: 20px 0 5px;
}

.footer-credit {
    font-size: 0.8rem;
    color: #555;
    margin: 0;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px var(--red);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 3px var(--red);
    }
}

/* =========================================
   RESPONSIVE TABLET
========================================= */

@media (max-width: 1100px) {
    section {
        padding: 80px 6%;
    }

    .header {
        padding-left: 6%;
        padding-right: 6%;
    }

    .navbar {
        gap: 18px;
    }

    #services > div {
        width: calc(33.333% - 18px);
        margin-right: 12px;
    }

    .commercial-videos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media (max-width: 650px) {
    html {
        scroll-padding-top: 140px;
    }

    .header {
        position: sticky;
        flex-direction: column;
        gap: 12px;
        padding: 14px 5%;
    }

    .logo h2 {
        font-size: 1.5rem;
    }

    .navbar {
        gap: 10px 17px;
    }

    .navbar a {
        font-size: 0.8rem;
    }

    section {
        padding: 65px 6%;
    }

    #home {
        min-height: 65vh;
    }

    #home h1 {
        letter-spacing: -1px;
    }

    #services > div {
        display: flex;
        width: 100%;
        min-height: auto;
        margin: 0 0 18px;
        padding: 25px;
    }

    #Samples > div {
        display: block;
        width: 100%;
        margin: 0 0 25px;
        padding: 16px;
    }

    .commercial-videos {
        grid-template-columns: minmax(0, 1fr);
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .video-card {
        width: 100%;
    }

    .video-card iframe {
        min-height: 480px;
    }

    #footer {
        padding: 40px 6% 22px;
    }
}

/* ACCESSIBILITY: RESPECT REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   T-MICK CONTACT SECTION
   ========================================== */

.contact-section {
    position: relative;
    padding: 100px 8%;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(190, 0, 35, 0.15),
            transparent 60%
        ),
        #090909;
    text-align: center;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-tag {
    margin-bottom: 18px;
    color: #ff2948;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 4px;
}

.contact-section h1 {
    max-width: 850px;
    margin: 0 auto 22px;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
}

.contact-section h1 span {
    color: #ff2948;
}

.contact-description {
    max-width: 620px;
    margin: 0 auto 48px;
    color: #b6b6b6;
    font-size: 15px;
    line-height: 1.9;
}

/* Contact cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    text-align: left;
}

.contact-card {
    display: flex;
    min-width: 0;
    min-height: 235px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    background: #111111;
    border: 1px solid #292929;
    border-radius: 12px;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.contact-card:hover {
    background: #171013;
    border-color: #ff2948;
}

.contact-icon {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #ff2948;
    background: rgba(255, 41, 72, 0.10);
    border: 1px solid rgba(255, 41, 72, 0.28);
    border-radius: 10px;
}

.contact-icon svg,
.footer-socials svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card:nth-child(2) .contact-icon svg,
.footer-socials a:nth-child(2) svg {
    fill: currentColor;
    stroke: none;
}

.contact-label {
    margin-bottom: 6px;
    color: #888888;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-value {
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.contact-action {
    margin-top: auto;
    padding-top: 18px;
    color: #ff2948;
    font-size: 12px;
    font-weight: 700;
}

/* ==========================================
   T-MICK FOOTER
   ========================================== */

.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 55px 8% 25px;
    background: #050505;
    border-top: 1px solid #292929;
    text-align: center;
}

.footer-logo {
    color: #ffffff;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 4px;
}

.footer-logo span {
    color: #ff2948;
}

.footer-tagline {
    margin-top: 10px;
    color: #929292;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 28px 0;
}

.footer-socials a {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    color: #cccccc;
    background: #111111;
    border: 1px solid #292929;
    border-radius: 50%;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    background: #c90025;
    border-color: #ff2948;
}

.footer-divider {
    width: 100%;
    max-width: 850px;
    height: 1px;
    background: #252525;
}

.copyright {
    margin-top: 22px;
    color: #777777;
    font-size: 12px;
}

.back-to-top {
    margin-top: 15px;
    color: #ff2948;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    transition: color 0.25s ease;
}

.back-to-top:hover {
    color: #ffffff;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 850px) {
    .contact-section {
        padding: 80px 6%;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .contact-section {
        padding: 65px 6%;
    }

    .section-tag {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .contact-description {
        margin-bottom: 30px;
        font-size: 14px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-card,
    .contact-card:last-child {
        grid-column: auto;
        min-height: 205px;
        padding: 24px;
    }

    .site-footer {
        padding: 42px 6% 24px;
    }

    .footer-tagline {
        max-width: 300px;
        line-height: 1.8;
    }
}

/* Respect visitors' reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .footer-socials a,
    .back-to-top {
        transition: none;
    }
}
