html, body{
    scroll-behavior: smooth;
}

.custom-navbar {
    transition: all 0.3s ease;
    padding: 0rem 1.5rem;
    background: transparent;
}

.custom-navbar .navbar-brand {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.custom-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin-left: 1rem;
}

.custom-navbar .nav-link:hover {
    color: var(--accent-gold);
}

.custom-navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-brand img{
    width: 200px;
}

.custom-navbar.scrolled .navbar-brand,
.custom-navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.custom-navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-gradient-green {
    background-image: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    border: none;
    color: #000;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(75, 175, 80, 0.3);
    transition: all 0.2s ease;
}

.btn-gradient-green:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(75, 175, 80, 0.4);
}

.btn-ghost-light {
    border-radius: 30px;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    font-weight: 500;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    background-image: url("./slider-home.webp"); /* Replace with your image */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.75)
    );
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    #hero h1 {
    font-size: 3.4rem;
    }
}

#hero p {
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 1.8rem;
    color: #f1f1f1;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #ffffff;
    font-size: 1.5rem;
    animation: bounce 1.5s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0.8rem auto 0;
}

/* Why Choose Us */
#why-us {
    background-color: #F7F9F6;
    padding: 4rem 0;
}

.why-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    height: 100%;
}

.why-card i {
    font-size: 2rem;
    color: var(--secondary-green);
    margin-bottom: 1rem;
}

.why-card h5 {
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* About Section */
#about {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about-photos {
    position: relative;
    min-height: 260px;
}

.about-photo {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo.photo-main {
    top: 0;
    left: 0;
    width: 60%;
    height: 220px;
}

.about-photo.photo-top-right {
    top: -20px;
    right: 0;
    width: 45%;
    height: 160px;
}

.about-photo.photo-bottom {
    bottom: -10px;
    left: 20%;
    width: 55%;
    height: 160px;
}

@media (max-width: 767.98px) {
    .about-photo.photo-main {
    position: relative;
    width: 100%;
    height: 220px;
    top: 0;
    left: 0;
    margin-bottom: 1rem;
    }

    .about-photo.photo-top-right,
    .about-photo.photo-bottom {
    display: none;
    }
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

.about-text p {
    color: #555;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1.5rem;
}

.about-text ul li {
    margin-bottom: 0.5rem;
    color: #444;
}

.about-text ul li i {
    color: var(--secondary-green);
    margin-right: 0.4rem;
}

/* Rooms */
#rooms {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.room-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    height: 100%;
}

.room-card img {
    height: 210px;
    width: 100%;
    object-fit: cover;
}

.room-card-body {
    padding: 1.2rem 1.3rem 1.4rem;
}

.room-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.6rem;
}

.room-meta i {
    margin-right: 0.25rem;
}

.room-price {
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Activities */
#activities {
    padding: 4rem 0;
    background-color: #EAF8EE;
}

.activity-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    height: 100%;
}

.activity-card img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}

.activity-card-body {
    padding: 1rem 1.2rem 1.3rem;
}

.activity-card h5 {
    font-weight: 600;
    color: var(--primary-green);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

/* Gallery */
#gallery {
    padding: 4rem 0;
    background-color: #ffffff;
}

.gallery-item {
    margin-bottom: 1.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item::after {
    content: "\f00e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: #ffffff;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Testimonials */
#testimonials {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    max-width: 520px;
    margin: 0 auto;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--secondary-green);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-top: 0.6rem;
}

.testimonial-stars i {
    color: var(--secondary-green);
}

/* Contact & Location */
#contact-location {
    padding: 4rem 0;
    background-color: #ffffff;
}

.contact-form-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem 1.6rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.contact-form-card .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

.contact-form-card .form-control:focus {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 0.15rem rgba(75, 175, 80, 0.25);
}

.map-wrapper iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Footer */
footer {
    background-color: #0E2A12;
    color: #d7e2d8;
    padding-top: 3rem;
}

footer h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

footer a {
    color: #d7e2d8;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--accent-gold);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    text-align: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: #0E2A12;
    border-color: var(--accent-gold);
}

/* Spacing utilities tweak */
section {
    scroll-margin-top: 80px; /* for anchor scroll with fixed navbar */
}
