/* Website CSS - Sítio Estrela do Mar */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Variáveis CSS */
:root {
    --primary-color: #37C4BE;
    --secondary-color: #FAA418;
    --accent-color: #743C95;
    --text-dark: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Animações */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Hero Carousel Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000;
}

.hero-section .carousel {
    height: 100%;
    width: 100%;
}

.hero-section .carousel-inner,
.hero-section .carousel-item {
    position: relative;
    height: 100%;
    width: 100%;
    background: #000;
}

.hero-section .hero-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    display: block;
}

.hero-section .hero-placeholder {
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.hero-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    padding: 20px 0;
    text-align: left;
    bottom: auto;
    z-index: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-section .carousel {
        height: 100%;
    }
    
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 100%;
    }
    
    .hero-section .hero-image {
        height: 100%;
        object-position: center;
    }
}

.hero-section .hero-content {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.3);
}

.hero-section .hero-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 40px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 0.8;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
}

.hero-section .carousel-indicators {
    margin-bottom: 2rem;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.hero-section .carousel-indicators button:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.hero-section .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    z-index: 0;
}

.hero-video-container .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video-container .video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh; /* Altura da viewport * 16/9 para garantir cobertura */
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw; /* Largura da viewport * 9/16 para garantir cobertura */
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: auto;
    object-fit: cover;
}

/* Mobile: vídeo ocupando todo o espaço sem barras pretas */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    .hero-section .carousel {
        margin: 0;
        padding: 0;
    }
    
    .hero-section .carousel-inner {
        margin: 0;
        padding: 0;
    }
    
    .hero-video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    .hero-video-container .video-container {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 100vh;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    .hero-video-container .video-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        /* Para portrait (altura > largura): usar altura como base */
        width: 177.78vh; /* altura * 16/9 */
        height: 100vh;
        /* Para landscape (largura > altura): usar largura como base */
        min-width: 100vw;
        min-height: 56.25vw; /* largura * 9/16 */
        transform: translate(-50%, -50%);
    }
    
    /* Ajuste específico para telas muito altas (portrait) */
    @media (max-width: 768px) and (orientation: portrait) {
        .hero-video-container .video-container iframe {
            width: 177.78vh;
            height: 100vh;
            min-width: 100vw;
        }
    }
    
    /* Ajuste específico para telas largas (landscape) */
    @media (max-width: 768px) and (orientation: landscape) {
        .hero-video-container .video-container iframe {
            width: 100vw;
            height: 56.25vw;
            min-height: 100vh;
        }
    }
}


.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

/* Esconder botões de ação do YouTube com overlay */
.hero-video-container {
    overflow: hidden;
}

/* Overlay para cobrir botões do YouTube nas bordas */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    z-index: 3;
    pointer-events: none;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    z-index: 3;
    pointer-events: none;
}


/* Indicador de Scroll na Hero Section */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 10;
    animation: bounce 2s infinite;
    width: fit-content;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.scroll-arrow span {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-arrow i {
    font-size: 1.2rem;
    animation: scrollDown 1.5s ease-in-out infinite;
}

.scroll-arrow:hover {
    color: #fff;
    transform: translateY(5px);
}

.scroll-arrow:hover i {
    transform: translateY(5px);
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.7;
}
}

/* Responsividade do Indicador de Scroll */
@media (max-width: 768px) {
    .hero-scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow span {
        font-size: 0.75rem;
}

    .scroll-arrow i {
        font-size: 1rem;
    }
}

/* Galeria de Fotos - Seção Resumo */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-radius: 10px;
    overflow: hidden;
    max-width: 70%;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* Responsividade da Galeria */
@media (max-width: 768px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 90%;
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(150px, auto);
        gap: 8px;
        max-width: 100%;
        border-radius: 8px;
        margin: 0 auto;
    }
    
    .gallery-item {
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    /* Posicionamento específico para criar mosaico */
    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: 1 / 1; /* Imagem grande - quadrada */
        min-height: 200px;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1; /* Imagens pequenas - quadradas */
        min-height: 120px;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 2;
        aspect-ratio: 2 / 3; /* Imagem média - vertical */
        min-height: 200px;
    }
    
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1 / 1; /* Imagens pequenas - quadradas */
        min-height: 120px;
    }
}

