/* AoCubo Real Estate Portal - Custom Styles */

:root {
    --primary-color: #610DAB; /* Brand Purple */
    --primary-dark: #4f0a8a;
    --secondary-color: #D2B589; /* Brand Gold */
    --accent-color: #610DAB;
    --text-dark: #000000; /* Brand Black */
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --brand-gold: #D2B589;
    --brand-purple: #610DAB;
    --brand-black: #000000;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 76px; /* Space for fixed navbar */
}

/* Navigation Styles */
.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
    color: var(--text-dark);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active {
    color: var(--brand-gold) !important;
}

/* WhatsApp link specific styling */
.whatsapp-link {
    background: var(--brand-gold);
    border: 1px solid var(--brand-gold);
    border-radius: 25px;
    padding: 0.5rem 1rem !important;
    color: var(--brand-black) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus,
.whatsapp-link:active {
    background: #c4a572 !important;
    color: var(--brand-black) !important;
    border-color: #c4a572 !important;
    transform: translateY(-1px);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.search-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.search-fields {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-button {
    flex-shrink: 0;
}

.btn-warning {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-black);
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #c4a572;
    border-color: #c4a572;
    color: var(--brand-black);
}

/* Specialist Button - Same style as search button */
.btn-gold-specialist {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-black);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-gold-specialist:hover,
.btn-gold-specialist:focus,
.btn-gold-specialist:active {
    background-color: #c4a572;
    border-color: #c4a572;
    color: var(--brand-black);
    transform: translateY(-1px);
    text-decoration: none;
}

/* Form Controls - Gold Theme Override */
.form-select {
    border-color: var(--border-color);
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(210, 181, 137, 0.25) !important;
    outline: 0 !important;
}

.form-select:hover {
    border-color: var(--brand-gold);
}

/* Override Bootstrap default focus colors */
.form-select:focus,
.form-control:focus,
select:focus,
input:focus,
textarea:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(210, 181, 137, 0.25) !important;
    outline: 0 !important;
}

/* Remove any purple/blue focus states */
.form-select:focus:not(.is-invalid),
.form-control:focus:not(.is-invalid) {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(210, 181, 137, 0.25) !important;
}

/* Active dropdown states */
.form-select:active,
.form-control:active {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(210, 181, 137, 0.25) !important;
}

/* Additional Bootstrap overrides for consistent gold theme */
.btn-outline-primary {
    color: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    color: var(--brand-black) !important;
}

.btn-primary {
    background-color: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    color: var(--brand-black) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #c4a572 !important;
    border-color: #c4a572 !important;
    color: var(--brand-black) !important;
}

/* Footer WhatsApp button styling */
.footer-whatsapp {
    font-size: inherit !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

.footer-whatsapp:hover {
    color: var(--brand-gold) !important;
    text-decoration: underline !important;
}

/* Footer black background override */
footer.bg-black,
.bg-black {
    background-color: #000000 !important;
}

/* Como Funciona Section */
.processo-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.processo-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.modalidades-box {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 2rem;
    border-radius: 1rem;
    color: white;
}

/* Property Cards - AoCubo Style */
.property-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(210, 181, 137, 0.15);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-gold);
}

.property-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--brand-gold);
    color: var(--brand-black);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 12px;
    line-height: 1.3;
}

.property-location {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: var(--brand-gold);
    font-size: 0.8rem;
}

.property-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.property-features {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex: 1;
    align-items: start;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #666;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 8px;
}

.feature i {
    color: var(--brand-gold);
    font-size: 0.75rem;
    width: 12px;
}

.property-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.property-actions .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.property-actions .btn-warning {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-black);
}

.property-actions .btn-warning:hover {
    background: #c4a572;
    border-color: #c4a572;
    transform: translateY(-1px);
}

.property-actions .btn-outline-secondary {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    border-color: #e0e0e0;
    color: #666;
    background: white;
}

.property-actions .btn-outline-secondary:hover {
    background: rgba(210, 181, 137, 0.1);
    border-color: var(--brand-gold);
    color: var(--brand-gold);
}

