/* ==========================================================
   ROCKIN VFX STUDIO - Main Stylesheet
   Dark Cinematic Theme (rgb 18, 18, 18 / #121212)
   ========================================================== */

:root {
    --bg-black: rgb(18, 18, 18);
    --bg-dark: rgb(18, 18, 18);
    --bg-card: #181818;
    --bg-card-hover: #222222;
    
    --text-main: #f5f5f5;
    --text-color: rgba(255,255,255,0.95);
    --text-muted: #9e9e9e;
    --text-dim: #666666;
    --text-cyan: #29b6f6;
    
    --orange-primary: #ff6600;
    --orange-hover: #ff7d26;
    --orange-glow: rgba(255, 102, 0, 0.4);
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-orange: rgba(255, 102, 0, 0.4);
    
    --font-heading: 'Raleway', -apple-system, sans-serif;
    --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    background-color: var(--bg-black);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 500;
}

/* Typography & Orange Highlight with Animated Hover Underline */
strong, .text-orange {
    color: var(--orange-primary) !important;
    font-weight: 700;
    display: inline;
    position: relative;
    text-decoration: none !important;
    background-image: linear-gradient(var(--orange-primary), var(--orange-primary));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    padding-bottom: 2px;
}

strong:hover, .text-orange:hover {
    background-size: 100% 2px;
}

.text-cyan {
    color: var(--text-cyan) !important;
}

.text-uppercase {
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Dividers with Breathing Space */
.inner-divider.divider-white-border {
    border: none;
    border-top: 7.5px solid var(--text-color);
    width: 96%;
    max-width: 1560px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Layout Containers */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Common Structure */
.section {
    padding: 6.5rem 0;
    position: relative;
    background-color: var(--bg-black);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
}

.section-tag-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: var(--text-main);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

/* ==========================================================
   Header & Navigation Trigger
   ========================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    pointer-events: none;
    background: transparent;
    transition: padding var(--transition-smooth);
}

.logo-container, .nav-trigger {
    pointer-events: auto;
}

.site-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-main);
}

.site-logo-img {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.site-logo-img:hover {
    transform: scale(1.05);
}

.site-logo .logo-box {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    border: 2px solid var(--orange-primary);
    padding: 6px 10px;
    border-radius: 4px;
    background: rgba(18, 18, 18, 0.85);
}

.site-logo .logo-top {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 800;
}

.site-logo .logo-bottom {
    font-size: 1.05rem;
    color: var(--orange-primary);
    font-weight: 900;
}

/* Hamburger / Close Cross Trigger */
.nav-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin: -4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 24px;
    position: relative;
    z-index: 10001;
}

.nav-trigger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--text-main);
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), background-color var(--transition-smooth);
    border-radius: 2px;
    transform-origin: center;
}

.nav-trigger:hover span {
    background-color: var(--orange-primary);
}

.nav-trigger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.nav-trigger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-trigger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* ==========================================================
   Fullscreen Overlay Menu
   ========================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(25px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    text-align: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.2vw, 2.2rem);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 3px;
    position: relative;
    padding: 0.2rem 1rem;
    transition: color var(--transition-fast), transform var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--orange-primary);
    transform: scale(1.05);
}

/* ==========================================================
   Hero Section (100% Video & Branding)
   ========================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-black);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-color: var(--bg-black);
}

.hero-poster-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    filter: brightness(0.85) contrast(1.1);
    z-index: 1;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.55;
    filter: brightness(0.85) contrast(1.1);
    pointer-events: none;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(18,18,18,0.55) 0%, rgba(18,18,18,0.92) 100%),
                linear-gradient(to bottom, rgba(18,18,18,0.7) 0%, rgba(18,18,18,0.45) 50%, rgba(18,18,18,0.98) 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
    color: var(--text-main);
    text-shadow: 0 10px 40px rgba(0,0,0,0.9);
}

.hero-main-title .word-studio {
    color: var(--orange-primary);
    text-decoration: none;
}

/* Hero Bottom Navigation & Socials */
.hero-bottom-bar {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    width: 100%;
    padding: 0 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-socials {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.social-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-item svg {
    width: 18px;
    height: 18px;
    fill: var(--orange-primary);
}

.social-item:hover {
    color: var(--orange-primary);
    transform: translateY(-2px);
}

.hero-copyright {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==========================================================
   Section 01 : ABOUT
   ========================================================== */
.about-section {
    background-color: var(--bg-black);
}

.about-title {
    margin-bottom: 2.5rem;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-text {
    font-size: 1.15rem;
    color: #f0f0f0;
    line-height: 1.85;
    font-weight: 500;
    text-align: justify;
    text-justify: inter-word;
}

/* ==========================================================
   Section 02 : WORKS
   ========================================================== */
.works-section {
    background-color: var(--bg-black);
}

.panoramic-work-wrapper {
    margin-bottom: 4rem;
}

.panoramic-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--orange-primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.panoramic-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 21 / 9;
    background-color: #151515;
    border: 1px solid rgba(255, 102, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.panoramic-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange-primary);
    box-shadow: 0 25px 60px rgba(255, 102, 0, 0.2);
}

.panoramic-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.panoramic-card:hover img {
    transform: scale(1.03);
}

.panoramic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-smooth);
}

.panoramic-card:hover .panoramic-overlay {
    background: rgba(0, 0, 0, 0.2);
}

/* Plus Button */
.action-plus-btn {
    width: 48px;
    height: 48px;
    background-color: var(--orange-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.6);
    transition: transform var(--transition-bounce), background-color var(--transition-fast);
}

.panoramic-card:hover .action-plus-btn,
.work-card:hover .action-plus-btn {
    transform: scale(1.15) rotate(90deg);
    background-color: var(--orange-hover);
}

/* 3-Column Works Grid */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 1.8rem;
}

