/* Custom CSS für Gitarrenlehrer Website */

/* Grünes Farbschema */
:root {
    --primary-color: #10b981;
    --secondary-color: #059669;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.navbar.scrolled .brand-icon {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-wrapper {
    display: flex;
    align-items: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-line1,
.brand-line2 {
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
}

.navbar.scrolled .brand-line1,
.navbar.scrolled .brand-line2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Brand Title */
.brand-mobile {
    justify-content: flex-start;
    align-items: flex-start;
}

.brand-mobile .brand-text {
    text-align: left;
}

.brand-mobile .brand-line1,
.brand-mobile .brand-line2 {
    font-size: 1.2rem;
}

/* Show/Hide based on screen size */
@media (max-width: 991px) {
    .brand-desktop {
        display: none !important;
    }

    .brand-mobile {
        display: flex;
    }
}

@media (min-width: 992px) {
    .brand-desktop {
        display: flex;
    }

    .brand-mobile {
        display: none;
    }
}

.navbar-dark .navbar-brand {
    color: white;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
	background: rgb(0 0 0 / 28%);
    backdrop-filter: blur(5px);
    border-radius: 40px;
    padding: 1rem 0.5rem;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* About Section */
#about {
    padding: 5rem 0;
}

.about-text {
    font-size: 1.1rem;
    color: #555;
}

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

.about-image img {
    border-radius: var(--border-radius);
    transition: var(--transition);
    max-width: 50%;
    height: auto;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Schedule Section */
.schedule-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
    gap: 1rem;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: #f8f9fa;
    border-radius: 8px;
}

.schedule-day {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-color);
    flex: 1;
    min-width: 0;
}

.schedule-time {
    color: #666;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.schedule-time .time-range {
    font-family: 'Courier New', monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.05em;
}

.schedule-status {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.schedule-status .badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Price Cards */
.price-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.2);
}

.price-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.price-header h4 {
    margin: 0;
    font-size: 1.3rem;
}

.price-body {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price-duration {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.price-description {
    color: #777;
    margin-top: 1rem;
}

/* Gallery */
#gallery {
    display: none;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Contact Section */
.contact-info {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* General Information Section */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.info-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-text {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* Contact Form */
#contactForm {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 2px solid #eee;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

#form-message {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    margin-top: 5rem;
}

.footer a {
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 1.75rem !important;
    }

    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .navbar-collapse {
        background: rgba(26, 26, 26, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-section h1 {
        font-size: 1.75rem !important;
    }

    .price-amount {
        font-size: 2rem;
    }

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

/* Loading Spinner */
.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-container.active {
    display: flex;
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

#scrollToTop:hover {
    transform: translateY(-5px);
}

#scrollToTop.visible {
    display: flex;
}

/* Accessibility */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Legal Pages Navbar */
.legal-navbar {
    background: #000 !important;
}

.legal-navbar-brand {
    background: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.legal-navbar-brand i {
    color: var(--primary-color);
}

.legal-navbar-brand:hover {
    background: #1a1a1a;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    #scrollToTop {
        display: none;
    }
}