/* Barra de Reserva Compacta no Hero */
.hero-booking-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(139, 115, 85, 0.95); /* Tom bege/marrom elegante similar ao NANNAI */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px 0;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3), 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.hero-booking-bar .container {
    max-width: 1400px;
}

.hero-booking-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-booking-field {
    flex: 1;
    min-width: 150px;
}

.hero-booking-field label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-booking-field input,
.hero-booking-field select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-booking-field input:hover,
.hero-booking-field select:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-booking-field input:focus,
.hero-booking-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(55, 196, 190, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.hero-booking-field input::placeholder {
    color: #999;
}

.hero-booking-btn {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 12px 0;
}

.hero-booking-btn button {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #8B7355 0%, #6B5A42 100%); /* Tom marrom escuro elegante */
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.hero-booking-btn button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-booking-btn button:hover::before {
    left: 100%;
}

.hero-booking-btn button:hover {
    background: linear-gradient(135deg, #6B5A42 0%, #5A4A35 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}

.hero-booking-btn button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-booking-btn button i {
    margin-right: 8px;
}

/* Responsividade do Carousel */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-section .carousel {
        height: 100%;
    }
    
    .hero-section .hero-placeholder {
        height: 100%;
    }
    
    .hero-section .hero-title {
        font-size: 2rem;
    }
    
    .hero-section .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section .hero-text {
        font-size: 1rem;
    }
    
    /* Vídeo Hero Responsivo */
    .hero-video-container {
        height: 100%;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-booking-form {
        gap: 12px;
    }
    
    .hero-booking-field {
        flex: 1 1 calc(33.333% - 10px);
        min-width: 140px;
    }
    
    .hero-booking-btn {
        flex: 0 0 140px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-section .carousel {
        height: 100%;
    }
    
    .hero-video-container {
        height: 100%;
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-nav-centered {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar-nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

@media (max-width: 991px) {
    .navbar-nav-centered {
        position: static;
        transform: none;
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .navbar-nav-right {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
    
    .navbar-collapse {
        flex-direction: column;
    }
}


.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::after {
    width: 80%;
}

/* Carrinho Icon */
.carrinho-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: transparent;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.carrinho-icon:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(55, 196, 190, 0.3);
}

.carrinho-icon i {
    font-size: 1.1rem;
}

/* Botões */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8), rgba(0, 168, 204, 0.8)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="wave" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><path d="M0,100 Q50,50 100,100 T200,100 V200 H0 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23wave)"/></svg>');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

/* Seções */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    color: white;
}

.footer .social__link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(55, 196, 190, 0.4);
    background-color: #FAA418 !important;
}

.footer {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Formulários */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Carrinho Dropdown */
.carrinho-dropdown {
    position: fixed;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    min-width: 350px;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid #e0e0e0;
    z-index: 10000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.carrinho-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Badge do Carrinho */
#carrinho-badge {
    font-size: 0.6rem;
    display: none;
}

/* Informações de Reserva */
.reserva-info {
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    margin-bottom: 1rem;
}

.reserva-info strong {
    color: var(--success-color);
}

.busca-info {
    background: #fff8e1;
    border-radius: 8px;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin-bottom: 1rem;
}

.busca-info strong {
    color: #f57c00;
}

.cliente-info {
    background: #e8f5e8;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    margin-bottom: 1rem;
}

.cliente-info strong {
    color: var(--success-color);
}

/* Carrinho Vazio */
.carrinho-vazio {
    text-align: center;
    padding: 2rem 1rem;
    color: #6c757d;
}

.carrinho-vazio i {
    opacity: 0.3;
}

/* Timer */
.timer-info {
    background: #fff2f2;
    border-radius: 6px;
    border: 1px solid #ffcccc;
    padding: 0.5rem;
    margin-top: 1rem;
}

#timer-display,
#timer-display-carrinho {
    font-weight: 600;
    color: var(--danger-color);
}

#timer-display-carrinho {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f57c00;
    letter-spacing: 2px;
}

/* Estilos específicos para elementos inline */
.text-uppercase {
    text-transform: uppercase;
}

.text-center-danger {
    text-align: center;
    color: var(--danger-color);
}

.font-weight-bold {
    font-weight: bold;
}

/* PIX Info */
.pix-info,
.pix-phone-info {
    display: none;
}

.cartao-info {
    display: none;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
}

/* Estilos para ícones grandes */
.fa-3x {
    font-size: 3rem;
}

.fa-qrcode.text-primary {
    font-size: 3rem;
}

.fa-calendar-check.text-success {
    font-size: 3rem;
}

/* Estilos para elementos com display none por padrão */
.hidden {
    display: none;
}

/* Classes auxiliares para substituir CSS inline */
.small-icon {
    font-size: 0.7rem;
}

.small-text {
    font-size: 0.9rem;
}

.valor-total-box {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    border-radius: 6px;
    border: 1px solid var(--success-color);
}

.btn-close-sm {
    font-size: 0.8rem;
}

/* Estilos da página de pagamento */
.pagamento-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 168, 204, 0.9));
    color: white;
    padding: 60px 0 20px;
    margin-top: 76px;
}

.resumo-final {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.form-pagamento {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.metodo-pagamento {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.metodo-pagamento:hover {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.05);
}

.metodo-pagamento.selected {
    border-color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
}

.metodo-pagamento input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.metodo-info {
    display: flex;
    align-items: center;
}

.metodo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.metodo-detalhes h5 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-weight: 600;
}

.metodo-detalhes p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.info-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.info-label {
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    font-weight: 600;
    color: var(--text-dark);
}

.btn-finalizar {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-finalizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    color: white;
}

.btn-voltar {
    background: transparent;
    border: 2px solid var(--text-light);
    border-radius: 25px;
    padding: 12px 30px;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.btn-voltar:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

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

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.step span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.step.completed span,
.step.active span {
    color: var(--text-dark);
    font-weight: 600;
}

.step-divider {
    width: 60px;
    height: 2px;
    background: #e9ecef;
    margin: 0 1rem;
}

.step.completed + .step-divider {
    background: #28a745;
}

.step.active + .step-divider {
    background: var(--primary-color);
}

.dados-cliente {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dados-cliente h6 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.dados-cliente p {
    margin: 0.25rem 0;
    color: var(--text-dark);
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-success i {
    color: #28a745;
    margin-right: 0.5rem;
}

.pix-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    display: none;
}

.pix-info.show {
    display: block;
}

.cartao-info.show {
    display: block;
}

.qr-code {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    margin: 1rem 0;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 3rem;
}

/* Estilos da página de cadastro de cliente */
.cadastro-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 168, 204, 0.9));
    color: white;
    padding: 60px 0 20px;
    margin-top: 76px;
}

.carrinho-info {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    position: sticky;
    top: 90px;
    z-index: 100;
}

.resumo-reserva {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.verificacao-cpf {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
}

.form-cadastro {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.btn-verificar {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-verificar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    color: white;
}

.btn-continuar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-weight: 600;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-continuar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    color: white;
}

.required {
    color: #dc3545;
}

/* Estilos para campos inválidos */
.form-control.is-invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Estilos da página de confirmação de reserva */
.confirmar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004499 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.confirmar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("{% static 'website/images/pattern.png' %}") repeat;
    opacity: 0.1;
}

.confirmar-header .container {
    position: relative;
    z-index: 2;
}

.card-reserva {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: none;
}

.card-reserva h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.card-reserva h4 i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.valor-total {
    background: rgba(0, 102, 204, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.valor-total .info-item {
    border-bottom: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.termos-container {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
}

.termos-container h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.termos-container p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.checkbox-termos {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #dee2e6;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.checkbox-termos:hover {
    border-color: var(--primary-color);
}

.checkbox-termos.checked {
    border-color: var(--success-color);
    background: rgba(40, 167, 69, 0.05);
}

.checkbox-termos input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    accent-color: var(--success-color);
}

.checkbox-termos label {
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
}

.btn-confirmar {
    background: linear-gradient(135deg, var(--success-color) 0%, #218838 100%);
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    width: 100%;
    margin-top: 1rem;
}

.btn-confirmar:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    color: white;
}

.btn-confirmar:disabled {
    background: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.step.completed {
    color: var(--success-color);
    font-weight: 600;
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.step.completed + .step-divider {
    background: var(--success-color);
}

.timer-container {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.timer-container h5 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.timer-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warning-color);
}

/* Estilos da página de reserva concluída */
.success-header {
    background: linear-gradient(135deg, var(--success-color) 0%, #1e7e34 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.success-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/pattern.png") repeat;
    opacity: 0.1;
}

.success-header .container {
    position: relative;
    z-index: 2;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.reserva-numero {
    background: rgba(0, 102, 204, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.reserva-numero h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.reserva-numero p {
    margin: 0.5rem 0 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.alert-info {
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.btn-action {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.btn-action:hover {
    background: #004499;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
}

.next-steps {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.next-steps h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.next-steps ul {
    margin: 0;
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* PIX Payment Page Styles */
.pix-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pix-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pix-header h2 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.pix-header .valor {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.qr-code-container {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #28a745;
}

.qr-code-container img {
    max-width: 250px;
    height: auto;
    border: 3px solid #28a745;
    border-radius: 10px;
    background: white;
    padding: 10px;
}

.pix-code {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #e9ecef;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.pix-code-text {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.btn-copy {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-copy.copied {
    background: #17a2b8;
}

.status-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 10px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.status-container.paid {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.status-container.expired {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.instructions {
    background: #e7f3ff;
    border: 1px solid #b8daff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.instructions h5 {
    color: #004085;
    margin-bottom: 1rem;
}

.instructions ol {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.instructions li {
    margin-bottom: 0.5rem;
    color: #004085;
}

.timer {
    text-align: center;
    margin: 1rem 0;
    font-size: 1.1rem;
    color: #dc3545;
    font-weight: bold;
}

/* Unidades Disponíveis Page Styles */
.busca-header {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9), rgba(0, 168, 204, 0.9));
    color: white;
    padding: 60px 0 20px;
    margin-top: 76px;
}

.acomodacao-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
}

.acomodacao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.acomodacao-image {
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.preco-destaque {
    background: linear-gradient(135deg, var(--accent-color), #ff8c42);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1rem;
}

.preco-total {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.preco-diaria {
    font-size: 1rem;
    opacity: 0.9;
}

.btn-reservar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-reservar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    color: white;
}

.sem-resultados {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    margin: 2rem 0;
}

.sem-resultados i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.filtros-busca {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tag-info {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.25rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carrinho-dropdown {
        right: 10px;
        min-width: 300px;
        max-width: 350px;
    }
    
    .confirmar-header {
        padding: 2rem 0 1rem;
    }
    
    .card-reserva {
        padding: 1.5rem;
    }
    
    .progress-steps {
        flex-direction: row; /* manter em linha no mobile */
        flex-wrap: nowrap;   /* não quebrar linha */
        justify-content: flex-start; /* alinhar à esquerda para scroll */
        gap: 0.5rem;
        overflow-x: auto;    /* permitir rolagem horizontal */
        -webkit-overflow-scrolling: touch; /* scroll suave no iOS */
    }

    /* impedir quebra automática dos itens */
    .progress-steps .step,
    .progress-steps .step-divider {
        flex: 0 0 auto;
    }

    /* manter divisor horizontal no mobile */
    .step-divider {
        width: 50px;
        height: 2px;
        margin: 0 0.5rem;
    }
    
    .success-header {
        padding: 2rem 0 1rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .btn-action {
        width: 100%;
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .carrinho-dropdown {
        right: 5px;
        left: 5px;
        min-width: auto;
        max-width: none;
    }
}
