:root {
    --primary-color: #006064;
    --secondary-color: #0097a7;
    --accent-color: #ffca28;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 80px; /* Adjusted size for better visibility */
    width: auto;
    object-fit: contain;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    padding: 10px; /* Garante área de clique */
    width: 44px; /* Tamanho mínimo de toque */
    height: 44px;
    text-align: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

    .nav-links.active {
        display: flex !important;
    }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1476514525535-07fb3b4ae5f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    flex: 1;
    width: 100%;
}

/* Features/About */
.about-section {
    text-align: center;
    padding: 4rem 0;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Hotel Grid */
.states-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--secondary-color);
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hotel-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.hotel-card:hover {
    transform: translateY(-5px);
}

.hotel-img {
    height: 200px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    cursor: pointer; /* Indica que é clicável */
    transition: opacity 0.3s;
}

.hotel-img:hover {
    opacity: 0.9;
}

.hotel-info {
    padding: 1.5rem;
}

.hotel-state {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

.hotel-name {
    font-size: 1.4rem;
    margin: 0.5rem 0;
    color: var(--text-color);
}

.hotel-desc {
    color: #666;
    margin-bottom: 1rem;
}

/* States Page Layout */
.states-page-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.states-menu {
    flex: 1;
    min-width: 250px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
}

.states-menu h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.states-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.state-btn {
    padding: 0.8rem;
    text-align: left;
    background: none;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    color: var(--text-color);
}

.state-btn:hover {
    background-color: #f0f0f0;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.state-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.state-content {
    flex: 3;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-height: 400px;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #888;
    gap: 1rem;
}

.selected-state-content {
    animation: fadeIn 0.5s ease-in;
}

.state-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    cursor: pointer; /* Indica que é clicável */
    transition: opacity 0.3s;
}

.state-hero-img:hover {
    opacity: 0.9;
}

.state-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.state-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-info h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.contact-item {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.legal {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
        padding: 1rem 0;
        text-align: center;
        gap: 0;
        z-index: 9999;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    .states-page-container {
        flex-direction: column;
    }

    .states-menu {
        max-height: 200px;
    }

    .lightbox-content {
        width: 95%;
    }
}
