/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* Main content wrapper */
.page-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(0,0,0,0.3);
    min-height: calc(100vh - 40px);
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    margin: 0;
    border-radius: 16px 16px 0 0;
}

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

nav h1 a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
}

nav ul li {
    white-space: nowrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Language switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.language-switcher .current-lang {
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
}

.language-switcher a {
    opacity: 0.7;
}

.language-switcher a:hover {
    opacity: 1;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    min-height: calc(100vh - 300px);
}

/* Banner */
.banner {
    width: 100%;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.hero .logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.services {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.services ul {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin: 1rem 0;
}

.services li {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #555;
}

.age-range {
    margin-top: 1.5rem;
    font-size: 1.3rem;
    color: #667eea;
}

/* Gallery */
.gallery {
    padding: 3rem 2rem;
}

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

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Skills Section */
.skills-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 237, 78, 0.1) 100%);
}

.skills-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d4a50a;
}

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

.skill-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(212, 165, 10, 0.2);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4a50a;
}

.skill-card p {
    line-height: 1.8;
    color: #555;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 3rem 2rem;
    background: white;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #d4a50a;
}

.why-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.why-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #d4a50a;
}

.why-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.why-text ul {
    list-style: none;
    padding: 0;
}

.why-text ul li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.why-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Content */
.content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.content h1, .content h2, .content h3 {
    margin: 2rem 0 1rem;
    color: #667eea;
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content ul, .content ol {
    margin: 1rem 0 1rem 2rem;
}

.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: rgba(245, 245, 245, 0.9);
    text-align: center;
    padding: 2rem;
    margin: 0;
    color: #666;
    border-radius: 0 0 16px 16px;
}

.contact-info {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

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

/* Responsive design */
@media (max-width: 1024px) {
    body {
        padding: 10px;
    }

    .page-wrapper {
        min-height: calc(100vh - 20px);
    }

    nav h1 a {
        font-size: 1.3rem;
    }

    nav ul {
        gap: 1.5rem;
        font-size: 0.95rem;
    }

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

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

    .why-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 5px;
    }

    .page-wrapper {
        border-radius: 8px;
        min-height: calc(100vh - 10px);
    }

    header {
        border-radius: 8px 8px 0 0;
    }

    footer {
        border-radius: 0 0 8px 8px;
    }

    nav {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    nav h1 a {
        font-size: 1.2rem;
    }

    nav ul {
        gap: 0.75rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.25rem 0;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero .logo {
        max-width: 150px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .services {
        padding: 1.5rem;
        margin: 1.5rem 1rem;
    }

    .services li {
        font-size: 1.1rem;
    }

    .gallery {
        padding: 2rem 1rem;
    }

    .gallery h2 {
        font-size: 2rem;
    }

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

    .gallery-item img {
        height: 250px;
    }

    .content {
        padding: 1rem;
    }

    .skills-section {
        padding: 2rem 1rem;
    }

    .skills-section h2 {
        font-size: 2rem;
    }

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

    .why-choose-us {
        padding: 2rem 1rem;
    }

    .why-choose-us h2 {
        font-size: 2rem;
    }

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

    main {
        padding: 0;
    }

    footer {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .logo {
        max-width: 120px;
    }

    nav ul {
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .services {
        padding: 1rem;
    }

    .services li {
        font-size: 1rem;
    }

    .age-range {
        font-size: 1.1rem;
    }

    .gallery h2 {
        font-size: 1.6rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .skills-section h2,
    .why-choose-us h2 {
        font-size: 1.6rem;
    }

    .skill-card h3 {
        font-size: 1.3rem;
    }

    .why-text h3 {
        font-size: 1.4rem;
    }

    .contact-info {
        font-size: 0.9rem;
    }
}
