/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* ===== Header Section ===== */
.header {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===== Navigation Bar ===== */
.navbar {
    background: linear-gradient(135deg, #2c5f2d 0%, #1a3a1b 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: #a8d5a8;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== Location Section ===== */
.location-section {
    padding: 4rem 2rem;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.location-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.location-image:hover .location-img {
    transform: scale(1.05);
}

.location-text h2 {
    font-size: 2.2rem;
    color: #2c5f2d;
    margin-bottom: 1.5rem;
}

.location-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

/* ===== Featured Section ===== */
.featured-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e9 100%);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5f2d;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #2c5f2d, #a8d5a8);
    border-radius: 2px;
}

.slider-container {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.slider {
    position: relative;
    width: 100%;
    background-color: #000;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.slide.fade {
    animation: fade 1s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.slide-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 500;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 3px;
    user-select: none;
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    padding: 1rem;
    background-color: #f9f9f9;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #2c5f2d;
}

/* ===== Rooms Section ===== */
.rooms-section {
    padding: 4rem 2rem;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.room-category {
    margin-bottom: 4rem;
}

.room-title {
    font-size: 1.8rem;
    color: #2c5f2d;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #a8d5a8;
}

.room-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.room-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.room-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.room-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.room-item:hover img {
    transform: scale(1.1);
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e9 100%);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: #2c5f2d;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

.contact-info a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #1a3a1b;
    text-decoration: underline;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #2c5f2d;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f2d;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #2c5f2d 0%, #1a3a1b 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(44, 95, 45, 0.3);
}

/* ===== Lightbox Modal ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #bbb;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #2c5f2d 0%, #1a3a1b 100%);
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Fixed Contact Bar ===== */
.fixed-contact-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 0.9rem;
}

.phone-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

.line-btn {
    background: linear-gradient(135deg, #00b900 0%, #009900 100%);
}

.line-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 185, 0, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    display: inline;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .location-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-text h2 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .room-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .room-item img {
        height: 150px;
    }

    .prev, .next {
        padding: 12px;
        font-size: 16px;
    }

    .lightbox-content {
        width: 90%;
        max-height: 70vh;
    }

    .fixed-contact-bar {
        bottom: 10px;
        right: 10px;
        gap: 8px;
    }

    .contact-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .btn-text {
        display: none;
    }

    .btn-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        padding: 0.3rem 0.5rem;
        font-size: 0.9rem;
    }

    .location-text h2 {
        font-size: 1.5rem;
    }

    .location-text p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .room-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .room-item img {
        height: 120px;
    }

    .slide img {
        max-height: 300px;
    }

    .slide-caption {
        font-size: 0.9rem;
        padding: 8px 12px;
        bottom: 10px;
        left: 10px;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.2rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .fixed-contact-bar {
        bottom: 5px;
        right: 5px;
    }

    .contact-btn {
        padding: 8px 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .footer {
        padding: 1.5rem 1rem;
    }
}

/* ===== Tablet Specific ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .location-container {
        gap: 2rem;
    }

    .room-gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .contact-container {
        gap: 2rem;
    }
}
