:root {
    --primary-color: #1a1817;
    --accent-color: #ec1404;
    --secondary-color: #ec1404;
    --text-color: #1a1817;
    --light-bg: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    background: var(--light-bg);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero-section {
    background-image: url('./images/final_carousel.gif');
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 4rem 0;
    object-fit: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    left: 100%;
}
li{
    list-style-type: none;
}
.btn-outline-primary {
    color: #456;
    border-color: white;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    background-color: #fff;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary:hover::before {
    left: 100%;
}

/* Section Headers */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.service-icon {
    background: var(--primary-color);
    color: white;
    padding: 2.5rem;
    text-align: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 3.5rem;
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.service-content li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-content i {
    color: var(--accent-color);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Events Section */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.event-date .month {
    font-size: 1.2rem;
    font-weight: 600;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 700;
}

.event-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.event-content p {
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.event-content .btn {
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./images/church.png') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.contact-item i {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-color);
    margin-bottom: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.contact-form .form-control {
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
    background: white;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(236, 20, 4, 0.1);
    outline: none;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    background: var(--accent-color);
    border: none;
    transition: all 0.3s ease;
    color: white;
    font-weight: 600;
}

.contact-form .btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Contact Form Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.contact-form .form-control {
    animation: float 3s ease-in-out infinite;
}

/* Contact Info Animation */
.contact-info {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .contact-form .form-control {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-item {
        padding: 1.5rem;
    }
}

/* Football Section */
.football-logo {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    padding: 1rem;
    background: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.football-logo:hover {
    transform: rotate(360deg);
}

.football-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.football-logo:hover .logo-overlay {
    transform: translateY(0);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: var(--text-color);
    margin-bottom: 0;
}

.football-stat {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.football-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.football-stat h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.football-stat p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .football-logo {
        margin-bottom: 2rem;
    }

    .football-gallery {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .football-logo {
        padding: 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .football-stat {
        padding: 1.5rem;
    }

    .football-stat h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .football-logo {
        margin-bottom: 1.5rem;
    }

    .football-gallery {
        margin-bottom: 1.5rem;
    }

    .football-stat {
        padding: 1rem;
    }

    .football-stat h3 {
        font-size: 1.5rem;
    }
}

/* Donation Section */
.donation-content {
    padding: 2rem;
}

.donation-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.donation-content .lead {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.donation-method {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.donation-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.donation-method i {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.donation-method h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.donation-method p {
    color: var(--text-color);
}

.zelle-info {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.zelle-info p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.zelle-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.donation-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.donation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.donation-image:hover img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .services-grid, .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .donation-content {
        text-align: center;
    }

    .donation-method {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-grid, .events-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        margin-bottom: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .donation-content {
        padding: 1rem;
    }

    .donation-method {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form .input-group {
        max-width: 100%;
    }

    .donation-image {
        margin-bottom: 2rem;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 5rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section {
    padding: 1rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    list-style-type: none;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    list-style-type: none;
}

.footer-links a:hover {
    color: var(--accent-color);
    list-style-type: none;
}

.footer-links a:hover::before {
    opacity: 1;
    
    list-style-type: none;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: start;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  
    transition: 0.5s;
}

.social-links a:hover {
    color: var(--accent-color);
}

.social-links a:hover::before {
    transform: translateX(100%);
}

.newsletter-form {
    margin-top: 2rem;
}

.newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    padding: 1rem;
    border-radius: 25px 0 0 25px;
    border: none;
    border-right: 1px solid var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-right-color: var(--accent-color);
    box-shadow: none;
}

.newsletter-form .btn {
    padding: 1rem 2rem;
    border-radius: 0 25px 25px 0;
    background: var(--accent-color);
    border: none;
    transition: all 0.3s ease;
    color: white;
}

.newsletter-form .btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    background: var(--primary-color);
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center;
    border-top: 2px solid var(--accent-color);
}

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form .input-group {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .newsletter-form .input-group {
        max-width: 100%;
    }
}