* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8f9fa;
    color: #2d3436;
    line-height: 1.6;
}

a {
    color: #4a9375;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 40, 20, 0.7), rgba(0, 20, 40, 0.7)),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1470&q=80')
        center/cover no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h2 {
    font-size: 35px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 21px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background-color: #4a9375;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #3e7b61;
    transform: translateY(-3px);
    text-decoration: none;
}

.navbar {
    background-color: rgba(45, 52, 54, 0.9);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar ul li a:hover {
    background-color: rgba(74, 147, 117, 0.7);
    text-decoration: none;
}

.section {
    padding: 80px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    color: #2d3436;
    position: relative;
    padding-bottom: 10px;
}

.section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4a9375;
    border-radius: 2px;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.artist-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.artist-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #4a9375;
}

.artist-card h3 {
    font-size: 29px;
    color: #4a9375;
    margin-bottom: 10px;
}

.artist-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.schedule-day {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
}

.schedule-day h3 {
    font-size: 32px;
    color: #2d3436;
    margin-bottom: 20px;
    border-bottom: 2px solid #4a9375;
    padding-bottom: 10px;
}

.schedule-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.schedule-item strong {
    flex-basis: 100px;
    color: #4a9375;
    font-size: 19px;
}

.schedule-item span {
    flex-grow: 1;
    color: #555;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 26px;
    color: #4a9375;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 15px;
    color: #555;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-item p {
    padding: 15px;
    font-size: 15px;
    color: #555;
    text-align: left;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.faq-container {
    margin-top: 40px;
    text-align: left;
}

.faq-item {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #2d3436;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question .arrow {
    font-size: 19px;
    transition: transform 0.3s ease;
}

.faq-question.active .arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #555;
}

.faq-answer.open {
    max-height: 200px;
    padding: 20px 25px;
}

.last {
    background: linear-gradient(rgba(0, 20, 40, 0.8), rgba(0, 40, 20, 0.8)),
        url('https://images.unsplash.com/photo-1517457375823-ee430761e0b5?auto=format&fit=crop&w=1470&q=80')
        center/cover no-repeat;
    background-size: cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.last-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.last h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.last h2 {
    font-size: 29px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.last h3 {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.confetti > div {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: confetti-fall 5s infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

footer {
    background-color: #2d3436;
    color: white;
    text-align: center;
    padding: 25px 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 29px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar ul li {
        margin: 5px 10px;
    }

    .section {
        padding: 60px 15px;
    }

    .section h2 {
        font-size: 32px;
    }

    .artist-card, .feature-item, .gallery-item {
        padding: 20px;
    }

    .last h1 {
        font-size: 35px;
    }

    .last h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .navbar ul li a {
        font-size: 14px;
    }

    .section h2 {
        font-size: 29px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    width: 90%;
    max-width: 500px;
    text-align: center;
    animation: fadeInScale 0.3s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #4a9375;
    font-size: 32px;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-content label {
    align-self: flex-start;
    font-weight: bold;
    color: #555;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="url"],
.modal-content textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.modal-content textarea {
    resize: vertical;
}

.modal-content input[type="checkbox"] {
    width: auto;
    align-self: flex-start;
    margin-top: -10px;
}

.modal-content button {
    background-color: #4a9375;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal-content button:hover {
    background-color: #3e7b61;
    transform: translateY(-2px);
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #777;
    text-decoration: none;
}

.auth-message {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

body.modal-open {
    overflow: hidden;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4a9375;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.admin-modal-content {
    max-width: 900px;
    padding: 20px;
    text-align: left;
}

.admin-tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.admin-tabs .tab-button {
    background-color: #f0f0f0;
    color: #555;
    padding: 10px 20px;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-right: 5px;
    box-shadow: none;
    margin-top: 0;
}

.admin-tabs .tab-button.active {
    background-color: #4a9375;
    color: white;
    transform: translateY(0);
}

.admin-tab-content {
    display: none;
    padding-top: 20px;
}

.admin-tab-content.active {
    display: block;
}

.admin-tab-content h3 {
    font-size: 29px;
    color: #2d3436;
    margin-bottom: 20px;
    text-align: center;
}

.admin-list {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.admin-list-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    justify-content: space-between;
}

.admin-list-item:last-child {
    border-bottom: none;
}

.admin-list-item .item-details {
    flex-grow: 1;
    margin-right: 15px;
}

.admin-list-item .item-details strong {
    font-size: 18px;
    color: #4a9375;
}

.admin-list-item .item-details p {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.admin-list-item .item-actions button {
    background-color: #007bff;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    transition: background-color 0.2s ease;
    box-shadow: none;
    margin-top: 0;
    transform: none;
}

.admin-list-item .item-actions button:hover {
    background-color: #0056b3;
}

.admin-list-item .item-actions .delete-button {
    background-color: #dc3545;
}

.admin-list-item .item-actions .delete-button:hover {
    background-color: #c82333;
}

.admin-form {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.admin-form label {
    font-weight: bold;
    color: #333;
    margin-bottom: -5px;
}

.admin-form input[type="checkbox"] {
    width: auto;
    align-self: flex-start;
    margin-left: 5px;
}

.admin-form button {
    align-self: flex-start;
    margin-top: 15px;
}

.admin-form .cancel-button {
    background-color: #6c757d;
}

.admin-form .cancel-button:hover {
    background-color: #5a6268;
}

.add-button {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.add-button:hover {
    background-color: #218838;
}