/* Hero Section */
.hero {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 600px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Slideshow Animation */
.hero-image .slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: heroSlideshow 15s infinite;
}

.hero-image .slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-image .slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-image .slide:nth-child(3) {
    animation-delay: 10s;
}

@keyframes heroSlideshow {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    33.33% {
        opacity: 1;
    }
    38.33% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: rgba(125, 203, 236, 0.79);
    padding: 47px 80px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1.8px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 300;
    color: var(--white);
    letter-spacing: -0.96px;
    line-height: 31px;
}

.hero-button {
    position: absolute;
    bottom: 100px;
    left: 100px;
}

.btn-reservation {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 15px;
    padding: 20px 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.72px;
    transition: background 0.3s;
}

.btn-reservation img {
    width: 40px;
    height: 40px;
}

.btn-reservation span:nth-child(2) {
    text-decoration: underline;
}

.btn-reservation:hover {
    background: var(--primary-dark);
}

/* Service Section */
.service {
    background: var(--primary-color);
    border-radius: 24px;
    padding: 0 24px 40px;
    overflow: hidden;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding-top: 35px;
}

.card-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    background: var(--primary-color);
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.card-icon img {
    width: 40px;
    height: 40px;
}

.card-content {
    background: var(--white);
    border-radius: 16px;
    padding: 55px 28px 20px;
    text-align: center;
    height: 165px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
}

.card-content h3 {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -0.64px;
}

.card-content p {
    font-size: 11px;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.5;
    text-align: left;
}

/* Feature Section */
.feature {
    background: var(--white);
    border-radius: 24px;
    padding: 10px 24px 40px;
}

.feature-title {
    text-align: right;
    padding: 40px 40px 20px;
}

.feature-title h2 {
    color: var(--primary-color);
}

.feature-title p {
    color: var(--primary-color);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 0 0 580px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-content.align-right {
    align-items: flex-end;
    text-align: right;
}

.feature-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-label span {
    font-size: 16px;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: -0.64px;
}

.feature-label .divider {
    width: 44px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.feature-content p {
    font-size: 16px;
    font-weight: 100;
    color: var(--text-dark);
    letter-spacing: -0.08px;
    line-height: 36px;
}

/* Responsive - Index */
@media screen and (max-width: 1240px) {
    .feature-image {
        flex: 0 0 50%;
        height: 350px;
    }
}

@media screen and (max-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 26px;
    }

    .hero-overlay {
        padding: 30px 40px;
    }

    .hero-button {
        left: 40px;
        bottom: 60px;
    }

    .feature-item,
    .feature-item.reverse {
        flex-direction: column;
    }

    .feature-image {
        flex: none;
        width: 100%;
        height: 300px;
    }

    .feature-content,
    .feature-content.align-right {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: 450px;
    }

    .hero-overlay {
        top: 60px;
        padding: 25px 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-button {
        left: 20px;
        bottom: 40px;
    }

    .btn-reservation {
        padding: 15px 20px;
        font-size: 16px;
    }

    .btn-reservation img {
        width: 30px;
        height: 30px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-content p {
        font-size: 18px;
        line-height: 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        height: 400px;
    }

    .hero-overlay {
        top: 40px;
        padding: 20px 15px;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-button {
        left: 15px;
        bottom: 30px;
    }

    .btn-reservation {
        padding: 12px 15px;
        font-size: 14px;
        gap: 8px;
    }

    .btn-reservation img {
        width: 24px;
        height: 24px;
    }

    .card-content {
        padding: 50px 20px 15px;
    }

    .feature-image {
        height: 250px;
    }

    .feature-content p {
        font-size: 14px;
        line-height: 28px;
    }
}
