
/*
Theme Name: Meeting of Muslim Scholars
Theme URI: https://muslimscholarsmeeting.org
Author: Oğulcan İzzet Ödemiş
Author URI: https://muslimscholarsmeeting.org
Description: A professional WordPress theme specially designed for the Meeting of Muslim Scholars event. Features multilingual support (English, Turkish, Arabic), responsive design, and comprehensive content management.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: multilingual, conference, event, islamic, responsive, rtl-language-support, one-page, custom-header, custom-menu, featured-images, threaded-comments
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: musluman-alimler
*/

:root {
    --color-dark: #232323;
    --color-light-gray: #c5c5c5;
    --color-burgundy: #7d0505;
    --color-white: #ffffff;
    --color-black: #000000;
}

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

*::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

* {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-light-gray);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-weight: 300;
}

/* Arapça için Beiruti font */
body.rtl {
    font-family: 'Beiruti', 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
}

/* Font ağırlık tanımlamaları */
h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
}

/* Normal diller için Roboto ağırlıkları */
body:not(.rtl) h1 { font-weight: 700; }
body:not(.rtl) h2 { font-weight: 500; }
body:not(.rtl) h3 { font-weight: 500; }
body:not(.rtl) h4 { font-weight: 400; }
body:not(.rtl) h5 { font-weight: 400; }
body:not(.rtl) h6 { font-weight: 300; }
body:not(.rtl) p { font-weight: 300; }
body:not(.rtl) li { font-weight: 300; }
body:not(.rtl) a { font-weight: 300; }
body:not(.rtl) .nav-menu a { font-weight: 400; }
body:not(.rtl) .lang-btn { font-weight: 400; }
body:not(.rtl) .show-more-btn { font-weight: 500; }
body:not(.rtl) .duty-title { font-weight: 500; }
body:not(.rtl) .timeline-content h3 { font-weight: 500; }
body:not(.rtl) .overview-card h4 { font-weight: 500; }
body:not(.rtl) .program-day h3 { font-weight: 500; }
body:not(.rtl) .program-day h4 { font-weight: 500; }
body:not(.rtl) .program-day .date { font-weight: 500; }
body:not(.rtl) strong { font-weight: 500; }
body:not(.rtl) cite { font-weight: 500; }

/* Arapça için Beiruti ağırlıkları */
body.rtl h1 { font-weight: 600; }
body.rtl h2 { font-weight: 500; }
body.rtl h3 { font-weight: 400; }
body.rtl h4 { font-weight: 400; }
body.rtl h5 { font-weight: 300; }
body.rtl h6 { font-weight: 300; }
body.rtl p { font-weight: 300; }
body.rtl li { font-weight: 300; }
body.rtl a { font-weight: 300; }
body.rtl .nav-menu a { font-weight: 400; }
body.rtl .lang-btn { font-weight: 400; }
body.rtl .show-more-btn { font-weight: 500; }
body.rtl .duty-title { font-weight: 400; }
body.rtl .timeline-content h3 { font-weight: 400; }
body.rtl .overview-card h4 { font-weight: 400; }
body.rtl .program-day h3 { font-weight: 400; }
body.rtl .program-day h4 { font-weight: 400; }
body.rtl .program-day .date { font-weight: 400; }
body.rtl strong { font-weight: 500; }
body.rtl cite { font-weight: 400; }

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-text {
    font-size: 2rem;
    color: var(--color-light-gray);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--color-light-gray);
    border-top-color: var(--color-burgundy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(35, 35, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

nav {
    padding: 1.5rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-burgundy);
}

/* Header Logolar */
.header-logos {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container:active {
    transform: none;
}

.header-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.header-logo:hover {
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-light-gray);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-burgundy);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-white);
}

.nav-menu a:hover::after {
    width: 100%;
}

.language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-light-gray);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 60px;
    max-width: 80px;
    height: auto;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-burgundy);
    color: var(--color-white);
}

.lang-btn:active {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
}

.lang-btn.active {
    background: var(--color-burgundy);
    border-color: var(--color-burgundy);
    color: var(--color-white);
    transform: none !important;
    min-width: 60px;
    max-width: 80px;
}

.lang-text {
    font-weight: bold;
    font-size: 0.8rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

/* Masaüstünde mobil dil seçeneklerini gizle */
.mobile-language-switcher {
    display: none;
}

/* Mobil menü kapatma butonu - masaüstünde gizli */
.mobile-menu-close {
    display: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-light-gray);
    transition: all 0.3s ease;
}

