@keyframes subtleBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('ArtComposed4Pices.jpeg');
    background-size: 120% 120%;
    background-position: center;
    color: white;
    animation: subtleBackground 30s ease-in-out infinite;
}

header {
    text-align: center;
    padding: 50px;
    animation: slideUp 0.8s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    transform: translateZ(-1px) scale(2);
}

header h1 {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-content {
    animation: fadeIn 1s ease-out;
}

nav {
    background-color: #000080;
    padding: 10px;
    border-bottom: 2px solid #FFD700;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFD700;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #FFD700;
}

nav ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.artwork-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.artwork-item {
    background: #000080;
    border: 2px solid #FFD700;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.artwork-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.artwork-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 10%, transparent 10.01%);
    background-size: 10px 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.artwork-item:hover::after {
    opacity: 1;
}

.artwork-item img {
    transition: transform 0.5s ease;
}

.artwork-item:hover img {
    transform: scale(1.1);
}

.artwork-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-bottom: 2px solid #FFD700;
}

.artwork-item h3 {
    color: white;
    padding: 1rem;
    margin: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

.artwork-description {
    padding: 1rem;
    color: white;
    background: rgba(0, 0, 0, 0.5);
}

.artwork-price {
    display: block;
    text-align: center;
    padding: 1rem;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.7);
}

/* Slider Styles */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #FFD700;
    border-radius: 8px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slides {
    display: flex;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: contain;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    color: white;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
}

.slider-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Contact Form Styles */
form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    border: 2px solid #FFD700;
}

form label {
    display: block;
    margin: 1rem 0 0.5rem;
    color: #FFD700;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #FFD700;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

form input::placeholder,
form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: opacity 0.3s ease;
}

form input:hover,
form textarea:hover {
    border-color: rgba(255, 215, 0, 0.8);
    background: rgba(255, 255, 255, 0.15);
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

form input:focus::placeholder,
form textarea:focus::placeholder {
    opacity: 0;
}

@keyframes inputFocus {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

form input:focus,
form textarea:focus {
    animation: inputFocus 0.3s ease;
}

form button {
    background: #FFD700;
    color: #000080;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

form button:hover {
    background: #ffc800;
}

.whatsapp-button {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.whatsapp-button:hover {
    background: #128C7E;
}

.email-link {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
}

.email-link:hover {
    color: white;
}

footer {
    text-align: center;
    padding: 20px;
    position: relative;
    width: 100%;
    background-color: #000080;
    color: white;
    border-top: 2px solid #FFD700;
    margin-top: 2rem;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: footerGlow 3s linear infinite;
}

@keyframes footerGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

footer p {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
