:root {
    --deep-teal: #1a4d4c;
    --sage-green: #7b9c8c;
    --warm-sand: #e5d9cc;
    --off-white: #f8f6f2;
    --charcoal: #2d2f31;
    --stone-gray: #6b6f72;
    --clay-red: #c45d42;
    --cream: #fff9f0;
    --fog: #e8ecef;
    --light-clay: #f0e4dd;
    --bg: var(--off-white);
    --card: var(--cream);
    --muted: var(--stone-gray);
    --accent: var(--deep-teal);
    --accent-600: #0e3a39;
    --glass: rgba(255, 255, 255, 0.9);
    --radius: 0px;
    --radius-sm: 0px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    --max-width: 1400px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: var(--deep-teal) var(--off-white);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--off-white);
    color: var(--charcoal);
    line-height: 1.5;
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: -0.01em;
    padding-top: 90px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--deep-teal);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clay-red);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 80px;
    width: 100%;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--deep-teal);
    overflow: visible !important;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo {
    width: 45px;
    height: 45px;
    background: var(--deep-teal);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    letter-spacing: -0.02em;
    border-radius: 0;
    box-shadow: 3px 3px 0 var(--clay-red);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--clay-red);
}

.title h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-teal);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}

.title a {
    text-decoration: none;
    color: inherit;
}

.subtitle {
    margin: 0;
    color: var(--stone-gray);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
}

.nav-list {
    display: flex;
    gap: 5px;
    list-style: none;
    height: 100%;
    align-items: center;
}

.nav-list a {
    color: var(--charcoal);
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list a:hover {
    border-bottom-color: var(--deep-teal);
    color: var(--deep-teal);
    background: rgba(26, 77, 76, 0.03);
}

#language-select {
    padding: 6px 12px;
    border: 2px solid var(--deep-teal);
    background: transparent;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    color: var(--deep-teal);
    margin-left: 10px;
}

.nav-actions {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: visible !important;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.login-btn {
    background: transparent;
    border: 2px solid var(--deep-teal);
    padding: 8px 22px;
    color: var(--deep-teal);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font);
    line-height: normal;
    border-radius: 0 !important;
}

.login-btn:hover {
    background: var(--deep-teal);
    color: white;
}

.login-btn.logged-in {
    background: var(--deep-teal);
    color: white;
    padding-right: 35px;
    position: relative;
    border: 2px solid var(--deep-teal);
    border-radius: 0 !important;
}

.login-btn.logged-in::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    transition: transform 0.2s ease;
    color: white;
}

.login-btn.logged-in.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.login-btn.logged-in:hover {
    background: transparent;
    color: var(--deep-teal);
}

.login-btn.logged-in:hover::after {
    color: var(--deep-teal);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 3px solid var(--deep-teal);
    min-width: 200px;
    box-shadow: 8px 8px 0 var(--light-clay);
    z-index: 1001;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border-radius: 0 !important;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: dropdownIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.dropdown-item {
    display: block;
    padding: 14px 20px;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--fog);
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
    border-radius: 0 !important;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--light-clay);
    color: var(--deep-teal);
    padding-left: 28px;
}

.dropdown-item .emoji {
    margin-right: 8px;
    font-size: 1rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--deep-teal);
    padding: 8px;
    cursor: pointer;
    color: var(--deep-teal);
    min-width: 44px;
    min-height: 44px;
    border-radius: 0;
}

.hero {
    position: relative;
    height: 70vh;
    min-height: 550px;
    max-width: var(--max-width);
    margin: 0 auto 100px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--deep-teal) 0%, transparent 70%),
                url('https://www.vagamundos.pt/wp-content/uploads/2024/01/62-1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    padding: 0;
    z-index: 2;
}

.hero h2 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
    max-width: 450px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

.cta-btn {
    display: inline-block;
    background: var(--clay-red);
    color: white;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--deep-teal);
}

.cta-btn:hover {
    background: #b04d32;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--deep-teal);
}

.search-section {
    margin: 0 auto 100px;
    max-width: 900px;
    padding: 0 30px;
}

.search-row {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: white;
    border: 3px solid var(--deep-teal);
    box-shadow: 5px 5px 0 var(--light-clay);
}

.search-wrapper {
    position: relative;
    flex: 2;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    width: 20px;
    height: 20px;
    color: var(--stone-gray);
}

#search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: none;
    background: white;
    font-size: 1rem;
    font-weight: 400;
}

#search-input:focus {
    outline: none;
    background: var(--off-white);
}

.select-wrapper {
    flex: 1;
    border-left: 3px solid var(--deep-teal);
}

