/* ============================================================
   ARALINA RIZZO — KYOTO CLEAN LUXURY
   ============================================================ */

:root {
    --green: #0d2621;
    --gold: #c5a059;
    --black: #1a1a1a;
    --gray: #f2f2f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 🔹 TROCA DE FONTE DO TEXTO */
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--black);
    line-height: 1.7;
}

/* ================= HEADER ORIGINAL (HOTEIS) ================= */
header:not(.site-header) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 60px;
    background: var(--green);
}

header:not(.site-header) .logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

header:not(.site-header) nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-left: 40px;
    transition: color .3s;
}

header:not(.site-header) nav a:hover {
    color: var(--gold);
}

/* ================= HEADER NOVO PADRAO ================= */
.site-header {
    position: fixed; top: 0; width: 100%; padding: 25px 60px;
    background-color: var(--brand-green, #0d2621);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    display: flex; justify-content: space-between; align-items: center; z-index: 1000;
}
.site-header .logo img { height: 45px; width: auto; margin-top: 5px; }
.site-header nav.main-nav ul { display: flex; align-items: center; list-style: none; gap: 40px; margin: 0; padding: 0; }
.social-icons-header { display: flex; gap: 20px; margin-right: 15px; align-items: center; }
.site-header .social-icons-header a { color: #fff; font-size: 1.1rem !important; transition: 0.3s; text-decoration: none; margin: 0 !important; padding: 0 !important; text-transform: none; letter-spacing: normal; }
.site-header .social-icons-header a:hover { color: var(--gold); transform: translateY(-2px); }
.site-header nav.main-nav ul li a { text-decoration: none; color: #fff; font-size: 0.75rem; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; margin-left: 0 !important; }
.site-header nav.main-nav ul li a:hover { color: var(--gold); }
.btn-collection { border: 1px solid var(--gold); padding: 10px 22px; color: var(--gold) !important; font-weight: 500; transition: 0.4s; }
.btn-collection:hover { background: var(--gold); color: var(--green) !important; }

/* ================= BUSCA ================= */
.search-wrapper {
    margin-top: 95px !important;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

.search-container {
    background: white;
    border-radius: 4px;
    display: flex;
    width: 90%;
    max-width: 1100px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.search-group {
    flex: 1;
    padding: 25px;
    border-right: 1px solid #eee;
    position: relative;
}

/* ================= DROPDOWN PASSAGEIROS ================= */
.passengers-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 20px;
    z-index: 100;
}

.counter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.counter-row span {
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--black);
}

.btn-qty {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.btn-qty:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.search-group label {
    display: block;
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.search-group input {
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--brand-green, #0d2621);
    font-family: 'Playfair Display', serif;
    width: 100%;
}

.btn-search {
    background: var(--brand-green, #0d2621);
    color: var(--gold, #c5a059);
    border: none;
    padding: 0 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background: var(--gold, #c5a059);
    color: var(--brand-green, #0d2621);
}

/* ================= HOTÉIS ================= */
.hotel-section {
    max-width: 1200px;
    margin: 90px auto;
    padding: 0 30px;
}

.hotel-card {
    display: flex;
    gap: 60px;
    margin-bottom: 120px;
    align-items: center;
}

/* 🔹 EFEITO ALTERNADO (ESQUERDA / DIREITA) */
.hotel-card:nth-child(even) {
    flex-direction: row-reverse;
}

.hotel-img {
    flex: 1.2;
    overflow: hidden;
    position: relative;
}

.hotel-img img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform .6s;
}

.hotel-card:hover img {
    transform: scale(1.04);
}

.carousel-slide {
    overflow: hidden;
}


.hotel-info {
    flex: 1;
}

.hotel-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--green);
    margin-bottom: 25px;
}

.hotel-info p {
    font-family: 'Inter', sans-serif;
    color: #666;
    margin-bottom: 35px;
}

/* ================= BOTÃO RESERVA ================= */
.btn-reserva {
    display: inline-block;
    padding: 14px 36px;
    background: var(--green);
    color: #fff;
    border: 1px solid var(--green);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .75rem;
    cursor: pointer;
    transition: .35s;
}

.btn-reserva:hover {
    background: transparent;
    color: var(--green);
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        height: 70px;
    }

    .site-header nav.main-nav {
        display: none;
    }
    
    .site-header nav.main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--green);
        padding: 20px;
        z-index: 1000;
        border-bottom: 1px solid var(--gold);
    }
    
    .site-header nav.main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .site-header nav.main-nav a {
        margin: 15px 0;
        font-size: 1rem;
        text-align: center;
    }

    /* Busca Mobile */
    .search-wrapper {
        padding: 20px 0;
    }

    .search-container {
        flex-direction: column;
        width: 95%;
    }

    .search-group {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 20px;
    }

    .btn-search {
        padding: 20px;
        width: 100%;
    }

    /* Hotéis Mobile */
    .hotel-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .hotel-card {
        flex-direction: column !important;
        gap: 20px;
        margin-bottom: 60px;
    }

    .hotel-img {
        width: 100%;
        height: 350px;
    }

    .hotel-img img {
        height: 100%;
    }

    .hotel-info {
        text-align: center;
        padding: 0 10px;
    }

    .hotel-info h3 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hotel-info p {
        font-size: 1rem;
    }

    .btn-reserva {
        width: 100%;
        padding: 18px;
    }
    
    /* Footer Mobile */
    .footer-original {
        padding: 40px 20px;
    }
    
    .footer-logo-gold {
        font-size: 1.5rem;
        letter-spacing: 6px;
    }
    
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .site-footer {
        padding: 50px 20px 20px;
    }
}

/* ================= RODAPÉ (SITE-FOOTER) ================= */
.site-footer {
    background-color: #0d2621;
    color: #ffffff;
    border-top: 2px solid #c5a059;
    font-family: 'Inter', 'Montserrat', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    color: #c5a059;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-logo img {
    height: 45px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.brand-col p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #b0b0b0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #c5a059;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #c5a059;
}

.cards-title {
    margin-top: 25px;
    color: #c5a059 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px !important;
}

.cards-icons {
    display: flex;
    gap: 12px;
    font-size: 1.8rem;
    color: #c5a059;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 30px;
    text-align: center;
    font-size: 0.78rem;
    color: #777;
    max-width: 100%;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

/* ================= CAROUSEL FIX ================= */
.hotel-img {
    overflow: hidden !important;
    position: relative !important;
}

.carousel-track {
    display: flex !important;
    height: 100% !important;
    width: 100% !important;
    will-change: transform;
}

.carousel-slide {
    min-width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.carousel-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ======= CAROUSEL MOBILE RESET ======= */
@media (max-width: 768px) {
    .carousel-track {
        transition: transform 0.4s ease !important;
    }

    .carousel-slide {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        overflow: hidden !important;
    }

    .hotel-img {
        height: 280px !important;
        overflow: hidden !important;
        position: relative !important;
    }
}

@media (max-width: 768px) {
    /* Hide Date and Guest Search Inputs on Mobile */
    .search-group:nth-child(2),
    .search-group:nth-child(3) {
        display: none !important;
    }
    
    /* Replace 'Pesquisar' text with a magnifying glass icon */
    .btn-search {
        font-size: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .btn-search::before {
        content: '\f002';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 1.2rem;
    }
}

/* Stop double-tap zoom globally on mobile */
html {
    touch-action: manipulation;
}

/* ================= BOTÃO VOLTAR (MOBILE) ================= */
.btn-voltar-mobile {
    display: none;
    margin: 90px 20px -70px 20px;
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 900;
}
.btn-voltar-mobile i { margin-right: 8px; }
@media (max-width: 768px) {
    .btn-voltar-mobile { display: inline-block; }
}
