/*----------------------- Default Style -----------------------*/

body, html {
    scrollbar-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Bona Nova SC';
    box-sizing: border-box;
}

header {
    font-family: 'Bona Nova SC';
    background: rgb(40, 40, 40);
    color: #fff;
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 9px;
}

nav ul li a {
    padding: 8px;
    font-size: 1.3em;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.5s ease; 
}

nav ul li a:hover {
    color: #000; 
    background-color: #fff; 
    border-radius: 5px;
}

.logo {
    height: 80px;
    vertical-align: middle;
    position: absolute;
    left: 15px;
}

.parallax, .parallax-content {
    min-height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7em;
    text-align: center;
    position: relative;
    z-index: 1;
}

/*----------------------- Home page -----------------------*/

.banner {
    position: absolute;
    z-index: 2;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.banner h2 {
    font-family: Libre Baskerville;
    margin: 0;
    font-size: 4em;
}

.banner p {
    font-family: Libre Baskerville;
    margin: 0.5em 0 0;
    font-size: 2.2em;
}

/*----------------------- slide show -----------------------*/

.slideshow,
.slideshow .slides {
    z-index: -1;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.slideshow .slides img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease;
}

.slideshow .slides img.active {
    opacity: 1;
    transform: scale(1.2);
}

/*----------------------- gallery page -----------------------*/

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 8px solid #000;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.content {
    padding: 2em;
    text-align: center;
}

.gallery {
    column-count: 3;
    column-gap: 10px;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.lightbox-link {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    break-inside: avoid;
    transition: transform 0.5s ease;
    box-sizing: border-box;
}

.lightbox-link:hover .pic {
    transform: scale(1.15);
    cursor: pointer;
}

.pic {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.4s ease;
    border-radius: 8px;
}

.pic.loaded {
    opacity: 1;
}

/*----------------------- open image-----------------------*/

.modal {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-height: 95%;
    width: auto;
    max-width: 700px;
    transition: transform 0.3s ease;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    margin-top: -22px;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    user-select: none;
    transition: background-color 0.3s ease;
}
.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 1);
}

/*----------------------- Contact page -----------------------*/

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form label {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.form input,
.form textarea {
    width: 100%;
    padding: 0.7em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

.form textarea {
    resize: vertical;
}

.form button {
    padding: 0.7em 1em;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form button:hover {
    background-color: #555;
}

.map-container {
    margin-top: 40px;
}

.map-container h2 {
    margin-bottom: 20px;
}

/*----------------------- about page -----------------------*/

.about-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0; 
    color: #f0f0f0;
}

.back{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    width:100%;
}
.content-about {
    padding: 30px;
    text-align: center;
    background-color: rgba(3, 3, 3, 0.5);
    border-radius: 5px;
    margin: 10px;
    position: relative; 
    z-index: 2; 
}

.content-about .content-inner {
    max-width: 800px;
    margin: 0 auto;
}

.mission {
    padding: 30px;
    text-align: center;
    background-color: rgba(3, 3, 3, 0.5);
    border-radius: 5px;
    margin: 10px;
    position: relative; 
    z-index: 2; 
}

.mission .mission-inner {
    max-width: 800px;
    margin: 0 auto;
}

.testimonials {
    padding: 30px;
    text-align: center;
    background-color: rgba(3, 3, 3, 0.25);
    border-radius: 5px;
    margin: 10px;
    position: relative; 
    z-index: 2; 
}

.testimonials .testimonials-inner {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    margin-bottom: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(3, 3, 3, 0.678);
}

.testimonials .testimonial p {
    color: #000;
    margin: 10px 0;
    font-size: 1.3em;
}

/*----------------------- Services page -----------------------*/

.content{
    background-color: white;
}
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.service-link {
    text-decoration: none;
    color: inherit; 
}

.service-item {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}
.service-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.service-item:hover {
    transform: scale(1.05);
}
.service-item:hover img{
    transform: scale(1.05);
}

.service-item h3 {
    font-size: 1.5em;
    margin: 10px 0;
}

.service-item p {
    font-size: 1em;
    color: #666;
}