/* Global Styles */
:root {
    --primary-color: #9c27b0;
    --secondary-color: #7b1fa2;
    --dark-color: #121212;
    --darker-color: #1e1e1e;
    --light-color: #fff;
    --text-color: #f5f5f5;
    --text-light: #bdbdbd;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--light-color);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.small {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Header Styles */
header {
    background-color: var(--darker-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    color: var(--light-color);
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--light-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}


/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0;
    overflow: hidden;
}

@media (max-width: 992px) {
    .hero {
        height: 70vh;
    }
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('piano-bg.webp') no-repeat center center/cover;
    z-index: -1;
    will-change: transform;
    transform-origin: center;
    transition: transform 0.1s linear;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    transform: translateZ(0);
}

.hero-content h2 {
    font-size: 3rem;
    margin-top: 30px;
    margin-bottom: 20px;
    color: white;
}

.hero-content h2::after {
    background: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    background-color: var(--darker-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--light-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.faq-note {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: var(--text-light);
    margin-top: 30px;
    font-size: 1.2rem;
}

/* Pricing Section */
.pricing {
    background-color: var(--dark-color);
}

.pricing-note {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--darker-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    background-color: var(--darker-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}
/* Form message styles */
.form-message {
    display: none;
    margin-top: 20px;
    border-radius: 8px;
    padding: 0;
    animation: fadeIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
    border-left: 4px solid;
}

.form-message.success {
    background-color: rgba(46, 125, 50, 0.15);
    border-left-color: #2e7d32;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.15);
    border-left-color: #F44336;
}

.form-message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    position: relative;
}

.form-message.success .form-message-content {
    color: #2e7d32;
}

.form-message.error .form-message-content {
    color: #F44336;
}

.form-message i:not(.fa-times) {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-message p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.close-message {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.close-message:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

/* Footer */
footer {
    background: #121212;
    color: var(--text-light);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--darker-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .pricing-table {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .contact-info, 
    .contact-form {
        padding: 20px;
    }
}