:root {
    --primary-color: #654321;
    /* Brown */
    --primary-dark: #50351A;
    --primary-light: #8B5E34;
    --accent-color: #FFD700;
    /* Gold for subtle accents/Takarazuka feel */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --bg-body: #FAF7F0;
    /* Ivory for Body */
    --bg-card: #FFFFFF;
    /* White for Cards */
    --font-main: 'Noto Sans JP',
        sans-serif;
    --font-heading: 'Playfair Display',
        serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    cursor: none;
    /* Hide default cursor */
}

a,
button,
input[type="submit"],
.gallery-item {
    cursor: none;
    /* Ensure pointer cursor is hidden */
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-body);
    background-image: url('assets/tile_background.png');
    background-repeat: repeat;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Buttons */
.button-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(101, 67, 33, 0.3);
}

.button-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 67, 33, 0.4);
    color: var(--white);
    text-decoration: none;
}

.button-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid var(--white);
}

.button-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.button-white {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    /* Increased width to move logo further left */
    padding: 0 40px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.logo .tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    font-family: var(--font-main);
    margin-top: -2px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.nav-en {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.nav-jp {
    font-size: 0.95rem;
}







.main-nav a:not(.trial-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:not(.trial-button):hover::after {
    width: 100%;
}

.main-nav .trial-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.main-nav .trial-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 15px;
}

.social-icon-link {
    color: var(--text-color);
    font-size: 1.5rem;
    /* Larger icons */
    transition: var(--transition);
}

.social-icon-link:hover {
    transform: translateY(-2px);
}

.social-icon-link .fa-instagram {
    color: #E1306C;
}

.social-icon-link .fa-youtube {
    color: #FF0000;
}

.social-icon-link .fa-facebook-f {
    color: #1877F2;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1508700115892-45ecd05ae2ad?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80');
    /* Elegant stage/performance image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(101, 67, 33, 0.8) 0%, rgba(80, 53, 26, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Philosophy Section */
.philosophy-section {
    padding: 100px 0;
    background-color: transparent;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.philosophy-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.point h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.philosophy-footer {
    font-size: 0.95rem;
    color: var(--text-light);
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: transparent;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background-color: var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
    background-color: var(--white);
}

.service-card:hover h3 {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-card:hover p {
    color: var(--text-color);
}

.service-card:hover .text-link {
    color: var(--primary-color);
}

.service-card:hover .service-header-en {
    color: var(--primary-light);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.2rem;
    margin: 20px auto 15px;
    color: var(--primary-color);
    background-color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 0.95rem;
    padding: 0 20px;
    flex-grow: 1;
    transition: var(--transition);
}

.service-card .text-link {
    margin-bottom: 30px;
    align-self: center;
}

.text-link {
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    color: var(--white);
    transition: var(--transition);
}

.text-link:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

.service-card:hover .text-link:hover {
    color: var(--accent-color);
}

/* Trial CTA Section */
.trial-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: transparent;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    padding: 40px;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-desc {
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-item {
    margin-bottom: 25px;
}

.info-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-item a,
.info-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-left: 5px;
}

.label-en {
    color: var(--primary-light);
    font-size: 0.85rem;
    margin-left: 8px;
    font-weight: 400;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(101, 67, 33, 0.1);
}

.full-width {
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #888;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    width: 100%;
    margin-top: auto;
}

/* Page Header for Sub-pages */
.page-header {
    background-color: transparent;
    padding: 80px 0 40px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Content Section for Sub-pages */
.content-section {
    padding: 60px 0;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.center-text {
    text-align: center;
}

.text-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.text-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.schedule-box {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.schedule-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.schedule-box p {
    margin-bottom: 20px;
}

.schedule-box p:last-child {
    margin-bottom: 0;
}

.schedule-box-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    text-align: left;
}

.schedule-text {
    flex: 1;
}

.schedule-image {
    flex: 1;
    max-width: 50%;
}

.schedule-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .schedule-box-content {
        flex-direction: column;
        text-align: center;
    }

    .schedule-image {
        max-width: 100%;
    }
}

/* FAQ Styles */
.faq-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.faq-item p {
    margin-bottom: 0;
}

.message-box {
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 80px 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        display: block;
        /* Ensure it's block for vertical flow */
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .philosophy-points {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Hero CTA Hover Adjustment */
.hero .button-primary:hover {
    box-shadow: 0 6px 20px rgba(101, 67, 33, 0.6);
    /* Royal Purple Shadow */
    border-color: var(--primary-light);
}

/* Mobile Font Size Adjustment */
@media (max-width: 600px) {
    p {
        font-size: 15px;
    }
}

/* --- ヒーローセクション動画用スタイル --- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* 画面いっぱいの高さ */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* はみ出した動画をカット */
    color: #fff;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    /* 最背面 */
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* 黒の半透明フィルター */
    z-index: -1;
    /* 動画と文字の間 */
}

.hero-content {
    position: relative;
    z-index: 1;
    /* 最前面 */
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

/* --------------------------------------- */
/* Instructor Page Styles */
.instructor-profile {
    margin-bottom: 60px;
}

.instructor-profile h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.instructor-profile h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
    background-color: var(--bg-card);
    padding: 10px 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.history-list,
.activity-list,
.qualification-list {
    list-style-type: none;
    padding-left: 0;
}

.history-list li,
.activity-list li,
.qualification-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.history-list li::before,
.activity-list li::before,
.qualification-list li::before {
    content: '\2022';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    margin: 60px 0;
}


/* Instructor Image Styles */
.profile-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.instructor-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.profile-info {
    flex: 1;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .instructor-image {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
}

/* Service Page CTA */
.service-cta {
    text-align: center;
    margin-top: 60px;
}

/* Access Page Styles */
.access-map {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.access-info-container {
    max-width: 800px;
    margin: 0 auto;
}

.access-details {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.access-details h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.8rem;
}

.access-details .info-item {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.access-details .info-item:last-of-type {
    border-bottom: none;
}

.access-details .label {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.access-details p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.access-action {
    text-align: center;
    margin-top: 40px;
}

.access-image-container {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.access-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.access-image:hover {
    transform: scale(1.02);
}

/* Gallery Page Styles */
.page-background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -10;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: -5;
}

.gallery-intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    background: white;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Responsive Gallery - Removed specific media queries as auto-fit handles it */

/* Voice Page Styles */
.voice-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.voice-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.voice-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.voice-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .voice-card {
        padding: 25px;
    }
}

/* Read More Toggle */
.more-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.more-content.open {
    display: block;
    opacity: 1;
}

#read-more-btn {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

#read-more-btn:hover {
    color: var(--white);
}

/* Lightbox - Corrected Location */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--primary-color);
}

/* Video Thumbnail Overlay */
.video-thumbnail-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-thumbnail-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #FF0000;
    opacity: 0.8;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
    background-color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding-left: 6px;
    /* Optical alignment for play icon */
}




.video-thumbnail-container:hover img {
    transform: scale(1.05);
}

.video-thumbnail-container:hover .play-button-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Mouse Stalker Styles */
#mouse-cursor,
#mouse-stalker {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

/* DEFAULT: White (Best for Dark/Hero/Safe) */
#mouse-cursor {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#mouse-stalker {
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Light Theme State (Brown on White sections) */
#mouse-cursor.on-light-theme {
    background-color: var(--primary-color);
    box-shadow: none;
}

#mouse-stalker.on-light-theme {
    border-color: var(--primary-color);
    background-color: rgba(101, 67, 33, 0.1);
}

/* Hover State */
#mouse-cursor.is-hovering {
    opacity: 0;
}

#mouse-stalker.is-hovering {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    border-color: transparent;
}

#mouse-stalker.on-light-theme.is-hovering {
    background-color: rgba(101, 67, 33, 0.3);
}

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {

    #mouse-cursor,
    #mouse-stalker {
        display: none;
    }
}