section {
    padding: 100px 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden !important;
    display: block;
}

section * {
    max-height: 100%;
    overflow: hidden !important;
}

section::-webkit-scrollbar,
section *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

section,
section * {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, rgba(125, 5, 5, 0.1) 100%);
    position: relative;
    overflow: visible;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 150px;
}

/* Hero Üst Alan - Sorumluluk Metni */
.hero-responsibility {
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-responsibility h2 {
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    color: var(--color-light-gray);
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
}

body.rtl .hero-responsibility h2 {
    font-weight: 300;
    letter-spacing: 1px;
}

/* Hero Orta Alan - Yıl ve Şehir */
.hero-location {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    position: relative;
}

.hero-location .year {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--color-burgundy);
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 0.5rem;
}

.hero-location .city {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--color-burgundy);
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    position: relative;
}

body.rtl .hero-location .year {
    font-weight: 600;
    letter-spacing: 2px;
}

body.rtl .hero-location .city {
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-location .city::before,
.hero-location .city::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: var(--color-burgundy);
}

.hero-location .city::before {
    left: -80px;
}

.hero-location .city::after {
    right: -80px;
}

/* Hero Alt Alan - Ana Başlık */
.hero-main {
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-main h1 {
    font-size: clamp(1rem, 2vw, 3rem);
    color: var(--color-white);
    font-weight: 300 !important;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
}

/* Hero Tarih Bilgisi */
.hero-date {
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-date p {
    font-size: 1.2rem;
    color: var(--color-light-gray);
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
}

.hero .container {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-logos {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    gap: 20px;
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.hero-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: brightness(1);
}

.hero-logo:active {
    transform: none;
}

.manifesto {
    background: var(--color-black);
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.manifesto::-webkit-scrollbar {
    display: none !important;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.manifesto h2.bismillah {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.manifesto h2.bismillah::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-burgundy);
}

.hadis-quote {
    background: rgba(125, 5, 5, 0.1);
    border-left: 4px solid var(--color-burgundy);
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.hadis-quote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-light-gray);
    margin-bottom: 0.5rem;
}

.hadis-quote cite {
    color: var(--color-burgundy);
    font-size: 0.9rem;
    font-weight: bold;
    text-align: right;
    display: block;
}

.duty-title {
    color: var(--color-white);
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem 0;
    font-weight: bold;
}

.duty-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.duty-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.duty-item:hover {
    background: rgba(125, 5, 5, 0.05);
    transform: translateX(5px);
}

.duty-item i {
    color: var(--color-burgundy);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.duty-item p {
    margin: 0;
    line-height: 1.6;
}

.manifesto-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light-gray);
    text-align: justify;
}

@media (max-width: 768px) {
    .manifesto-text {
        text-align: left;
    }
}

.manifesto-text strong {
    color: var(--color-white);
}

.about {
    background: linear-gradient(180deg, var(--color-dark) 0%, rgba(125, 5, 5, 0.05) 100%);
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.about::-webkit-scrollbar {
    display: none !important;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-burgundy);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light-gray);
    text-align: justify;
}

@media (max-width: 768px) {
    .about-text {
        text-align: left;
    }
}

.timeline {
    margin: 3rem 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-burgundy);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--color-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    z-index: 1;
}

.timeline-content h3 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.timeline-content p {
    color: var(--color-light-gray);
    line-height: 1.6;
    margin: 0;
}

.closing-statement {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(125, 5, 5, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--color-burgundy);
}

.closing-statement strong {
    color: var(--color-white);
}

.goals {
    background: var(--color-black);
    overflow: hidden !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

.goals::-webkit-scrollbar {
    display: none !important;
}

.goals h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.goals h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-burgundy);
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.goal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.goal-card:hover {
    background: rgba(125, 5, 5, 0.2);
    border: 1px solid var(--color-burgundy);
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
}

.goal-card:hover::before {
    background: var(--color-burgundy);
}

