/* =========================================================================
   Premium Corporate Site - Ultimate Quality CSS
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Jost:wght@300;400;500&family=Shippori+Mincho:wght@400;500;600&display=swap');

:root {
    /* Premium Dark Theme */
    --color-bg-base: #0a0a0a;
    --color-text-main: #f0f0f0;
    --color-text-light: #a0a0a0;
    --color-accent: #c98e5e;
    /* Elegant gold/bronze */
    --color-border: rgba(255, 255, 255, 0.1);

    /* Elegant Typography */
    --font-serif-en: 'Cormorant Garamond', serif;
    --font-serif-jp: 'Shippori Mincho', 'Noto Serif JP', serif;
    --font-sans: 'Jost', 'Noto Sans JP', sans-serif;

    /* Spacing & Layout */
    --spacing-xs: 12px;
    --spacing-sm: 24px;
    --spacing-md: 48px;
    --spacing-lg: 80px;
    --spacing-xl: 160px;

    --transition-smooth: all 0.8s cubic-bezier(0.25, 1, 0.25, 1);
    --transition-slow: all 1.2s cubic-bezier(0.25, 1, 0.25, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-serif-jp);
    color: var(--color-text-main);
    background-color: var(--color-bg-base);
    line-height: 2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Custom Scrollbar for premium feel */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

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

li {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-serif-en);
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-lg);
    color: #fff;
    text-transform: uppercase;
}

/* =========================================================================
   Header (Ultra Glassmorphism)
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: var(--font-serif-en);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
}

.global-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.global-nav ul {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.global-nav a {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.global-nav ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.4s ease;
}

.global-nav ul a:hover::after {
    width: 100%;
}

.btn-contact {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 2px;
    font-family: var(--font-serif-jp);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-left: var(--spacing-md);
}

.btn-contact:hover {
    background-color: #fff;
    color: #000;
}

/* =========================================================================
   First View (Cinematic Hero)
   ========================================================================= */
.first-view {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Cinematic Background Image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1550684848-fac1c5b4e853?q=80&w=2000&auto=format&fit=crop');
    /* Water Drop Image Localized */
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate linear;
}

