/* Default reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Add box-sizing to include padding and border in the width calculation */
}

html,
body {
    height: auto; /* Set height to 100% */
    width: 100%; /* Set width to 100% */
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scroll-behavior: auto !important; /* Disables default smooth scrolling */
}

body {
    font-family: 'Poppins', sans-serif; /* Use Poppins as the main font */
    background-color: #ffffff;
    color: #000000;
    font-size: 1rem; /* Base font size for the body */
    /*scroll-behavior: smooth; /* Enable smooth scrolling behavior */
}

/* Hide scrollbar for Chrome, Safari, and Edge */
::-webkit-scrollbar {
    display: none;
}

h1 {
    font-size: 2rem;
    margin: 0;
}

h2,
h3,
h4 {
    margin: 0 !important;
}

ul {
    list-style: none;
}

/*<==============================HEADER==============================>*/
header {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    z-index: 10;
    gap: 20px;
    background-color: transparent;
    color: #ffffff;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

header {
    background: transparent !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 20px;
    width: 100%;
    z-index: 1001;
}

.logo {
    font-size: 1.5rem;
}

.nav-desktop ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-desktop li {
    display: inline-block;
    margin: 0 15px;
}

.nav-desktop a,
.nav-mobile-full a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.hamburger.active span {
    background-color: #000;
}

/* Animate to X */


.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Fullscreen nav hidden by default */
.nav-mobile-full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 1000;
}

.nav-mobile-full.show {
    transform: translateY(0);
}

.nav-mobile-full ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.nav-mobile-full li {
    margin: 1.5rem 0;
}

.nav-mobile-full a {
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        gap: 20px;
        width: 100%;
        z-index: 1001;
    }

    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}
/* =================HERO================= */

.hero {
    position: relative;
    height: 100vh; /* Set the height of the hero section to 100% of the viewport height */
    background-image: url('/images/public/hero-cover.jpg'); /* The background image */
    background-size: cover; /* Cover the entire area with the image */
    background-attachment: fixed; /* The image remains fixed during scroll */
    background-position: center; /* The image will be centered */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    z-index: -1; /* Ensure the background image is below the content */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0a0a0a;
    opacity: 0.66;
    transition: background 0.3s, opacity 0.3s;
    z-index: 1;
}

/* Hero content */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: cente;
    align-items: center;
    position: relative;
    z-index: 2; /* Keep the content above the overlay */
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.hero img {
    width: 200px;
}

.hero h3 {
    font-size: 3rem;
    font-weight: 700;
}
.hero h1 {
    font-size: 4rem;
    font-weight: 1000;
    color: transparent;
    -webkit-text-stroke: 1px #f1f1f1; /* Creates the border (stroke) effect */
}

.hero p {
    max-width: 800px;
    font-size: 1rem;
}

.hero button {
    padding: 10px 10px;
    background-color: none;
    width: 10%;
    z-index: 100;
}

@media (max-width: 768px) {
    .hero {
        background-position: 35% center !important; /* The image will be centered */
    }

    .hero-content {
        gap: 10px;
    }

    .hero img {
        width: 100px;
    }

    .hero h3 {
        font-size: 1.4rem;
    }
    .hero h1 {
        font-size: 1.2rem;
        white-space: nowrap;
    }

    .hero p {
        font-size: 0.7rem;
    }

    .hero button {
        background-color: none;
        width: 100%;
    }
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    color: #223645;
    padding: 20px 40px;
}

.title-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    text-align: center;
}

.title {
    font-weight: 600;
    font-size: 1rem;
}

.heading {
    font-weight: 800;
    font-size: 3rem;
}

.subheading {
    font-size: 0.8rem;
}

.about-me {
    display: flex;
    height: auto;
    background-color: #151515;
    z-index: 2;
}

.about-me-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 80px;
    width: 100%;
}

.about-me-img-content {
    padding: 20px;
    height: auto;
    width: 30%;
}

.about-me-img-content img {
    width: 100%;
    height: auto;
}

.about-me-text-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 20px;
    width: 70%;
    max-width: 700px;
    height: 100%;
    gap: 10px;
    color: #f1f1f1;
}

.about-me-text-content h3,
h1 {
    font-weight: 800;
}

@media (max-width: 767px) {
    .about-me-content {
        flex-direction: column;
        padding: 0;
    }

    .about-me-img-content {
        width: 100%;
    }

    .about-me-text-content {
        width: 100%;
        text-align: start;
    }

    .about-me-text-content h3,
    h1 {
        font-size: 1rem;
    }

    .about-me-text-content p {
        font-size: 0.8em;
    }
}

