/* Clean CSS for Music World Website */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

/* Hero section background */
#home {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)),
        url('images/music bgimg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: white;
}

/* Hero section text colors */
#home h1 {
    color: white;
}

#home p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero section centering */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#home .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Purple divider line in middle */
#home .container::after {
    content: '';
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 2rem 0;
    border-radius: 2px;
}

/* Hero buttons visibility */
#home .flex.gap-4 {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    #home .flex.gap-4 {
        flex-direction: row;
    }
}

#home .bg-white {
    display: inline-block !important;
    background-color: white !important;
    color: #1a1a1a !important;
    padding: 0.75rem 2rem !important;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

#home .border-2 {
    display: inline-block !important;
    border: 2px solid white !important;
    color: white !important;
    padding: 0.75rem 2rem !important;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

#home .bg-white:hover {
    background-color: #f3f4f6 !important;
    transform: translateY(-2px);
}

#home .border-2:hover {
    background-color: #1a1a1a !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Sections */
section {
    display: block;
    position: relative;
    width: 100%;
    min-height: 100vh;
    scroll-margin-top: 80px;
}

/* Simple fade animation only */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Simple card hover */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Image gallery */
.image-gallery img {
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Scroll to top button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #3b2f2f, #1f1b1b);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive fixes */
@media (max-width: 768px) {
    section {
        min-height: auto;
        padding: 60px 0;
    }
}

/* Enhanced hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Form validation styles */
input:invalid, textarea:invalid {
    border-color: #ef4444;
}

input:valid, textarea:valid {
    border-color: #10b981;
}

/* Focus styles for accessibility */
.nav-link:focus, button:focus, input:focus, textarea:focus {
    outline: 2px solid #3b2f2f;
    outline-offset: 2px;
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, #3b2f2f, #1f1b1b);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 47, 47, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3b2f2f;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #3b2f2f;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #3b2f2f;
    color: white;
    transform: translateY(-2px);
}

/* Section spacing */
section {
    position: relative;
    overflow: hidden;
}

/* Background patterns */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 47, 47, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(31, 27, 27, 0.1) 0%, transparent 50%);
}

/* Testimonial styles */
.testimonial {
    background: linear-gradient(135deg, rgba(59, 47, 47, 0.05) 0%, rgba(31, 27, 27, 0.05) 100%);
    border-left: 4px solid #3b2f2f;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Music note animation */
.music-notes {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Responsive typography */
@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bg-gray-50 {
        background-color: #1f2937;
        color: #f9fafb;
    }
    
    .text-gray-600 {
        color: #d1d5db;
    }
    
    .text-gray-800 {
        color: #f9fafb;
    }
}

/* Text selection color */
::selection {
    background: #3b2f2f;
    color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b2f2f, #1f1b1b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2d2424, #151313);
}

/* Newsletter form styling */
footer form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #667eea;
}
