/* life_is_movie.css - Page Specific Styles */

.life-is-movie-page {
    --movie-orange: #ea580c;
    --movie-orange-light: #fb923c;
    --movie-bg-light: #fff7ed;
    --movie-border-light: #fed7aa;
    --movie-text-dark: #431407;
}

/* Page Layout Overrides */
.life-is-movie-page .main-content {
    background: transparent !important;
    box-shadow: none !important;
}

.life-is-movie-page .content-body {
    line-height: 2.2;
    color: #334155;
    font-size: 1.05rem;
}

.life-is-movie-page .page-title {
    color: var(--movie-orange);
    font-size: 2rem;
    font-weight: bold;
}

.life-is-movie-page .section-title .line {
    margin: 0;
    width: 100px;
    height: 3px;
    background: var(--movie-orange-light);
}

/* Film Quote Container */
.life-is-movie-page .film-quote-container {
    margin: 3rem 0;
    position: relative;
    background: #27272a;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.life-is-movie-page .film-strip-top,
.life-is-movie-page .film-strip-bottom {
    height: 20px;
    background-image: linear-gradient(to right, #000 50%, transparent 50%);
    background-size: 30px 100%;
    width: 100%;
    opacity: 0.5;
}

.life-is-movie-page .cinema-quote {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    text-align: center;
    font-size: 1.1rem;
    padding: 1.5rem !important;
    position: relative;
    z-index: 2;
    margin: 0;
}

.life-is-movie-page .quote-icon-cinema {
    font-size: 2rem;
    color: var(--movie-orange-light);
    margin-bottom: 1rem;
    display: block;
}

.life-is-movie-page .quote-author-cinema {
    margin-top: 1.5rem;
    font-weight: bold;
    color: var(--movie-orange-light);
    font-family: "Courier New", monospace;
}

/* Director Message */
.life-is-movie-page .director-message {
    background: var(--movie-bg-light);
    border: 2px solid var(--movie-border-light);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    margin: 2rem 0;
    text-align: center;
}

.life-is-movie-page .director-message .fa-thumbtack {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: #c2410c;
    font-size: 1.2rem;
}

.life-is-movie-page .director-message .advice-content {
    color: var(--movie-text-dark);
    font-weight: 500;
}

.life-is-movie-page .highlight-orange {
    font-weight: bold;
    color: var(--movie-orange);
}

/* Headings */
.life-is-movie-page .clean-heading {
    font-size: 1.3rem;
    color: #1e293b;
    border-bottom: 2px solid var(--movie-border-light);
    padding-bottom: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.life-is-movie-page .clean-heading i {
    margin-right: 0.8rem;
    color: #f97316;
}

/* Highlight Box */
.life-is-movie-page .heroine-box {
    background: var(--movie-bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    font-weight: bold;
    color: #c2410c;
}

/* Final Call Box */
.life-is-movie-page .final-call {
    background: linear-gradient(135deg, var(--movie-orange), #f97316);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    margin: 3rem 0;
    box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.4);
}

/* Director's Cut Interaction Section */
.life-is-movie-page .director-section {
    background: var(--movie-bg-light);
    border: 2px dashed #fdba74;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    margin: 4rem 0;
    text-align: center;
}

.life-is-movie-page .director-title {
    color: #c2410c;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.life-is-movie-page .script-input-wrapper {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
}

.life-is-movie-page #directorScript {
    width: 100%;
    height: 120px;
    padding: 1.2rem;
    border: 2px solid #fdba74;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 1.05rem;
    background: #fff;
    margin-bottom: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.life-is-movie-page #directorScript:focus {
    outline: none;
    border-color: var(--movie-orange);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

/* Clapperboard Button Styles - Matches the 'Correct' image */
.life-is-movie-page .clapper-btn {
    background: #1e293b;
    color: #fff;
    border: none;
    padding: 1.2rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    overflow: visible; /* Show clapper top above button border */
    transition: all 0.2s;
    margin-top: 2rem;
    display: inline-block;
}

.life-is-movie-page .clapper-top {
    width: 100%;
    height: 18px;
    background: #1e293b;
    border: 2px solid #fff;
    border-bottom: none;
    transform: rotate(-22deg);
    transform-origin: bottom left;
    position: absolute;
    top: -16px;
    left: 0;
    z-index: 2;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Clapper Stripes - High contrast */
.life-is-movie-page .clapper-top::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 12px,
        #fff 12px,
        #fff 24px
    );
    opacity: 0.9;
}

.life-is-movie-page .clapper-btn.active .clapper-top {
    transform: rotate(0deg);
}

.life-is-movie-page .clapper-btn:hover {
    background: #0f172a;
    transform: scale(1.02);
}

.life-is-movie-page .clapper-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}

.life-is-movie-page .cut-message {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--movie-orange);
    opacity: 0;
    transition: all 0.4s;
    height: 0;
    visibility: hidden;
}

.life-is-movie-page .cut-message.show {
    opacity: 1;
    height: auto;
    visibility: visible;
    margin-top: 1.5rem;
}

/* Script Output Area - Hidden initially */
.life-is-movie-page .script-output {
    margin: 0;
    background: #fff;
    border: 0 solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    max-height: 0;
    visibility: hidden;
    text-align: left;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* When visible (not hidden) */
.life-is-movie-page .script-output:not(.hidden) {
    margin-top: 3.5rem;
    opacity: 1;
    max-height: 1000px;
    visibility: visible;
    border: 1px solid var(--movie-border-light);
}

.life-is-movie-page .script-header {
    background: #fff7ed; /* Light orange like image 3 */
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--movie-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #c2410c;
    font-weight: bold;
}

.life-is-movie-page .script-header i {
    margin-right: 0.5rem;
}

.life-is-movie-page #formattedScript {
    width: 100%;
    height: 250px;
    padding: 2rem;
    border: none;
    resize: none;
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
    color: #334155;
    background: transparent;
    line-height: 1.8;
}

.life-is-movie-page #formattedScript:focus {
    outline: none;
}

.life-is-movie-page .copy-btn {
    background: #fff;
    border: 1px solid #fed7aa;
    color: var(--movie-orange);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.life-is-movie-page .copy-btn:hover {
    background: var(--movie-orange);
    color: #fff;
}

/* Sidebar Styling */
.life-is-movie-page .one-point-advice {
    background: #ffffff;
    border: 1px solid #fdba74;
    border-radius: 12px;
    padding: 1.8rem;
}

.life-is-movie-page .one-point-advice .advice-header {
    color: #c2410c;
    border-bottom: 2px solid #fdba74;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    font-size: 1.05rem;
}

.life-is-movie-page .sidebar-nav-list li.active-link a {
    color: var(--movie-orange);
    background-color: #fff7ed;
    border-left: 3px solid var(--movie-orange);
}

/* Footer Overrides */
.life-is-movie-page .site-footer {
    background: #fff7ed !important;
    color: #9a3412 !important;
    border-top: 1px solid #fed7aa !important;
    padding: 3rem 2rem !important;
    margin-top: 5rem;
}
