/* ================================================= */
/* === TÜM STİLLERİN BİRLEŞTİRİLDİĞİ ANA DOSYA === */
/* ================================================= */

/* === BÖLÜM 1: GENEL STİLLER === */
:root {
    --pastel-pembe: #FADADD;
    --krem: #FFF5E1;
    --koyu-gri: #5D5D5D;
    --beyaz: #FFFFFF;
    --golge: rgba(0, 0, 0, 0.1);
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--krem);
}

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

/* === BÖLÜM 2: HEADER (MASAÜSTÜ) === */
.header-container {
    background-color: var(--beyaz);
    box-shadow: 0 2px 5px var(--golge);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--koyu-gri);
    text-decoration: none;
    flex-shrink: 0;
}

.topnav {
    display: flex;
    align-items: center;
}

.topnav a,
.dropdown .dropbtn {
    text-decoration: none;
    color: var(--koyu-gri);
    font-weight: 500;
    padding: 20px 0;
    margin-left: 30px;
    font-size: 16px;
    white-space: nowrap;
}

.topnav a:not(.icon):hover,
.dropdown:hover .dropbtn {
    color: var(--pastel-pembe);
}

.topnav .icon {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    border: none;
    outline: none;
    background-color: inherit;
    font-family: inherit;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 45%;
    transform: translateX(-50%);
    background-color: var(--beyaz);
    width: 280px;
    box-shadow: 0px 8px 16px 0px var(--golge);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: var(--koyu-gri);
    padding: 12px 16px;
    display: block;
    text-align: left;
    margin-left: 0;
    white-space: normal;
    word-wrap: break-word;
}

.dropdown-content a:hover {
    background-color: var(--krem);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* === BÖLÜM 3: ANA İÇERİK (MAIN) === */
.hero {
    position: relative;
    width: 100%;
    text-align: center;
}

/* Slayt resimlerinin kapsayıcısı */

.slideshow-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background-color: var(--krem);
}

/* Her bir slayt öğesi */
.mySlides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.mySlides.active {
    opacity: 1;
}


.mySlides img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
}


.hero-content {
    text-align: center;
    padding: 50px 20px 40px 20px;
    margin: 0 auto;
    max-width: 850px;
    border-bottom: 2px solid var(--pastel-pembe);
    margin-bottom: 40px;
    color: var(--koyu-gri);
}

/* Slayt geçişi için solma (fade) animasyonu */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.home-intro {
    padding-top: 0;
}

.page-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid var(--pastel-pembe);
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    color: var(--koyu-gri);
}

/* ================================================= */
/* === ÖDÜLLÜ FOTOĞRAF ALTI SOSYAL MEDYA İKONLARI === */
/* ================================================= */

.social-icons {
    text-align: center;
    margin-top: 30px;
    padding-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0 15px;
    border: 2px solid var(--koyu-gri);
    border-radius: 50%;
    color: var(--koyu-gri);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--pastel-pembe);
    border-color: var(--pastel-pembe);
    color: var(--beyaz);
}

.social-icons a i {
    font-size: 20px;
}

/* Hakkımızda Sayfası Stilleri */
.content-section {
    padding: 40px 0;
    display: flex;
    align-items: center;
    gap: 40px;
}

.content-section img {
    max-width: 40%;
    border-radius: 10px;
    max-height: 450px;
    object-fit: cover;
    width: 40%;
}

/* Fotoğraf Galerisi Stilleri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    place-items: center;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--golge);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px var(--golge);
}

/* === İLETİŞİM FORMU === */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--beyaz);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px var(--golge);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    background: var(--pastel-pembe);
    color: var(--koyu-gri);
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #F8C8CD;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* ================================================= */
/* === FORM GÖNDERİM BİLDİRİM POPUP STİLLERİ === */
/* ================================================= */

.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 500;
    z-index: 3000;
    color: white;
    opacity: 0;
    transition: top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* JavaScript ile eklenecek olan 'show' sınıfı */
.notification.show {
    top: 20px;
    opacity: 1;
}

/* Başarı ve Hata durumları için farklı renkler */
.notification.success {
    background-color: #28a745;
    border: 1px solid #1e7e34;
}

.notification.error {
    background-color: #dc3545;
    border: 1px solid #b21f2d;
}

