/* Base Styles */
:root {
    --primary-color: #3a7e4f;
    --secondary-color: #3498db;
    --accent-color: #e67e22;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --footer-color: #3a7e4f;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --border-radius: 5px;
    --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 
    height: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--dark-color);
}

p {
    margin-bottom: 15px;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: white;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: var(--border-radius);
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--secondary-color);
    color: white;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    background-color: white;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* About Preview Section */
.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Events Section */
.events {
    background-color: var(--light-color);
}

.events h2 {
    text-align: center;
    margin-bottom: 40px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
}

.event-date {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    margin-bottom: 10px;
}

.event-details p {
    margin-bottom: 5px;
}

.event-details i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/*  Basic lightbox styles (you'll likely want to customize these) */
.lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 100;
	justify-content: center;
	align-items: center;
}

.lightbox img {
	max-width: 90%;
	max-height: 90%;
}

.close-lightbox {
	position: absolute;
	top: 10px;
	right: 10px;
	color: white;
	font-size: 2em;
	cursor: pointer;
}
.gallery-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
	grid-gap: 20px;
	padding: 20px;
}

.gallery-image {
	width: 100%;
	height: auto;
	cursor: pointer;
	transition: transform 0.3s ease; /* Add smooth transition */
}
.gallery-image:hover {
	transform: scale(1.05);
}

/* Page Header */

.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.page-header h2 {
    color: white;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.team-section {
    margin-top: 50px;
}

.team-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h4 {
    margin-bottom: 5px;
}

/* Statute Section */
.statute-section {
    background-color: white;
}

.statute-content h3 {
    margin-bottom: 20px;
}

.statute-content ol {
    margin-left: 20px;
    margin-bottom: 30px;
}

.statute-content ol li {
    margin-bottom: 5px;
}

.statute-paragraph {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.statute-paragraph:last-child {
    border-bottom: none;
}

.statute-paragraph h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.statute-paragraph p {
    margin-bottom: 10px;
}

.statute-paragraph ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.statute-paragraph ul li {
    margin-bottom: 5px;
    list-style-type: disc;
}

/* Activities Section */
.activities-section {
    background-color: white;
}

.activities-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.activity-category {
    margin-bottom: 50px;
}

.activity-category h3 {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.activity-category h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-details {
    padding: 20px;
}

.activity-details h4 {
    margin-bottom: 10px;
}

.activity-details p {
    margin-bottom: 5px;
}

.calendar-section {
    margin-top: 50px;
    text-align: center;
}

.calendar-container {
    margin-top: 30px;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    min-height: 400px;
}

.calendar-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
}

/* Contact Section */
.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3, .contact-form-container h3 {
    margin-bottom: 20px;
}

.contact-details {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    background-color: var(--light-color);
}

.map-container {
    margin-top: 20px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.directions {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.directions h4 {
    margin-bottom: 20px;
}

.transport-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.transport-option {
    display: flex;
    align-items: flex-start;
}

.transport-option i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 15px;
}

.transport-option h5 {
    margin-bottom: 10px;
}

.membership-section {
    text-align: center;
    background-color: white;
}

.membership-section p {
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: var(--footer-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 10px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-preview .container {
        grid-template-columns: 1fr;
    }
    
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .transport-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .feature-box {
        padding: 20px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .event-date {
        padding: 10px;
        flex-direction: row;
        justify-content: center;
    }
    
    .event-date .day {
        font-size: 1.5rem;
        margin-right: 5px;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 20px;
}

.current-lang {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.current-lang i {
    margin-left: 5px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: none;
    min-width: 120px;
    z-index: 100;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown li a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    transition: var(--transition);
}

.language-dropdown li a:hover, 
.language-dropdown li a.active {
    background-color: var(--light-color);
}

}

.prayer-times-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.prayer-times-table th, .prayer-times-table td {
	border: 1px solid #ddd;
	padding: 12px;
	text-align: left;
}

.prayer-times-table th {
	background-color: #f4f4f4;
}

.prayer-times-table tr:nth-child(even) {
	background-color: #f9f9f9;
}

.prayer-times-note {
	font-style: italic;
	color: #666;
	text-align: right;
}

.faq-section {
	margin-top: 40px;
}

.faq-item {
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 10px;
	overflow: hidden;
}

.faq-question {
	padding: 15px;
	background-color: #f4f4f4;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.3s;
}

.faq-question:hover {
	background-color: #e9e9e9;
}

.faq-answer {
	padding: 0 15px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	padding: 15px;
	max-height: 500px;
}

@media (max-width: 768px) {
    .language-switcher {
        position: absolute;
        top: 15px;
        right: 60px;
    }
}
/* RTL Support */
body.rtl {
    font-family: 'Tahoma', 'Arial', sans-serif;
}

body.rtl .logo,
body.rtl .nav ul li {
    margin-right: 0;
    margin-left: 20px;
}

body.rtl .contact-item i,
body.rtl .transport-option i {
    margin-right: 0;
    margin-left: 15px;
}

body.rtl .footer-section i {
    margin-right: 0;
    margin-left: 10px;
}
 
.nav-menu {
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;       /* Menü standardmäßig ausgeblendet */
    flex-direction: column;
    background: #1E5B94; /* deine Vereinsfarbe */
    position: absolute;
    top: 60px; right: 0; left: 0;
    padding: 20px;
  }
  .nav-menu.active {
    display: flex;       /* wenn aktiv, wird Menü sichtbar */
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 22px;
    color: #fff;
  }
}
