/*
Theme Name: ACT Theme
Theme URI: https://example.com
Author: Antigravity
Author URI: https://google.com
Description: Custom theme for Actor Training Studio "ACT"
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: act-theme
*/

:root {
    --color-bg: #F5F5F3;
    --color-text: #111111;
    --color-text-light: #555555;
    --color-gold: #E1B12C;
    --color-navy: #1A253A;
    --color-white: #FFFFFF;

    --font-base: 'Noto Sans JP', sans-serif;
    --font-serif: 'Shippori Mincho', serif;

    --spacing-sm: 1.5rem;
    --spacing-md: 4rem;
    --spacing-lg: 8rem;

    --container-width: 1200px;
    --header-height: 80px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: var(--header-height);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

/* Utility */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.container--sm {
    max-width: 800px;
}

.section {
    padding: var(--spacing-lg) 0;
}

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

.mt-8 {
    margin-top: 3rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.section__header {
    margin-bottom: 4rem;
}

.section__subtitle {
    display: block;
    color: var(--color-gold);
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section__title {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    position: relative;
    display: inline-block;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(245, 245, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.header__inner {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--color-navy);
}

.header__nav ul {
    display: flex;
    gap: 2.5rem;
}

.header__nav a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-navy);
    position: relative;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header__nav a:hover::after {
    width: 100%;
}

.header__cta a {
    color: var(--color-gold);
}

.header__toggle {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    background: #000;
    color: #FFF;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: contrast(1.2);
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero__sub {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero__main {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    min-height: 1.4em;
    margin-bottom: 0;
    display: inline;
    border-right: 3px solid var(--color-gold);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Concept */
.concept__quote {
    font-size: 2rem;
    font-family: var(--font-serif);
    line-height: 1.6;
    margin-bottom: 2rem;
    border-left: 5px solid var(--color-gold);
    padding-left: 2rem;
    display: inline-block;
}

/* Course Split Section */
.courses-split {
    display: flex;
    height: 90vh;
    position: relative;
}

.split-col {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    transition: flex 0.5s ease;
}

.split-col:hover {
    flex: 1.5;
}

.split-col__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.split-col__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.6);
    transform: scale(1);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.split-col:hover .split-col__bg img {
    filter: grayscale(0%) brightness(0.8);
    transform: scale(1.1);
}

.split-col__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
    max-width: 500px;
    background: rgba(26, 37, 58, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.4s ease;
}

.split-col:hover .split-col__content {
    transform: translateY(0);
    opacity: 1;
    background: rgba(26, 37, 58, 0.95);
    border-color: var(--color-gold);
}

.col-label {
    display: block;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.2em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.split-col h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-family: var(--font-serif);
}

.split-list {
    text-align: left;
    margin-bottom: 2rem;
}

.split-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.split-item:last-child {
    border: none;
}

.split-item h4 {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.split-item p {
    font-size: 0.9rem;
    color: #CCC;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn--solid-gold {
    background: var(--color-gold);
    color: var(--color-navy);
}

.btn--solid-gold:hover {
    background: #fff;
}

.btn--solid-navy {
    background: var(--color-navy);
    color: #fff;
    border: 1px solid var(--color-gold);
}

.btn--solid-navy:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

/* Instructor Diagonal Grid */
.instructor__diagonal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 2rem;
}

.instructor-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #000;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    margin-right: -15%;
    transition: transform 0.4s ease, z-index 0s;
    cursor: pointer;
}

.instructor-card:last-child {
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    margin-right: 0;
}

.instructor-card:nth-child(2) {
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 2;
}

.instructor-card:nth-child(1) {
    z-index: 1;
}

.instructor-card:nth-child(3) {
    z-index: 1;
}

.instructor-card:hover {
    z-index: 10;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.instructor-card__img {
    width: 100%;
    height: 100%;
    position: absolute;
}

.instructor-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s;
}

.instructor-card:hover .instructor-card__img img {
    filter: grayscale(0%);
}

.instructor-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(26, 37, 58, 0.95), transparent);
    color: #fff;
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.4s;
}

.instructor-card:hover .instructor-card__content {
    transform: translateY(0);
    opacity: 1;
}

.instructor-card__name {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.instructor-card__role {
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.instructor-card__text {
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
}

.instructor-card:hover .instructor-card__text {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* CV Bar (Below Hero) */
/* REMOVED as per user request */

/* Floating LINE Button */
.floating-line {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #06c755;
    color: #fff;
    padding: 1rem;
    border-radius: 50% 50% 0 50%;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: floatPulse 3s infinite;
}

.floating-line:hover {
    transform: scale(1.05);
}

.floating-line__text {
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: right;
    font-weight: 700;
}

@keyframes floatPulse {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

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

/* Carousel */
.carousel-container {
    width: 100%;
    overflow: visible;
    overflow-x: auto;
    padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 0 5%;
}

.carousel-item {
    width: 300px;
    flex-shrink: 0;
}

/* News Card */
.news-card {
    background: #fff;
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo {
    font-weight: 700;
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 900px) {
    .hero__main {
        font-size: 2rem;
    }

    .courses-split {
        flex-direction: column;
        height: auto;
    }

    .split-col {
        height: 60vh;
    }

    .split-col:hover {
        flex: 1;
    }

    .instructor__diagonal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .instructor-card {
        margin-right: 0;
        clip-path: none !important;
        height: 400px;
        width: 100%;
        text-align: center;
    }

    .instructor-card:hover {
        transform: translateY(-10px);
    }

    .instructor-card__text {
        display: block;
    }

    .instructor-card__name {
        display: inline-block;
    }

    .header__nav {
        display: none;
    }

    .floating-line {
        padding: 0.8rem;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }

    .floating-line__text {
        display: none;
    }

    .carousel-item {
        width: 250px;
    }

    .section__title {
        font-size: 2rem;
    }
}