html {
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    height: 100vh;
    width: 80%;
    font-family: Arial, sans-serif;
}

header .row {
    display: flex;
    justify-content: center;
}

header .login {
    justify-content: space-between;
    align-items: center;
}

header .site-label {
    justify-content: center;
    align-items: center;
}

header .site-label>img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 8px;
}

header .ment-items {
    display: flex;
    justify-content: center;
}

header .ment-items ul {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

header .ment-items ul li {
    background-color: black;
    padding: 10px;
}

header .login a {
    background-color: black;
    padding: 10px;
}

a {
    color: white;
    text-decoration: none;
}

hr {
    height: 1px;
    background-color: gray;
}

.home-container {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.home-container>.left {
    border-style: ridge;
    border-left: unset;
    border-top: unset;
    border-bottom: unset;
    padding: 5px;
}

.home-container>div>img {
    width: 50%;
    height: auto;
    float: left;
    margin-right: 10px;
}

.home-container>div>p {
    font-size: 1.2em;
    text-align: justify;
}

hr {
    background: lightgrey;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 10px;
}

.gallery-item {
    justify-items: center;
    text-align: center;
}

.gallery-item img {
    width: 275px;
    height: 400px;
    /* border-radius: 10px; */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.lang-select {
    display: flex;
    gap: 10px;
}

.lang-select button {
    background-color: black;
    color: white;
}

p {
    text-align: justify;
}

.footer-container {
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80%;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.footer-links a {
    color: black;
}

figcaption {
    margin-top: 10px;
    font-weight: bold;
}

.gallery-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.gallery-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-detail img {
    width: 100%;
    height: 50%;
    margin-bottom: 20px;
}
.directions-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items:center;
}

.newsletter-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.newsletter-form .email {
    width: 100%;
    height: 60px;
    padding: 0 1.5rem;
    font-size: 1.2rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    min-width: 280px;
}

.subscribe-btn {
    width: 100%;
    height: 60px;
    padding: 0 3rem;
    background-color: #ff4c1e;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 280px;
}

.attractions-chat-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.attractions-chat-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.attractions-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}

.attractions-text {
    font-size: 14px;
    font-weight: 600;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    display: none;
}

.loading-spinner svg {
    width: 50px;
    height: 50px;
    color: #ffffff;
}

.menu-toggle-btn {
    display: none;
}


@media (min-width: 320px) and (max-width: 767px) {
    body {
        width: 90%;
    }
    #title {
        font-size: large;
        text-align: center;
    }
    header .ment-items ul {
        display: flex;
        width: 100%;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    .home-container {
        display: block;
        grid-template-rows: 1fr 1fr;
    }

    .home-container>.left {
        border-style: unset;
    }

    .home-container>div>img {
        width: 100%;
        float: none;
    }

    .gallery-container {
        display: block;
    }

    p {
        text-align: justify;
    }
    .footer-content {
        flex-direction: column;
        align-items: center; 
    }

    .directions-container {
        display: block;
    }

     .newsletter-form {
        flex-direction: column;
        gap: 10px;
        flex: unset;
    }
    .newsletter-form .email {
        padding: unset;
    }

    .subscribe-btn {
        width: auto;
        min-width: 150px;
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }
    header .login p{
        display: none;
    }
    .menu-toggle-btn {
        display: block;
        background-color: black;
        color: white;
        cursor: pointer;
    }
    .menu-list{
        display: none !important;
        width: 100%;
    }
    .menu-list.open {
        display: flex !important;
    }
}

@media(min-width: 767px) and (max-width: 1024px) {
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
        gap: 10px;
    }

    p {
        text-align: justify;
    }

}