:root {
    --palestine-red: #E4312b;
    --palestine-green: #149954;
    --palestine-black: #000000;
    --palestine-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f8ff;
    color: #333;
    overflow-x: hidden;
}

/* Açılış Ekranı (Preloader) */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00468b; /* Koyu deniz mavisi */
    background-image: linear-gradient(to bottom, #00468b, #0077c8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
    visibility: visible;
    opacity: 1;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 150px;
    height: auto;
    animation: sail-away 4s infinite ease-in-out;
}

.preloader-text {
    margin-top: 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    opacity: 0;
    animation: fade-in-text 2s ease-in-out forwards;
}

@keyframes sail-away {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(10px) rotate(3deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes fade-in-text {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Dil Seçici */
.language-selector {
    position: fixed;
    top: 12px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 5px;
}

.lang-btn {
    border: none;
    background: none;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.lang-btn.active {
    background: var(--palestine-green);
    color: white;
}

/* RTL Desteği */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .language-selector {
    left: 20px;
    right: auto;
}

.palestine-flag-strip {
    height: 12px;
    width: 100%;
    background: linear-gradient(
        to bottom,
        var(--palestine-black) 33.33%,
        var(--palestine-white) 33.33% 66.66%,
        var(--palestine-green) 66.66%
    );
    position: fixed;
    top: 0;
    z-index: 1000;
}

/* Haber Bandı */
.news-ticker {
    background: var(--palestine-red);
    color: white;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-content {
    display: inline-block;
    animation: ticker 45s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

header {
    background: linear-gradient(135deg, var(--palestine-black) 0%, #1e3c72 100%);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
    margin-top: 12px;
}

.subtitle {
    margin-top: 1rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.emergency-counter {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.counter-item {
    text-align: center;
}

.counter-item span:first-child {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--palestine-red);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.urgent-message {
    background: var(--palestine-red);
    color: white;
    padding: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.map-container {
    position: relative;
    width: 100%;
    height: 70vh;
    margin: 2rem 0;
    overflow: hidden;
    border: 3px solid var(--palestine-green);
    border-radius: 10px;
}

.mediterranean-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: #a8d8ea;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/7/7f/Mediterranean_Sea_location_map.svg/2000px-Mediterranean_Sea_location_map.svg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Gemi Rotaları */
.route {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    transform-origin: left center;
}

.route::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--palestine-green));
    animation: routeProgress 10s linear infinite;
}

@keyframes routeProgress {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.route-1 { width: 300px; top: 40%; left: 20%; transform: rotate(30deg); }
.route-2 { width: 250px; top: 50%; left: 30%; transform: rotate(45deg); }
.route-3 { width: 200px; top: 45%; left: 40%; transform: rotate(20deg); }
.route-4 { width: 280px; top: 55%; left: 50%; transform: rotate(35deg); }
.route-5 { width: 220px; top: 48%; left: 60%; transform: rotate(25deg); }

.ship {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M20,21c-1.39,0-2.78-0.47-4-1.32c-2.44,1.71-5.56,1.71-8,0C6.78,20.53,5.39,21,4,21H2v2h2c1.38,0,2.74-0.35,4-0.99 c2.52,1.29,5.48,1.29,8,0c1.26,0.64,2.63,0.99,4,0.99h2v-2H20z M3.95,19H4c1.6,0,3.02-0.88,4-2c0.98,1.12,2.4,2,4,2s3.02-0.88,4-2 c0.98,1.12,2.4,2,4,2h0.05l1.89-6.68c0.08-0.26,0.06-0.54-0.06-0.78s-0.34-0.42-0.6-0.5L20,10.62V6c0-1.1-0.9-2-2-2h-3V1H9v3H6 C4.9,4,4,4.9,4,6v4.62l-1.29,0.42c-0.26,0.08-0.48,0.26-0.6,0.5c-0.12,0.24-0.14,0.52-0.06,0.78L3.95,19z M6,6h12v3.97L12,8 L6,9.97V6z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.ship.blocked {
    filter: grayscale(1) brightness(0.7);
    animation: none !important;
}

.ship:hover .ship-info-popup {
    display: block;
    opacity: 1;
    visibility: visible;
}

.ship-info-popup {
    display: none;
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    width: 280px;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ship-info-popup h4 {
    margin-bottom: 10px;
    color: var(--palestine-green);
}

.ship-info-popup ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ship-info-popup li {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ship-info-popup .ship-status-text {
    margin-top: 10px;
    color: var(--palestine-red);
    font-weight: bold;
}

.aid-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    text-align: center;
}

.aid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.aid-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.aid-item:hover {
    transform: translateY(-5px);
}

.aid-item i {
    font-size: 2.5rem;
    color: var(--palestine-green);
    margin-bottom: 1rem;
}

.aid-item h3 {
    color: var(--palestine-black);
    margin-bottom: 0.5rem;
}

.info-panel {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.info-button {
    background-color: var(--palestine-green);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.info-button:hover {
    background-color: #117a43;
    transform: translateY(-2px);
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin: 1rem 0;
}

.ship-status {
    margin-top: 2rem;
    background: rgba(20, 153, 84, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

.ship-status h3 {
    margin-bottom: 1rem;
    color: var(--palestine-green);
}

#shipStatusList {
    display: grid;
    gap: 1rem;
}

.ship-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--palestine-green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ship-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ship-header .flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ship-info .status {
    display: block;
    margin: 0.5rem 0;
    color: var(--palestine-green);
    font-weight: bold;
}

.ship-info .status.blocked {
    color: var(--palestine-red);
}

.ship-info .distance,
.ship-info .cargo {
    display: block;
    margin: 0.5rem 0;
    color: #444;
}

.ship-info .activists {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.ship-info .activists small {
    color: #666;
    display: block;
    margin-bottom: 0.5rem;
}

.ship-info .activists .flag-icon {
    margin-right: 0.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.solidarity-footer {
    background: var(--palestine-black);
    color: white;
    padding: 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

.solidarity-message p {
    font-size: 1.2rem;
    font-weight: bold;
}

@keyframes sail {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(var(--end-x), var(--end-y)) rotate(var(--rotation, 15deg));
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes sway {
    0% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(-5deg);
    }
}

.ship-1 { --end-x: 300px; --end-y: 100px; left: 20%; top: 40%; --rotation: 15deg; }
.ship-2 { --end-x: 250px; --end-y: 150px; left: 30%; top: 50%; --rotation: -20deg; }
.ship-3 { --end-x: 200px; --end-y: 120px; left: 40%; top: 45%; --rotation: 25deg; }
.ship-4 { --end-x: 280px; --end-y: 90px; left: 50%; top: 55%; --rotation: -15deg; }
.ship-5 { --end-x: 220px; --end-y: 130px; left: 60%; top: 48%; --rotation: 20deg; }

.ship {
    animation: sail 20s infinite alternate ease-in-out;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .language-selector {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        top: 0;
        right: 0;
        background: var(--palestine-black);
    }

    .lang-btn {
        font-size: 12px;
        padding: 3px 6px;
    }

    header {
        margin-top: 50px;
        padding: 1rem;
    }

    .map-container {
        height: 50vh;
    }

    .aid-grid {
        grid-template-columns: 1fr;
    }

    .ship {
        width: 30px;
        height: 30px;
    }

    .ship-info-popup {
        width: 200px;
        font-size: 12px;
    }

    .ship-1 { --end-x: 150px; --end-y: 50px; }
    .ship-2 { --end-x: 125px; --end-y: 75px; }
    .ship-3 { --end-x: 100px; --end-y: 60px; }
    .ship-4 { --end-x: 140px; --end-y: 45px; }
    .ship-5 { --end-x: 110px; --end-y: 65px; }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .urgent-message {
        font-size: 14px;
    }

    .aid-item {
        padding: 1rem;
    }
}

/* Yeni Eklenen Stiller */
.casualties-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 800px;
}

.casualty-item.total-only {
    text-align: center;
    background: none;
    padding: 0;
}

.casualty-item.total-only .number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--palestine-red);
    display: block;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.casualty-item.total-only span:last-child {
    font-size: 1.2rem;
    opacity: 0.8;
}

.conscience-message {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
}

.conscience-message p {
    margin: 0;
}

.conscience-message strong {
    display: block;
    margin-top: 1rem;
    color: var(--palestine-red);
    font-size: 1.4rem;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Eski Stilleri Kaldırma/Düzenleme */
@media (max-width: 768px) {
    .casualties-counter {
        gap: 1rem;
        padding: 1.5rem;
    }

    .casualty-item.total-only .number {
        font-size: 3rem;
    }

    .conscience-message {
        font-size: 1rem;
    }

    .conscience-message strong {
        font-size: 1.2rem;
    }
}

.casualty-item {
    /* Bu kural artık daha spesifik olan .total-only tarafından ezilecek, 
       ama genel durumlar için kalabilir veya temizlenebilir. 
       Şimdilik burada bırakıyorum. */
}

.routes-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.routes-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.route-tab, .status-tab {
    padding: 1rem 2rem;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.route-tab::after, .status-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--palestine-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.route-tab:hover::after, .status-tab:hover::after {
    transform: scaleX(1);
}

.route-tab.active, .status-tab.active {
    background: var(--palestine-green);
    color: white;
}

.route-tab.active::after, .status-tab.active::after {
    transform: scaleX(1);
    background: white;
}

.route-content {
    display: none;
}

.route-content.active {
    display: block;
}

.land-map-container {
    height: 70vh;
    border: 3px solid var(--palestine-green);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

#landMap {
    height: 100%;
}

.convoy-info {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 8px;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.world-support-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
}

.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--palestine-green);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--palestine-green);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -60px;
}

.action-calendar {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
}

.calendar-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.calendar-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--palestine-green);
}

.statistics-section {
    background: linear-gradient(135deg, var(--palestine-black) 0%, #1e3c72 100%);
    color: white;
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.stat-item {
    text-align: center;
    min-width: 200px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--palestine-green);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin: 0.5rem 0;
}

.fleet-status {
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.fleet-status h2 {
    color: var(--palestine-green);
    margin-bottom: 1.5rem;
    text-align: center;
}

.status-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.status-tab {
    padding: 0.8rem 2rem;
    border: 2px solid var(--palestine-green);
    background: transparent;
    color: var(--palestine-green);
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.status-tab:hover {
    background: rgba(20, 153, 84, 0.1);
}

.status-tab.active {
    background: var(--palestine-green);
    color: white;
}

.status-container {
    position: relative;
}

.status-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.status-content.active {
    display: block;
    opacity: 1;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .casualties-counter {
        flex-direction: column;
        gap: 1rem;
    }

    .casualty-item {
        min-width: auto;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column !important;
    }

    .timeline-content {
        width: 100%;
        margin-left: 50px;
    }

    .timeline-content::before {
        left: -40px !important;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .hashtag-stats {
        flex-direction: column;
        align-items: center;
    }

    .fleet-status {
        padding: 1rem;
    }

    .status-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .status-tab {
        width: 100%;
        text-align: center;
    }
}

/* Gemi animasyonlarını düzeltme */
.mediterranean-map {
    overflow: hidden;
}

.ship {
    transform-origin: center center;
    will-change: transform;
}

@keyframes sail {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(var(--end-x), var(--end-y)) rotate(var(--rotation, 15deg));
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.convoy-info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--palestine-green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.convoy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.convoy-header h4 {
    color: var(--palestine-green);
    margin: 0;
    font-size: 1.2rem;
}

.convoy-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    background: #f0f0f0;
    color: #666;
}

.convoy-status.active {
    background: var(--palestine-green);
    color: white;
}

.convoy-details {
    margin-bottom: 1rem;
}

.convoy-details p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #444;
}

.convoy-details i {
    color: var(--palestine-green);
    width: 20px;
    text-align: center;
}

.route-info {
    background: rgba(20, 153, 84, 0.1);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

.route-info h5 {
    margin: 0 0 0.5rem 0;
    color: var(--palestine-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.route-path {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

.team-info {
    margin-top: 1rem;
}

.team-info h5 {
    margin: 0 0 0.8rem 0;
    color: var(--palestine-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0.8rem 0;
    font-size: 0.9rem;
    color: #444;
    flex-wrap: wrap;
}

.team-member .flag-icon {
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .ship-info,
    .convoy-info-item {
        padding: 1rem;
    }

    .convoy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .team-member {
        flex-wrap: wrap;
    }
}

.convoy-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--palestine-green);
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.convoy-marker.start {
    color: var(--palestine-green);
}

.convoy-marker.end {
    color: var(--palestine-red);
}

.convoy-marker i {
    font-size: 16px;
    line-height: 20px;
}

/* Harita popup stilleri */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    padding: 10px;
}

.leaflet-popup-content {
    margin: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaflet-container a.leaflet-popup-close-button {
    color: var(--palestine-red);
}

/* Sosyal Medya Hareketi Bölümü */
.social-movement {
    background: linear-gradient(135deg, var(--palestine-black) 0%, #1e3c72 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    color: white;
}

.movement-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f0f8ff" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.movement-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.movement-desc {
    font-size: 1.2rem;
    margin: 2rem auto;
    max-width: 800px;
    line-height: 1.6;
}

.hashtag-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.hashtag-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.hashtag-item:hover {
    transform: translateY(-5px);
}

.hashtag-icon {
    width: 50px;
    height: 50px;
    background: var(--palestine-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hashtag-icon i {
    font-size: 1.5rem;
    color: white;
}

.hashtag {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.count {
    font-size: 2rem;
    font-weight: bold;
    color: var(--palestine-green);
    display: block;
    margin-bottom: 1rem;
}

.hashtag-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--palestine-green);
    border-radius: 3px;
    transition: width 1s ease;
}

.social-share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.share-btn i {
    font-size: 1.2rem;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.facebook {
    background: #4267B2;
}

.share-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.share-btn.whatsapp {
    background: #25D366;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Footer Bölümü */
.solidarity-footer {
    background: var(--palestine-black);
    color: white;
    position: relative;
    padding: 4rem 2rem 0;
}

.footer-waves {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23000000" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-section {
    padding: 1rem;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.footer-section h3 {
    color: var(--palestine-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--palestine-green);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--palestine-green);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-links a:hover {
    color: var(--palestine-green);
}

.ffc-statement {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.ffc-statement a {
    color: var(--palestine-white);
    text-decoration: underline;
    font-weight: bold;
}

.ffc-statement a:hover {
    color: var(--palestine-green);
}

.footer-contact {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--palestine-green);
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--palestine-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
}

.hashtag-strip {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Madleen Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.5s;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fdf5e6; /* Parchment color */
    color: #4a3c2b; /* Dark brown text */
    margin: auto;
    padding: 40px;
    border: 10px solid #d2b48c; /* Tan border */
    border-image: url('data:image/svg+xml;charset=utf-8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><style>path{fill-rule:evenodd;fill:%23d2b48c}</style><path d="M0 0h100v100H0zM10 10h80v80H10z"/></svg>') 10;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 5px;
    position: relative;
    font-family: 'Georgia', serif;
    animation: slideIn 0.5s ease-out;
}

.modal-content h2 {
    color: #8b4513; /* SaddleBrown */
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-content h3 {
    color: #a0522d; /* Sienna */
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d2b48c;
    padding-bottom: 5px;
}

.modal-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-content blockquote {
    border-left: 3px solid #b38b6d;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #6b4f3a;
}

.modal-close-btn {
    color: #8b4513;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: #4a3c2b;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .social-movement {
        padding: 3rem 1rem;
    }

    .movement-desc {
        font-size: 1rem;
    }

    .hashtag-stats {
        grid-template-columns: 1fr;
    }

    .social-share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hashtag-item {
        padding: 1rem;
    }

    .count {
        font-size: 1.5rem;
    }

    .hashtag-strip {
        font-size: 1rem;
    }
}

.convoy-extra-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

.convoy-extra-details p {
    margin-bottom: 1rem;
}

.convoy-extra-details p:last-child {
    margin-bottom: 0;
}

.convoy-extra-details strong {
    color: var(--palestine-green);
} 