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

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-color: #f4f4f4;
    --accent-color: #e74c3c;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Header Stili */
header {
    padding: 40px 0;
    background-color: var(--light-color);
    border-bottom: 1px solid black;
    position: relative;
    overflow: hidden;
}

/* Header arka plan resmi */
header::before {
    
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/bg.webp'); /* Arka plan resmi yolu */
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* Opasite değeri - düşük değer daha şeffaf yapar */
    z-index: 0;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1; /* İçeriğin arka plan resminin üzerinde görünmesini sağlar */
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

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

/* Navigasyon Stili */
nav {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    background-color: var(--primary-color);
}

/* Ana İçerik Stili */
main {
    padding: 40px 0;
}

.section {
    margin-bottom: 60px;
}

.section h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Özgeçmiş Zaman Çizelgesi */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 120px;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.year {
    min-width: 100px;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 3px;
    text-align: right;
    padding-right: 20px;
}

.timeline-content {
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-left: 40px;
    flex: 1;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    left: -50px;
    z-index: 1;
}

/* Galeri Stili */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .overlay {
    height: 100%;
}

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

.caption {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
}

/* Anılar Stili */
.memories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Memory card arka planını koyulaştırma */
.memory-card {
    background-color: #ffffff; /* Beyaz arka plan */
    border: 1px solid #cccccc; /* Belirgin kenarlık */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    padding: 15px; /* İç boşluk */
    margin-bottom: 20px; /* Kartlar arası mesafe */
}


.memory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.memory-card h3 {
    color: #000000; /* Başlık rengini koyulaştırma */
    margin-bottom: 5px; /* Başlık ile tarih arasına mesafe */
}

.memory-card .date {
    color: #000000; /* Koyu siyah renk */
    font-weight: bold; /* Kalın yazı */
    background-color: #f0f0f0; /* Açık gri arka plan */
    padding: 2px 5px; /* İç boşluk ekleyerek daha okunaklı */
    border-radius: 3px; /* Köşeleri yuvarlama */
    display: inline-block; /* İçeriğe göre blok genişliği */
    margin-bottom: 8px; /* Alt boşluk */
}



/* İletişim Stili */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--accent-color);
}

/* Footer Stili */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Ses Kontrol Butonu Stili */
.sound-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.sound-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /*background-color: var(--primary-color);*/
    background-color: #2d3e50;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.sound-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.1);
}

.sound-btn i {
    font-size: 1.5rem;
}

/* Hamburger Menü Stili */
.menu-icon {
    display: none; /* Masaüstünde gizle */
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    padding: 10px;
    text-align: center;
}

.close-menu {
    display: none; /* Varsayılan olarak gizle */
}

/* Anma Bölümü Stili - Güncellenmiş */
.anma-section {
    background-color: #f8f8f8;
    padding: 40px 0;
    border-radius: 8px;
}

.anma-content {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.fatiha-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.fatiha-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.dua-metin {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.arapca {
    font-family: 'Traditional Arabic', serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
    direction: rtl;
}

.turkce {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.anma-message h3 {
    color: var(--accent-color);
}

.anma-date {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #777;
} 

.gallery-img {
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-img.loaded {
    opacity: 1;
}

/* Hakkında Bölümü Yeni Stil */
.about-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.about-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.about-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.about-card h3 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Kişisel Bilgiler Kartı */
.bio-list {
    list-style: none;
}

.bio-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.bio-list li:last-child {
    border-bottom: none;
}

.bio-list li span {
    font-weight: bold;
    color: var(--secondary-color);
    margin-right: 10px;
}

/* İlgi Alanları Kartı */
.interests-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.interest-tag {
    background-color: #f0f8ff;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #e0e0ff;
    transition: background-color 0.3s ease;
}

.interest-tag:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Alıntı Kartı */
.quote-card blockquote {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding: 0 20px;
}

.quote-card blockquote::before {
    content: "\201C"; /* Unicode karakter kodu kullanın */
    font-size: 3rem;
    position: absolute;
    left: -10px;
    top: -20px;
    color: #e0e0e0;
}

.quote-author {
    text-align: right;
    margin-top: 15px;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Açıklama Kartı */
.description-card p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.description-card p:last-child {
    margin-bottom: 0;
}

/* Lightbox Stili */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    border: 3px solid white;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1010;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 1rem;
}

.lightbox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev, .lightbox-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    margin: 0 10px;
    transition: background 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
} 

.kalbimizde-yasiyor-wrapper {
    width: 100%;
    overflow: hidden;
    background: #000; /* teal bir arka plan */
    padding: 10px;
    position: relative;
    border: 2px solid white;
    /*border-radius: 1em;*/
}

.kalbimizde-yasiyor {
    display: flex;
    white-space: nowrap;
    animation: kayan-yazi 10s linear infinite;
}

.kalbimizde-yasiyor span {
    font-size: 20px;
    font-weight: bold;
    color: white;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Yazıyı sürekli sağdan sola kaydıran animasyon */
@keyframes kayan-yazi {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Header için biraz boşluk bırak */
header {
    text-align: center;
    padding: 40px;
    /*background: #333;*/
    color: white;
}