/* overlay gradient to make text legible */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.8));
    z-index: -1;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.kv-text h2 {
    font-family: var(--font-serif-jp);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.15em;
    text-align: center;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.scroll-down span {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.mouse-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.mouse-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    animation: scrollLine 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* =========================================================================
   Concept Section
   ========================================================================= */
.concept {
    position: relative;
}

.concept-copy {
    font-size: clamp(1.2rem, 2vw, 2rem);
    line-height: 2.5;
    letter-spacing: 0.15em;
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto;
}

/* =========================================================================
   Our Businesses (High-End Gallery Grid)
   ========================================================================= */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.business-card {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: block;
    overflow: hidden;
    color: #fff;
}

.business-card.studio {
    margin-top: 0;
}

.business-card.cheese {
    margin-top: 100px;
}

.business-card.tech {
    margin-top: 50px;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.25, 1);
    filter: brightness(0.6) saturate(0.8);
}

.business-card.studio .card-bg {
    background-image: url('https://images.unsplash.com/photo-1511895426328-dc8714191300?q=80&w=1000&auto=format&fit=crop');
}

/* local image gened by us */
.business-card.cheese .card-bg {
    background-image: url('../images/cheese.png');
    filter: brightness(0.5) saturate(1.1);
}

.business-card.tech .card-bg {
    background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1000&auto=format&fit=crop');
}

.business-card:hover .card-bg {
    transform: scale(1.08);
    filter: brightness(0.9) saturate(1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.business-card:hover .card-content {
    transform: translateY(0);
}

.card-title {
    font-family: var(--font-serif-en);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.card-copy {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.btn-more {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 5px;
    color: var(--color-accent);
}

/* =========================================================================
   Journal
   ========================================================================= */
.journal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.view-all {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
}

.journal-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.journal-card {
    display: block;
}

.j-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    margin-bottom: 20px;
    background: #1a1a1a;
}

.j-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    opacity: 0.6;
}

.journal-card:hover .j-thumb img {
    transform: scale(1.05);
    opacity: 1;
}

.j-meta time {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

.j-title {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

/* =========================================================================
   Company & Contact
   ========================================================================= */
.company-contact-wrapper {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    position: relative;
}

.cc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
}

.cc-content {
    position: relative;
    z-index: 1;
    padding: var(--spacing-xl) 0;
}

.company-msg,
.contact-msg {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    line-height: 2.2;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 20px 60px;
    font-family: var(--font-serif-jp);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-5px);
}

.btn-contact:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Dropdown Sub-menu */
.global-nav ul li, .menu-item-has-children {
    position: relative;
}

.global-nav ul li .sub-menu,
.global-nav ul li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    padding: 10px 0;
    z-index: 100;
}

.global-nav ul li:hover .sub-menu,
.global-nav ul li:hover ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.global-nav ul li .sub-menu li {
    width: 100%;
}

.global-nav ul li .sub-menu a {
    padding: 12px 20px;
    display: block;
    width: 100%;
    font-size: 0.95rem;
}
.global-nav ul li .sub-menu a::after {
    display: none;
}
.global-nav ul li .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-border {
    display: inline-block;
    border: 1px solid #fff;
    padding: 20px 60px;
    font-family: var(--font-serif-en);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.btn-border:hover {
    background: #fff;
    color: #000;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    border-top: 1px solid var(--color-border);
    padding: 100px 0 40px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-nav a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.copyright {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    text-transform: uppercase;
}

/* =========================================================================
   Animations (Fade in up)
   ========================================================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.25, 1), transform 1.2s cubic-bezier(0.25, 1, 0.25, 1);
}

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

/* =========================================================================
   Premium Service Features (Zigzag layout)
   ========================================================================= */
.feature-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-block.reversed {
    flex-direction: row-reverse;
}

.feature-img {
    flex: 1;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

.feature-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.25, 1);
}

.feature-block:hover .feature-img img {
    transform: scale(1.05);
    filter: brightness(1);
}

.feature-text {
    flex: 1;
}

.feature-title {
    font-family: var(--font-serif-jp);
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.feature-desc {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--color-text-main);
    opacity: 0.9;
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: 40px;
    }

    .business-card {
        height: 50vh;
        min-height: 400px;
        margin-top: 0 !important;
    }

    .journal-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-block,
    .feature-block.reversed {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }

    .feature-img img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }

    .global-nav ul {
        justify-content: center;
    }

    .btn-contact {
        margin-left: 0;
    }

    .journal-list {
        grid-template-columns: 1fr;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 20px;
    }
}

/* =========================================================================
   Parallax Sections
   ========================================================================= */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 160px 0;
    margin-top: 100px;
}
.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.7);
}

/* =========================================================================
   Works Slider
   ========================================================================= */
.swiper {
    width: 100%;
    padding: 50px 0;
}
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 80%;
    max-width: 800px;
    height: 500px;
    position: relative;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: var(--transition-smooth);
}
.swiper-slide-active img {
    filter: brightness(1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.swiper-button-next, .swiper-button-prev {
    color: var(--color-accent) !important;
}
.swiper-pagination-bullet-active {
    background: var(--color-accent) !important;
}

/* =========================================================================
   Contact Form 7 Custom Styling
   ========================================================================= */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}
.cf7-input, 
.wpcf7-form-control:not([type="submit"]) {
    width: 100% !important;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: #fff;
    font-family: inherit;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}
.cf7-input:focus, 
.wpcf7-form-control:not([type="submit"]):focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}
.wpcf7-submit {
    padding: 15px 40px;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    background-color: var(--color-accent);
    color: #fff;
    transition: var(--transition-smooth);
    border-radius: 0;
}
.wpcf7-submit:hover {
    background-color: #b07d52;
    transform: translateY(-2px);
}
.wpcf7-spinner {
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -12px;
}
.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border: 1px solid var(--color-accent) !important;
    color: var(--color-accent);
    font-size: 0.9rem;
    text-align: center;
}
.wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}