.select-wrapper select {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-wrapper select:focus {
    outline: none;
    background: var(--off-white);
}

main {
    max-width: var(--max-width);
    margin: 0 auto 120px;
    padding: 0 30px;
    margin-top: 90px;
}

section {
    margin-bottom: 120px !important;
    scroll-margin-top: 100px;
}

section:last-of-type {
    margin-bottom: 0 !important;
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
    border-bottom: 4px solid var(--deep-teal);
    padding-bottom: 20px;
    position: relative;
    width: 100%;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--clay-red);
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--deep-teal);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--stone-gray);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 600px;
}

.recomendacoes-grid,
#eventos-grid,
#recomendacoes-grid,
.destaque-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin: 40px 0;
    width: 100%;
}

.destaque-grid {
    grid-template-columns: repeat(4, 1fr);
}

.recomendacao-card,
.destaque-card,
.destino-card {
    background: white;
    border: 3px solid var(--deep-teal);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    min-height: 450px;
    cursor: pointer;
    width: 100%;
}

.recomendacao-card::before,
.destaque-card::before,
.destino-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: var(--light-clay);
    z-index: -1;
    transition: all 0.3s ease;
}

.recomendacao-card:hover,
.destaque-card:hover,
.destino-card:hover {
    transform: translate(-5px, -5px);
    border-color: var(--clay-red);
}

.recomendacao-card:hover::before,
.destaque-card:hover::before,
.destino-card:hover::before {
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    background: var(--clay-red);
    opacity: 0.15;
}

.card-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
    border-bottom: 3px solid var(--deep-teal);
}

.recomendacao-img,
.destino-img,
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recomendacao-card:hover .recomendacao-img,
.destaque-card:hover .card-image,
.destino-card:hover .destino-img {
    transform: scale(1.05);
}

