* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1c1c1c;
    color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background-color: #000;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
}

nav ul li a {
    font-size: 18px;
    color: #f1c40f;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #f1c40f;
    color: #000;
    border-radius: 5px;
}

.hero {
    background-image: url("بک گراند/بک گراند.JPEG");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 150px 20px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero .cta-btn {
    background-color: #f1c40f;
    color: #000;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.hero .cta-btn:hover {
    background-color: #e67e22;
}

.albums {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    background-color: #333;

}

.album-item {
    position: relative;
    background-color: #444;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    float: right;

}

.album-item:hover {
    transform: scale(1.05);
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-item h3 {
    font-size: 1.8rem;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.album-item .album-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f1c40f;
    color: #000;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease;
}

.album-item:hover .album-btn {
    display: block;
}

.album-item .album-btn:hover {
    background-color: #e67e22;
}

.gallery {
    padding: 50px 20px;
    text-align: center;
    background-color: #222;
}

.gallery h2 {
    font-size: 2.5rem;
    color: #f1c40f;
    margin-bottom: 40px;
}

.gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}


.gallery .gallery-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}



.gallery .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}


.gallery .gallery-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery .gallery-overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.gallery .gallery-overlay .gallery-btn {
    background-color: #f1c40f;
    color: #000;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.gallery .gallery-overlay .gallery-btn:hover {
    background-color: #e67e22;
}

footer {
    background-color: #000;
    color: #f1c40f;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .albums {
        grid-template-columns: 1fr 1fr;
    }

    .gallery .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.admin{

        display: flex;
        justify-content: center;
        gap: 10px;
        list-style: none;
    font-size: 18px;
    color: #f1c40f;
    padding: 0px 20px;
    transition: all 0.3s ease;



}
.admin:hover{
    background-color: #f1c40f;
    color: #000;
    border-radius: 5px;
}