.services-options-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-icon {
    color: rgb(51, 51, 51);
    display: block;
    font-family: -apple-system, 'system-ui', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 16px;
    font-weight: 400;
    height: 64.5px;
    line-height: 24px;
    margin: 0;
    text-align: center;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.icon {
    background-color: rgb(232, 232, 232);
    border-radius: 50%;
    box-sizing: border-box;
    color: #ba935b;
    display: inline-block;
    fill: #ba935b;
    font-family: -apple-system, 'system-ui', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
        'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    font-size: 25px;
    font-weight: 400;
    height: 64.5px;
    line-height: 25px;
    padding: 18px;
    text-align: center;
    text-size-adjust: 100%;
    transition: all 0.3s ease 0s;
    width: 61px;
    -webkit-font-smoothing: antialiased;
}

.services {
    background-color: #ffffff;
}

.service {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 40px;
}

/* Fade in zoom to reveal elements */
@keyframes fadeZoom {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.service.fade-zoom {
    opacity: 0; /* Initially invisilbe invisibile */
    transform: scale(0.5); /* Inizially zoomed out */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

.service.fade-zoom.visible {
    animation: fadeZoom 1s forwards; /* Apply animation */
}

.review-card.fade-zoom {
    opacity: 0; /* Initially invisilbe invisibile */
    transform: scale(0.5); /* Inizially zoomed out */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

.review-card.fade-zoom.visible {
    animation: fadeZoom 1s forwards; /* Apply animation */
}

.service-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-text h3 {
    font-size: 1.5rem;
}

.service-description {
    max-width: 400px;
    font-size: 0.8rem;
}

@media (max-width: 767px) {
    .services-options-content {
        flex-direction: column;
    }

    .title,
    .service-title {
        font-size: 1rem !important;
    }

    .heading {
        font-size: 1.4rem;
    }

    .subheading,
    .service-description {
        font-size: 0.7rem;
    }
}

.experiences {
    background-color: #f8f9fa;
}

.experiences-content {
    width: 100%;
}
/* Make the carousel smaller */
#experienceCarousel {
    max-width: 1024px; /* Adjust width */
    padding: 20px;
    margin: 0 auto;
}

/* Make images smaller */
.carousel-item img {
    height: 500px; /* Adjust height */
    object-fit: cover;
}

/* Remove hover effect from arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    transition: none !important; /* Disable hover animation */
}

/* Disable hover effect on buttons */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: none !important; /* Keep same color */
}

/* Apply cover effect to the modal images */
.modal-image img {
    object-fit: cover; /* Ensures the image covers the container, while maintaining aspect ratio */
    height: 100%; /* Make sure the image fills the container vertically */
}

#modalImageContainer img {
    object-fit: cover; /* Ensures the image covers the container without distortion */
    width: 100%; /* Make sure the width is 100% of the column */
    height: 100%; /* Ensure the height is 100% of the container */
}

.reviews {
    background-color: #ffffff;
    padding: 40px;
    text-align: center;
}

#reviewsCarousel {
    display: flex;
    width: 100%;
}

.carousel-item {
    padding: 40px;
}

/* Centrare il carousel e dare margine */
#reviewsCarousel {
    max-width: 900px;
    margin: auto;
    position: relative;
}

/* Mantiene altezza uguale per tutte le recensioni */
.review-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Allinea tutte le card alla stessa altezza */
.carousel-item .row {
    display: flex;
    align-items: stretch;
}

/* Personalizzazione delle frecce */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 50%;
    padding: 10px;
}

@media (max-width: 768px) {
    .carousel-item {
        padding: 20px;
    }
}

.booking {
    background-color: #f8f9fa;
}

.booking-content {
    padding: 20px;
}

.button-booking-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.button-booking-container button {
    width: 100%;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .button-booking-container {
        flex-direction: column;
    }
}

/* Footer Container */
.footer {
    background-color: #151515;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: auto; /* This will push the footer to the bottom if content is short */
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Footer Links */
.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links li {
    display: inline-block;
    margin: 0 15px;
}

.footer .footer-links a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 16px;
    transition: color 0.3s;
}

.footer .footer-links a:hover {
    color: #ba935b;
}

/* Footer Social Icons */
.footer .footer-social {
    display: flex;
    justify-content:center;
    margin-bottom: 20px;
    padding: 0;
}

.footer .footer-social a {
    color: #fff;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s;
}

.footer .footer-social a:hover {
    color: #ba935b;
}

/* Footer Bottom */
.footer .footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer .footer-bottom p {
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .footer .footer-links ul {
        padding: 0;
        text-align: center;
    }

    .footer .footer-links li {
        display: block;
        margin: 10px 0;
    }

    .footer .footer-logo img {
        max-width: 100px; /* Optional: adjust logo size on smaller screens */
    }

    .footer .footer-social {
        text-align: center;
    }

    .footer .footer-social a {
        font-size: 18px; /* Slightly smaller icons on mobile */
    }

    .footer .footer-bottom p {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 20px 10px;
    }

    .footer h1 {
        font-size: 1rem !important;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 30px !important;
    }

    .footer .footer-logo img {
        max-width: 80px; /* Adjust logo size further on very small screens */
    }

    .footer .footer-social a {
        font-size: 16px; /* Even smaller icons on very small screens */
    }

    .footer-links ul {
        flex-direction: column;
    }

    .footer .footer-links a {
        font-size: 14px; /* Smaller font size for links */
    }

    .footer .footer-bottom p {
        font-size: 12px;
    }
}

a {
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    section {
        padding: 20px 0;
    }
}
