/**
 * Moin Eiscafé - Custom Styles
 * Basierend auf Bootstrap 5
 */

/* ================================
   1. Allgemeine Styles
   ================================ */

:root {
    --primary-color: #63a4af;
    --primary-color-rgb: 99, 164, 175;
    --primary-dark: #4a8a94;
    --secondary-color: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-light: #fafafa;
    --gradient-1: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
    --gradient-2: linear-gradient(135deg, #a29bfe 0%, #fd79a8 100%);
    --gradient-3: linear-gradient(135deg, #55efc4 0%, #81ecec 100%);
}

.bg-info {
    background-color: rgba(var(--primary-color-rgb),var(--bs-bg-opacity)) !important
}
.text-info {
    color: var(--primary-color) !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    line-height: 1.7;
    background-color: #f8f6f3;
}

h1, h2, h3, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
h4 {font-weight: 400;}

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

/* Main Content Wrapper - startet ganz oben */
.main-content {
    min-height: calc(100vh - 300px);
    margin-top: 0;
    padding-top: 0;
    position: relative;
    top:-136px;
}

/* ================================
   2. Navigation Anpassungen
   ================================ */

.nav-wrapper {
    position: sticky;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 140px;
    margin: 0 auto;
    pointer-events: none; /* Erlaubt Klicks durch den Wrapper */
}

.navbar {
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 140px;
    pointer-events: auto; /* Navigation selbst ist klickbar */
}

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

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

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

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(230, 126, 34, 0.05);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(230, 126, 34, 0.1);
}

.btn-login {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

/* Kein extra padding nötig - Content startet ganz oben */
body {
    padding-top: 0;
    margin-top: 0;
}

/* ================================
   3. Buttons
   ================================ */

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ================================
   4. Hero Section
   ================================ */

.hero-section {
background-image: linear-gradient(90deg, #D2E9D2 0%, #B4DDE9 50%, #9DB7DF 100%);
    min-height: 80vh;
    margin-top: 0;
    padding-top: 180px; /* Minimal padding */
}

.hero-image {
    aspect-ratio: 4/3;
    min-height: 200px;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-8px);
}

.bg-gradient-1 {
    background: var(--gradient-1);
}

.bg-gradient-2 {
    background: var(--gradient-2);
}

.bg-gradient-3 {
    background: var(--gradient-3);
}

/* ================================
   5. Features Section
   ================================ */

.features-section {
    background-color: var(--bg-light);
}

.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
}

/* ================================
   6. Menu Section
   ================================ */

.menu-item {
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateX(10px);
}

.nav-pills .nav-link {
    color: var(--text-muted);
    background-color: white;
    border: 2px solid #e8e8e8;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

/* ================================
   7. Contact Section
   ================================ */

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.15);
}

/* ================================
   8. Footer
   ================================ */

.footer {
    background-color: var(--secondary-color);
}

.footer a {
    transition: color 0.3s ease;
}

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

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* ================================
   9. Cards
   ================================ */

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* ================================
   10. About Section
   ================================ */

.about-image {
    min-height: 400px;
    background: var(--gradient-1);
}

/* ================================
   11. Utility Classes
   ================================ */

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.min-vh-75 {
    min-height: 75vh;
}

/* ================================
   12. Responsive Anpassungen
   ================================ */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .hero-image {
        min-height: 150px;
    }
    
    .nav-pills .nav-link {
        margin: 0.25rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 991px) {
    .nav-wrapper {
        width: auto;
        left: 1rem;
        right: 1rem;
        transform: none;
        top: 10px;
        margin: 0;
    }
    
    .navbar {
        width: 100%;
        border-radius: 20px;
        padding: 0.75rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 20px;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        margin-top: 0.5rem;
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    
    .btn-login {
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
    
    body {
        padding-top: 0;
        margin-top: 0;
    }
    
    .hero-section {
        margin-top: 0;
        padding-top: 80px;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

/* ================================
   13. Animations
   ================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================
   14. Custom Scrollbar (Optional)
   ================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
