:root {
    --box-shadow: 2px 4px 8px 1px rgba(97, 97, 97, 0.561);
    --box-shadow-hover: 2px 4px 8px 3px rgba(97, 97, 97, 0.561);
    --transform-scale: 1.05;
    --border-radius: 0;
    --transition: 0.5s;
    --background-color: rgba(133, 150, 171, 0.43);
    --global-side-padding: calc(1px + 4vw);
    --global-top-and-bottom-padding: 32px;
    scroll-behavior: smooth;
}

html {
    font-size: calc(15px + 0.390625vw);    
}

body {
    padding: 0px;
    margin: 0px;
}

h1, h2 {
    font-family: 'Playfair Display';
    font-style: italic;
    text-align: center;
}

h1 {
    font-size: 1.8rem;
}

h2{
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: var(--global-top-and-bottom-padding);
}

h3 {
    font-size: 1.3rem;
    text-align: center;
    font-weight: 500;
}

h3, p, a, li, span {
    font-family: 'Open Sans';
}

p, span, li {
    line-height: 1.5;
}

section {
    padding-left: var(--global-side-padding); 
    padding-right: var(--global-side-padding); 
    padding-top: var(--global-top-and-bottom-padding); 
    padding-bottom: var(--global-top-and-bottom-padding); 
}

/* NAVIGATION BAR */

nav {
    position: fixed;
    top: -13vh;
    min-height: 8vh;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 2;
    transition: 1.2s;    
}

#logo p {
    font-family: 'Playfair-Display';
    font-style: italic;
    font-weight: 700;
    padding-left: var(--global-side-padding);
    text-transform: uppercase;
}

nav ul {
    display: flex;
    padding-right: var(--global-side-padding);
    gap: 16px;
}

@media screen and (max-width: 1000px) {
    #logo {
        display: none;
    }
    nav {
        justify-content: center;
    }
    nav ul {
        padding-right: 0px;
        padding-left: 0px;
    }
} 

nav ul li {
    display: inline-block;
    list-style-type: none;
    text-decoration: none;
}

nav a {
    text-decoration: none;
    color: black;  
    font-weight: 700;  
}

/* HERO SECTION  */

#hero-section {
    height: 100vh;
    padding: 0px;
}

#video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

video {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#hero-section-text {
    width: 60vw;
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    color: white;
    text-shadow: 
        0.2px 0.2px 0 black,
        -0.2px -0.2px 0 black,
        -0.2px 0.2px 0 black,
        0.2px -0.2px 0 black;
}

button {
    padding: 16px 16px 16px 16px;
    margin: 16px;
    text-align: center;
    background-color: rgba(111, 158, 190, 0.6);
    cursor: pointer;
    transition: var(--transition); 
    border: 0;
}

button:hover {
    transform: scale(var(--transform-scale));
    background-color: rgba(102, 170, 216, 0.9);
    box-shadow: var(--box-shadow);
} 

button a{
    text-decoration: none;
    color: white;
    font-weight: 800;
    font-size: 22px;
} 

/* REVIEWS SECTION  */

#reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.review {
    width: 600px;
    display:flex;
    gap: 16px;
    padding: 16px;
    background-color: rgb(224, 224, 224);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.review:hover {
    transform: scale(var(--transform-scale));
}

.review img {
    width: 64px;
    height: 64px;
}

.review-text p {
    margin: 0px;
}

.reviewer-name {
    font-weight: 700;;
}

/* GUEST CONTENT SECTION  */

#guest-content-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.guest-content {
    width: calc(80px + 15vw);
    height: calc(80px + 15vw);
    position: relative;
    transition: var(--transition);
}

.guest-content:hover {
    transform: scale(var(--transform-scale));
}

.guest-content img {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.guest-content video {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* SERVICES SECTION */

#services-and-photo-container {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

#services-container {
    width: 40vw;
}
#services-and-photo-container img {
    width: 40vw;
    box-shadow: var(--box-shadow);
}

@media screen and (max-width: 768px) {
    #services-container {
        width: auto;
    }
    #services-and-photo-container img {
        width: 100%;
    }
}

/* CONTACTS SECTION  */


#contacts-section {
    background-image: url("./images/yacht-4.jpg");
    background-size: cover;
    background-position: center;
}

@media screen and (min-width: 1000px) {
    #contacts-section {
        background-attachment: fixed;
        background-repeat: no-repeat;
    }
}

#contacts-section h2 {
    color: white;
}

#contacts-section .contacts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    text-align: center;
}

#contacts-section .contacts-item {
    width: 100%;
}

#contacts-section .contacts-icon {
    filter: invert(1);
}

#contacts-section span {
    color: white;
}

#contacts-section a {
    color: white;
}

#contacts-section .social-container a {
    padding: 0 8px 0 8px;
}

/* PRICES SECTION  */

#prices-section-prices {
    display: flex;
    justify-content: space-evenly;
}

.price {
    width: 100%;
}

@media screen and (max-width: 1000px) {
    #prices-section-prices {
        flex-wrap: wrap;
    }
}

/* CHARACTERISTICS SECTION  */

#characteristics-section {
    background-image: url("./images/yacht-1.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}

#characteristics-container {
    color: white;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
}

#characteristics-container ul {
    background-color: var(--background-color);
    padding: 32px;
    width: 60vw;
    border-radius: var(--border-radius);
}

#characteristics-container ul:nth-child(even) {
    align-self: flex-end;
}

/* WHATSAPP FLOATING BUTTON  */

#whatsapp-floating-button {
    position: fixed;
    bottom: 16px;
    right: -60px;
    transition: 1.2s;
}

#whatsapp-floating-button img {
    width: 54px;
    border-radius: 20%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

#whatsapp-floating-button img:hover {
    transform: scale(1.2);
    box-shadow: var(--box-shadow-hover);
}

/* FOOTER  */

#contacts-and-map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-wrap: wrap; */
    gap: 16px;
}


@media screen and (max-width: 1000px) {
    
    #contacts-and-map-container {
        flex-wrap: wrap;
    }
    
    #footer-section .contacts-container {
        justify-content: center;
        text-align: center;
    }

    #footer-section .social-container {
        justify-content: center;
    }
}

#footer-section .contacts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

#footer-section .contacts-container > * {
    width: 100%;
}

.contacts-icon {
    width: 22px;
    height: 22px;
}

.contacts-text {
    font-size: 22px;
    text-decoration: none;
    color: black;
}

#footer-section .social-container {
    display: flex;
    gap: 16px;
}

#map-container {
    width: 100%;
    height: 40vh;
    border: 1px solid black;
}

.social-icon {
    width: 48px;
}

#copyright {
    padding-top: 36px;
    text-align: center;
}