/* Volksschule Oberlaa - Hauptstylesheet */

/* ===== GRUNDLEGENDE EINSTELLUNGEN ===== */
:root {
    --primary-color: #FFD700; /* Bright Yellow as Primary Color */
    --secondary-color: #87CEEB; /* Light Blue as Secondary Color */
    --accent-color: #90EE90; /* Light Green as Accent Color */
    --accent-red: #FF6B6B; /* Soft Red as Additional Accent */
    --dark-color: #000000;
    --light-color: #FFFFFF;
    --text-color: #000000;
    --link-color: #87CEEB;
    --link-hover-color: #FF6B6B;
    --header-bg: #FFFFFF;
    --nav-bg: #FFD700;
    --footer-bg: #FFD700;
    --section-padding: 60px 0;
    --border-radius: 5px;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color), var(--accent-red));
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--accent-red);
    color: var(--light-color);
    border-color: var(--accent-red);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    border-color: var(--accent-color);
}

.center-btn {
    text-align: center;
    margin-top: 30px;
}

/* ===== HEADER ===== */
#header {
    background-color: var(--header-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 120px;
    height: auto;
    margin-right: 15px;
}

.school-title h1 {
    font-size: 28px;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.school-title h2 {
    font-size: 40px;
    color: var(--primary-color);
    line-height: 1;
}

.contact-info {
    text-align: right;
}

.contact-info p {
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-info a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== NAVIGATION ===== */
#main-nav {
    background-color: var(--nav-bg);
}

.nav-menu {
    display: flex;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: var(--secondary-color);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
#hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ===== AKTUELLE INFORMATIONEN ===== */
.info-box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* ===== ZWEI-SPALTEN LAYOUT ===== */
.two-columns {
    display: flex;
    gap: 40px;
    align-items: center;
}

.column {
    flex: 1;
}

.rounded-img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* ===== NEWS & EVENTS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.news-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.read-more:hover {
    color: var(--secondary-color);
}

/* ===== GALERIE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 200px;
}

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

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

/* ===== KONTAKT ===== */
.contact-info-box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.contact-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.contact-info-box p {
    margin-bottom: 15px;
}

.contact-info-box i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.map-container {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== FOOTER ===== */
#footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column p {
    margin-bottom: 10px;
}

.footer-column a {
    color: white;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: white;
}