/* Start Global */
:root {
    --main-color: #0054b5;
    --section-padding: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
}
ul {
    list-style: none;
}

.container {
    padding: 0 15px;
    margin: 0 auto;
}
/* small */
@media screen and (min-width: 768px) {
    .container {
        width: 750px;
    }
}
/* medium */
@media screen and (min-width: 992px) {
    .container {
        width: 970px;
    }
}
/* Large */
@media screen and (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
/* End Global */
/* Start Header */
header {
    background-color: rgba(251, 249, 248, 0.7);
    padding: 18px;
    position: absolute;
    width: 100%;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header nav ul {
    display: flex;
}
@media screen and (max-width: 767px) {
    header nav {
        display: none;
    }
}

header nav ul a {
    text-decoration: none;
    font-weight: normal;
    position: relative;
    padding: 10px;
    color: #475569;
}

header nav ul a.active,
header nav ul a:hover {
    color: var(--main-color);
}

header nav ul li a::before {
    content: "";
    position: absolute;
    background-color: var(--main-color);
    bottom: 0;
    left: 10px;
    width: 0;
    height: 2px;
    transition: width 0.3s;
}
header nav ul li a.active::before,
header nav ul li:hover a::before {
    width: calc(100% - 20px);
}

header .container .log a {
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    color: var(--main-color);
}
header .container .log a.up {
    padding: 13px 18px;
    background-color: #1a73e8;
    color: white;
    border-radius: 7px;
    margin-left: 10px;
    transition: background-color 0.3s;
}
header .container .log a.up:hover {
    background-color: var(--main-color);
}
/* End Header */
/* Start Landing */
.landing {
    height: 100vh;
    background-image: url(../images/Luxury\ Resort.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.landing .heading h1 {
    color: #ffffff;
    font-size: 50px;
    font-weight: bolder;
    text-align: center;
}

.card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fields-wrap {
    flex: 1;
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.field {
    flex: 1;
    padding: 10px 16px;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
    transition: background-color 0.2s;
}

@media screen and (max-width: 767px) {
    .wrapper {
        flex-direction: column;
    }
    .fields-wrap {
        flex-direction: column;
        gap: 10px;
    }
    .field {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}

.field:last-child {
    border-right: none;
}

.field:hover {
    background-color: #f8fafc;
}

.field .label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.field-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.field-inner svg {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex-shrink: 0;
}

.field-inner input,
.field-inner select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #1e293b;
    width: 100%;
    cursor: pointer;
}

.field-inner input::placeholder {
    color: #cbd5e1;
}

.field-inner select {
    appearance: none;
}

.guests-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.search-btn {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 28px;
    height: 56px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.search-btn:hover {
    background-color: #1558b0;
}
/* End Landing */
/* Start Value Proposition */
.value-proposition {
    padding-top: 96px;
    padding-bottom: 96px;
}
.value-proposition .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.value-proposition .val-prop-card {
    text-align: center;
    background-color: #f6f3f2;
    border-radius: 25px;
    padding: 32px;
    transition: transform 0.3s ease;
}

.value-proposition .val-prop-card:hover {
    transform: translate(-5px, -5px);
}
.value-proposition .val-prop-card .icon {
    margin-bottom: 20px;
}
.value-proposition .val-prop-card h3 {
    font-weight: bold;
    color: #1b1c1c;
    margin-bottom: 20px;
}
.value-proposition .val-prop-card p {
    color: #414754;
    line-height: 1.5;
}
/* End Value Proposition */
/* Start Destinations */
.destinations {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    background-color: #f6f3f2;
}
.destinations .heading {
    display: flex;
    justify-content: space-between;
}

.destinations .heading .text {
    width: 550px;
}
.destinations .heading .text h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    color: #1b1c1c;
}
.destinations .heading .text p {
    font-size: 16px;
    font-weight: normal;
    color: #414754;
}
.destinations .heading a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--main-color);
    align-self: flex-end;
}

@media screen and (max-width: 767px) {
    .destinations .heading a {
        display: none;
    }
    .destinations .heading .text {
        width: 100%;
    }
}

.destinations .dest-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

.destinations .dest-card {
    background-color: transparent;
    border-radius: 6px;
}

.destinations .dest-card .image {
    border-radius: 30px;
    margin-bottom: 15px;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.destinations .dest-card .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    transition:
        width 0.3s,
        height 0.3s;
}

.destinations .dest-card .image:hover img {
    width: 110%;
    height: 110%;
}

.destinations .dest-card .image .rate {
    position: absolute;
    top: 10px;
    right: 20px;
    background-color: rgb(255 255 252 / 0.9);
    padding: 6px 12px;
    border-radius: 100px;
}
.destinations .dest-card .image .rate i {
    font-size: 14px;
    color: #f59e0b;
}
.destinations .dest-card .image .rate span {
    font-weight: 700;
    font-size: 16px;
}

.destinations .dest-card .text {
    margin-bottom: 15px;
}
.destinations .dest-card .text h3 {
    margin-bottom: 6px;
    font-weight: bold;
    color: #1b1c1c;
}
.destinations .dest-card .text p {
    font-weight: normal;
    color: #414754;
}
.destinations .dest-card .price {
    font-weight: 500;
    font-size: 14px;
}

.destinations .dest-card .price span {
    font-weight: 800;
    font-size: 20px;
    color: var(--main-color);
}

/* End Destinations */

/* Start Footer */
footer {
    background-color: #000000;
    padding-top: var(--section-padding);
    padding-bottom: 24px;
}

footer .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media screen and (max-width: 991px) {
    footer .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 767px) {
    footer .footer-content {
        grid-template-columns: 1fr;
    }
}

footer .footer-brand img {
    margin-bottom: 20px;
}

footer .footer-brand p {
    color: #ffffff;
    line-height: 1.6;
    font-size: 15px;
}

footer .footer-links h4,
footer .footer-social h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 20px;
}

footer .footer-links ul li {
    margin-bottom: 12px;
}

footer .footer-links ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

footer .footer-links ul li a:hover {
    color: var(--main-color);
}

footer .footer-social .social-icons {
    display: flex;
    gap: 12px;
}

footer .footer-social .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer .footer-social .social-icons a:hover {
    background-color: var(--main-color);
    color: #ffffff;
    transform: translateY(-3px);
}

footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    footer .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

footer .footer-bottom .legal-links a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

@media screen and (max-width: 767px) {
    footer .footer-bottom .legal-links a {
        margin: 0 10px;
    }
}

footer .footer-bottom .legal-links a:hover {
    color: var(--main-color);
}
/* End Footer */
