/* Luminous Style CSS - Commercial Film Page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

/* Header Styles */
.luminous-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}
.luminous-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
}

.luminous-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    text-transform: lowercase;
}

.logo {
    display: flex;
    line-height: 1;
}

.logo a {
    display: flex;
    line-height: 1;
}

.logo .logo-main {
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
}

.navigation {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.nav-link:hover {
    color: #1a1a1a;
}

.nav-mobile-only {
    display: none;
}

.menu-toggle {
    display: none;
}

.mobile-slide-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-slide-menu.active {
    left: 0;
}

.slide-menu-item {
    display: block;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.slide-menu-item:hover {
    color: #1a1a1a;
    background-color: rgba(0, 0, 0, 0.02);
}

.slide-menu-item:last-child {
    border-bottom: none;
}

.nav-project {
    text-align: center;
    display: block;
}

.nav-project .nav-full {
    display: block;
    pointer-events: none;
}

.nav-project .nav-short {
    display: none;
    pointer-events: none;
}

.nav-mobile-only {
    display: none;
}

.nav-desktop-only {
    display: block;
}

.menu-toggle {
    display: none;
}

.mobile-slide-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-slide-menu.active {
    left: 0;
}

.slide-menu-item {
    display: block;
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.slide-menu-item:hover {
    color: #1a1a1a;
    background-color: rgba(0, 0, 0, 0.02);
}

.slide-menu-item:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-text {
    margin-bottom: 80px;
}

.greeting {
    display: block;
    font-size: 24px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.main-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.we-love {
    font-size: 48px;
    font-weight: 300;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 1s forwards;
}

.stories {
    font-size: 120px;
    font-weight: 700;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 2s forwards;
}

.scroll-text {
    font-size: 14px;
    color: #666666;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    font-size: 24px;
    color: #666666;
    animation: bounce 2s infinite;
}

/* Story Section */
.story-section {
    padding: 120px 0;
    background-color: #fafafa;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.story-text {
    font-size: 1.5em;
    font-weight: 300;
    line-height: 1.8;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 2.5s forwards;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Video Showcase */
.video-showcase {
    padding: 120px 0;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 3s forwards;
}

.main-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
}

.main-video iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-overlay,
.video-wrapper:focus-within .video-overlay {
    opacity: 1;
}

.play-button {
    background: none;
    border: 2px solid #1a1a1a;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.play-button:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.play-button:hover .play-text {
    color: #ffffff;
}

.main-video-info {
    margin-top: 30px;
    text-align: center;
}

.main-video-info h3 {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.main-subtitle {
    font-size: 14px;
    color: #999999;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.5;
}

.main-video-info .shooting-date {
    font-size: 16px;
    color: #999999;
    font-weight: 300;
}

.play-text {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.play-button:hover .play-text {
    color: #ffffff;
}

/* Project Gallery */
.project-gallery {
    padding: 120px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.gallery-item {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease forwards;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:nth-child(1) { animation-delay: 3.5s; }
.gallery-item:nth-child(2) { animation-delay: 3.7s; }
.gallery-item:nth-child(3) { animation-delay: 3.9s; }
.gallery-item:nth-child(4) { animation-delay: 4.1s; }

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-image img,
.gallery-image video,
.gallery-image iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
}

.gallery-image iframe {
    border: none;
}

.full-thumbnail {
    height: 100% !important;
    object-fit: cover !important;
}

.gallery-item:hover .gallery-image img,
.gallery-item:hover .gallery-image video,
.gallery-item:hover .gallery-image iframe {
    transform: scale(1.05);
}

/* Responsive - Mobile tweaks */
@media (max-width: 768px) {
    .luminous-header .container {
        height: 64px;
        padding: 0 20px;
    }
    .navigation {
        gap: 16px;
    }
    .nav-project { display: none !important; }
    .nav-desktop-only { display: none !important; }
    .nav-mobile-only { display: block !important; }
    .menu-toggle { display: block !important; }
    .navigation { gap: 16px !important; align-items: center; }
    .nav-link {
        font-size: 12px;
    }
    .logo .logo-main {
        font-size: 16px;
    }

    .hero-section .container {
        padding: 0 20px;
    }
    .main-message .we-love,
    .main-message .stories {
        font-size: 36px;
    }
    .story-section {
        padding: 60px 0;
    }
    
    .story-section .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .story-content {
        padding: 0;
        max-width: 100%;
    }
    
    .story-section .story-text {
        font-size: 0.875em;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .story-section .story-text a {
        word-break: break-all;
    }

    .video-showcase {
        padding: 60px 0;
    }
    
    .video-container { 
        padding: 0 20px; 
        max-width: 100%;
    }
    
    .video-wrapper { 
        position: relative;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    .video-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .main-video { width: 100%; height: auto; aspect-ratio: 16/9; }

    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
        max-width: 100%;
    }
    
    .gallery-item {
        max-width: 100%;
    }
    
    .gallery-image {
        max-width: 100%;
    }
    
    .gallery-image img {
        max-width: 100%;
        width: 100%;
    }
    
    .slider-container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .image-slider-section .container {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .image-slider-section {
        padding: 40px 0;
    }
    .gallery-image img,
    .gallery-image video,
    .gallery-image iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .about-section .container,
    .contact-section .container,
    .next-project .container {
        padding: 0 20px;
    }
    .next-project-content { gap: 16px; }
}

.gallery-info h3 {
    font-size: 20px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.gallery-info .shooting-date {
    font-size: 14px;
    color: #999999;
    font-weight: 300;
    margin-bottom: 10px;
}

.gallery-info .description {
    font-size: 16px;
    color: #999999;
    font-weight: 300;
}

/* About Section */
.about-section {
    padding: 120px 0;
    background-color: #fafafa;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 4.5s forwards;
    white-space: nowrap;
}

.about-text p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.8;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 5s forwards;
}

.order-button {
    display: inline-block;
    padding: 16px 48px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.order-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.order-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.go-list-link {
    display: block;
    margin-top: 16px;
    color: #666666;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s ease;
}

.go-list-link:hover {
    color: #1a1a1a;
}

/* Image Slider */
.image-slider-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.slider-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.slider-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    width: 100%;
}

.slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: contain;
    border-radius: 8px;
}

.image-slider-section .slider-title {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.slider-arrow {
    background-color: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #1a1a1a;
    border-right: 2px solid #1a1a1a;
    transition: all 0.3s ease;
}

.slider-arrow-left::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.slider-arrow-right::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.slider-arrow:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-arrow:hover::before {
    border-color: #ffffff;
}

.slider-arrow:active {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .slider-container {
        gap: 10px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .slider-wrapper {
        max-width: 100%;
        overflow: hidden;
    }
    
    .slider-track {
        max-width: 100%;
    }
    
    .slide {
        max-width: 100%;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slide-image {
        max-height: 500px;
        max-width: 100%;
        width: 100%;
    }
    
    .image-slider-section .slider-title {
        font-size: 1em;
        margin-bottom: 20px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 20px;
    }
    
    .image-slider-section .container {
        padding: 0 20px;
        max-width: 100%;
    }
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 5.5s forwards;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease 6s forwards;
}

.contact-details p {
    font-size: 16px;
    color: #999999;
    margin-bottom: 15px;
    font-weight: 300;
}

.business-info h4 {
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.business-info p {
    font-size: 16px;
    color: #999999;
    margin-bottom: 10px;
    font-weight: 300;
}

/* Footer */
.luminous-footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fafafa;
}

.footer-text {
    font-size: 14px;
    color: #666666;
    text-align: center;
    font-weight: 300;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .stories {
        font-size: 80px;
    }
    
    .we-love {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .story-text {
        font-size: 1.25em;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    .about-text p {
        font-size: 18px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .luminous-header .container {
        padding: 0 15px;
    }
    
    .navigation {
        gap: 12px !important;
        align-items: center;
    }
    
    .nav-link {
        font-size: 11px;
    }
    
    .logo .logo-main {
        font-size: 14px;
    }
    
    .stories {
        font-size: 60px;
    }
    
    .we-love {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .story-text {
        font-size: 18px;
    }
    
    .about-text p {
        font-size: 16px;
    }
}

/* Next Project Section */
.next-project {
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.next-project-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.next-project-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 3s forwards;
}

.next-project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    text-decoration: none;
    color: #1a1a1a;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 3.2s forwards;
}

.next-project-link:hover {
    color: #666666;
}

.next-project-link:hover .next-project-arrow {
    transform: translateX(10px);
}

.next-project-info {
    text-align: left;
}

.next-project-info h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
}

.next-project-info p {
    font-size: 16px;
    color: #999999;
}

.next-project-arrow {
    font-size: 24px;
    transition: transform 0.3s ease;
}

/* Before/After Comparison Section */
.comparison-section {
    padding: 100px 0;
    background: #fafafa;
}

.comparison-content {
    text-align: center;
}

.comparison-content .section-title {
    font-size: 48px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #999999;
    font-weight: 300;
    margin-bottom: 60px;
    line-height: 1.6;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.comparison-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-video {
    width: 100%;
    margin-bottom: 30px;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.before-video, .after-video {
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.before-video h4, .after-video h4 {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2;
}

.before-video video, .after-video video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
}

.comparison-info {
    text-align: center;
}

.comparison-info h3 {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.comparison-info p {
    font-size: 16px;
    color: #999999;
    font-weight: 300;
    line-height: 1.5;
}

/* Mobile-only layout fixes for Before & After */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr; /* 한 줄에 하나씩 */
        gap: 24px;
    }
    .before-after-container {
        grid-template-columns: 1fr; /* Before, After 세로 스택 */
        gap: 12px;
    }
    .before-video h4,
    .after-video h4 { font-size: 11px; }
    .before-video video,
    .after-video video,
    .before-video iframe,
    .after-video iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9; /* 잘림 방지 */
        object-fit: cover;
    }
}
