/* ==========================================================================
   JC FILMS - STYLE SYSTEM
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #08080a;
    --bg-card: rgba(18, 18, 22, 0.65);
    --bg-card-hover: rgba(26, 26, 32, 0.85);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(212, 175, 55, 0.3);
    
    --primary: #c5a880; /* Elegant Film Gold */
    --primary-rgb: 197, 168, 128;
    --accent: #e50914; /* Cinematic Red */
    
    --text-white: #ffffff;
    --text-light: #f4f4f5;
    --text-muted: #a1a1aa;
    --text-dark: #18181b;
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    
    --header-height: 80px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

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

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

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

ul {
    list-style: none;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Typography & Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-white);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    font-family: var(--font-title);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    font-weight: 300;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 100px 0;
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 168, 128, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: rgba(197, 168, 128, 0.05);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background-color: rgba(8, 8, 10, 0.95);
    backdrop-filter: blur(12px);
    height: 70px;
    border-bottom: 1px solid var(--border-glass);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    transition: var(--transition-smooth);
}

.site-header.scrolled .logo img {
    height: 38px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding: 10px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: #000;
    overflow: hidden;
}

.slider-wrapper {
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 7s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(8,8,10,1) 5%, rgba(8,8,10,0.4) 60%, rgba(8,8,10,0.7) 100%);
}

.slide-content {
    position: absolute;
    bottom: 12%;
    left: 8%;
    max-width: 650px;
    z-index: 3;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.5s;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-tag {
    font-family: var(--font-title);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.slide-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
    font-weight: 300;
}

.slide-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Play Button with Pulse */
.play-btn-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--text-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--bg-dark);
}

.play-btn-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    animation: playPulse 2s infinite;
    z-index: -1;
}

.play-btn-circle:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.play-btn-circle svg {
    margin-left: 4px;
}

.play-text {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes playPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    right: 5%;
    bottom: 12%;
    z-index: 10;
    display: flex;
    gap: 15px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    background-color: rgba(8, 8, 10, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.nav-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(197, 168, 128, 0.1);
}

.slider-dots {
    position: absolute;
    left: 8%;
    bottom: 5%;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 30px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background-color: var(--primary);
    width: 50px;
}

/* Glass Card Component */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
}

/* Portfolio Section */
.portfolio-filter-wrap {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 40px;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary);
    color: var(--text-white);
    background-color: rgba(197, 168, 128, 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.portfolio-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 8, 10, 0.95) 0%, rgba(8, 8, 10, 0.4) 50%, rgba(8, 8, 10, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-item-img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item-category {
    font-family: var(--font-title);
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.portfolio-item-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-item-link {
    font-family: var(--font-title);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
}

.portfolio-item-link svg {
    transition: transform 0.3s ease;
}

.portfolio-item-link:hover svg {
    transform: translateX(5px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Blog Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-5px);
}

.blog-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.blog-card-content {
    padding: 30px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 12px;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.blog-readmore {
    font-family: var(--font-title);
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 8, 10, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.video-modal-content {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background-color: #000;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    color: var(--primary);
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Section */
.site-footer {
    background-color: #050507;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 25px;
}

.footer-about .footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(197, 168, 128, 0.05);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 12px 18px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.06);
}

.newsletter-submit {
    background-color: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.newsletter-submit:hover {
    background-color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .portfolio-grid, .services-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .slide-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(8, 8, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 50px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--border-glass);
        z-index: 1005;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-content {
        bottom: 15%;
        left: 5%;
        right: 5%;
    }
    
    .portfolio-grid, .services-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
