:root {
    --primary-color: #004d40;
    --secondary-color: #00796b;
    --light-gray: #f8f9fa;
    --dark-text: #333;
    --light-text: #fff;
    --card-shadow: 0 10px 20px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.05);
    --border-radius: 12px;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--light-gray);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2 {
    font-family: 'Merriweather', serif;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    margin: 0;
    font-size: 3.5em;
    font-weight: 700;
}

.hero-subtitle {
    margin: 10px 0 0;
    font-size: 1.5em;
    font-weight: 400;
    opacity: 0.9;
}

nav {
    background-color: var(--primary-color);
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    margin: 0 20px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

main {
    padding: 40px 0;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}
.card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 0;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

#hakkimda .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

#hakkimda .about-text {
    flex: 2;
    min-width: 300px;
}

#hakkimda .about-image {
    flex: 1;
    text-align: center;
    min-width: 250px;
}

.profile-pic {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: var(--card-shadow);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.12), 0 5px 10px rgba(0,0,0,0.08);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    background-color: #eee;
}

/* YENİ EKLENDİ: Tıklanabilir galeri resimleri için imleç */
.gallery-item img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.85;
}


.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 25px 15px 15px;
    font-size: 1.1em;
    transition: opacity 0.3s ease;
}

.contact-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item i {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-item p {
    margin: 0;
    font-size: 1.1em;
}

.contact-item a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    text-align: center;
    padding: 25px 0;
    margin-top: 20px;
}
footer a {
    color: #b2dfdb;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    .hero-title {
        font-size: 2.5em;
    }
    .hero-subtitle {
        font-size: 1.2em;
    }
    nav {
        padding: 10px 0;
    }
    nav a {
        margin: 0 8px;
        font-size: 1em;
        padding: 8px 10px;
    }
    .card {
        padding: 25px;
    }
}


/* === YENİ EKLENDİ: Lightbox (Resim Büyütme) Stilleri === */
.lightbox-modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed; /* Ekranda sabit kal */
    z-index: 9999; /* En üstte görün */
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; /* Gerekirse kaydırma */
    background-color: rgba(0,0,0,0.9); /* Siyah overlay */
    justify-content: center;
    align-items: center;
    flex-direction: column; /* İçeriği dikeyde ortalamak için */
    box-sizing: border-box;
}

/* Modal İçeriği (Resim) */
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh; /* Ekranın %80'ini kaplasın */
    border-radius: 8px;
    animation: zoomIn 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Başlık (Caption) */
#lightbox-caption {
    margin: 15px auto 0;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.1em;
    animation: zoomIn 0.3s ease-in-out;
}

/* Kapatma Düğmesi */
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Animasyon */
@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* Mobilde resim ve kapatma düğmesi ayarları */
@media (max-width: 768px) {
    .lightbox-modal {
        padding-top: 20px;
    }
    .lightbox-content {
        max-width: 95%;
        max-height: 75vh;
    }
    .lightbox-close {
        top: 10px;
        right: 25px;
        font-size: 35px;
    }
    #lightbox-caption {
        font-size: 1em;
    }
}
/* === Lightbox Stilleri Sonu === */