﻿.rd-section {
    position: relative;
    background: url('/Content/Images/galary2.jpg') no-repeat center center/cover;
    padding: 80px 0;
    color: white;
    overflow: hidden;
}

.rd-overlay {
    background: rgba(0, 0, 0, 0.65);
    padding: 50px 20px;
}

.rd-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 1.2s ease;
}

.rd-description {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-align: center;
    animation: fadeIn 1.5s ease;
}

.rd-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.rd-img-card {
    flex: 1 1 250px;
    text-align: center;
    animation: zoomIn 1.2s ease;
}

    .rd-img-card img {
        width: 100%;
        max-width: 300px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
        transition: transform 0.4s ease;
    }

        .rd-img-card img:hover {
            transform: scale(1.05);
        }

    .rd-img-card p {
        margin-top: 10px;
        font-size: 16px;
    }

.rd-subtitle {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 1.3s ease;
}

.rd-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.location-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease;
}

    .location-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
    }

    .location-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #ffdd57;
    }

    .location-card p {
        font-size: 15px;
        line-height: 1.5;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .rd-title {
        font-size: 34px;
    }

    .rd-description {
        font-size: 16px;
    }
}
.center-btn {
    text-align: center;
    margin-top: 30px;
}

.btn-animated {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

    .btn-animated::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.3);
        transform: skewX(-45deg);
        transition: all 0.5s ease-in-out;
    }

    .btn-animated:hover::before {
        left: 200%;
    }

    .btn-animated:hover {
        background: linear-gradient(45deg, #0056b3, #00a3cc);
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 123, 255, 0.6);
    }