.goal-icon {
    width: 60px;
    height: 60px;
    background: var(--color-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--color-white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-icon {
    box-shadow: 0 4px 15px rgba(125, 5, 5, 0.4);
}

.goal-card p {
    color: var(--color-light-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.program {
    background: linear-gradient(180deg, var(--color-dark) 0%, rgba(125, 5, 5, 0.05) 100%);
    overflow-x: hidden !important;
}

.program::-webkit-scrollbar {
    display: none !important;
}

.program.expanded {
    overflow: visible;
    overflow-y: visible;
}

/* Program expanded durumunda children elementlerden kısıtlamaları kaldır */
.program.expanded * {
    max-height: none !important;
    overflow: visible !important;
}

.program h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.program h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-burgundy);
}

.program-section-title {
    color: var(--color-white);
    font-size: 1.8rem;
    text-align: center;
    margin: 3rem 0 2rem 0;
    font-weight: bold;
}

.program-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.overview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.overview-card:hover {
    background: rgba(125, 5, 5, 0.1);
    border-color: var(--color-burgundy);
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: var(--color-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: var(--color-white);
    font-size: 1.5rem;
}

.overview-card h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.overview-card p {
    color: var(--color-light-gray);
    line-height: 1.5;
    margin: 0;
}

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

.program-details-header p {
    color: var(--color-light-gray);
    margin: 0.5rem 0;
}

.program-detailed .program-day {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-burgundy);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.program-detailed .program-day h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.program-detailed .program-day ul {
    list-style: none;
    padding-left: 0;
}

.program-detailed .program-day li {
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 20px;
    color: var(--color-light-gray);
    line-height: 1.6;
}

.program-detailed .program-day li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-burgundy);
    font-weight: bold;
}

.show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-burgundy);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin: 2rem auto;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #a00404;
    transform: translateY(-2px);
}

.show-more-btn:active:hover {
    transform: none !important;
}

.show-more-btn:active {
    transform: none !important;
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.active i {
    transform: rotate(180deg);
}

.program-hidden {
    overflow: hidden;
}

.program-day {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--color-burgundy);
    padding: 2rem;
    margin-bottom: 2rem;
    opacity: 1;
    transform: translateY(0);
}

.program-day h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.program-day h4 {
    color: var(--color-burgundy);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.program-day .date {
    color: var(--color-burgundy);
    font-weight: bold;
    margin-bottom: 1rem;
}

.program-day ul {
    list-style: none;
    padding-left: 20px;
}

.program-day li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 20px;
}

.program-day li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-burgundy);
}

footer {
    background: var(--color-black);
    padding: 3rem 0;
    text-align: center;
    overflow: hidden;
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

footer .social-links a {
    color: #808080;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #4a4a4a;
    background: rgba(255, 255, 255, 0.02);
}

footer .social-links a:hover {
    color: var(--color-white);
    transform: translateY(-3px);
    border-color: #808080;
    background: rgba(128, 128, 128, 0.15);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.2);
}

footer .footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

footer .footer-info p {
    margin: 0.5rem 0;
    color: var(--color-light-gray);
}

footer .contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

footer .contact-email a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .contact-email a:hover {
    color: var(--color-burgundy);
}

