/* 
===========================================
FRIENDS THEATER WEBSITE STYLES
===========================================

IMPORTANT FOR MAINTENANCE:
- Colors are defined as CSS variables at the top
- To change the main colors, update the :root section
- Content sections are clearly marked for easy editing
- Responsive design works on all screen sizes

FRIENDS-INSPIRED COLOR SCHEME:
- Primary: Bright orange (#FF6B35) - inspired by Central Perk couch
- Secondary: Warm yellow (#FFD23F) - inspired by the apartment walls  
- Accent: Purple (#8E44AD) - inspired by Phoebe's style
- Background: Warm cream (#FFF8E7)
*/

/* CSS Variables for Easy Color Management */
:root {
    /* Friends-inspired color palette */
    --primary-color: #ff8ac3;        /* Vibrant pink */
    --secondary-color: #ffee3f;      /* Sunny yellow */
    --accent-color: #3576b8;         /* Calm blue */
    --background-color: #fefde2;     /* Soft cream */
    --text-dark: #1f1717;            /* Deep cocoa */
    --text-light: #b0898a;           /* Dusty mauve */
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    

    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-size-base: 16px;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 10px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-color);
}

/* Container for content width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Section spacing */
.section {
    padding: var(--section-padding);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #FF8C42);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--accent-color), #A569BD);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* 
===========================================
HEADER AND NAVIGATION
===========================================
*/
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Mobile menu toggle */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* 
===========================================
HERO SECTION
===========================================
*/
.hero {
    background: var(--primary-color);
    max-width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px; /* Account for fixed header */
}

.hero-slideshow {
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  display: flex;
  justify-content: center; /* Center the slides */
  align-items: center; /* vertically center the slides */
}

.slide {
  position: absolute;
  width: 95%;
  height: 95%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}


/* 
===========================================
EVENT INFORMATION SECTION
===========================================
*/
.event-info {
    background: var(--white);
}

.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.event-card {
    background: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.event-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.event-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.event-card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    text-align: center;
}

.event-card a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}
.event-card a:hover {
    text-decoration: underline;
}

.ticket-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
}

.ticket-link:hover {
    text-decoration: underline;
}



/* 
===========================================
CAST AND CREW SECTION
===========================================
*/
.cast-crew {
    background: var(--background-color);
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.cast-member {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.cast-member:hover {
    transform: translateY(-10px);
}

.cast-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
}

.cast-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* IMPORTANT: Photo placeholder styling - replace with actual photos */
.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.photo-placeholder p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.cast-member h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.character {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Crew section */
.crew-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--secondary-color);
}

.crew-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.crew-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.crew-member {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
}

.crew-member h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}


/* 
===========================================
FAQ SECTION
===========================================
*/
.faq-section {
    background: linear-gradient(135deg, var(--accent-color), #9B59B6);
    color: var(--white);
}
.faq-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

/* 
===========================================
ABOUT CLUB SECTION
===========================================
*/
.about-club {
    background: var(--white);
}

.club-content {
    max-width: 100vw;
    margin: 0 auto;
    text-align: center;
}

.club-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.club-highlights {
    margin-bottom: 3rem;
    text-align: left;
}

.club-highlights h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.club-highlights ul {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
}

.club-highlights li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.club-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.social-links h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #E4405F, #833AB4);
}

.social-btn.kakao {
    background: linear-gradient(45deg, #FEE500, var(--text-light));
}

.social-btn.apply {
    background: linear-gradient(45deg, #4285F4, #34A853);
}

.social-btn.email {
    background: linear-gradient(45deg, var(--accent-color), #9B59B6);
}


/* 
===========================================
ABOUT CLUB SECTION
===========================================
*/
.flickr-embed {
  max-width: 100%;
  margin: 2rem auto 0;
  text-align: center;
}

.flickr-embed img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}


/* 
===========================================
SUPPORT SECTION
===========================================
*/
.support {
    background: linear-gradient(135deg, var(--primary-color), #FF8C42);
    color: var(--white);
}

.support .section-title {
    color: var(--white);
}

.support .section-title::after {
    background: var(--white);
}

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

.support-text {
    margin-bottom: 3rem;
}

.support-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.support-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.support-benefits {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.support-benefits h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.support-benefits ul {
    list-style: none;
}

.support-benefits li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.support-benefits li::before {
    content: '💰';
    position: absolute;
    left: 0;
}

.crowdfunding-section {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.support-note {
    margin-top: 1rem;
    opacity: 0.8;
    font-style: italic;
}

/* Hide badge only if you show the attribution text near the button */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1rem;
    opacity: 0.8;
}
.recaptcha-note a {
    color: var(--white);
    text-decoration: underline;
    opacity: 0.8;
}

.crowdfunding-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}


 

/* 
===========================================
CONTACT SECTION
===========================================
*/
.contact {
    background: var(--background-color);
}

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

.contact-content h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    min-width: 250px;
}

.contact-method i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-method h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* 
===========================================
FOOTER
===========================================
*/
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* 
===========================================
RESPONSIVE DESIGN
===========================================
*/

/* Tablet styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .event-details {
        grid-template-columns: 1fr;
    }

    .cast-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 200px;
        justify-content: center;
    }
}

/* Mobile styles */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
        --container-padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cast-grid {
        grid-template-columns: 1fr;
    }

    .crew-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-method {
        min-width: auto;
        width: 100%;
    }
}

/* 
===========================================
SMOOTH SCROLLING AND ANIMATIONS
===========================================
*/
html {
    scroll-behavior: smooth;
}

/* Fade in animation for sections */
.section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Stagger animations */
.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }

/* Loading animation for images */
.cast-photo,
.photo-placeholder {
    position: relative;
    overflow: hidden;
}

.cast-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hover effects */
.event-card,
.cast-member,
.crew-member {
    position: relative;
    overflow: hidden;
}

.event-card::before,
.cast-member::before,
.crew-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s;
}

.event-card:hover::before,
.cast-member:hover::before,
.crew-member:hover::before {
    left: 100%;
}

/* 
===========================================
ACCESSIBILITY IMPROVEMENTS
===========================================
*/

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus,
.social-btn:focus,
.ticket-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.3);
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid var(--text-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .video-section,
    .support {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
}
