* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-color: #846c5b;
    --background-color: #f5f3ef;
    --card-padding: clamp(1rem, 5vw, 2rem);
    --text-size: clamp(0.9rem, 4vw, 1.1rem);
    --heading-size: clamp(1.5rem, 6vw, 2.5rem);
}

html,
body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--background-color);
    color: #2c2c2c;
    line-height: 1.6;
    font-family: "Roboto", sans-serif;
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1.2rem;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header h2 {
    font-family: "Playfair Display", serif;
    color: var(--primary-color);
    font-size: clamp(1.2rem, 5vw, 1.8rem);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--card-padding);
}

.hero {
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--card-padding);
    margin: 2rem;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: opacity 0.5s ease-in-out;
}

.hero-background.lqip {
    filter: blur(20px);
}

.hero-background.hqip {
    opacity: 0;
}

.hero-background.hqip.loaded {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: var(--heading-size);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: var(--text-size);
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 2rem 0;
}

.big-letters {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.big-letters h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.big-letters .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.big-letters .button:hover {
    background-color: #a57c6b;
}

.card {
    padding: var(--card-padding);
    margin: 1rem 0;
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 5vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.card p,
.card ul {
    font-size: var(--text-size);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.card ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.card ul li {
    margin-bottom: 0.5rem;
}

.swiper-container {
    width: 100%;
}

.swiper-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.swiper-slide {
    flex: 0 0 calc(100% - 5px);
    margin: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    border-radius: 8px;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.acropolis-image {
    max-width: 100%;
    margin-bottom: 1rem;
    border-radius: 12px;
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-color);
    border-radius: 12px;
    font-size: var(--text-size);
}

.material-icons {
    color: var(--primary-color);
    font-size: 24px;
}

.contact {
    margin-bottom: 6rem;
}

.contact .button {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    margin: 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact .button:hover {
    background-color: #a57c6b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    grid-auto-rows: 250px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.modal {
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-content: center;
    justify-content: center;
    padding-top: 1.5rem;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

.modal-content,
.close {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333333;
    padding: 0.7rem;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-item .material-icons {
    font-size: 26px;
    margin-bottom: 2px;
}

.quick-actions {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.action-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-button:hover {
    background-color: #a57c6b;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@keyframes loading {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: loading 1.5s infinite;
}

@media (max-width: 768px) {
    .top-nav {
        display: none;
    }

    .section {
        padding-bottom: 80px;
        /* Space for bottom navigation */
    }

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

    .hero {
        height: 60vh;
    }

    .card {
        transition: none;
    }

    .card:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .card {
        border-radius: 12px;
        margin: 0.5rem 0;
    }

    .amenity-item {
        padding: 0.8rem;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }

    .header-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .top-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        z-index: 1000;
        gap: 1.4rem;
    }

    .top-nav .nav-item {
        text-decoration: none;
        font-size: 1.2rem;
        display: flex;
        gap: 0.3rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .top-nav .nav-item:hover {
        color: #ffffff;
        background-color: #555555;
        border-radius: 8px;
    }

    .top-nav .nav-item .material-icons {
        font-size: 26px;
        margin-bottom: 2px;
    }

    .top-nav .nav-item.active {
        position: relative;
    }

    .top-nav .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: var(--primary-color);
        border-radius: 8px;
    }

    .swiper-slide {
        flex: 0 0 50%;
        margin: 0 5px;
    }

    .welcome-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .acropolis-image {
        max-width: 35%;
        margin-right: 1rem;
        margin-bottom: 0;
    }

    .contact {
        margin-bottom: 2rem;
    }

    .location {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .quick-actions {
        bottom: 25px;
    }

}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #1a1a1a;
        --primary-color: #c9b8a8;
    }

    body {
        color: #ffffff;
    }

    .header {
        background: #2c2c2c;
    }

    .amenity-item {
        background: #333333;
    }
}