:root {
    --primary: #00d4ff;
    --secondary: #9d50bb;
    --dark: #0f172a;
    --dark-alt: #1e293b;
    --accent: #ff0080;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--dark);
    color: #f8fafc;
    overflow-x: hidden;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

/* Títulos Premium */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h2 {
    color: var(--primary);
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Setor 1: Apresentação - Estilo Glass */
.presentation {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.presentation::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(157, 80, 187, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.container1 {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
    align-items: flex-start;
    /* Alinha o texto e logo à esquerda */
}

@media (min-width: 992px) {
    .container1 {
        flex-direction: row;
        align-items: center;
    }

    .left-container,
    .right-container {
        width: 50%;
    }
}

.presentation-text h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.logo-container {
    margin-bottom: 30px;
    text-align: left;
}

.logo-container img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.presentation-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.presentation-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

/* Barra de Reserva (Booking Bar) */
.booking-bar {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 24px;
    margin-top: -50px;
    position: relative;
    z-index: 100;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px 15px;
    border-radius: 12px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Setor 2: Quartos - Estilo Card Premium */
.rooms {
    background-color: var(--dark-alt);
    padding: 100px 0;
}

.room-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.food-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.food-gallery .room img {
    height: 200px;
}

.room {
    background: var(--dark);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.room:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 30px rgba(0, 212, 255, 0.15);
}

.room img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s;
}

.room:hover img {
    transform: scale(1.1);
}

.room-info {
    padding: 25px;
    background: linear-gradient(to top, var(--dark), transparent);
}

.room-description {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.room-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: #000;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.room-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.room-price small {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 400;
}

.capacity-info {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.share-button {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid var(--glass-border);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
}

.share-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(15deg);
}

.share-button i {
    width: 18px;
    height: 18px;
}

/* Botões Premium */
.reserve-button,
.fotos-button,
.menu-button {
    flex: 1;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reserve-button {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.reserve-button:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    filter: brightness(1.1);
}

.reserve-button.disabled {
    background: #475569;
    cursor: not-allowed;
    opacity: 0.5;
}

.fotos-button {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
}

.fotos-button:hover {
    background: var(--glass);
    border-color: var(--primary);
}

/* Grid de Fotos no Modal */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding-top: 40px;
}

.photos-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid var(--glass-border);
}

.photos-grid img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

/* Modais Glassmorphism */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--dark-alt);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 35px;
    font-weight: bold;
    color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}

.close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

/* Fullsize Modal */
.fullsize-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.fullsize-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    border: 2px solid var(--glass-border);
}

.close-fullsize {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

/* Galeria, Pizzaria, etc. */
.gallery,
.snack-bar {
    background-color: var(--dark);
    padding: 100px 0;
}

.image-gallery,
.pizzeria-gallery,
.snack-bar-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.image-gallery img,
.pizzeria-gallery img,
.snack-bar-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.image-gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Seção de Contato Social */
.social-contact {
    background: var(--dark-alt);
    padding: 80px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.social-icons a img {
    width: 50px;
    transition: 0.3s;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.2));
}

.social-icons a:hover img {
    transform: translateY(-10px) scale(1.2);
    filter: drop-shadow(0 0 20px var(--primary));
}

/* Footer */
footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: #64748b;
}

/* Estilo para imagens bloqueadas/indisponíveis */
.room.unavailable {
    filter: grayscale(1) opacity(0.6);
}

.unavailable-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 5;
}

/* Responsividade Full */
@media (max-width: 768px) {
    h2 {
        font-size: 2.2rem;
    }

    .presentation-text h1 {
        font-size: 2.5rem;
    }

    .room-gallery {
        grid-template-columns: 1fr;
    }

    .booking-bar {
        margin-top: 0;
        border-radius: 0;
    }

    .food-gallery {
        grid-template-columns: 1fr;
    }

    /* Galeria Slideshow Mobile */
    .image-gallery {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 5px 20px 30px !important;
        margin: 0 -20px !important;
        scrollbar-width: none !important;
    }

    .image-gallery::-webkit-scrollbar {
        display: none !important;
    }

    .image-gallery img {
        min-width: 80vw !important;
        height: 300px !important;
        scroll-snap-align: center !important;
        flex-shrink: 0 !important;
    }
}

/* Booking Modal Steps */
.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0 10px;
    position: relative;
}

.booking-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--dark-alt);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: 0.3s;
}

.step-indicator.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.step-indicator.done {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.booking-step-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.booking-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.booking-option-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.booking-option-card.selected {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
}

.booking-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--glass-border);
}

.booking-total {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-align: right;
    margin-top: 20px;
}

.booking-nav {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.booking-nav button {
    flex: 1;
}

.policy-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 15px 15px 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.input-group-custom {
    margin-bottom: 20px;
}

.input-group-custom label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--primary);
}

.input-group-custom input,
.input-group-custom select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 12px;
    border-radius: 10px;
    outline: none;
}

#receiptContainer {
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid #000;
}

#receiptContainer div {
    color: #000;
}

@media print {
    body * {
        visibility: hidden;
    }

    #receiptContainer,
    #receiptContainer * {
        visibility: visible;
    }

    #receiptContainer {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}