﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f6f8fb;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.main-title {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.logo-link {
    display: inline-block;
    background-color: #6c5ce7;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-right: 4px;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    z-index: 0;
}

.logo-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/lale3.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    transition: top 0.6s ease, opacity 0.6s ease;
    z-index: -1;
    border-radius: 8px;
    opacity: 0;
}

.logo-link:hover {
    background-color: #00b894;
}

.logo-link:hover::before {
    top: -90%;
    opacity: 1;
    background-position: center center;
}

.logo-mobile {
    display: none;
}

.main-title h1 {
    color: #6c5ce7;
    font-size: 28px;
    font-weight: 700;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    order: 2;
    margin-left: 12px;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: #2563EB;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navigation {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0;
    order: 1;
    flex: 1;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #6c5ce7, #00b894);
    border-radius: 8px;
    padding: 4px;
    margin: 0;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.nav-menu li {
    position: relative;
    overflow: visible;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
    display: block;
}

.nav-menu li a:hover {
    color:#ffd700;
    
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Top Section */
.top-section {
    margin-bottom: 0;
}

.content-block {
    background-color: #ffffff;
    padding: 30px;
    text-align: center;
}

.arabic-text {
    margin-bottom: 20px;
}

.arabic {
    font-size: 32px;
    font-weight: bold;
    color: #6c5ce7;
    margin-bottom: 10px;
    font-family: 'Arabic Typesetting', 'Traditional Arabic', serif;
}

.translation {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 30px;
}

.intro-text p {
    font-size: 20px;
    color: #444;
    line-height: 1.8;
}

.section-title {
    color: #2563EB;
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
}

/* Middle Section - Three Cards */
.middle-section {
    margin-bottom: 50px;
}

.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: linear-gradient(to right, #74ebd5, #ACB6E5);
    border: 1px solid #bbb;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card p {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 1.7;
}

/* Bottom Section - Four Cards */
.bottom-section {
    margin-bottom: 50px;
}

.four-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-bottom: 6px solid #9b59b6;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    cursor: pointer;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-image {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.oval-image {
    
 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oval-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



.card-content {
    flex: 1;
}

.card-content p {
    font-size: 20px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 10px;
}

.card-content .bold-text {
    font-weight: 700;
    color: #9b59b6;
    font-size: 21px;
    margin-top: 15px;
    margin-bottom: 8px;
}

.card-content .bold-text:first-of-type {
    margin-top: 0;
}

/* Niyet Page Styles */
.niyet-section {
    margin-bottom: 50px;
}

.niyet-container {
    display: grid;
    grid-template-columns: 1.5fr 4fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.niyet-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.niyet-image {
    display: flex;
    justify-content: left;
    margin-bottom: 20px;
}

.niyet-image .oval-image {
    width: 150px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
   
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.2);
}

.niyet-image .oval-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.niyet-title {
    text-align: left;
}

.niyet-title h2 {
    color: #6c5ce7;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.niyet-subtitle {
    color: #2563EB;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
}

.niyet-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.niyet-info p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.niyet-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.niyet-text {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.niyet-text p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.niyet-text p:nth-child(1) {
    animation-delay: 0.2s;
}

.niyet-text p:nth-child(2) {
    animation-delay: 0.4s;
}

.niyet-text p:nth-child(3) {
    animation-delay: 0.6s;
}

.niyet-text p:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.niyet-text p:last-child {
    margin-bottom: 0;
}

.niyet-link {
    text-align: center;
}

.back-link {
    display: inline-block;
    background: linear-gradient(90deg, #6c5ce7, #00b894);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
    color: #ffd700;
}

/* Merci Page Styles */
.merci-section {
    margin-bottom: 50px;
    padding-top: 10px;
}

.main-content {
    background: #f6f8fb;
}

.merci-container {
    display: grid;
    grid-template-columns: 1.5fr 4fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.merci-left {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #c7d2fe #f4f6fb;
}

.merci-sidebar {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.merci-title {
    color: #6c5ce7;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.merci-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.merci-nav-menu li a {
    display: block;
    padding: 12px 20px;
    background-color: #f8f9fa;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.merci-nav-menu li a:hover {
    
    color: #6c5ce7;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.merci-nav-menu li a.active {
   
    color: #6c5ce7;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.merci-right {
    display: flex;
    flex-direction: column;
}

.merci-text {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.merci-text p {
    color: #2f2f36;
    font-size: 16px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.merci-text h3 {
    color: #4c3fd1;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.merci-text strong {
    color: #2563EB;
    font-weight: 700;
}

.merci-text em {
    color: #00b894;
    font-style: normal;
    font-weight: 600;
}

/* Video içeriği */
.merci-text video {
    width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

.video-speed-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 14px;
}

.video-speed-controls button {
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    color: #2f2f36;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.video-speed-controls button:hover {
    background: linear-gradient(90deg, #6c5ce7, #00b894);
    color: #ffffff;
    border-color: transparent;
}

.video-speed-controls button.active {
    background: linear-gradient(90deg, #6c5ce7, #00b894);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.video-note {
    margin-top: 8px;
    font-size: 13px;
}
/* Cahil sayfası tek sütun yerleşim */
.cahil-container {
    max-width: 1100px;
   
}

/* Yol Ankara sayfası iki sütun yerleşim */
.yol-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
   
}

/* Table styles (tablo görünümü) */
.table-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 16px;
    overflow-x: auto;
}

.merci-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    table-layout: fixed; /* hücreleri dar ekranlara uydur */
}

.merci-table th,
.merci-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e6e8f0;
    font-size: 14px;
    color: #2f2f36;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.merci-table th {
    background:  #00b894;
    color: #ffffff;
    font-weight: 700;
}

.merci-table tbody tr:nth-child(even) {
    background: #f7f8ff;
}

.merci-table tbody tr:hover {
    background: #eef2ff;
}

.merci-table th:first-child,
.merci-table td:first-child {
    border-top-left-radius: 6px;
}

.merci-table th:last-child,
.merci-table td:last-child {
    border-top-right-radius: 6px;
}

/* Renkli Merci Tablosu Stilleri */
.merci-colored-table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.merci-colored-table td {
    padding: 12px 14px;
    text-align: left;
    font-size: 14px;
    border: 1px solid #e0e0e0;
}

.merci-colored-table .table-header-row td {
    background: linear-gradient(135deg, #6c5ce7, #00b894);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    padding: 16px 14px;
}

.merci-colored-table .table-subheader-row td {
    background: linear-gradient(135deg, #4c3fd1, #00a085);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 14px;
}

.merci-colored-table tbody tr:nth-child(odd):not(.table-header-row):not(.table-subheader-row) {
    background-color: #f8f9ff;
}

.merci-colored-table tbody tr:nth-child(even):not(.table-header-row):not(.table-subheader-row) {
    background-color: #ffffff;
}

.merci-colored-table tbody tr:not(.table-header-row):not(.table-subheader-row):hover {
    background-color: #eef2ff;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Ziyaretçi Sayacı - Footer üstünde düz yazı, hafif ama okunabilir */
.visitor-counter {
    position: relative;
    text-align: right;
    padding: 10px 20px 8px;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    z-index: 1;
}

.visitor-counter-container {
    display: inline-block;
    text-align: right;
}

.visitor-counter-title {
    color: #777;
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.75;
    line-height: 1.4;
    display: inline;
}

.visitor-counter-number {
    display: inline;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 0 0 5px;
    box-shadow: none;
}

.visitor-counter-number:hover {
    transform: none;
    box-shadow: none;
}

.visitor-counter-value {
    font-size: 16px;
    font-weight: 800;
    color: #666;
    text-shadow: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 0;
    line-height: 1.4;
    display: inline;
    opacity: 0.7;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #6c5ce7, #00b894);
    border-top: none;
    padding: 30px 0;
    margin-top: 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-content p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #e8f9f0;
}

/* Audio kartları ve butonlar */
.audio-card {
    background: #f7f8fb;
    border: 1px solid #e1e5ee;
    border-radius: 14px;
    padding: 18px 20px;
    margin: 20px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.audio-card.is-playing {
    border-color: #3f76f6;
    box-shadow: 0 10px 30px rgba(63, 118, 246, 0.18);
    transform: translateY(-2px);
}

.audio-header strong {
    display: block;
    color: #1c2a3a;
    font-size: 16px;
}

.audio-speaker {
    margin: 8px 0 14px;
    color: #5b6b7a;
    font-size: 14px;
}

.audio-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.audio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.audio-btn.play {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35);
}

.audio-btn.stop {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    box-shadow: 0 4px 10px rgba(248, 113, 113, 0.25);
}

.audio-btn.play::before {
    content: '▶';
    font-size: 13px;
}

.audio-btn.stop::before {
    content: '■';
    font-size: 11px;
}

.audio-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.audio-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.ayat-note {
    font-weight: 600;
    color: #314155;
    margin-top: 10px;
}

/* Mobil Başa Dön Butonu (varsayılan gizli) */
.back-to-top-mobile {
    display: none;
    position: fixed;
    bottom: 16px;
    right: 16px;
    transform: none;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #6c5ce7, #00b894);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 1002;
}

.back-to-top-mobile:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .four-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .three-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .niyet-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .niyet-left {
        order: 1;
    }
    
    .niyet-right {
        order: 2;
    }
    
    .merci-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .yol-container {
        grid-template-columns: 1fr;
    }
    
    .merci-section {
        position: static;
        top: auto;
        z-index: auto;
    }
    
    .merci-left {
        order: 1;
        padding: 0;
        border: none;
        box-shadow: none;
        position: relative;
        top: 0;
    }
    
    .merci-right {
        order: 2;
    }
    
    .merci-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: linear-gradient(90deg, #6c5ce7, #00b894);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .main-content {
        padding-top: 190px;
    }

    .header-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }
    
    .main-title {
        margin-bottom: 15px;
    }
    
    .main-title h1 {
        font-size: 24px;
        color: #ffffff;
    }
    
    .logo-link {
        display: inline-block !important;
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .hamburger-menu {
        display: flex !important;
        flex: 0 0 auto;
        margin-left: 0;
        position: absolute;
        right: 12px;
        top: 12px;
        z-index: 1001;
    }

    .hamburger-menu span {
        background-color: #ffffff;
    }
    
    .navigation {
        display: none !important;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 52px;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        background-color: #f6f8fb; /* mobil açılır menü arka planı açık renk */
    }

    .logo-mobile {
        
        display: inline-block;
        background-color: #ffffff;
        color: #6c5ce7;
        padding: 12px 24px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        margin-right: 4px;
        flex-shrink: 0;
        position: relative;
        overflow: visible;
        z-index: 0;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    }

    .nav-menu .logo-link,
    .nav-menu .logo-item {
        display: none;
    }
    
    .navigation.active {
        display: flex !important;
        max-height: 500px;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 4px;
        background: #f6f8fb; /* açık zemin */
        border-radius: 8px;
        margin: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        font-size: 15px;
        padding: 12px 16px;
        border-radius: 0;
        width: 100%;
        text-align: center;
        color: #2f2f36; /* koyu yazı */
    }
    
    .three-cards {
        grid-template-columns: 1fr;
    }
    
    .four-cards {
        grid-template-columns: 1fr;
    }
    
    .arabic {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .main-content {
        padding: 150px 15px;
    }
    
    .niyet-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .niyet-image .oval-image {
        width: 120px;
        height: 160px;
    }
    
    .niyet-title h2 {
        font-size: 20px;
    }
    
    .niyet-subtitle {
        font-size: 18px;
    }
    
    .niyet-info p {
        font-size: 14px;
    }
    
    .niyet-text {
        padding: 20px;
    }
    
    .niyet-text p {
        font-size: 14px;
    }
    
    .merci-sidebar {
        padding: 20px;
    }
    
    .merci-title {
        font-size: 20px;
    }
    
    .merci-nav-menu li a {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .merci-text {
        padding: 20px;
    }
    
    .merci-text p {
        font-size: 20px;
    }

    .yol-container {
        grid-template-columns: 1fr;
    }

    /* Başa dön butonunu sadece mobilde göster */
    .back-to-top-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .logo-link {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .main-title h1 {
        font-size: 20px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu li a {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .arabic {
        font-size: 24px;
    }
    
    .translation {
        font-size: 16px;
    }
    
    .intro-text p {
        font-size: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .card p {
        font-size: 20px;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .niyet-image .oval-image {
        width: 100px;
        height: 140px;
    }
    
    .niyet-title h2 {
        font-size: 18px;
    }
    
    .niyet-subtitle {
        font-size: 16px;
    }
    
    .niyet-info p {
        font-size: 13px;
    }
    
    .niyet-text {
        padding: 15px;
    }
    
    .niyet-text p {
        font-size: 13px;
    }
    
    .back-link {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .merci-sidebar {
        padding: 15px;
    }
    
    .merci-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .merci-nav-menu li a {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .merci-text {
        padding: 15px;
    }
    
    .merci-text p {
        font-size: 14px;
    }

    .visitor-counter {
        padding: 8px 15px 6px;
        text-align: center;
    }

    .visitor-counter-container {
        display: block;
        text-align: center;
    }

    .visitor-counter-title {
        font-size: 9px;
        color: #777;
        opacity: 0.7;
        display: inline;
    }

    .visitor-counter-value {
        font-size: 9px;
        color: #666;
        opacity: 0.75;
        display: inline;
    }
}
