721 lines
21 KiB
CSS
721 lines
21 KiB
CSS
/* ==========================================================================
|
|
SG 07 ST. LEON - ZENTRALES STYLESHEET
|
|
========================================================================== */
|
|
|
|
/* --- 1. Grundlegende Variablen & Reset --- */
|
|
:root {
|
|
--primary: #d32f2f;
|
|
--primary-dark: #9a0007;
|
|
--light: #ffffff;
|
|
--light-gray: #f4f4f4;
|
|
--dark: #222222;
|
|
--text-gray: #555555;
|
|
--border-color: #dddddd;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--light-gray);
|
|
color: var(--dark);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
|
|
/* --- 2. Navigation (Header) --- */
|
|
header {
|
|
background-color: var(--light);
|
|
color: var(--dark);
|
|
padding: 1rem 5%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
border-bottom: 3px solid var(--primary);
|
|
}
|
|
|
|
header .logo {
|
|
font-size: 1.8rem;
|
|
font-weight: 900;
|
|
letter-spacing: 1px;
|
|
color: var(--primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
header .logo img {
|
|
height: 40px;
|
|
width: auto;
|
|
}
|
|
|
|
nav ul {
|
|
list-style: none;
|
|
display: flex;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
nav ul li a {
|
|
font-weight: 600;
|
|
padding: 5px 0;
|
|
position: relative;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
nav ul li a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -5px;
|
|
left: 0;
|
|
width: 0;
|
|
height: 3px;
|
|
background-color: var(--primary);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
nav ul li a:hover::after,
|
|
nav ul li a.active::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.mobile-menu-btn {
|
|
display: none;
|
|
background: none;
|
|
border: none;
|
|
color: var(--primary);
|
|
font-size: 1.8rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
/* --- 3. Hero Bereich (Kopfbilder) --- */
|
|
.hero {
|
|
background: linear-gradient(rgba(154, 0, 7, 0.7), rgba(211, 47, 47, 0.8)),
|
|
var(--hero-bg, url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80')) center/cover no-repeat;
|
|
height: 45vh;
|
|
min-height: 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: var(--light);
|
|
text-align: center;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Spezielle Höhe für die Startseite */
|
|
.hero.home-hero { height: 65vh; min-height: 400px; }
|
|
|
|
.hero h1 {
|
|
font-size: clamp(2rem, 5vw, 4.5rem);
|
|
margin-bottom: 15px;
|
|
text-transform: uppercase;
|
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
|
font-weight: 900;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: clamp(1.1rem, 2vw, 1.4rem);
|
|
margin-bottom: 35px;
|
|
max-width: 700px;
|
|
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
|
|
/* --- 4. Allgemeine Buttons --- */
|
|
.btn {
|
|
padding: 14px 30px;
|
|
background-color: var(--light);
|
|
color: var(--primary);
|
|
border-radius: 5px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
|
transition: transform 0.2s, background-color 0.2s, color 0.2s;
|
|
border: 2px solid var(--light);
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn:hover {
|
|
background-color: var(--primary);
|
|
color: var(--light);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary);
|
|
color: var(--light);
|
|
border: 2px solid var(--primary);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: var(--primary-dark);
|
|
}
|
|
|
|
|
|
/* --- 5. Allgemeine Sektionen & Typografie --- */
|
|
section {
|
|
padding: 5rem 5%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-title {
|
|
text-align: center;
|
|
margin-bottom: 3rem;
|
|
color: var(--dark);
|
|
font-size: 2.5rem;
|
|
text-transform: uppercase;
|
|
position: relative;
|
|
}
|
|
|
|
.section-title::after {
|
|
content: '';
|
|
display: block;
|
|
width: 60px;
|
|
height: 4px;
|
|
background-color: var(--primary);
|
|
margin: 10px auto 0;
|
|
}
|
|
|
|
.intro-text {
|
|
text-align: center;
|
|
font-size: 1.15rem;
|
|
color: var(--text-gray);
|
|
margin-bottom: 4rem;
|
|
max-width: 800px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
|
|
/* --- 6. Abteilungen Badges (Startseite) --- */
|
|
.departments {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 15px;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.dept-badge {
|
|
background: var(--light);
|
|
border: 2px solid var(--border-color);
|
|
padding: 10px 20px;
|
|
border-radius: 50px;
|
|
font-weight: bold;
|
|
color: var(--text-gray);
|
|
}
|
|
|
|
.dept-badge:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.dept-badge.external::after {
|
|
content: ' ↗';
|
|
font-size: 0.8em;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
|
|
/* --- 7. News & Karten Layouts --- */
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 30px;
|
|
}
|
|
|
|
/* Allgemeine Karte (für Kinderturnen etc.) */
|
|
.card {
|
|
background: var(--light);
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
padding: 30px;
|
|
border-top: 4px solid var(--primary);
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.card h3 {
|
|
color: var(--primary);
|
|
margin-bottom: 15px;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.card p {
|
|
margin-bottom: 20px;
|
|
color: var(--text-gray);
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.card .age-badge {
|
|
display: inline-block;
|
|
background: var(--light-gray);
|
|
padding: 4px 10px;
|
|
border-radius: 20px;
|
|
font-size: 0.85rem;
|
|
font-weight: bold;
|
|
margin-bottom: 15px;
|
|
color: var(--dark);
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
/* Spezifische News-Karte */
|
|
#news-container .card {
|
|
padding: 0;
|
|
border-top: none;
|
|
border-bottom: 4px solid var(--primary);
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#news-container .card h3 {
|
|
color: var(--dark);
|
|
}
|
|
|
|
.card-img {
|
|
height: 200px;
|
|
background-color: #ddd;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card-content {
|
|
padding: 25px;
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card-date {
|
|
font-size: 0.85rem;
|
|
color: var(--text-gray);
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.card-tag {
|
|
background: var(--primary);
|
|
color: white;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.card .read-more {
|
|
color: var(--primary);
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
margin-top: auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card .read-more:hover {
|
|
color: var(--primary-dark);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
|
|
/* --- 8. News Popup (Modal) --- */
|
|
.news-modal {
|
|
display: none;
|
|
position: fixed;
|
|
top: 0; left: 0;
|
|
width: 100%; height: 100%;
|
|
background: rgba(0,0,0,0.8);
|
|
z-index: 2000;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 20px;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.news-modal.active {
|
|
display: flex;
|
|
opacity: 1;
|
|
}
|
|
|
|
.news-modal-content {
|
|
background: var(--light);
|
|
width: 100%;
|
|
max-width: 800px;
|
|
max-height: 90vh;
|
|
overflow-y: auto;
|
|
border-radius: 8px;
|
|
position: relative;
|
|
padding: 40px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
|
transform: translateY(20px);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.news-modal.active .news-modal-content {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.news-modal-close {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: 20px;
|
|
font-size: 2.5rem;
|
|
cursor: pointer;
|
|
color: var(--text-gray);
|
|
line-height: 1;
|
|
}
|
|
|
|
.news-modal-close:hover { color: var(--primary); }
|
|
|
|
.news-modal-img {
|
|
width: 100%;
|
|
max-height: 400px;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
margin-bottom: 25px;
|
|
display: none;
|
|
}
|
|
|
|
.news-modal-header {
|
|
margin-bottom: 20px;
|
|
border-bottom: 2px solid var(--light-gray);
|
|
padding-bottom: 15px;
|
|
}
|
|
|
|
.news-modal-title {
|
|
color: var(--dark);
|
|
font-size: 2rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.news-modal-meta {
|
|
color: var(--primary);
|
|
font-weight: bold;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.news-modal-body {
|
|
white-space: pre-wrap;
|
|
color: var(--dark);
|
|
line-height: 1.8;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
|
|
/* --- 9. Split Layout (Zick-Zack & Info Grids) --- */
|
|
.split-section, .info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 40px;
|
|
align-items: center;
|
|
margin-bottom: 5rem;
|
|
}
|
|
|
|
.split-section.reverse .split-content { order: -1; }
|
|
|
|
.split-content h2, .info-content h3 {
|
|
color: var(--primary);
|
|
font-size: 2.2rem;
|
|
margin-bottom: 20px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.info-content h3 { font-size: 1.6rem; text-transform: none; color: var(--primary); }
|
|
|
|
.split-content p, .info-content p {
|
|
color: var(--text-gray);
|
|
margin-bottom: 20px;
|
|
font-size: 1.1rem;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.split-content ul {
|
|
list-style: none;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.split-content ul li {
|
|
position: relative;
|
|
padding-left: 25px;
|
|
margin-bottom: 10px;
|
|
color: var(--dark);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.split-content ul li::before {
|
|
content: '✓';
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--primary);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.split-image, .info-image { position: relative; }
|
|
.split-image img, .info-image img {
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.15);
|
|
object-fit: cover;
|
|
}
|
|
|
|
.split-image img { aspect-ratio: 4/3; }
|
|
|
|
/* Deko Rahmen für Split Image */
|
|
.split-image::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 3px solid var(--primary);
|
|
border-radius: 12px;
|
|
top: 15px;
|
|
left: 15px;
|
|
z-index: -1;
|
|
}
|
|
|
|
.split-section.reverse .split-image::after { left: -15px; top: 15px; }
|
|
|
|
|
|
/* --- 10. Info-Boxen & Trainingszeiten --- */
|
|
.info-box {
|
|
background: var(--light);
|
|
padding: 40px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 5px 20px rgba(0,0,0,0.05);
|
|
text-align: center;
|
|
border-top: 4px solid var(--primary);
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.info-box h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--dark); }
|
|
.info-box p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 15px; }
|
|
.info-box .contact-person { font-weight: bold; font-size: 1.3rem; color: var(--primary); display: block; margin-top: 20px; }
|
|
|
|
.schedule-container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
|
|
.schedule-box { background: var(--light); flex: 1 1 400px; padding: 30px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
|
|
.schedule-box h3 { border-bottom: 2px solid var(--primary); padding-bottom: 10px; margin-bottom: 20px; color: var(--dark); }
|
|
.schedule-list { list-style: none; }
|
|
.schedule-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--light-gray); }
|
|
.schedule-list li:last-child { border-bottom: none; }
|
|
.schedule-time { font-weight: bold; color: var(--primary); width: 120px; flex-shrink: 0; }
|
|
.schedule-group { color: var(--text-gray); }
|
|
|
|
/* --- Kontakt Box (für Kinderturnen) --- */
|
|
.contact-box { background: var(--primary); color: var(--light); padding: 3rem; border-radius: 8px; text-align: center; margin-top: 4rem; }
|
|
.contact-box h3 { margin-bottom: 15px; font-size: 1.8rem; color: var(--light); }
|
|
.contact-box p { font-size: 1.1rem; margin-bottom: 10px; }
|
|
.contact-box a { color: var(--light); font-weight: bold; text-decoration: underline; }
|
|
|
|
/* --- 11. Vorstand & Abteilungen (Verein) --- */
|
|
.board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 5rem; }
|
|
.board-member { background: var(--light); padding: 30px 20px; border-radius: 8px; text-align: center; border: 1px solid var(--border-color); box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: transform 0.3s;}
|
|
.board-member:hover { transform: translateY(-5px); }
|
|
.board-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px auto; display: block; border: 3px solid var(--primary); background-color: #f4f4f4; }
|
|
.board-member h3 { color: var(--primary); margin-bottom: 5px; font-size: 1.1rem; }
|
|
.board-member p.name { color: var(--dark); font-size: 1.1rem; margin-bottom: 10px; font-weight: bold; }
|
|
.board-member .contact-link a { color: var(--text-gray); font-size: 0.9rem; word-break: break-all; }
|
|
.board-member .contact-link a:hover { color: var(--primary); text-decoration: underline; }
|
|
.board-member .contact-link .phone { display: block; margin-top: 5px; font-size: 0.9rem; color: var(--text-gray); }
|
|
|
|
.extended-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-bottom: 4rem; }
|
|
.dept-card { background: var(--light); padding: 25px; border-radius: 8px; border-top: 4px solid var(--primary); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
|
|
.dept-card h3 { color: var(--dark); margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; font-size: 1.4rem; }
|
|
.dept-list { list-style: none; }
|
|
.dept-list li { margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px dashed var(--light-gray); }
|
|
.dept-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
|
|
.dept-list strong { display: block; color: var(--primary); font-size: 0.95rem; text-transform: uppercase; margin-bottom: 3px; }
|
|
.dept-list .name { font-weight: 600; color: var(--dark); font-size: 1.05rem; }
|
|
.dept-list .contact { display: block; color: var(--text-gray); font-size: 0.9rem; margin-top: 2px; }
|
|
.dept-list .contact a:hover { color: var(--primary); text-decoration: underline; }
|
|
|
|
.downloads { background: var(--light); padding: 30px; border-radius: 8px; border-left: 5px solid var(--primary); margin-bottom: 4rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
|
|
.downloads h3 { margin-bottom: 15px; }
|
|
.downloads ul { list-style: none; }
|
|
.downloads ul li { margin-bottom: 10px; }
|
|
.downloads ul li a { display: inline-flex; align-items: center; color: var(--primary); font-weight: bold; }
|
|
.downloads ul li a:hover { text-decoration: underline; color: var(--primary-dark); }
|
|
.downloads ul li a::before { content: '📄'; margin-right: 10px; }
|
|
|
|
|
|
/* --- 12. Chronik (Timeline) --- */
|
|
.timeline-container { margin-bottom: 5rem; }
|
|
.timeline-container h3 { color: var(--primary); font-size: 1.8rem; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; margin-bottom: 30px; text-transform: uppercase;}
|
|
|
|
.timeline { position: relative; padding-left: 30px; border-left: 4px solid var(--primary); }
|
|
.timeline-item { position: relative; margin-bottom: 25px; padding-left: 20px; }
|
|
.timeline-item::before {
|
|
content: ''; position: absolute; left: -38px; top: 5px; width: 16px; height: 16px;
|
|
background-color: var(--light); border: 4px solid var(--primary); border-radius: 50%;
|
|
transition: background-color 0.3s;
|
|
}
|
|
.timeline-item:hover::before { background-color: var(--primary); }
|
|
|
|
.timeline-year {
|
|
font-weight: 900; color: var(--primary); font-size: 1.3rem; margin-bottom: 5px;
|
|
display: inline-block; background: var(--light); padding: 2px 10px; border-radius: 4px; border: 1px solid var(--border-color);
|
|
}
|
|
.timeline-content {
|
|
background: var(--light); padding: 15px 25px; border-radius: 6px;
|
|
box-shadow: 0 3px 10px rgba(0,0,0,0.04); border: 1px solid var(--border-color);
|
|
margin-top: 10px; color: var(--text-gray); line-height: 1.5;
|
|
}
|
|
.timeline-content strong { color: var(--dark); }
|
|
|
|
|
|
/* --- 13. Freundeskreis (Features & CTA) --- */
|
|
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 5rem; }
|
|
.feature-card { background: var(--light); padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; border-bottom: 4px solid var(--primary); transition: transform 0.3s; }
|
|
.feature-card:hover { transform: translateY(-5px); }
|
|
.feature-icon { font-size: 3rem; margin-bottom: 15px; }
|
|
.feature-card h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.3rem; }
|
|
.feature-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }
|
|
|
|
.cta-container { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; background: var(--light); padding: 40px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
|
|
.cta-box h3 { font-size: 1.8rem; margin-bottom: 15px; color: var(--dark); }
|
|
.cta-box p { color: var(--text-gray); margin-bottom: 25px; font-size: 1.1rem; }
|
|
|
|
.contact-card { text-align: center; padding-left: 30px; border-left: 1px solid var(--border-color); }
|
|
.contact-avatar { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--primary); margin: 0 auto 15px auto; display: block; }
|
|
.contact-card h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 5px; }
|
|
.contact-card p.title { font-weight: bold; color: var(--dark); margin-bottom: 10px; font-size: 0.9rem; }
|
|
.contact-card p.email { font-size: 0.9rem; color: var(--text-gray); }
|
|
|
|
|
|
/* --- 14. Galerie & Lightbox (Vereinsheim) --- */
|
|
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; margin-top: 2rem; }
|
|
.gallery-item { position: relative; cursor: pointer; overflow: hidden; border-radius: 8px; padding-top: 75%; }
|
|
.gallery-item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
|
|
.gallery-item::after {
|
|
content: '🔍'; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
|
|
background: rgba(211, 47, 47, 0.6); display: flex; justify-content: center; align-items: center;
|
|
font-size: 2rem; color: white; opacity: 0; transition: opacity 0.3s ease;
|
|
}
|
|
.gallery-item:hover img { transform: scale(1.1); }
|
|
.gallery-item:hover::after { opacity: 1; }
|
|
|
|
.lightbox {
|
|
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
|
|
background: rgba(0, 0, 0, 0.9); display: none; justify-content: center; align-items: center; z-index: 9999;
|
|
}
|
|
.lightbox.active { display: flex; }
|
|
.lightbox-content { position: relative; max-width: 90%; max-height: 90vh; }
|
|
.lightbox-img { max-width: 100%; max-height: 90vh; border-radius: 4px; box-shadow: 0 5px 25px rgba(0,0,0,0.5); }
|
|
.lightbox-close { position: absolute; top: -40px; right: 0; color: white; font-size: 2.5rem; cursor: pointer; line-height: 1; }
|
|
.lightbox-nav {
|
|
position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 3rem;
|
|
cursor: pointer; user-select: none; padding: 20px; background: rgba(0,0,0,0.3); border-radius: 5px; transition: background 0.3s;
|
|
}
|
|
.lightbox-nav:hover { background: rgba(211, 47, 47, 0.8); }
|
|
.lightbox-prev { left: -70px; }
|
|
.lightbox-next { right: -70px; }
|
|
.lightbox-counter { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); color: white; font-size: 1rem; }
|
|
|
|
|
|
/* --- 15. Footer --- */
|
|
footer {
|
|
background: var(--dark);
|
|
color: #ccc;
|
|
text-align: center;
|
|
padding: 3rem 5% 1.5rem;
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
margin-bottom: 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.footer-section {
|
|
flex: 1 1 250px;
|
|
text-align: left;
|
|
}
|
|
|
|
.footer-section h4 {
|
|
color: var(--light);
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 2px solid var(--primary);
|
|
display: inline-block;
|
|
}
|
|
|
|
.footer-section ul { list-style: none; }
|
|
.footer-section ul li { margin-bottom: 10px; }
|
|
.footer-section ul li a:hover { color: var(--light); }
|
|
.footer-bottom {
|
|
border-top: 1px solid rgba(255,255,255,0.1);
|
|
padding-top: 1.5rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
|
|
/* --- 16. Media Queries (Responsive Design / Handys) --- */
|
|
@media (max-width: 900px) {
|
|
nav ul { gap: 10px; }
|
|
.lightbox-prev { left: 10px; }
|
|
.lightbox-next { right: 10px; }
|
|
|
|
.split-section { grid-template-columns: 1fr; }
|
|
.split-section .split-image { grid-row: 1; }
|
|
.cta-container { grid-template-columns: 1fr; }
|
|
.contact-card { border-left: none; border-top: 1px solid var(--border-color); padding-left: 0; padding-top: 30px; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.mobile-menu-btn { display: block; }
|
|
nav ul {
|
|
display: none;
|
|
flex-direction: column;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: var(--light);
|
|
padding: 20px 5%;
|
|
gap: 15px;
|
|
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
nav ul.show { display: flex; }
|
|
|
|
.hero { height: 60vh; }
|
|
section { padding: 3rem 5%; }
|
|
|
|
.split-section, .info-grid { grid-template-columns: 1fr; gap: 30px; margin-bottom: 4rem; }
|
|
.split-section .split-image, .info-grid:nth-child(even) .info-image { grid-row: 1; }
|
|
.split-section.reverse .split-content { order: 2; }
|
|
.split-image::after { display: none; }
|
|
|
|
.news-modal-content { padding: 25px 20px; }
|
|
.schedule-list li { flex-direction: column; gap: 5px; }
|
|
} |