:root {
    --primary-color: #1b5e20;
    --secondary-color: #388e3c;
    --text-color: #333;
    --white: #fff;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
.main-nav {
    background-color: var(--primary-color);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.nav-links > li:not(.lang-switcher) > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-links > li:not(.lang-switcher):hover > a::after {
    transform: scaleX(1);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.8rem 1.2rem;
    display: block;
    font-size: 1.1rem;
    position: relative;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background-color: rgba(56, 142, 60, 0.1);
    color: var(--primary-color);
}

.dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    margin-left: 0.5rem;
    font-weight: 900;
}

.dropdown.active > a::after {
    transform: scaleX(0);
}

/* Dil değiştirici için stil */
.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--white);
    min-width: 120px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
    border-radius: 4px;
    overflow: hidden;
}

.lang-dropdown.active {
    display: block;
}

.lang-dropdown button {
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    transition: background-color 0.3s ease;
}

.lang-dropdown button:hover {
    background-color: rgba(56, 142, 60, 0.1);
}

.lang-dropdown img {
    margin-right: 0.5rem;
    width: 24px;
    height: 24px;
}

/* Dropdown açıkken belirteci gizle */
.dropdown.active > a::after {
    transform: scaleX(0);
}

/* Dropdown açıkken belirteci kaldır */
.lang-switcher > a::after {
    display: none;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
    background-color: #000;
    margin-top: 1rem;
}

.slides {
    height: 100%;
    display: flex;
    position: relative;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
    z-index: 2;
}

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

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

.btn-watch {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-watch:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 3;
}

.slider-nav button {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background: var(--secondary-color);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 1366px) {
    .banner-slider {
        height: 600px;
    }
}

@media (max-width: 1024px) {
    .banner-slider {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: 400px;
        margin-top: 0.5rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .btn-watch {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 300px;
    }
}

/* Live Streams */
.live-streams {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FAQ Accordion */
.faq {
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(56, 142, 60, 0.05);
}

.faq-question span {
    font-weight: 500;
    color: var(--primary-color);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 200px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 1.5rem;
    }
    
    .faq-question span {
        font-size: 0.9rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--white);
        margin: 5px 0;
        transition: 0.3s;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        padding: 1rem;
        z-index: 1000;
    }

    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links > li:not(.lang-switcher) > a::after {
        display: none;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.1);
        display: none;
        top: 100%;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        color: var(--white);
        padding-left: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
        width: 100%;
    }
}

/* Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.contact-info li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-info li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Container styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Dini Günler ve Ramazan Bilgileri Stilleri */
.religious-times {
    padding: 2rem;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.dua-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.ramazan-dua {
    font-style: italic;
    color: #2c3e50;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.times-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ramazan-info, .important-days {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.countdown {
    text-align: center;
    margin: 1.5rem 0;
}

.count-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.count-label {
    font-size: 1.2rem;
    color: #666;
}

.countdown-text {
    margin-top: 0.5rem;
    color: #666;
}

.ramazan-times .time-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.days-list {
    margin-top: 1rem;
}

.days-list .day-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.day-item .day-name {
    color: #2c3e50;
}

.day-item .day-date {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .times-container {
        flex-direction: column;
    }
} 

/* Dil seçici stilleri */
.language-selector {
    margin-left: 20px;
}

.language-selector .current-lang {
    display: flex;
    align-items: center;
    gap: 5px;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-selector .dropdown-content {
    min-width: 120px;
    right: 0;
}

.language-selector .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
}

/* Mobil görünüm için düzenlemeler */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
    }
    
    .language-selector .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background: transparent;
    }
}