/* Vista Livre RJ - Estilos Customizados */

/* Reset básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Dropdown de Autocomplete */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-height: 240px;
    overflow-y: auto;
    z-index: 50;
}

.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.autocomplete-item {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}

.autocomplete-item:hover {
    background: #eff6ff;
}

.autocomplete-item.disabled {
    color: #d1d5db;
}

.autocomplete-item.disabled:hover {
    background: #f9fafb;
}

/* Card de Imóvel */
.property-card {
    transition: all 0.3s ease;
}

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

.property-card:hover .property-image {
    transform: scale(1.1);
}

.property-image {
    transition: transform 0.7s ease;
}

/* Line clamp */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tabs underline */
.tab-active {
    color: #111827;
    position: relative;
}

.tab-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #111827;
}

/* Galeria de imagens */
.gallery-thumb {
    transition: all 0.2s;
    border: 2px solid transparent;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #f97316;
}

/* Hero overlay */
.hero-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.3), transparent, transparent);
}

/* Admin image grid */
.image-manager-item {
    position: relative;
    transition: all 0.2s;
}

.image-manager-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.toast-success { background: #16a34a; }
.toast-error { background: #dc2626; }
.toast-warning { background: #f59e0b; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-search-card {
        margin: 0 8px;
    }

    /* Touch-friendly carousel buttons */
    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    /* Responsive carousel cards */
    .featured-carousel-card {
        flex: 0 0 280px;
    }

    /* Reduce carousel wrapper padding on mobile */
    .featured-slider-wrapper {
        padding: 0 8px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* ============================================================
   MORAM CUSTOM LAYOUT STYLES
   ============================================================ */

/* Top Slideshow Banner */
.moram-slider-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #0f172a;
}
@media (max-width: 768px) {
    .moram-slider-container {
        height: 220px;
    }
}
.moram-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}
.moram-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Yellow Search Rows */
.moram-search-row {
    background-color: #fdf08c; /* bright light yellow */
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}
.moram-search-row.rounded-tl-none {
    border-top-left-radius: 0 !important;
}
.moram-search-row:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}
.moram-search-label {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    min-width: 90px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.moram-search-field {
    flex: 1;
    min-width: 130px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: #334155;
    outline: none;
}
.moram-search-btn {
    background-color: #1b305a;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    padding: 7px 20px;
    border-radius: 6px;
    transition: background 0.15s ease;
    border: none;
    cursor: pointer;
}
.moram-search-btn:hover {
    background-color: #2e4a82;
}

/* Mobile search bar adjustments */
@media (max-width: 640px) {
    .moram-search-row {
        padding: 12px;
        gap: 8px;
    }
    .moram-search-field {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 10px 12px;
        font-size: 14px;
    }
    .moram-search-btn {
        flex: 1 1 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Featured Properties Carousel */
.featured-slider-wrapper {
    position: relative;
    padding: 0 40px;
}
.featured-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 12px 4px 24px 4px;
}
.featured-carousel::-webkit-scrollbar {
    height: 6px;
}
.featured-carousel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.featured-carousel-card {
    flex: 0 0 320px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}
.featured-carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}
.carousel-btn:hover {
    background: #f8fafc;
    color: #1e293b;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* Concentric Informational Cards */
.concentric-section-bg {
    background-image: url('../fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.concentric-card-outer {
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 6rem;
    padding: 10px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.concentric-card-outer:hover {
    transform: translateY(-2px);
}

.concentric-card-middle {
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 5rem;
    padding: 10px;
    width: 100%;
    background: transparent;
}

.concentric-card-inner {
    border: 4px solid #ffffff;
    border-radius: 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    width: 100%;
    color: #ffffff;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .concentric-card-inner {
        padding: 3.5rem 3rem;
    }
}

/* Mobile: Reduce border-radius for concentric cards to prevent text clipping */
@media (max-width: 640px) {
    .concentric-card-outer {
        border-radius: 2.5rem;
        padding: 6px;
    }
    .concentric-card-middle {
        border-radius: 2rem;
        padding: 6px;
    }
    .concentric-card-inner {
        border-radius: 1.5rem;
        padding: 2rem 1.2rem;
        border-width: 3px;
    }
}

/* Estilo para os chevrons geométricos translúcidos da imagem */
.chevron-pattern-svg {
    width: 260px;
    height: 180px;
    opacity: 0.35;
    color: #ffffff;
    pointer-events: none;
    select-none: none;
}

/* Listra vertical do farol da Vista Livre */
.lighthouse-beam {
    width: 14px;
    height: 180px;
    background: linear-gradient(to right, #4c2f6d 0%, #a46ca4 25%, #d82e86 50%, #a46ca4 75%, #4c2f6d 100%);
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(216, 46, 134, 0.4);
    z-index: 5;
}


