
/* FK Screamer Legacy Trial Upright Font */

@font-face {
    font-family: 'FK Screamer Legacy Trial Upright';
    src: url('../fonts/FKScreamerLegacyTrial-Upright.woff2') format('woff2'),
        url('../fonts/FKScreamerLegacyTrial-Upright.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FK Screamer Trial';
    src: url('../fonts/FKScreamerTrial-Black.woff2') format('woff2'),
        url('../fonts/FKScreamerTrial-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FK Screamer Trial';
    src: url('../fonts/FKScreamerTrial-Medium.woff2') format('woff2'),
        url('../fonts/FKScreamerTrial-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FK Screamer Trial';
    src: url('../fonts/FKScreamerTrial-Bold.woff2') format('woff2'),
        url('../fonts/FKScreamerTrial-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FK Screamer Trial';
    src: url('../fonts/FKScreamerTrial-Regular.woff2') format('woff2'),
        url('../fonts/FKScreamerTrial-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Roboto Mono Font */

@font-face {
    font-family: 'Roboto Mono';
    src: url('../fonts/RobotoMono-Medium.woff2') format('woff2'),
        url('../fonts/RobotoMono-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../fonts/RobotoMono-Bold.woff2') format('woff2'),
        url('../fonts/RobotoMono-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('../fonts/RobotoMono-Regular.woff2') format('woff2'),
        url('../fonts/RobotoMono-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* ── Project Detail Page ─────────────────────────────────────────────────── */

/* 16:9 responsive iframe wrapper (YouTube / Vimeo) */
.project-detail-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;   /* 16:9 */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: #000;
}
.project-detail-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Local video */
.project-detail-video-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: #000;
}
.project-detail-video {
    width: 100%;
    display: block;
    max-height: 70vh;
    object-fit: contain;
}

/* Hero image fallback */
.project-detail-hero-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    aspect-ratio: 16/9;
}
.project-detail-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Meta strip */
.project-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2.5rem;
}
.project-detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.project-detail-meta-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.4;
    color: #fff;
}
.project-detail-meta-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

/* Title + description */
.project-detail-body {
    max-width: 760px;
    margin-bottom: 3rem;
}
.project-detail-title {
    font-family: 'FK Screamer Trial', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}
.project-detail-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
}

/* CTA row */
.project-detail-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}
/* ── Homepage Service Rows Overlay ───────────────────────────────────────── */
.service-row::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* Black overlay with 40% opacity */
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* On desktop, the overlay should only appear when the video appears on hover */
@media (min-width: 1024px) {
    .service-row::after {
        opacity: 0;
    }
    .service-row:hover::after {
        opacity: 1;
    }
}

/* Ensure the text and buttons are above the overlay */
.service-row span,
.service-row .btn-group {
    position: relative;
    z-index: 10 !important;
}

/* Ensure video is below overlay but above background */
.service-video {
    z-index: 0;
}

/* ── Custom Select (Contact Form) ────────────────────────────────────────── */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}
.custom-select-trigger {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem 0 3rem;
    cursor: pointer;
    font-size: 1.25rem;
    color: #fff;
    transition: all 0.3s ease;
    gap: 1rem;
    min-width: 0;
}
.custom-select-trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}


.custom-select-trigger i {
    transition: transform 0.3s ease;
}
.custom-select-trigger.active i {
    transform: rotate(180deg);
}
.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.custom-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.custom-option {
    padding: 14px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.custom-option:last-child {
    border-bottom: none;
}
.custom-option:hover {
    background: rgba(255,255,255,0.05);
    color: var(--neon);
}

/* Custom Scrollbar for dropdown */
.custom-options::-webkit-scrollbar {
    width: 4px;
}
.custom-options::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.custom-options::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* ── Contact Boxes ─────────────────────────────────────────────────────────── */
.contact-left-content {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.contact-left-content:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--neon);
}
.contact-left-border {
    display: none;
}

.contact-left-social {
    padding-left: 2.5rem;
}
.cl-social-links a i {
    transition: color 0.3s ease;
}
.cl-social-links a:hover i {
    color: #ffff00 !important; /* Yellow hover */
}

.form-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    pointer-events: none; /* Ensure labels don't block input clicks */
}
