body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #E0E0E0;
    background-color: #282C34;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Trajan Pro', 'Georgia', serif;
    color: #D4AF37;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #555;
    padding-bottom: 0.2em;
}

strong {
     font-family: 'Trajan Pro', 'Georgia', serif;
     color: #D4AF37;
}

h1 {
    font-size: 2.25em;
    text-align: center;
    color: #F5F5F5;
    margin-top: 0.5em;
    border-bottom: 2px solid #D4AF37;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: 1.8em;
	text-align: center;
	text-shadow: 3px 3px 7px rgba(0, 0, 0, 0.6);
}

a {
    color: #61AFEF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #98C379;
    text-decoration: underline;
}

header, nav, main, footer {
    padding: 15px 30px;
    max-width: 960px;
    margin: 0 auto;
}

header {
    background-color: #1E2127;
    border-bottom: 3px solid #D4AF37;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 10px;
}

main {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #444;
    padding: 20px;
    border-radius: 3px;
}

footer {
    margin-top: 40px;
    padding-top: 15px;
    font-size: 0.9em;
    text-align: center;
    color: #AAAAAA;
    border-top: 1px solid #444;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-bottom: 20px;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav a {
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 10px;
    border-radius: 3px;
}

nav a:hover, nav a:focus {
     background-color: #D4AF37;
     color: #1E2127;
     text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
    border: 2px solid #555;
    padding: 3px;
    background-color: #1E2127;
}

p {
    margin-bottom: 1em;
}
.carousel-container {
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    border: 3px solid #555;
    background-color: #1E2127;
}

.carousel-slide {
    display: flex;
    width: 400%;
    position: relative;
}

.carousel-slide img {
    width: 25%;
	height: 400px;
	object-fit: cover;
    margin: 0; 
    border: none;
    padding: 0;
    display: block;
    
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(90%);
}

.carousel-container:hover .carousel-slide img {
     filter: brightness(100%);
}

.carousel-container:hover .carousel-slide img.active-slide {
    transform: scale(1.05);
    z-index: 10;
    filter: brightness(110%);
}
.gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            padding: 15px 0;
        }
        .gallery-grid img {
             width: 100%;
			 height:400px
             border: 2px solid #555;
             background-color: #1E2127;
             padding: 3px;
             margin: 0;
        }
        .gallery-item p {
             font-size: 0.9em;
             text-align: center;
             color: #AAAAAA;
             margin-top: 5px;
        }

.gallery-item img:hover {
    transform: scale(1.03);
}
.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.overlay-content {
    max-width: 80%;
    max-height: 80%;
    display: block;
    margin: auto;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-btn:hover,
.close-btn:focus {
    color: #bbb;
    text-decoration: none;
}
.overlay-content {
  animation-name: zoom;
  animation-duration: 0.4s;
}

@keyframes zoom {
  from {transform: scale(0.1)}
  to {transform: scale(1)}
}