@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=League+Spartan:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'StarsLovebottomHeavy';
    src: url('../fonts/Stars&Love-BottomHeavy.ttf') format('truetype');
}

@font-face {
    font-family: 'Brusher';
    src: url('../fonts/Brusher.ttf') format('truetype');
}

/* animation for slow moving */
@keyframes slowMove {
    0% {
        transform: translateY(-5px);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(-5px);
    }
}

:root {
    --sunflower-yellow: #fbd12b;
    --lemon-yellow: #fbd748;
    --light-cream: #e0d1cc;
    --navy-blue: #06397e;
    --teal-blue: #42728d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.container {
    width: 80%;
    margin: 0 auto;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    background: url(../images/bluetile.png) center center;
    padding: 2rem 0;
}

/* header */
.nav-container {
    background-color: var(--lemon-yellow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    padding-right: 1rem;
}

.nav-title {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-title h1 {
    color: #fff;
    font-family: 'StarsLovebottomHeavy', sans-serif;
    font-size: 4rem;
    -webkit-text-stroke: 2px var(--navy-blue);
}

.nav-logo {
    height: 80px;
    position: relative;
    transform: scale(120%);
}

.nav-links {
    position: relative;
    display: flex;
    list-style: none;
    gap: .9rem;
}

.nav-links li {
    display: block;
}

.nav-links a {
    display: inline-block;
    text-decoration: none;
    background-color: #fff;
    color: black;
    height: 100%;
    text-transform: uppercase;
    padding: 0.5rem 2rem;
    padding-right: 2.45rem;
    border-radius: 30px;
    border: 3px solid black;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
    background-color: var(--navy-blue);
    color: white;
    border-color: var(--navy-blue);
}

.nav-links a:after {
    content: '>';
    position: absolute;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.75rem;
    color: black;
    top: 0;
    bottom: 0;
    right: 4px;
    display: flex;
    align-items: center;
}

/* hamburger icon */
.hamburger {
    width: 35px;
    height: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger .bar {
    width: 100%;
    height: 5px;
    background-color: var(--navy-blue);
    border-radius: 10px;
}

/* close icon */
.close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
}

.close .bar {
    width: 100%;
    height: 5px;
    background-color: var(--navy-blue);
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.close .bar:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* footer */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 1rem;
    gap: 2rem;
}

.profile {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo {
    height: 60px;
}

footer .details {
    color: var(--navy-blue);
}

/* HOME */
#home h2 {
    font-size: 3.5rem;
    font-family: 'League Spartan', sans-serif;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
    -webkit-text-stroke: 1px var(--navy-blue);
}

.information {
    display: flex;
    justify-content: space-between;
}

.info {
    width: 50%;
    text-align: center;
}

.info h3 {
    background-color: var(--navy-blue);
    color: #fff;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    width: 75%;
    white-space: nowrap;
}

.left-info h3 {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.right-info h3 {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    margin-left: auto;
}

.heart-img {
    width: 25px;
}

.info-img {
    width: 80%;
    border-radius: 25px;
    margin-top: 1rem;
    animation: slowMove 3s infinite;
}

.map-img {
    margin-left: 2rem;
}

.sale-img {
    margin-right: 2rem;
    border: 3px dotted var(--sunflower-yellow);
}

.img-container {
    position: relative;
    color: #fff;
}

.sale-date {
    position: absolute;
    top: 2rem;
    left: 7rem;
    font-size: 1.5rem;
    font-weight: 700;
    animation: slowMove 3s infinite;
}

.sale-info {
    position: absolute;
    top: 8rem;
    right: 14rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.5rem;
    animation: slowMove 3s infinite;
}

/* PROMOS */
#gallery .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 0;
}

#gallery .container img {
    width: 20%;
    min-width: 150px;
    max-width: 350px;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: all 0.3s;
}

/* scale up when image is hovered */
#gallery .container img:hover {
    transform: scale(1.1);
}

.promo-container {
    position: relative;
    background-color: var(--navy-blue);
    border: 3px solid var(--light-cream);
    padding: 3rem .75rem;
    text-align: center;
    border-radius: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-top: 2rem;
}

.promo-container h3 {
    font-size: 3rem;
    font-family: 'Brusher', sans-serif;
    margin-bottom: 1rem;
    color: var(--sunflower-yellow);
    -webkit-text-stroke: 1px var(--navy-blue);

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    transform: translatey(-50%);
}

/* RATES */
#rates .container {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

#rates .left {
    width: 70%;
}

.upper-data {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.upper-data .box {
    width: 50%;
}

.upper-data .box h2 {
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    font-family: 'StarsLovebottomHeavy', sans-serif;
    text-align: center;
    -webkit-text-stroke: 2px var(--navy-blue);
}

table {
    width: 100%;
    background-color: var(--light-cream);
    border: 3px solid #fff;
    border-collapse: collapse;
}

table td {
    padding: .75rem;
    border: 3px solid #fff;
    height: 43px !important;
    font-weight: 700;
}

.lower-data .box {
    background-color: #15315f;
    padding: 1.5rem 2rem;
    border-radius: 25px;
    border: 4px solid #000;
}

.lower-data ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lower-data ul li {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.lower-data ul li img {
    width: 25px;
    height: 25px;
}

#rates .right {
    flex: 1;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#rates .right .box {
    background-color: var(--navy-blue);
    text-align: center;
    border: 4px solid #000;
}

#rates .right .box h2 {
    text-transform: uppercase;
    color: #fff;
    font-size: 1.25rem;
    padding: 1.5rem 1rem;
}

#rates .right .details {
    background-color: var(--light-cream);
    min-height: 50%;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    border: 4px dotted #000;
    position: relative;
    top: -20px;
    text-align: center;
    font-weight: 700;
    padding: 1rem;
}

#rates .right .details h3 {
    font-size: 2.5rem;
}

#rates .right .details p {
    font-size: 1.25rem;
}

/* SERVICES */
#services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

#services .box {
    width: 20%;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--light-cream);
    padding: 1rem;
    padding-bottom: 2rem;
    border-radius: 10px;

    transition: all 0.3s;
}

#services .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

#services .box .service-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

#services .box h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: var(--navy-blue);
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
}

#services .feature {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

#services .feature img {
    width: 20px;
    height: 20px;
}

#services .feature p {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}