/* === BÖLÜM 4: FOOTER === */
footer {
    background-color: #E6D4C0;
    color: var(--koyu-gri);
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-links a {
    color: var(--koyu-gri);
    margin: 0 15px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 14px;
}

/* ================================================= */
/* === ANA SAYFA ÖDÜLLÜ FOTOĞRAF BÖLÜMÜ === */
/* ================================================= */

.featured-photo-section {
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

.featured-photo-section h2 {
    font-size: 36px;
    color: var(--koyu-gri);
    margin-bottom: 40px;
    border-bottom: 2px solid var(--pastel-pembe);
    display: inline-block;
    padding-bottom: 10px;
}

.featured-photo-container img {
    display: block;
    max-width: 30%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}


/* ================================================= */
/* === RESİM BÜYÜTME MODALI (LIGHTBOX) STİLLERİ === */
/* ================================================= */


#odulluFoto {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

#odulluFoto:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}


.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

/* Modal İçeriği (Büyütülen Resim) */
.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.5s;
}

/* Kapatma Butonu (X) */
.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-button:hover {
    color: #bbb;
}

/* Açılış Animasyonu */
@keyframes zoomIn {
    from {
        transform: scale(0.5);
    }

    to {
        transform: scale(1);
    }
}

/* ================================================= */
/* === ÖDÜLLÜ FOTOĞRAF AÇIKLAMASI STİLLERİ === */
/* ================================================= */

.photo-description {
    max-width: 650px;
    margin: 25px auto 0 auto;
    font-size: 16px;
    color: var(--koyu-gri);
    line-height: 1.7;
    text-align: center;
}

.photo-description a {
    color: var(--koyu-gri);
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.photo-description a:hover {
    color: var(--pastel-pembe);
}

/* =========================================== */
/* === BÖLÜM 5: RESPONSIVE KURALLARI      === */
/* =========================================== */

/* Tablet (Menüyü Sıkıştır) */
@media screen and (max-width: 1140px) {

    .topnav a,
    .dropdown .dropbtn {
        margin-left: 18px;
        font-size: 15px;
    }

    .logo {
        font-size: 22px;
    }

    .header-container {
        padding: 0 25px;
    }

    .dropdown-content {
        left: auto;
        right: 0;
        transform: none;
    }
}

/* Mobil Görünüm (992px ve altı) */
@media screen and (max-width: 992px) {

    .topnav a:not(.icon),
    .topnav .dropdown {
        display: none;
    }

    .topnav .icon {
        display: block;
        padding: 15px 0;
        margin-left: 15px;
    }

    .topnav.responsive {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        z-index: 1001;

        /* Flexbox ayarları */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        /* Boşluklar */
        padding: 80px 25px 40px 25px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .topnav.responsive .icon {
        display: block;
        position: fixed;
        top: 20px;
        right: 25px;
        z-index: 1002;
        padding: 0;
        margin: 0;
    }

    .topnav.responsive a:not(.icon),
    .topnav.responsive .dropdown {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0;
        font-size: 24px;
        overflow-wrap: break-word;
    }

    .topnav.responsive a {
        padding: 15px 0;
    }

    .topnav.responsive .dropdown .dropbtn {
        width: 100%;
        padding: 15px 0;
        font-size: 24px;
        font-weight: 500;
        font-family: 'Montserrat', sans-serif;
        color: var(--koyu-gri);
        background: none;
        border: none;
        cursor: pointer;
    }

    .topnav.responsive .dropdown-content {
        display: none;
        position: static;
        box-shadow: none;
        background-color: transparent;
        width: 100%;
        padding-top: 15px;
    }

    .topnav.responsive .dropdown.open .dropdown-content {
        display: block;
    }

    .topnav.responsive .dropdown-content a {
        font-size: 18px;
        color: #555;
        padding: 8px 0;
        text-align: center;
    }

    .featured-photo-container img {
        max-width: 100%;
    }

    .featured-photo-section h2 {
        font-size: 28px;
    }


    /* Hakkımızda sayfasının mobil görünümü */
    .content-section {
        flex-direction: column;
        text-align: center;
    }

    .content-section img {
        max-width: 80%;
        width: 80%;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .mySlides img {
        object-fit: contain;
    }

    .hero-content {
        padding-top: 30px;
        margin-bottom: 25px;
    }
}

/* En Dar Ekranlar (Yazı Küçültme) */
@media screen and (max-width: 400px) {

    .topnav.responsive a:not(.icon),
    .topnav.responsive .dropdown .dropbtn {
        font-size: 20px;
    }

    .topnav.responsive .dropdown-content a {
        font-size: 16px;
    }
}

/* En Dar Ekranlar (Galeri) */
@media (max-width: 360px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}