* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: white;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(0);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: white;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
}

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

.modal h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.close {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close:hover {
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #c4a777;
    box-shadow: 0 0 0 2px rgba(196, 167, 119, 0.2);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #c4a777;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-links li a:hover::after {
    width: 70%;
}

.nav-links li a:hover {
    color: #c4a777;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #c4a777;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #c4a777;
}

.btn:hover {
    background-color: transparent;
    color: #c4a777;
}

header {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('images/hotel-madni.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero {
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

#rooms {
    padding: 6rem 5%;
    background-color: #f9f9f9;
}

#rooms h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

#rooms h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c4a777;
    margin: 1rem auto;
}

.room-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.room-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
}

.room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.room-card h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

.room-card p {
    padding: 0 1.5rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.room-card .btn {
    margin: 1.5rem;
}

#amenities {
    padding: 6rem 5%;
    background-color: white;
}

#amenities h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

#amenities h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c4a777;
    margin: 1rem auto;
}

.amenities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.amenity {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f9f9f9;
    transition: transform 0.3s ease;
}

.amenity:hover {
    transform: translateY(-5px);
}

.amenity i {
    font-size: 2.5rem;
    color: #c4a777;
    margin-bottom: 1rem;
}

.amenity h3 {
    color: #333;
    font-size: 1.2rem;
}

#contact {
    padding: 6rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
                url('images/exterior-night.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

#contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

#contact h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c4a777;
    margin: 1rem auto;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

#contact-form {
    display: grid;
    gap: 1.5rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

#contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact-form button {
    width: 100%;
    cursor: pointer;
}

footer {
    background: #333;
    color: white;
    padding: 4rem 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #c4a777;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #c4a777;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .room-container,
    .amenities-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

#nearby {
    padding: 4rem 5%;
    background-color: #f9f9f9;
}

.nearby-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.nearby-places {
    flex: 1;
}

.tabs {
    margin-bottom: 1rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    font-size: 1rem;
    cursor: pointer;
    color: #666;
}

.tab-btn.active {
    color: #c4a777;
    border-bottom: 2px solid #c4a777;
}

.places-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.place-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.place-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 1rem;
}

.place-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    flex: 1;
}

.place-info .distance {
    color: #666;
    font-size: 0.95rem;
    min-width: 70px;
    text-align: right;
    margin-right: 1rem;
}

.map-btn {
    padding: 0.4rem 0.8rem;
    background-color: #c4a777;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background-color 0.3s;
}

.map-btn:hover {
    background-color: #b39363;
}

.map {
    flex: 1;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

#policies {
    padding: 6rem 5%;
    background-color: white;
}

#policies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

#policies h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #c4a777;
    margin: 1rem auto;
}

.policies-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.check-times {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.check-item {
    flex: 1;
}

.check-item h3 {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.check-item p {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
}

.policy-list ul {
    list-style: none;
    padding: 0;
}

.policy-list ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.policy-list ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #c4a777;
}

.view-policy {
    margin-top: 2rem;
    text-align: left;
}

.policy-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.policy-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .check-times {
        flex-direction: column;
        gap: 1rem;
    }
}
.cancellation-policy {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.cancellation-policy h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.cancellation-policy ul {
    list-style: none;
    padding: 0;
}

.cancellation-policy li {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.cancellation-policy li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #c4a777;
}

.view-policy {
    margin-top: 2rem;
    text-align: left;
}

.policy-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
}

.policy-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .check-times {
        flex-direction: column;
        gap: 1rem;
    }
}
.place-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.place-info h4 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.distance-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.distance {
    color: #666;
    font-size: 0.95rem;
    min-width: 70px;
}

.map-btn {
    padding: 0.4rem 0.8rem;
    background-color: #c4a777;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.map-btn:hover {
    background-color: #b39363;
}