#spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #A27B5C;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #EAE7DC;
    color: #3F4E4F;
    margin: 0;
    padding: 0;

}

.d-flex {
    display: flex;
}

.wrap{
    flex-wrap: wrap;
}

.overlay {
    position: absolute;
    top: 35%;
    left: 1%;
    color: white;

}

.overlay h1 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #D8C3A5;
}

.overlay p {
    font-size: 20px;
}

h1, h2, h3 {
    color: #A27B5C;
    font-weight: 600;

}

a {
    text-decoration: none;
    color: #A27B5C;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #D8C3A5;
}
.overlay a:hover {
    opacity: 0.8;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: #2C3639;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}


.logo img {
    max-width: 100px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: #D8C3A5;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px;
    transition: 0.3s ease-in-out;
}

nav a:hover {
    color: #A27B5C;
}

.contact-btn {
    background: transparent;
    color: #A27B5C;
    padding: 10px 15px;
    border: 2px solid #A27B5C;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-right: 100px;

}

.contact-btn:hover {
    background: #A27B5C;
    color: #EAE7DC;
}
nav a.contact-btn {
    margin-left: auto;
}

#about {
    position: relative;
    background: url("pics/noir_nest_bali.png") no-repeat center center/cover;
    color: #3F4E4F;
    padding: 100px 20px;
}

#about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mission {
    margin-top: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
}

#about h2, #about h3 {
    margin-bottom: 20px;
    color: #A27B5C;
}

#about p {
    font-size: 16px;
    line-height: 1.6;
    color: #3F4E4F;
}

#home {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;

    background: none;
}


.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


#services {
    position: relative;
    background: url("pics/noir_nest_bali.png") no-repeat center center/cover;
    padding: 100px 20px;
    text-align: center;
}

#services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.services-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
    padding: 40px;
    position: relative;
    z-index: 2;
}
.service-box:last-child {
    grid-column: span 2;
    justify-self: center;
}

.service-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.service-box img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.service-box h3 {
    color: #A27B5C;
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out;
}

.service-box h3:hover {
    color: #D8C3A5;
}

.service-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #3F4E4F;
}

#prices {
    position: relative;
    background: url("pics/noir_nest_bali.png") no-repeat center center/cover;
    color: #3F4E4F;
    padding: 100px 20px;
}

#prices::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.prices-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#contact {
    position: relative;
    background: url("pics/noir_nest_bali.png") no-repeat center center/cover;
    color: #3F4E4F;
    padding: 100px 20px;
    min-height: 100vh;


}

#contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-details p {
    font-size: 16px;
    line-height: 1.8;
}

.contact-details a {
    color: #A27B5C;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.contact-details a:hover {
    color: #D8C3A5;
}

.contact-content .social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer {
    background: #2C3639;
    color: #D8C3A5;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #A27B5C;
    font-size: 14px;
}

footer a {
    color: #A27B5C;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
}

.social-icons img {
    width: 45px;
    height: 45px;
    background: transparent;
    padding: 5px;
    transition: 0.3s ease-in-out;
}

.social-icons img:hover {
    background: none;
    transform: scale(1.1);
}

.whatsapp-float {
    position: fixed;
    bottom: 5%;
    right: 20px;
    z-index: 999;
}

.whatsapp-float img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: transparent;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float img:hover {
    transform: scale(1.1);
}

.social-sidebar {
    position: fixed;
    top: 40%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1000;
}

.follow-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    font-weight: 600;
    color: #3F4E4F;
    margin-bottom: 10px;
}


.social-sidebar img {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease-in-out;
}

.social-sidebar img:hover {
    transform: scale(1.1);
}
footer p a {
    color: #A27B5C;
    font-weight: bold;
    text-decoration: none;
}

footer p a:hover {
    color: #D8C3A5;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2C3639;
    color: #D8C3A5;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

.cookie-banner a {
    color: #A27B5C;
    font-weight: bold;
}

.cookie-banner button {
    background: #A27B5C;
    color: #EAE7DC;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-banner button:hover {
    background: #D8C3A5;
    color: #2C3639;
}

#cookie-policy {
    max-width: 900px;
    margin: 100px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#cookie-policy h2 {
    color: #A27B5C;
    margin-bottom: 20px;
}

#cookie-policy h3 {
    color: #3F4E4F;
    margin-top: 20px;
}


#cookie-policy p, #cookie-policy ul {
    font-size: 16px;
    line-height: 1.6;
    color: #3F4E4F;
}

#cookie-policy a {
    color: #A27B5C;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

#cookie-policy a:hover {
    color: #D8C3A5;
}

@media (max-width: 768px) {

    .whatsapp-float {
        bottom: 15%;
        right: 15px;
    }

    .whatsapp-float img {
        width: 75px;
        height: 75px;
    }

    .header {
        flex-direction: column;
        padding: 8px 10px;
    }

    .nav {
        opacity: 0;
        flex-direction: column;
        width: 100%;
        background: #2C3639;
        position: absolute;
        top: 50px;
        left: 0;
        transition: opacity 0.3s ease-in-out;
        padding: 15px;
    }

    .nav a {
        font-size: 18px; !important; /* Increase font size for better readability */
        padding: 12px 15px; !important/* Increase padding for easier tapping */
    }

    .contact-btn {
        padding: 8px 12px;
    }

    .overlay {
        position: absolute;
        /*top: 55vh;*/
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        text-align: center;
    }

    .overlay h1 {
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 10px;
        text-align: center;
    }

    .overlay h3 {
        font-size: 32px;
        font-weight: 500;
        text-align: center;
        margin-top: 10px;
    }

    .overlay p {
        font-size: 16px;
        max-width: 90%;
        margin: auto;
    }

    .section {
        padding: 30px 15px;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-content {
        padding: 20px;
    }

    #contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding-bottom: 20px;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

}