.recomendacao-content,
.destino-content,
.card-body {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recomendacao-content h3,
.destino-content h3,
.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--deep-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recomendacao-meta,
.destino-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.recomendacao-tag {
    background: var(--clay-red);
    color: white;
    padding: 4px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.clicks-count {
    background: var(--fog);
    color: var(--deep-teal);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.clicks-count::before {
    content: '👁';
    font-size: 0.8rem;
}

.recomendacao-desc,
.destino-desc {
    color: var(--stone-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recomendacao-btn,
.destino-btn {
    display: inline-block;
    background: transparent;
    color: var(--deep-teal);
    padding: 10px 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.2s ease;
    border-bottom: 2px solid var(--deep-teal);
    align-self: flex-start;
    margin-top: auto;
}

.recomendacao-btn:hover,
.destino-btn:hover {
    color: var(--clay-red);
    border-bottom-color: var(--clay-red);
    padding-left: 8px;
}

.destaque-card {
    min-height: 450px;
    text-align: center;
}

.destaque-icon {
    width: 60px;
    height: 60px;
    margin: 30px auto 15px;
    background: var(--clay-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.destaque-card:hover .destaque-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--deep-teal);
}

.card-body p {
    color: var(--stone-gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.card-clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 76, 0.9), rgba(196, 93, 66, 0.9));
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.card-clickable:hover .hover-overlay {
    opacity: 1;
}

.hover-text {
    background: white;
    color: var(--deep-teal);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 24px;
    transform: translateY(20px) scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 4px 4px 0 var(--deep-teal);
    border: 2px solid white;
}

.card-clickable:hover .hover-text {
    transform: translateY(0) scale(1);
}

.preco-badge,
.sem-imagem-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--clay-red);
    color: white;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    border: 2px solid white;
    box-shadow: 2px 2px 0 var(--deep-teal);
}

.sem-imagem-badge {
    background: var(--charcoal);
    right: auto;
    left: 15px;
}

.data-badge {
    color: var(--clay-red);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.data-badge::before {
    font-size: 0.9rem;
}

.localizacao {
    font-size: 0.85rem;
    color: var(--stone-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.localizacao::before {
    font-size: 0.9rem;
}

.preco-tag {
    background: var(--deep-teal);
    color: white;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 2px 2px 0 var(--clay-red);
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.popup-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 550px;
    border: 4px solid var(--deep-teal);
    box-shadow: 10px 10px 0 var(--clay-red);
    z-index: 2001;
    animation: popupIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--clay-red);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
    border: 2px solid white;
}

.popup-close:hover {
    background: var(--deep-teal);
    transform: rotate(90deg);
}

.popup-header {
    padding: 30px 30px 15px;
    border-bottom: 3px solid var(--deep-teal);
}

.popup-header h3 {
    font-size: 1.8rem;
    color: var(--deep-teal);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    padding-right: 40px;
    line-height: 1.2;
}

.popup-body {
    padding: 25px 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.popup-detalhes-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 3px solid var(--deep-teal);
    margin-bottom: 20px;
}

.popup-info-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--fog);
}

.popup-info-label {
    color: var(--stone-gray);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-info-valor {
    color: var(--deep-teal);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.popup-preco-badge {
    background: var(--clay-red);
    color: white;
    padding: 4px 15px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
}

.popup-descricao {
    margin-top: 20px;
    padding: 20px;
    background: var(--off-white);
    border-left: 5px solid var(--clay-red);
}

.popup-descricao p {
    margin: 0;
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

.popup-footer {
    padding: 20px 30px;
    background: var(--off-white);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 3px solid var(--deep-teal);
}

.popup-btn {
    padding: 12px 30px;
    border: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popup-btn-fechar {
    background: transparent;
    border: 2px solid var(--stone-gray);
    color: var(--stone-gray);
}

.popup-btn-fechar:hover {
    border-color: var(--clay-red);
    color: var(--clay-red);
}

.popup-btn-acao {
    background: var(--deep-teal);
    color: white;
    border: 2px solid var(--deep-teal);
}

.popup-btn-acao:hover {
    background: transparent;
    color: var(--deep-teal);
}

.popup-spinner {
    border: 4px solid var(--fog);
    border-top: 4px solid var(--deep-teal);
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

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

.site-footer {
    margin-top: 150px;
    padding: 70px 30px;
    background: var(--deep-teal);
    color: white;
    border-top: 6px solid var(--clay-red);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.footer-links a:hover {
    border-bottom-color: var(--clay-red);
    color: var(--clay-red);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1200px) {
    .recomendacoes-grid,
    #eventos-grid,
    #recomendacoes-grid,
    .destaque-grid {
        gap: 30px;
    }
    
    .hero h2 {
        font-size: 3.2rem;
    }
}

@media (max-width: 1024px) {
    .recomendacoes-grid,
    #eventos-grid,
    #recomendacoes-grid,
    .destaque-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    section {
        margin-bottom: 100px !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        height: 70px;
        padding: 0 20px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .title h1 {
        font-size: 1.1rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        border-bottom: 3px solid var(--deep-teal);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav.open {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 5px;
        height: auto;
    }
    
    .nav-list a {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 12px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .nav-list a:hover {
        border-left-color: var(--deep-teal);
        border-bottom-color: transparent;
    }
    
    #language-select {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }
    
    .nav-actions {
        width: 100%;
    }
    
    .user-dropdown {
        width: 100%;
    }
    
    .login-btn {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 10px;
        box-shadow: 4px 4px 0 var(--light-clay);
    }
    
    .hero {
        height: 60vh;
        min-height: 450px;
        margin-bottom: 80px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .search-row {
        flex-direction: column;
    }
    
    .select-wrapper {
        border-left: none;
        border-top: 3px solid var(--deep-teal);
    }
    
    section {
        margin-bottom: 80px !important;
        scroll-margin-top: 80px;
    }
    
    .recomendacao-card,
    .destaque-card,
    .destino-card {
        min-height: 420px;
    }
}

@media (max-width: 600px) {
    .recomendacoes-grid,
    #eventos-grid,
    #recomendacoes-grid,
    .destaque-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    section {
        margin-bottom: 70px !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .title h1 {
        font-size: 1rem;
    }
    
    .subtitle {
        font-size: 0.65rem;
    }
    
    .hero {
        min-height: 400px;
        padding: 0 20px;
        margin-bottom: 60px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .cta-btn {
        padding: 12px 28px;
        font-size: 0.8rem;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .recomendacao-card,
    .destaque-card,
    .destino-card {
        min-height: 400px;
    }
    
    .recomendacao-content h3,
    .destino-content h3,
    .card-body h3 {
        font-size: 1.2rem;
    }
    
    .hover-text {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .popup-card {
        width: 95%;
    }
    
    .popup-header h3 {
        font-size: 1.4rem;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .popup-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .popup-btn {
        width: 100%;
        text-align: center;
    }
    
    .site-footer {
        margin-top: 100px;
        padding: 50px 20px;
    }
    
    .footer-links {
        gap: 25px;
        flex-direction: column;
    }
    
    .footer-links a {
        display: block;
    }
}

.muted {
    color: var(--muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#perfil-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 3px solid var(--deep-teal);
    min-width: 200px;
    box-shadow: 8px 8px 0 var(--light-clay);
    z-index: 1001;
    flex-direction: column;
    border-radius: 0 !important;
}

#perfil-dropdown.show {
    display: flex !important;
    animation: dropdownIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#perfil-dropdown .dropdown-item {
    display: block;
    padding: 14px 20px;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--fog);
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
    border-radius: 0 !important;
}

#perfil-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

#perfil-dropdown .dropdown-item:hover {
    background: var(--light-clay);
    color: var(--deep-teal);
    padding-left: 28px;
}

.nav-actions {
    position: relative;
}

@media (max-width: 768px) {
    #perfil-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
        box-shadow: 4px 4px 0 var(--light-clay);
    }
}

.pop-badge {
    background: var(--clay-red);
    color: white;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
}