body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0f;
    color: #e0e0e0;
    scroll-behavior: smooth;
}
.serif {
    font-family: 'Playfair Display', serif;
}
.hero-gradient {
    background: linear-gradient(135deg, rgba(10,10,15,0.9) 0%, rgba(30,20,50,0.7) 100%);
}
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.nav-link {
    position: relative;
}
.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #8a5cf5;
    transition: width 0.3s ease;
}
.nav-link:hover:after {
    width: 100%;
}
.fade-in {
    animation: fadeIn 1s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    margin: auto;
    overflow: hidden;
    border-radius: 0.5rem;
}

.mySlides {
    display: none;
    width: 100%;
}

.mySlides:first-child {
    display: block;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #717171;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #f59e0b;
}

/* Modal styles */
#imageModal {
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    transition: 0.3s ease;
}

#imageModal:not(.hidden) {
    display: flex;
}

#imageModal.hidden {
    display: none;
}

#modalImage {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}