.fade-in {
    opacity: 1;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    * {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100vw;
        position: relative;
        max-width: 100vw;
    }
    
    .container {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        max-width: 250px;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero content - mobilde yukarı kaydır */
    .hero-content {
        padding-top: 80px !important;
        margin-bottom: 100px;
    }
    
    /* Mobilde header'dan dil seçeneklerini gizle */
    .language-switcher {
        display: none;
    }
    
    /* Mobil menü içerisinde dil seçenekleri */
    .nav-menu .mobile-language-switcher {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        align-items: center;
    }
    
    .nav-menu .mobile-language-switcher .lang-btn {
        padding: 12px 20px;
        font-size: 1rem;
        width: 80%;
        text-align: center;
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-menu .mobile-language-switcher .lang-text {
        display: inline;
    }
    
    /* Mobil menü kapatma butonu */
    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: var(--color-white);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s ease;
        z-index: 1001;
        pointer-events: auto !important;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--color-burgundy);
    }
    
    /* Mobilde header logo düzenlemesi */
    .header-logo {
        height: 35px;
    }
    
    .logo-container {
        gap: 10px;
    }

    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .hero, .manifesto, .about, .goals, .program {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Program expanded durumunda mobilde overflow serbest */
    .program.expanded {
        overflow: visible !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
    }

    section {
        padding: 40px 0;
    }

    .hero {
        padding: 80px 0;
    }

    /* Hero mobil stilleri */
    .hero-responsibility h2 {
        font-size: 1rem;
        padding: 0 15px;
        letter-spacing: 1px;
    }
    
    .hero-location .year {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero-location .city {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .hero-location .city::before,
    .hero-location .city::after {
        width: 40px;
    }
    
    .hero-location .city::before {
        left: -50px;
    }
    
    .hero-location .city::after {
        right: -50px;
    }

    .hero-main h1 {
        font-size: 1.8rem;
        font-weight: 300 !important;
        padding: 0 15px;
        letter-spacing: 1px;
    }

    .hero-date p {
        padding: 0 15px;
        font-size: 1rem;
    }
    
    .hero-logos {
        position: absolute !important;
        bottom: 40px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        display: flex;
        gap: 15px;
        justify-content: center;
        align-items: center;
        width: auto !important;
    }
    
    /* RTL için mobil ortalama - daha güçlü kural */
    body.rtl .hero-logos {
        position: absolute !important;
        bottom: 40px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    .hero-logo {
        height: 50px;
        width: auto;
        object-fit: contain;
    }

    .manifesto h2.bismillah {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .manifesto-content {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .manifesto-text,
    .about-text {
        text-align: left !important;
        padding: 0 10px;
        width: 100%;
        max-width: 100vw;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
        box-sizing: border-box;
    }
    
    .manifesto-text p,
    .about-text p {
        text-align: left !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        margin: 1rem 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hadis-quote {
        margin: 2rem 10px;
        padding: 1.5rem;
    }
    
    .hadis-quote p {
        text-align: left !important;
        font-size: 1rem;
    }

    .duty-title {
        padding: 0 10px;
        font-size: 1.3rem;
    }

    .duty-list {
        padding: 0 10px;
        gap: 1rem;
    }

    .duty-item {
        padding: 1rem;
        margin: 0;
    }
    
    .duty-item p {
        text-align: left !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        margin: 0;
        font-size: 0.9rem;
    }

    .about h2,
    .goals h2,
    .program h2 {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .goals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }

    .goal-card {
        padding: 1.5rem;
        margin: 0;
    }

    .timeline {
        margin: 2rem 10px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .program-overview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
    
    .overview-card {
        padding: 1.5rem;
    }
    
    .program-section-title {
        font-size: 1.4rem;
        padding: 0 10px;
    }
    
    .program-details-header {
        text-align: left;
        padding: 0 10px;
    }

    .program-detailed {
        padding: 0 10px;
    }

    .program-day {
        margin: 1rem 0;
        padding: 1.5rem;
    }

    .program-day h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .program-day h4 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem 0;
    }

    .program-day ul {
        padding-left: 15px;
    }

    .program-day li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.6rem;
    }
    
    .closing-statement {
        text-align: left !important;
        margin: 2rem 10px;
        padding: 1.5rem;
        font-size: 1rem;
    }

    footer {
        padding: 2rem 0;
    }

    footer .social-links {
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    footer .footer-info {
        padding: 1rem 10px 0 10px;
    }
}

/* =====================================================
   PRESS ROOM SECTION
   ===================================================== */
.press-room {
    padding: 80px 0;
    background-color: var(--color-dark);
    position: relative;
}

.press-room::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-burgundy), transparent);
}

.press-room-content {
    max-width: 1200px;
    margin: 0 auto;
}

.press-room h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.press-room-description {
    text-align: center;
    color: var(--color-light-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter Buttons */
.press-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--color-burgundy);
    color: var(--color-light-gray);
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.filter-btn:hover {
    background-color: var(--color-burgundy);
    color: var(--color-white);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--color-burgundy);
    color: var(--color-white);
}

/* Press Grid */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.press-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.press-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(125, 5, 5, 0.3);
    border-color: var(--color-burgundy);
}

.press-item.hidden {
    display: none;
}

.press-item-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Thumbnail Area */
.press-item-thumbnail {
    position: relative;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
}

.press-item-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.press-item:hover .press-item-thumbnail img {
    transform: scale(1.1);
}

.press-item:active .press-item-thumbnail img {
    transform: none;
}

/* Press Room İkonları */
.press-item-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.press-item-icon i {
    font-size: 3.5rem;
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.press-item:hover .press-item-icon {
    transform: scale(1.05);
}

.press-item:active .press-item-icon {
    transform: none;
}

.press-item:hover .press-item-icon i {
    font-size: 4rem;
}

/* İçerik türüne göre renk kodları - Site temasına uyumlu gri tonlar */
.press-icon-video {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.press-icon-gallery {
    background: linear-gradient(135deg, #7a8085, #666b70);
}

.press-icon-pdf {
    background: linear-gradient(135deg, #868e95, #747b82);
}

.press-icon-default {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

/* Overlay */
.press-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.press-item:hover .press-item-overlay {
    opacity: 1;
}

.press-item-actions {
    display: flex;
    gap: 1rem;
}

.press-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-burgundy);
    color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.press-action-btn:hover {
    background-color: var(--color-white);
    color: var(--color-burgundy);
    transform: scale(1.1);
}

.press-action-btn:active {
    transform: none;
}

/* Content Area */
.press-item-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.press-item-category {
    display: inline-block;
    background-color: var(--color-burgundy);
    color: var(--color-white);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    align-self: flex-start;
}

.press-item-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.press-item-excerpt {
    color: var(--color-light-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.press-item-date {
    color: rgba(197, 197, 197, 0.6);
    font-size: 0.85rem;
    margin-top: auto;
}

/* No Items Message */
.no-press-items {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-light-gray);
    font-size: 1.1rem;
}

/* Modals */
.press-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.press-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.press-modal-content {
    position: relative;
    background-color: var(--color-dark);
    border: 1px solid var(--color-burgundy);
    border-radius: 8px;
    padding: 2rem;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
}

.press-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--color-white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-burgundy);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.press-modal-close:hover {
    background-color: var(--color-white);
    color: var(--color-burgundy);
    transform: rotate(90deg);
}

/* Video Modal */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    width: 100%;
    max-width: 900px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

/* Gallery Modal */
.gallery-modal {
    max-width: 1200px;
}

.gallery-title {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gallery-main-image {
    width: 100%;
    max-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    overflow: hidden;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    max-height: 150px;
    overflow-y: auto;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.gallery-thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover {
    border-color: var(--color-burgundy);
    transform: scale(1.05);
}

.gallery-thumbnail:active {
    transform: none;
}

.gallery-thumbnail.active {
    border-color: var(--color-white);
}

.gallery-download-all {
    margin-top: 1.5rem;
    text-align: center;
}

.download-all-btn {
    background-color: var(--color-burgundy);
    color: var(--color-white);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-all-btn:hover {
    background-color: var(--color-white);
    color: var(--color-burgundy);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .press-room {
        padding: 60px 20px;
    }
    
    .press-room h2 {
        font-size: 2rem;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .press-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .press-modal-content {
        padding: 1rem;
        margin: 1rem;
    }
    
    .gallery-modal {
        max-width: 100%;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .gallery-thumbnail {
        height: 60px;
    }
}

/* Global Button Fix - Prevent scaling/growing on click */
button,
.filter-btn,
.download-all-btn,
.show-more-btn,
#showMoreBtn,
.logo-container,
.mobile-menu-toggle,
input[type="button"],
input[type="submit"],
.btn,
a.btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Dil butonları için özel ayarlar - user-select engelleme */
.lang-btn {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button:active,
button:focus,
.filter-btn:active,
.filter-btn:focus,
.download-all-btn:active,
.download-all-btn:focus,
.show-more-btn:active,
.show-more-btn:focus,
#showMoreBtn:active,
#showMoreBtn:focus,
.logo-container:active,
.logo-container:focus,
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus,
.btn:active,
.btn:focus,
a.btn:active,
a.btn:focus {
    transform: none !important;
    scale: 1 !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    -moz-transform: none !important;
    outline: none;
    box-shadow: none !important;
}

/* Additional fix for any element that might have transform effects - exclude lang buttons */
*:active:not(.lang-btn),
*:focus:not(.lang-btn) {
    -webkit-tap-highlight-color: transparent;
}

/* Specific fixes for language buttons - allow normal functionality */
.lang-btn {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    transform: none !important;
    cursor: pointer;
}

/* Allow lang buttons to work normally while preventing scaling */
.lang-btn:active,
.lang-btn:focus {
    transform: none !important;
    scale: none !important;
    -webkit-transform: none !important;
    outline: none;
}

/* Fix for show more program button */
#showMoreBtn,
.show-more-btn {
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

#showMoreBtn:active,
#showMoreBtn:focus,
.show-more-btn:active,
.show-more-btn:focus {
    transform: none !important;
    scale: none !important;
    -webkit-transform: none !important;
}

/* Override any hover effects during active/focus states */
.lang-btn:active:hover,
.lang-btn:focus:hover,
#showMoreBtn:active:hover,
#showMoreBtn:focus:hover,
.show-more-btn:active:hover,
.show-more-btn:focus:hover {
    transform: none !important;
    scale: none !important;
    -webkit-transform: none !important;
}