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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #40e0d0 0%, #8a2be2 50%, #da70d6 100%);
    min-height: 100vh;
}

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

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: #8a2be2;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Dancing Script', cursive;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #40e0d0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #40e0d0;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 120px 2rem 3rem;
    background: linear-gradient(135deg, #40e0d0 0%, #8a2be2 100%);
    color: white;
}

.hero-content {
    max-width: 500px;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #da70d6;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(218, 112, 214, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(218, 112, 214, 0.4);
}

.hero-image {
    display: inline-block;
    vertical-align: top;
    margin: -20px 2rem 0 2rem;
    position: relative;
    /* Firefox-specific fixes */
    min-width: 0;
    width: auto;
}

.placeholder-image {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 2px dashed rgba(255, 255, 255, 0.5);
}

.hero-main-image {
    display: block;
    width: auto;
    height: auto;
    max-width: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: none;
    transform: scale(0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Firefox-specific fixes */
    -moz-object-fit: none;
    flex-shrink: 0;
    flex-grow: 0;
}

.hero-main-image:hover {
    transform: scale(0.75) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.hero-second-image {
    display: none;
    position: absolute;
    top: 220px;
    left: -900px;
    width: auto;
    height: auto;
    max-width: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    object-fit: none;
    transform: scale(0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    /* Firefox-specific fixes */
    -moz-object-fit: none;
    flex-shrink: 0;
    flex-grow: 0;
}

.hero-second-image:hover {
    transform: scale(0.65) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.about-content {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
    text-align: left;
}

.about-content strong {
    color: #8a2be2;
    font-weight: bold;
}

.about .cta-button {
    display: inline-block;
    margin: 2rem auto 0;
}

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

.about > .container > p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #40e0d0 0%, #8a2be2 100%);
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: linear-gradient(135deg, #b2f5ea 0%, #d8b4fe 100%);
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.team-members {
    display: grid;
    gap: 3rem;
    margin-bottom: 5rem;
}

.member {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    align-items: stretch;
    position: relative;
    padding-bottom: 4rem;
}

.member:nth-child(even) {
    flex-direction: row-reverse;
}

.member-photo {
    flex: 0 0 200px;
}

.placeholder-photo {
    width: 200px;
    height: 200px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px dashed #ccc;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid #40e0d0;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(64, 224, 208, 0.5);
}

.member-info {
    flex: 1;
}

.member-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.role {
    color: #8a2be2;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bio {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.bio-toggle {
    background: #da70d6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(218, 112, 214, 0.3);
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.bio-toggle:hover {
    background: #8a2be2;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 15px rgba(218, 112, 214, 0.4);
}

.bio-toggle.expanded {
    background: #8a2be2;
}

.bio-main {
    position: relative;
}

.bio-main.collapsed {
    max-height: 300px;
    overflow: hidden;
}

.bio-main.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.bio-extended {
    margin-top: 1rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.5s ease;
}

.bio-extended.expanded {
    opacity: 1;
    max-height: 2000px;
}

.performances h3 {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

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

.performance {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.performance-image {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.performance h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.performance p {
    color: #666;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.services-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.services .cta-button {
    display: inline-block;
    margin: 2rem auto 0;
}

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

/* News Section */
.news {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ffcc80 100%);
}

.news h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.news-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.news-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-date {
    color: #555;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.news-date strong {
    color: #2c3e50;
}

.news-title {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.news-content p {
    margin-bottom: 1rem;
}

.news-content p:last-child {
    margin-bottom: 0;
}

.news-content a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-content a:hover {
    color: #40e0d0;
    text-decoration: underline;
}

/* Plays Section - Vertical Layout */
.plays {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.plays h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.plays-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.plays-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.play-item {
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.play-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.play-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.play-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}


.play-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.play-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.play-age {
    background: linear-gradient(135deg, #40e0d0, #8a2be2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 1rem;
    flex-shrink: 0;
}

.play-preview {
    margin-bottom: 1.5rem;
}

.play-preview p {
    color: #666;
    line-height: 1.6;
    margin: 0 0 1.2rem 0;
    font-size: 1.1rem;
}

.play-preview p:last-child {
    margin-bottom: 0;
}

.play-details {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    transition: all 0.3s ease;
}

.play-details p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: #555;
}

.play-details strong {
    color: #2c3e50;
}

.play-toggle {
    background: linear-gradient(135deg, #40e0d0, #8a2be2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.play-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.play-toggle.expanded {
    background: linear-gradient(135deg, #8a2be2, #40e0d0);
}

.plays-load-more {
    display: block;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, #40e0d0, #8a2be2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plays-load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}


/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 50%, #ffcc80 100%);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.gallery-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: #2c3e50;
}

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

.gallery-load-more {
    display: block;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, #40e0d0, #8a2be2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: -10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.reviews h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.reviews-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.review {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.author-name {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

.author-role {
    color: #8a2be2;
    font-size: 0.9rem;
    font-weight: 500;
}

.reviews-load-more {
    display: block;
    margin: 2rem auto 0;
    background: linear-gradient(135deg, #40e0d0, #8a2be2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-load-more:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #40e0d0 0%, #da70d6 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.contact > .container > p {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item a {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #40e0d0;
    text-decoration: underline;
}

.contact-map {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-map h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    border-radius: 15px;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
    margin-top: 0;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a2be2;
}

.error-message {
    color: #8a2be2;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.submit-button {
    background: linear-gradient(135deg, #40e0d0 0%, #8a2be2 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(64, 224, 208, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(64, 224, 208, 0.4);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Apply zoom only on larger screens to prevent mobile overflow */

/* Show second image only on very large screens */
@media (min-width: 1800px) {
    .hero-second-image {
        display: block !important;
    }
}

/* Hide second image when layout becomes vertical */
@media (max-width: 1800px) {
    .hero-second-image {
        display: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        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 {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-image {
        margin: -50px 0 0 -30px;
        display: flex;
        justify-content: center;
    }

    .hero-main-image {
        transform: scale(0.4) translateX(-20px) translateY(-30px) !important;
        max-width: 100%;
        height: auto;
    }

    .hero-main-image:hover {
        transform: scale(0.45) translateX(-20px) translateY(-35px) !important;
    }

    .placeholder-image {
        width: 300px;
        height: 200px;
        margin-top: 2rem;
    }

    .member {
        flex-direction: column !important;
        text-align: center;
    }

    .member:nth-child(even) {
        flex-direction: column !important;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-left {
        gap: 2rem;
    }

    .contact-info {
        padding: 2rem;
    }

    .contact-map {
        padding: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

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

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

    .plays-list {
        gap: 1.5rem;
        margin: 0 1rem;
    }

    .play-item {
        flex-direction: column;
    }

    .play-image {
        flex: none;
        height: 200px;
    }

    .play-image img {
        height: 200px;
    }

    .play-content {
        padding: 1.5rem;
    }

    .play-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .play-age {
        margin-left: 0;
        align-self: flex-start;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-nav.prev {
        left: -50px;
    }

    .lightbox-nav.next {
        right: -50px;
    }

    .lightbox-close {
        top: -40px;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .review {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about h2,
    .portfolio h2,
    .contact h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-map {
        padding: 1.5rem;
    }
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
    .hero-main-image {
        width: auto !important;
        max-width: none !important;
        object-fit: none !important;
    }
    
    .hero-image {
        width: auto !important;
        overflow: visible !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

/* Alternative method for older browsers */
section {
    scroll-margin-top: 120px;
}

/* Specific targeting for anchor links - using pseudo-elements */
#about::before, #portfolio::before, #contact::before {
    content: "";
    display: block;
    height: 100px;
    margin-top: -100px;
    visibility: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.member,
.feature,
.performance {
    animation: fadeInUp 0.6s ease-out;
}