/* 
* Wamperl Pass - Custom CSS
* Modernes Design für den Perchtenverein aus Enns
*/

/* ===== Grundlegende Stile ===== */
:root {
    --primary: #c71212;
    --primary-dark: #9e0e0e;
    --secondary: #343a40;
    --light: #f8f9fa;
    --dark: #121212;
    --accent: #ffc107;
}

body {
    font-family: 'Lora', serif;
    color: #fff;
    background-color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

/* ===== Navigation ===== */
#mainNav {
    background-color: rgba(18, 18, 18, 0.9);
    transition: all 0.3s ease-in-out;
    padding: 1rem 0;
}

#mainNav .navbar-brand {
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    margin-right: 10px;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active,
#mainNav .navbar-nav .nav-item .nav-link.active {
    color: #fff;
}

#mainNav.navbar-shrink {
    padding: 0.5rem 0;
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ===== Hero Section ===== */
.masthead {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 35rem;
    padding: 15rem 0;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.7) 0%, rgba(18, 18, 18, 0.9) 75%, #121212 100%), url('../img/IMG_0607.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.masthead h1 {
    font-size: 4rem;
    line-height: 4rem;
    letter-spacing: 0.8rem;
    background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.3));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.masthead h2 {
    max-width: 20rem;
    font-size: 1.5rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .masthead h1 {
        font-size: 6.5rem;
        line-height: 6.5rem;
        letter-spacing: 0.8rem;
    }
    .masthead h2 {
        max-width: 30rem;
        font-size: 1.75rem;
    }
}

/* ===== Buttons ===== */
.btn {
    font-family: 'Cabin', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-light {
    background-color: var(--light);
    color: var(--dark);
}

.btn-light:hover {
    background-color: #e2e6ea;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-dark {
    background-color: var(--secondary);
    color: white;
}

.btn-dark:hover {
    background-color: #23272b;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-social {
    height: 3.5rem;
    width: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 100%;
}

/* ===== Sections ===== */
section {
    padding: 8rem 0;
}

section#contact,
section#about,
section#team,
section#termine,
section#gallery {
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.8) 75%, #121212 100%), url('../img/downloads-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.divider {
    height: 0.2rem;
    max-width: 3.25rem;
    margin: 1.5rem auto;
    background-color: var(--primary);
    opacity: 1;
}

.divider-light {
    background-color: #fff;
}

/* ===== Team Cards ===== */
.team-card {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.card-img-container {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.card-img-top {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border: 5px solid var(--primary);
    transition: all 0.3s ease;
}

.team-card:hover .card-img-top {
    transform: scale(1.05);
    border-color: var(--accent);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.card-text {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* ===== Termine Section ===== */
.termine-container {
    max-width: 800px;
    margin: 0 auto;
}

.termin-item {
    display: flex;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.termin-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.termin-date {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.termin-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.termin-date .month {
    font-size: 1rem;
    font-weight: 600;
}

.termin-info {
    padding: 1rem;
    flex-grow: 1;
}

.termin-info h5 {
    margin: 0 0 0.5rem 0;
    color: white;
}

.termin-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Gallery Section ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== Contact Section ===== */
.contact-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.social-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
}

/* ===== Footer ===== */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 2rem 0;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* ===== Snow Effect ===== */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snow1, .snow2, .snow3 {
    background: url('https://www.freepnglogos.com/uploads/snow-png/white-snow-png-16.png');
    background-repeat: repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.snow1 {
    animation: animateOne 15s infinite linear;
}

.snow2 {
    animation: animateTwo 15s infinite linear;
}

.snow3 {
    animation: animateThree 15s infinite linear;
}

@keyframes animateOne {
    0% {
        background-position: 0px 0px;
    }
    100% {
        background-position: 100px 650px;
    }
}

@keyframes animateTwo {
    0% {
        background-position: 0px -100px;
    }
    100% {
        background-position: 0px 650px;
    }
}

@keyframes animateThree {
    0% {
        background-position: 0px 100px;
    }
    100% {
        background-position: 300px 650px;
    }
}

/* ===== Responsive Anpassungen ===== */
@media (max-width: 992px) {
    section {
        padding: 6rem 0;
    }
    
    .masthead {
        height: auto;
        min-height: 30rem;
        padding: 12rem 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .masthead {
        min-height: 25rem;
        padding: 10rem 0;
    }
    
    .termin-date {
        min-width: 80px;
    }
    
    .termin-date .day {
        font-size: 1.5rem;
    }
    
    .termin-date .month {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .masthead {
        min-height: 20rem;
        padding: 8rem 0;
    }
    
    .masthead h1 {
        font-size: 3rem;
        line-height: 3rem;
    }
    
    .btn-xl {
        padding: 1rem 2rem;
        font-size: 0.8rem;
    }
}
