@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Raleway:wght@400;700&display=swap');

body {
    font-family: 'Raleway', sans-serif;
    background-color: #1a0033; 
    background-image: url('https://github.com/SRC-Arts/SRC-Arts/blob/main/NovoBGdoSite.gif?raw=true');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #C694E9;
    font-weight: bold;
}

header {
    background: linear-gradient(90deg, #6a0dad, #8a2be2);
    color: white;
    padding: 20px;
    font-size: 30px;
    font-family: 'Dancing Script', cursive;
}

nav {
    background: #6a0dad;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.page {
    display: none;
    padding: 50px;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in-out;
}

:target {
    display: block;
}

:target:not(#home) ~ #home {
    display: none;
}

:target:not(#info) ~ #info {
    display: none;
}

:target:not(#services) ~ #services {
    display: none;
}

:target:not(#contact) ~ #contact {
    display: none;
}

.container {
    padding: 40px;

}

.product {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 15px;
    display: inline-block;
    width: 300px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(25, 255, 255, 0.2);
    text-align: center;
    
}

.product img {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    border-radius: 5px;
}


.product h3 {
    color: white;
    font-size: 15px;
    font-weight: bold;
}

.product p {
    color: #E4C8F6;
    font-size: 15px;
    font-weight: bold;
}

.product form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 15px;
}

.product select, 
.product input[type="text"] {
    width: 90%;
    padding: 5px;
    border-radius: 5px;
    border: none;
}

.product input[type="image"] {
    width: 80%;
    max-width: 150px;
    margin-top: 10px;
}

.buy-button {
    background: #8a2be2;
    color: white;
    padding: 10px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.buy-button:hover {
    background: #6a0dad;
}

.page {
    padding: 50px;
    font-size: 20px;
    max-width: 800px;
    margin: auto;
}

.services-page img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    margin: 10px 0;
}

.contact-page form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-page input, 
.contact-page textarea {
    padding: 10px;
    width: 80%;
    max-width: 400px;
    border: none;
    border-radius: 5px;
}

.contact-page button {
    background: #8a2be2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.contact-page button:hover {
    background: #6a0dad;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    color: #752FA9;
    text-decoration: none;
}

a:hover {
    color: #D4B0E6;
    text-decoration: underline;
}

.contact-page a {
    color: #E4C8F6;
}

#portfolio-filters {
    margin-bottom: 20px;
}

.filter-button {
    padding: 10px 15px;
    margin: 0 5px;
    background: #8a2be2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filter-button:hover {
    background: #6a0dad;
}

#portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
]

.art-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(25, 255, 255, 0.2);
    display: flex;
    justify-content: center;
}

.art-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.art-item img:hover {
    transform: scale(1.8);
}

#popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#popup-modal.hidden {
    display: none;
}

#popup-modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

#close-popup {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