/* Legacy styles for backward compatibility */
.placeholder-image {
    height: 220px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.placeholder-image-large {
    height: 400px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

/* Unit Cards */
.unidade-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.unidade-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.unidade-card .card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
}

.unidade-card .card-body {
    padding: 1.5rem;
    flex: 1;
}

.unidade-card .card-footer {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

.unidade-details .detail-item {
    text-align: center;
    padding: 0.75rem 0;
}

.unidade-details .detail-item i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Empreendimento Header */
.empreendimento-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.empreendimento-info {
    background: white;
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    padding: 1rem 0;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Admin Styles */
.login-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    border: none;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Unit Cards with Carousel */
.unidade-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unidade-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.unidade-card .carousel {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    overflow: hidden;
}

.unidade-card .carousel-item img {
    border-radius: 0;
    transition: transform 0.3s ease;
}

.unidade-card:hover .carousel-item img {
    transform: scale(1.05);
}

.unidade-card .carousel-control-prev,
.unidade-card .carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
}

.unidade-card .carousel-control-prev {
    left: 10px;
}

.unidade-card .carousel-control-next {
    right: 10px;
}

.unidade-card:hover .carousel-control-prev,
.unidade-card:hover .carousel-control-next {
    opacity: 1;
}

.unidade-card .carousel-indicators {
    margin-bottom: 10px;
}

.unidade-card .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 3px;
    background-color: rgba(255,255,255,0.5);
}

.unidade-card .carousel-indicators .active {
    background-color: white;
}

.placeholder-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.unidade-details .detail-item {
    padding: 0.5rem;
    text-align: center;
}

.unidade-details .detail-item i {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Quem Somos Page */
.content-block {
    margin-bottom: 3rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.bg-primary-light {
    background-color: rgba(52, 58, 64, 0.1);
}

.bg-success-light {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.icon-feature {
    padding: 1rem;
}

/* Como Funciona Section */
.processo-step {
    position: relative;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(210, 181, 137, 0.15) 0%, rgba(210, 181, 137, 0.05) 100%);
    border: 1px solid rgba(210, 181, 137, 0.3);
    transition: all 0.3s ease;
}

.processo-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}

.processo-step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-gold) 0%, #c4a572 100%);
    color: var(--brand-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.processo-step-title {
    color: var(--brand-black);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-top: 0.5rem;
}

.processo-step-description {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.processo-header {
    text-align: center;
    margin-bottom: 3rem;
}

.processo-header h2 {
    color: var(--brand-black);
    font-weight: 700;
    margin-bottom: 1rem;
}

.processo-header .lead {
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.processo-intro {
    background: linear-gradient(135deg, rgba(210, 181, 137, 0.2) 0%, rgba(210, 181, 137, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--brand-gold);
}

.processo-intro h3 {
    color: var(--brand-black);
    font-weight: 600;
    margin-bottom: 1rem;
}

.processo-intro p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.processo-intro p:last-child {
    margin-bottom: 0;
}

/* Property Detail Page - AoCubo Style */
.property-hero {
    position: relative;
}

.property-hero-image {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.property-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: end;
    padding-bottom: 60px;
}

.property-hero-placeholder {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #c4a572 100%);
    padding: 60px 0;
    color: var(--brand-black);
}

.property-hero-content {
    color: white;
}

.property-badge-large {
    background: var(--brand-gold);
    color: var(--brand-black);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 16px;
}

.property-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
}

.property-hero-location {
    font-size: 1.125rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-hero-location i {
    color: var(--brand-gold);
}

.property-hero-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-gold);
}

.property-info {
    background: #f8f9fa;
}

.property-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.property-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.property-description .description-short {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 20px;
    margin-bottom: 20px !important;
}

.property-description .description-short p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0;
}

.property-description .description-full {
    padding-top: 4px;
}

.property-description .description-full p {
    margin-bottom: 16px;
}

.property-description .description-full p:last-child {
    margin-bottom: 0;
}

.property-filters .form-select {
    min-width: 150px;
    border-radius: 8px;
    border-color: #e0e0e0;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.unit-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(210, 181, 137, 0.15);
}

.unit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-gold);
}

.unit-card-header {
    position: relative;
    height: 200px;
    background: #f8f9fa;
}

.unit-image {
    height: 100%;
    overflow: hidden;
}

.unit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unit-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--brand-gold);
    color: var(--brand-black);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.unit-card-body {
    padding: 24px;
}

.unit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 8px;
}

.unit-type {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.unit-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #666;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
}

.feature-item i {
    color: var(--brand-gold);
    font-size: 0.75rem;
}

.unit-price {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 20px;
}

.btn-unit {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-black);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-unit:hover {
    background: #c4a572;
    border-color: #c4a572;
    transform: translateY(-1px);
}

.no-units {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.property-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-card h4 {
    color: var(--brand-black);
    font-weight: 600;
    margin-bottom: 24px;
}

.info-grid {
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.info-label {
    color: #666;
    font-size: 0.875rem;
}

.info-value {
    color: var(--brand-black);
    font-weight: 600;
    margin-left: auto;
}

/* Forms - Gold Theme */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(210, 181, 137, 0.25) !important;
    outline: 0;
}

.form-control:hover {
    border-color: var(--brand-gold);
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--brand-gold) !important;
    box-shadow: 0 0 0 0.2rem rgba(210, 181, 137, 0.25) !important;
    outline: 0;
}

.form-select:hover {
    border-color: var(--brand-gold);
}

/* Tables - Gold Theme */
.table {
    font-size: 0.9rem;
}

.table th {
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 0.75rem;
}

.table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(210, 181, 137, 0.05);
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
}

.card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

/* Pagination - Gold Theme */
.pagination .page-link {
    color: var(--brand-black);
    border-color: var(--border-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: var(--brand-black);
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.pagination .page-item.active .page-link {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--brand-black);
}

.pagination .page-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

/* Badges */
.badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-box {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modalidades-box {
        margin-top: 2rem;
    }
    
    .empreendimento-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .search-box .row > div {
        margin-bottom: 0.5rem;
    }
    
    .search-box .col-md-4 {
        margin-top: 0.5rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-lg-custom {
    box-shadow: var(--shadow-lg);
}

/* Property Carousel Styles */
.property-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-carousel:hover .carousel-controls {
    opacity: 1;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-carousel:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--brand-gold);
    transform: scale(1.2);
}

/* Empreendimento Page Gallery */
.gallery-main {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnail.active {
    border-color: var(--brand-gold);
}

.gallery-thumbnail:hover {
    border-color: var(--brand-gold);
    opacity: 0.8;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Print Styles */
@media print {
    .navbar, .modal, .btn, footer {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
    
    .hero-title, .hero-subtitle {
        color: black !important;
    }
}
