/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header Background */
.header-background {
    background-image: url('images/header-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    text-align: center;
}

/* Header Text Styles */
.header-title, .header-subtitle {
    color: black;
}

.header-title {
    font-size: 3em;
    margin: 0;
}

.header-subtitle {
    font-size: 1.5em;
    margin: 0;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    justify-content: center;
    background-color: white;
    margin-top: 20px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin: 0;
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: black;
    text-decoration: none;
    font-size: 1em; /* Ensure legibility on all devices */
}

.main-nav ul li a:hover {
    background-color: grey;
}

/* Navigation Image */
.nav-image {
    display: none;
    width: 100%;
    max-width: 200px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.main-nav ul li:hover .nav-image {
    display: block;
}

/* Responsive Design for Navigation */
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: white;
        box-shadow: 0px 4px 2px -2px gray;
    }

    .main-nav ul.active {
        display: flex;
    }

    .hamburger-menu {
        display: block;
    }
}

/* Home Background */
.home-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
}

.home-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Bouncing Image */
.bouncing-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: cover;
    transition: transform 0.2s;
}

.bouncing-image-bounce {
    animation: bounce 0.8s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Footer Styles */
footer {
    text-align: left;
    padding: 10px 0;
    background-color: transparent;
    color: transparent;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Contact Form Styles */
.contact-section {
    max-width: 500px;
    margin: 100px auto 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: black;
}

.contact-section p {
    text-align: center;
    color: grey;
    margin-bottom: 20px;
}

.contact-section form {
    display: flex;
    flex-direction: column;
}

.contact-section label {
    margin-bottom: 5px;
    color: black;
}

.contact-section input,
.contact-section textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

.contact-section button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.contact-section button:hover {
    background-color: grey;
}

/* Artist Grid Styles */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.artist {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.artist:hover {
    transform: translateY(-5px);
}

.artist h2 {
    padding: 15px;
    margin: 0;
    background-color: #000;
    color: #fff;
}

.artist-image-container {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Creates a square aspect ratio */
    position: relative;
    overflow: hidden;
}

.artist-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
}

.artist-info {
    padding: 15px;
}

.artist-info p {
    margin-bottom: 15px;
}

.artist-info a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.artist-info a:hover {
    background-color: #333;
}

.artist-video {
    padding: 15px;
}

.artist-video iframe {
    width: 100%;
    height: 200px;
    border-radius: 4px;
}

/* Responsive Design for Artist Grid */
@media (max-width: 768px) {
    .artist-grid {
        grid-template-columns: 1fr;
    }
}
