/* About Me Page Specific Styles */

/* About Header */
.about-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.about-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 500px;
    line-height: 1.6;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.instructor-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* About Content */
.about-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.story-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.story-card h2 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 2rem;
    text-align: center;
}

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

.intro-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    text-align: center;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-text p:last-child {
    margin-bottom: 0;
}

/* Teaching Highlights */
.teaching-highlights {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.teaching-highlights h3 {
    font-size: 1.8rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    text-align: center;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.instrument-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.instrument-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.instrument-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Teaching Philosophy */
.teaching-philosophy h3 {
    font-size: 1.8rem;
    color: var(--primary-purple);
    margin-bottom: 2rem;
    text-align: center;
}

.philosophy-points {
    display: grid;
    gap: 2rem;
}

.philosophy-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid var(--primary-purple);
}

.philosophy-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.philosophy-text h4 {
    font-size: 1.2rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.philosophy-text p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Gallery Section on About Page */
.about-gallery-section {
    padding: 80px 0;
    background: white;
}

.about-gallery-section h2 {
    font-size: 2.5rem;
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
}

/* Gallery Controls (reuse from gallery.css) */
.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.gallery-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.gallery-auto-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 25px;
    color: white;
    font-size: 14px;
}

.auto-control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.auto-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-purple);
    transform: scale(1.2);
}

.dot:hover {
    background: #999;
}

/* Call to Action */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    text-align: center;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: white;
    color: var(--primary-purple);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: white;
    color: var(--primary-purple);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-header {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .about-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h1 {
        font-size: 2.5rem;
    }
    
    .about-subtitle {
        font-size: 1.1rem;
    }
    
    .instructor-image {
        width: 250px;
        height: 250px;
    }
    
    .about-content {
        padding: 60px 0;
    }
    
    .story-card {
        padding: 2rem;
        margin: 0 20px;
        border-radius: 15px;
    }
    
    .story-card h2 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.2rem;
    }
    
    .story-text p {
        font-size: 1rem;
    }
    
    .teaching-highlights,
    .teaching-philosophy {
        padding: 1.5rem;
    }
    
    .instruments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .instrument-item {
        padding: 1rem;
    }
    
    .philosophy-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .about-gallery-section {
        padding: 60px 0;
    }
    
    .about-gallery-section h2 {
        font-size: 2rem;
    }
    
    .gallery-container {
        margin: 0 20px;
        border-radius: 15px;
    }
    
    .gallery-wrapper {
        height: 350px;
    }
    
    .gallery-controls {
        padding: 0 15px;
    }
    
    .gallery-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .about-cta {
        padding: 60px 0;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .about-text h1 {
        font-size: 2rem;
    }
    
    .instructor-image {
        width: 200px;
        height: 200px;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .instruments-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-wrapper {
        height: 280px;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .gallery-slide {
        transition: none;
    }
    
    .gallery-btn,
    .instrument-item,
    .cta-button {
        transition: none;
    }
}

/* Focus styles */
.gallery-btn:focus,
.auto-control-btn:focus,
.dot:focus,
.cta-button:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}
