﻿
/* Container */
.rh-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 120px;
}

/* Filtre Butonları */
.rh-gallery-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.rh-gallery-filter-btn {
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #d4af37;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .rh-gallery-filter-btn.active, .rh-gallery-filter-btn:hover {
        background-color: #d4af37;
        color: white;
    }

/* Galeri Grid */
.rh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Galeri Öğeleri */
.rh-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 250px;
    cursor: pointer;
}

    .rh-gallery-item:hover {
        transform: translateY(-5px);
    }

.rh-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rh-gallery-item:hover .rh-gallery-image {
    transform: scale(1.05);
}

.rh-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.rh-gallery-item:hover .rh-gallery-overlay {
    transform: translateY(0);
}

.rh-gallery-item-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Modal (Tam ekran görüntüleme) */
.rh-gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: rhFadeIn 0.3s;
}

@keyframes rhFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.rh-gallery-modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    margin-top: 5%;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.rh-gallery-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

    .rh-gallery-close:hover {
        color: #d4af37;
    }

.rh-gallery-prev, .rh-gallery-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 5px 5px 0;
}

.rh-gallery-next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

    .rh-gallery-prev:hover, .rh-gallery-next:hover {
        background-color: rgba(212, 175, 55, 0.8);
    }

.rh-gallery-caption {
    text-align: center;
    color: #f1f1f1;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Footer */
.rh-gallery-footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.rh-gallery-footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.rh-gallery-social-icons {
    margin: 20px 0;
}

.rh-gallery-social-icon {
    color: #d4af37;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

    .rh-gallery-social-icon:hover {
        color: #fff;
    }

/* Responsive tasarım */
@media (max-width: 768px) {
    .rh-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .rh-gallery-title {
        font-size: 2rem;
    }

    .rh-gallery-subtitle {
        font-size: 1.1rem;
    }

    .rh-gallery-modal-content {
        max-width: 95%;
        max-height: 70%;
    }
}

@media (max-width: 480px) {
    .rh-gallery-grid {
        grid-template-columns: 1fr;
    }

    .rh-gallery-filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rh-gallery-filter-btn {
        width: 80%;
    }
}
/* Hero */
.rh-gallery-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url('/Assets/Rumeli/Fotograf/rumeli2.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.rh-gallery-hero {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
}

    .contact-page .contact-hero p {
        font-size: 1.2rem;
        max-width: 600px;
        margin: 0 auto;
    }