/* Takvim CSS - Modern ve Estetik Tasarım */

:root {
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-secondary: rgba(255, 255, 255, 0.95);
    --text-primary: #2c3e50;
    --text-secondary: #34495e;
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-light: 0 20px 60px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    --bg-primary: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --bg-secondary: rgba(45, 55, 72, 0.95);
    --text-primary: #ecf0f1;
    --text-secondary: #bdc3c7;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    padding: 20px;
    transition: all 0.3s ease;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle button {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Tooltip styles */
.tooltip {
    position: relative;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

[data-theme="dark"] .tooltip::before {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
}

[data-theme="dark"] .tooltip::after {
    border-top-color: rgba(255, 255, 255, 0.9);
}

/* Tema butonu için özel tooltip pozisyonu */
.theme-toggle .tooltip::before {
    bottom: auto;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
}

.theme-toggle .tooltip::after {
    bottom: auto;
    top: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.9);
    border-top-color: transparent;
}

[data-theme="dark"] .theme-toggle .tooltip::after {
    border-bottom-color: rgba(255, 255, 255, 0.9);
    border-top-color: transparent;
}

.takvim-kapsayici {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Takvim Header Navigation */
.takvim-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}

h1 {
    text-align: center;
    color: var(--text-primary);
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 15px auto 0;
    border-radius: 2px;
}

.nav-button {
    background: linear-gradient(145deg, var(--bg-secondary), rgba(255, 255, 255, 0.8));
    color: var(--text-primary);
    border: 2px solid rgba(102, 126, 234, 0.2);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    justify-content: center;
}

.nav-button:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    background: linear-gradient(145deg, #667eea, #764ba2);
    color: white;
}

.nav-button:active {
    transform: translateY(0);
}

.nav-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.bugun-button {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.bugun-button.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.bugun-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.bugun-icon {
    font-size: 1rem;
}

[data-theme="dark"] .nav-button {
    background: linear-gradient(145deg, #3a4a5c, #2c3e50);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .nav-button:hover {
    background: linear-gradient(145deg, #667eea, #764ba2);
    border-color: #667eea;
}

/* Improved mobile and tablet responsive design */
@media (max-width: 768px) {
    .takvim-kapsayici {
        padding: 15px;
    }
    
    .takvim-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-center {
        order: -1;
        min-width: auto;
        width: 100%;
    }
    
    h1 {
        font-size: 1.6rem;
        word-wrap: break-word;
    }
    
    .nav-button {
        min-width: 60px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .nav-text {
        display: none;
    }
    
    .takvim-kartlar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .takvim-kart {
        padding: 20px 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .bugun-gostergesi .tarih {
        font-size: 1.4rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .cevirme-kartlar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cevirme-kart {
        padding: 20px 15px;
    }
    
    .tarih-cevirme-kapsayici {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .takvim-kapsayici {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.4rem;
    }
    
    .takvim-kart {
        padding: 15px 10px;
    }
    
    .bugun-gostergesi .tarih {
        font-size: 1.2rem;
    }
    
    .gun-adi {
        font-size: 1rem;
    }
    
    .nav-button {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

.takvim-kartlar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    width: 100%;
}

.takvim-kart {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

/* Calendar content display styles */
.bugun-gostergesi {
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

.gun-adi {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
}

.tarih {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
    max-width: 100%;
}

.turkish-date {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    width: 100%;
}

.takvim-kart h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    word-wrap: break-word;
}

[data-theme="dark"] .takvim-kart {
    background: linear-gradient(145deg, #3a4a5c, #2c3e50);
    color: var(--text-primary);
}

[data-theme="dark"] .takvim-kart h2 {
    color: var(--text-primary);
}

[data-theme="dark"] .takvim-kart p {
    color: var(--text-secondary);
}

[data-theme="dark"] .hicri-turkce {
    color: var(--text-primary);
}

[data-theme="dark"] .hicri-arapca {
    color: var(--text-secondary);
}

.takvim-kart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.takvim-kart:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#miladi-kart::before {
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

#hicri-kart::before {
    background: linear-gradient(90deg, #2196F3, #1976D2);
}

#rumi-kart::before {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.takvim-ikon {
    font-size: 3rem;
    margin-bottom: 15px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.takvim-kart h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.takvim-kart p {
    font-size: 1.1rem;
    color: #34495e;
    font-weight: 500;
    line-height: 1.4;
}

#hicri-tarih {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hicri-turkce {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.hicri-arapca {
    font-size: 1.2rem;
    color: #34495e;
    font-family: 'Times New Roman', serif;
    font-weight: 500;
    direction: rtl;
    text-align: center;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
    margin: 40px 0;
}

/* Tarih Çevirme Bölümü Stilleri */
.tarih-cevirme-kapsayici {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.tarih-cevirme-kapsayici h2 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
}

.cevirme-aciklama {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1rem;
}

.cevirme-kartlar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.cevirme-kart {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cevirme-kart {
    background: linear-gradient(145deg, #3a4a5c, #2c3e50);
    color: var(--text-primary);
}

.cevirme-kart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

#miladi-cevirme::before {
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

#hicri-cevirme::before {
    background: linear-gradient(90deg, #2196F3, #1976D2);
}

#rumi-cevirme::before {
    background: linear-gradient(90deg, #FF9800, #F57C00);
}

.cevirme-ikon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.cevirme-kart h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.tarih-girdi {
    margin-bottom: 20px;
}

.tarih-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tarih-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.hicri-inputs, .rumi-inputs {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 8px;
}

.hicri-input, .rumi-input {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    min-width: 0;
}

.hicri-input:focus, .rumi-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.tarih-sonuc {
    color: var(--text-secondary);
    font-style: italic;
    min-height: 24px;
    padding: 10px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.cevirme-sonuclar {
    margin-top: 30px;
    padding: 25px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.cevirme-sonuclar h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.4rem;
}

.sonuc-kartlar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.sonuc-kart {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

[data-theme="dark"] .sonuc-kart {
    background: #2c3e50;
    color: var(--text-primary);
}

.miladi-sonuc-kart {
    border-left-color: #4CAF50;
}

.hicri-sonuc-kart {
    border-left-color: #2196F3;
}

.rumi-sonuc-kart {
    border-left-color: #FF9800;
}

.sonuc-kart strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.arapca-sonuc {
    font-family: 'Times New Roman', serif;
    direction: rtl;
    text-align: right;
    font-size: 1.1rem;
    margin-top: 5px;
    color: var(--text-secondary);
}

.embed-kapsayici {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.embed-aciklama {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1rem;
}

.embed-secenekler {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.embed-kart {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .embed-kart {
    background: linear-gradient(145deg, #3a4a5c, #2c3e50);
}

.embed-kart:hover {
    transform: translateY(-3px);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.embed-kart.secili {
    border-color: #667eea;
    background: linear-gradient(145deg, #667eea, #764ba2);
    color: white;
}

.embed-kart-ikon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.embed-kart h3 {
    color: inherit;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.embed-kart p {
    color: inherit;
    font-size: 0.9rem;
    opacity: 0.8;
}

.embed-sonuc {
    margin-top: 30px;
}

.embed-sonuc h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.embed-kutu {
    position: relative;
    margin-bottom: 25px;
}

#embed-kod {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    resize: vertical;
    transition: all 0.3s ease;
}

#embed-kod:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#kopyala-btn {
    background: linear-gradient(145deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    width: fit-content;
}

#kopyala-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 1.1rem;
}

.embed-onizleme {
    margin-top: 30px;
}

.embed-onizleme h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.onizleme-cerceve {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #f8f9fa;
    min-height: 100px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .onizleme-cerceve {
    background: #2c3e50;
    border-color: #4a5568;
}

/* İframe Links Section */
.iframe-links-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(102, 126, 234, 0.2);
}

.iframe-links-section h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-align: center;
}

.iframe-info {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.iframe-links {
    display: grid;
    gap: 15px;
}

.iframe-link-item {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.iframe-link-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.iframe-link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.iframe-link-header strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.iframe-copy-btn {
    background: linear-gradient(145deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    min-width: 40px;
}

.iframe-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.iframe-link-item code {
    display: block;
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    word-break: break-all;
}

[data-theme="dark"] .iframe-link-item code {
    background: rgba(255, 255, 255, 0.05);
}

.embed-uyari {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Toolbar */
.footer-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .footer-toolbar {
    background: rgba(45, 55, 72, 0.95);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.footer-link:hover {
    transform: translateY(-1px);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.2rem;
}

.logo-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
        padding-bottom: 70px;
    }
    
    .takvim-kapsayici {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .takvim-kartlar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cevirme-kartlar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .embed-secenekler {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .hicri-inputs, .rumi-inputs {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .hicri-input, .rumi-input {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .sonuc-kartlar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .iframe-link-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .theme-toggle {
        top: 10px;
        right: 10px;
    }
    
    .theme-toggle button {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .takvim-kapsayici {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .takvim-kart {
        padding: 20px;
    }
    
    .cevirme-kart {
        padding: 20px;
    }
    
    #embed-kod {
        height: 100px;
        font-size: 11px;
    }
    
    .embed-secenekler {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .theme-toggle,
    .footer-toolbar,
    .embed-kapsayici {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .takvim-kapsayici {
        background: white;
        box-shadow: none;
        padding: 20px;
    }
    
    .takvim-kart {
        background: white;
        border: 1px solid #ccc;
        box-shadow: none;
    }
}
