/**
 * Thiago Bostock Imóveis - Estilo Principal
 * Design Premium Gold & Dark
 */

:root {
    --gold: #D4AF37;
    --gold-light: #F5D76E;
    --gold-dark: #B8860B;
    --black: #0a0a0a;
    --gray-dark: #121212;
    --gray-medium: #1f1f1f;
    --gray-light: #333333;
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--black) !important;
    color: var(--white) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 80px; /* Space for fixed header */
}

/* Remove WordPress defaults */
a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

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

/* Branding / Logo */
.site-branding {
    display: flex;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-box {
    width: 48px;
    height: 48px;
    background-color: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text-inner {
    color: var(--black);
    font-weight: 900;
    font-size: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.brand-creci {
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.main-navigation {
    display: none;
}

@media (min-width: 768px) {
    .main-navigation {
        display: block;
    }
}

.nav-list,
.nav-list li {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.2s ease;
}

.nav-list a:hover {
    color: var(--gold);
}

/* Fix WordPress default menu styles */
#primary-menu,
#primary-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--black);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--black);
}

.hero-section .container {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-section .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

.hero-content .text-gold {
    color: var(--gold);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Search Bar */
.search-bar-container {
    position: relative;
    z-index: 30;
    margin-top: -4rem;
}

.search-bar {
    background-color: var(--gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}

.search-bar form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.search-bar .form-group {
    flex: 1;
    min-width: 200px;
}

.search-bar label {
    display: block;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.search-bar input,
.search-bar select {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: var(--gold);
}

/* Property Cards */
.property-card {
    background: var(--gray-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.property-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.property-card img {
    transition: transform 0.8s ease;
}

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

.card-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.card-badges span {
    background-color: var(--gold);
    color: var(--black);
    font-size: 9px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-price span {
    color: var(--white);
    font-weight: 900;
    font-size: 1.125rem;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.property-card:hover .card-title {
    color: var(--gold);
}

.card-features {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 700;
}

.card-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 900;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-btn:hover {
    background-color: var(--gold);
    color: var(--black);
}

/* Services Section */
.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background-color: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Financing Section */
.financing-row {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    border-left: 4px solid var(--gold);
    padding: 1.25rem;
    border-radius: 0 15px 15px 0;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s ease;
}

.financing-row:hover {
    transform: translateX(5px);
}

.bank-logo {
    width: 48px;
    height: 48px;
    background-color: var(--black);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--gold);
}

/* Footer */
.site-footer {
    background-color: #0a0a0a;
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 1rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: var(--gold);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Typography Helpers */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; color: var(--black) !important; }
.border-gold { border-color: var(--gold) !important; }

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        padding: 2rem;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }
}
