/* Custom styles for Grundschule am NOK - Child-friendly design */

:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-yellow: #FFE66D;
    --accent-purple: #A8DADC;
    --accent-orange: #FF9F1C;
    --accent-green: #95E1D3;
    --dark-text: #2D3748;
    --light-bg: #F7FAFC;
}

body {
    font-family: 'Comic Sans MS', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

/* Navbar styling */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-light .navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.dropdown-menu {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    color: white;
    transform: translateX(5px);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-purple) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 100% 120px;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { background-position: 0 0; }
    100% { background-position: 1200px 0; }
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.hero .lead {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Cards */
.card {
    transition: all 0.4s ease;
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
}

.card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 1.5rem;
    font-weight: bold;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-orange) 100%);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary-color) 100%);
}

.btn-light {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Alerts */
.alert {
    border-radius: 15px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-info {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--secondary-color) 100%);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    color: var(--dark-text);
}

.alert-success {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--secondary-color) 100%);
    color: white;
}

/* Footer */
footer {
    margin-top: auto;
    background: linear-gradient(135deg, var(--dark-text) 0%, #1a202c 100%);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-yellow) !important;
    transform: translateY(-2px);
    display: inline-block;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-text);
    font-weight: bold;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
}

/* Links */
a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

/* Tables */
.table {
    border-radius: 15px;
    overflow: hidden;
}

.table td, .table th {
    vertical-align: middle;
    padding: 1rem;
}

/* List groups */
.list-group-item {
    border-radius: 10px !important;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: var(--accent-yellow);
    transform: translateX(5px);
}

/* Special decorative elements */
.page-decoration {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }
}