.work-card-container {
    display: flex;
    flex-direction: column;
}

.work-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange-primary);
    text-align: center;
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.work-card[data-youtube-id=""],
.panoramic-card[data-youtube-id=""] {
    cursor: default;
}

.work-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 102, 0, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-tag-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--orange-primary);
    letter-spacing: 1px;
}

.works-cta-container {
    text-align: center;
    margin-top: 4.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--orange-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-smooth), color var(--transition-smooth), transform var(--transition-fast), box-shadow var(--transition-smooth);
}

.btn-cta:hover {
    background-color: var(--orange-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--orange-glow);
}

/* ==========================================================
   Filter Tabs Bar (Page All Works)
   ========================================================== */
.filter-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.filter-tab-btn:hover {
    color: var(--text-main);
    border-color: var(--orange-primary);
    transform: translateY(-2px);
}

.filter-tab-btn.active {
    background: var(--orange-primary);
    border-color: var(--orange-primary);
    color: #ffffff;
    box-shadow: 0 6px 20px var(--orange-glow);
}

/* ==========================================================
   Section 03 : SERVICES (Textual Layout)
   ========================================================== */
.services-section {
    background-color: var(--bg-black);
}

.services-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1050px;
}

.services-list-wrapper {
    margin-top: 0.5rem;
}

.services-list-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.services-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.services-bullet-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--orange-primary);
}

.services-text-block {
    font-size: 1.12rem;
    color: #f0f0f0;
    line-height: 1.85;
    font-weight: 500;
    text-align: justify;
    text-justify: inter-word;
}

/* ==========================================================
   Section 04 : CONTACT & 3-Column Info
   ========================================================== */
.contact-section {
    background-color: var(--bg-black);
    padding-bottom: 5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.contact-info-text {
    font-size: 1.1rem;
    color: #d8d8d8;
    line-height: 1.8;
    font-weight: 500;
    text-align: justify;
    text-justify: inter-word;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-hp {
    position: absolute !important;
    left: -99999px !important;
    top: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #161616;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--orange-primary);
    box-shadow: 0 0 15px var(--orange-glow);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.form-alert {
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
}

.form-alert.success {
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px solid #27ae60;
    color: #2ecc71;
}

.form-alert.error {
    background-color: rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* 3-Column Contact Bottom Grid (Photo 2) */
.contact-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.contact-col-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-col-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-main);
}

.contact-col-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-cyan);
    transition: color var(--transition-fast);
}

.contact-col-value:hover {
    color: var(--orange-primary);
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
    padding: 3rem 0;
    background-color: rgb(14, 14, 14);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* ==========================================================
   Lightbox Video Modal
   ========================================================== */
.video-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(15px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
    padding: 2rem;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1050px;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 40px var(--orange-glow);
    border: 1px solid rgba(255, 102, 0, 0.4);
}

.modal-content-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    z-index: 20002;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--orange-primary);
    transform: scale(1.15);
}


/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-three-cols {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .site-header {
        padding: 1.5rem 2rem;
    }

    .hero-bottom-bar {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .panoramic-card {
        aspect-ratio: 16 / 9;
    }

    .hero-bottom-bar {
        flex-direction: column;
        gap: 1.25rem;
        bottom: 1.5rem;
        text-align: center;
    }

    .site-header {
        padding: 1.25rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
