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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a0033 0%, #2d0052 50%, #1a0033 100%);
    min-height: 100vh;
}

/* Header Styles */
header {
    background: rgba(74, 20, 140, 0.9);
    padding: 0.5rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

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

header h1 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: center;
    gap: .5rem;
}

nav a {
    color: #e1bee7;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

section {
    margin-bottom: 4rem;
}

section h2 {
    color: #ce93d8;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
#contact {
    text-align: center;
    background: rgba(74, 20, 140, 0.3);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(206, 147, 216, 0.3);
}

#contact p {
    font-size: 1.1rem;
    color: #e1bee7;
}

/* Footer */
footer {
    background: rgba(74, 20, 140, 0.9);
    color: #e1bee7;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
}