/* ========================================
   ESTILOS COMPARTILHADOS - PARAÍBA TURISMO
   ======================================== */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.header .nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    overflow: visible;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.logo i {
    margin-right: 8px;
    color: #ff6b35;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ff6b35;
}

.nav a.active {
    color: #ff6b35;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ff6b35;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Footer Styles */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-logo i {
    margin-right: 8px;
    color: #ff6b35;
}

.footer-description {
    color: #a0aec0;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.footer .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .social-link:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0aec0;
    font-size: 14px;
}

.contact-item i {
    color: #ff6b35;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #ff6b35;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav ul {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header .container {
        justify-content: space-between;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 30px;
    }
    
    .nav a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Utility Classes */
.highlight {
    color: #ff6b35;
}

.highlight-text {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.6;
    max-width: 550px;
    font-weight: 400;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}


/* ==================== ESTILOS ESPECÍFICOS DA PÁGINA ==================== */

body {
    font-family: 'Inter', sans-serif;
    color: #1a202c;
}

.locais-hero {
    position: relative;
    padding: 120px 0 40px;
    overflow: hidden;
}

.locais-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.35)),
        url('./img/674ba1294cfb843914fa88081e8aabde2fb97006-1600x1066.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    animation: fadeInUp 1s ease-out; 
}

.locais-hero .container { position: relative; z-index: 1; color: #fff; }
.page-title { color: #fff; font-family: 'Playfair Display', serif; font-size: 2.8rem; }
.page-title .highlight { color: #ff6b35; }
.page-subtitle { color: #e2e8f0; }

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #4a5568;
    max-width: 720px;
}

.filters {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}

.auth-bar { grid-column: 1/-1; display:flex; align-items:center; justify-content: flex-end; gap:8px; }
.btn-secondary { background:#e2e8f0; color:#111827; border:0; padding:8px 12px; border-radius:10px; cursor:pointer; font-weight:600; }
.btn-secondary:hover { filter: brightness(0.98); }

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4a5568;
    margin-bottom: 6px;
}

.filter-group input,
.filter-group select {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    outline: none;
}

.locais-grid-section {
    padding: 40px 0 80px;
    background: #ffffff;
}

.ecosistema-section { padding: 32px 0; background: #f8fafc; }
.ecosistema-section h2 { font-family: 'Playfair Display', serif; margin: 0 0 8px 0; }
.ecosistema-subtitle { color:#475569; margin-bottom:16px; }
.cadastro-form { background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:16px; }
.cadastro-accordion { background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:0; overflow:hidden; }
.cadastro-summary { list-style:none; padding:14px 16px; cursor:pointer; font-weight:700; background:#fff; }
.cadastro-summary::-webkit-details-marker { display:none; }
.cadastro-accordion[open] .cadastro-summary { border-bottom:1px solid #e2e8f0; }
.form-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; }
.form-group { display:flex; flex-direction:column; }
.form-group label { font-size:12px; font-weight:700; text-transform:uppercase; color:#475569; margin-bottom:6px; }
.form-group input,
.form-group select,
.form-group textarea { padding:12px 14px; border:1px solid #e2e8f0; border-radius:12px; background:#fff; outline:none; }
.form-span-2 { grid-column: span 2; }
.form-actions { display:flex; align-items:center; gap:12px; margin-top:12px; }
.btn-primary { background:#ff6b35; color:#fff; border:0; padding:12px 16px; border-radius:12px; cursor:pointer; font-weight:700; }
.btn-primary:hover { filter: brightness(0.95); }
.form-feedback { color:#059669; font-weight:600; }

/* Location input group styles */
.location-input-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.location-input-group input {
    flex: 1;
    min-width: 0; /* Permite que o input encolha */
}

.location-input-group button {
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 14px;
    flex-shrink: 0; /* Evita que o botão encolha */
}

.form-help {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
    display: block;
    line-height: 1.4;
}

/* Responsivo para telas menores */
@media (max-width: 640px) {
    .location-input-group {
        flex-direction: column;
    }
    
    .location-input-group button {
        width: 100%;
    }
}

.locais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.local-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    cursor: pointer;
}

.local-card:hover { 
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.local-cover { height: 160px; overflow: hidden; }
.local-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.local-content { padding: 16px; }
.local-title { font-weight: 700; margin: 0 0 6px 0; }
.local-rating { display:none; }
.local-meta { color: #64748b; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.local-tags { display: block; margin-top: 10px; }
.tag {
    display: inline-block;
    font-size: 13px;
    background: transparent;
    color: #334155;
    padding: 0;
    border-radius: 0;
}
.tag::before { content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 6px; color: #ff6b35; }
.tag::after { content: '\f10e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 6px; color: #ff6b35; }

.footer { padding: 24px 0; background: #f8fafc; color: #475569; text-align: center; }

@media (max-width: 768px) {
    .filters { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-span-2 { grid-column: auto; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilos para o card "Ver minha loja" */
.view-store-section {
    margin: 24px 0;
}

.view-store-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.view-store-content h3 {
    color: #0369a1;
    font-size: 20px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.view-store-content p {
    color: #0f172a;
    margin: 0 0 16px 0;
    font-size: 14px;
}

.view-store-content .btn-primary {
    background: #0ea5e9;
    border-color: #0ea5e9;
}

.view-store-content .btn-primary:hover {
    background: #0284c7;
    border-color: #0284c7;
} 


