/* Modern CSS with Apple-style design */

:root {
    --primary-color: #000000;
    --secondary-color: #86868b;
    --text-color: #1d1d1f;
    --light-bg: #fbfbfd;
    --transition: all 0.3s ease;
    --accent-color: #86868b;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateY(-100%);
}

.navbar.visible {
    transform: translateY(0);
}

.navbar.hidden {
    transform: translateY(-100%);
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero-content {
    transform: translateY(-50px);
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: -1px;
    text-transform: uppercase;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui;
    line-height: 1;
    background: linear-gradient(to right, #fff, #e2e2e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator i {
    color: white;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-30px);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        min-height: 100vh;
        height: auto;
        padding: 80px 20px;
    }

    .scroll-indicator {
        bottom: 240px;
    }

    .hero-content {
        padding-bottom: 60px;
    }
}

/* Fix iOS background image */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}

/* Media Section */
.media-section {
    padding: 100px 0;
    background: white;
}

.media-section h2 {
    text-align: center;
    margin-bottom: 60px;
}

.media-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* YouTube Section */
.youtube-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .video-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 400px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-item {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        height: 300px;
    }
}

/* Fancybox customization */
.fancybox__container {
    --fancybox-bg: #000;
    --fancybox-thumbs-border-radius: 8px;
    --fancybox-thumbs-ratio: 1;
    --fancybox-thumbs-width: 96px;
    --fancybox-thumbs-height: 72px;
}

.fancybox__nav {
    --carousel-button-bg: rgba(0, 0, 0, 0.8);
}

.fancybox__toolbar {
    --carousel-button-bg: rgba(0, 0, 0, 0.8);
}

.fancybox__slide {
    padding: 0;
}

.fancybox__backdrop {
    background: rgba(0, 0, 0, 0.95);
}

.fancybox__content {
    background: none;
    margin: 0;
    padding: 0;
}

.fancybox__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Performances Section */
.performances {
    padding: 100px 0;
}

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

.performance-card {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.date {
    font-size: 1.5rem;
    color: #86868b;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    margin-bottom: 60px;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: white;
    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 4px rgba(0, 0, 0, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.submit-button i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.social-icon {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.social-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover .social-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.social-link span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* References Section */
.references {
    padding: 100px 0;
    background: var(--light-bg);
    overflow: hidden;
}

.references h2 {
    text-align: center;
    margin-bottom: 60px;
}

.references-slider {
    position: relative;
    padding: 40px 0;
}

.slider-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
}

.reference-item {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.reference-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(1);
    transition: var(--transition);
}

.reference-item:hover img {
    filter: grayscale(0);
}

.reference-item span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 7 - 60px * 7));
    }
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 4px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
        letter-spacing: 3px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}

/* Form Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.success-message i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.success-message p {
    color: var(--text-color-light);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--primary-color);
    color: white;
}

.testimonials h2 {
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-text p::before {
    content: '"';
    font-size: 3rem;
    line-height: 0;
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.testimonial-author {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}
