/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #333;
    color: white;
    padding: 15px 20px;
    flex-wrap: wrap;
}

.main-header .logo h1 {
    margin: 0;
    font-size: 24px;
}

/* Navigation Styles */
.main-header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.main-header nav ul li {
    display: inline;
}

.main-header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-header nav ul li a:hover {
    color: #f39c12;
}

/* User Info */
.main-header .user-info {
    font-size: 16px;
    font-weight: bold;
}

.main-header .user-info a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
    padding: 5px 10px;
    background: #007bff;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.main-header .user-info a:hover {
    background: #0056b3;
}

/* Gallery Container */
.gallery-container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Gallery Items */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

button, a {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

button:hover, a:hover {
    background: #0056b3;
}

/* Footer */
.main-footer {
    background: #222;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f39c12;
}

/* Social Media Icons */
.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-media a {
    font-size: 22px;
    color: white;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #f39c12;
}

/* Ad Container */
.ad-container {
    margin: 20px auto;
    max-width: 80%;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }

    .main-header nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .main-footer {
        flex-direction: column;
        text-align: center;
    }
}
