/* Global Styles */
:root {
    --primary-color: #f05a22;
    --text-color: #1a1f26;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --gray: #8c929c;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, .font-heading {
    font-family: 'Outfit', sans-serif;
}

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

/* Header - Glassmorphism */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-contact-black {
    background: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px; /* Modern pill shape */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.btn-contact-black:hover {
    background: transparent;
    color: #000;
    border-color: #000;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding: 180px 0;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 750px;
}

.hero h1 {
    font-size: 64px; /* Larger, more impact */
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Filter Pill - Glassmorphism */
.filter-container {
    position: relative;
    z-index: 10;
    margin-top: 50px;
    perspective: 1000px;
}

.filter-pill {
    background: var(--white);
    border-radius: 100px; /* Pill shape */
    padding: 10px 10px 10px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.filter-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.filter-group label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray);
    letter-spacing: 0.1em;
}

.filter-group select,
.filter-group input {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    outline: none;
    width: 100%;
}

.filter-divider {
    width: 1px;
    height: 35px;
    background: rgba(0, 0, 0, 0.08);
}

.btn-search {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 100px;
    padding: 18px 45px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(240, 90, 34, 0.3);
}

.btn-search:hover {
    background: #d84a1a;
    transform: scale(1.02);
    box-shadow: 0 15px 25px rgba(240, 90, 34, 0.4);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
    padding: 80px 0;
}

.property-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

.property-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.property-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #e2e8f0;
}

.property-status {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.property-details {
    padding: 25px;
}

.property-type {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.property-title {
    font-size: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-features {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray);
}

.property-features i {
    width: 16px;
    height: 16px;
}

.property-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
}

.btn-admin {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-admin:hover {
    background: #e2e8f0;
}

/* Diferenciais Section */
.diferenciais {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
}

.diferenciais-header {
    margin-bottom: 60px;
}

.diferenciais-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.diferenciais-header p {
    color: var(--gray);
    font-size: 18px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.diferencial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diferencial-icon {
    width: 60px;
    height: 60px;
    background: rgba(240, 90, 34, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.diferencial-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.diferencial-item p {
    color: var(--gray);
    font-size: 15px;
    max-width: 280px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 4px;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--text-color);
    color: var(--white);
    padding: 30px;
    text-align: left;
    width: 160px;
}

.experience-badge h4 {
    font-size: 32px;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 5px;
}

.experience-badge p {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
}

.about-label {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

.about h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 25px;
}

.about-stats {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.stat-item h4 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gray);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 42px;
    margin-bottom: 60px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
}

.stars {
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gray);
    letter-spacing: 1px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Banner - Mesh Gradient */
.cta-banner {
    background: var(--primary-color);
    background-image: 
        radial-gradient(at 0% 0%, hsla(20,100%,50%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(10,100%,40%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(30,100%,60%,1) 0, transparent 50%);
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    max-width: 600px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 500px;
}

.btn-cta {
    background: var(--white);
    color: var(--text-color);
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer Styles */
footer {
    background: #f8fafc;
    padding: 80px 0 40px;
    border-top: 1px solid #eef1f5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info .logo {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info p {
    color: var(--gray);
    font-size: 15px;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--gray);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #eef1f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eef1f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

@media (max-width: 992px) {
    .diferenciais-grid, .about-grid, .testimonials-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .footer-grid {
        text-align: center;
    }
    .footer-info .logo {
        justify-content: center;
    }
    .footer-info p {
        margin: 0 auto;
    }
}
/* Property Individual Page */
.property-page {
    background-color: #fff;
}

.property-container {
    padding: 40px 0 100px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 30px;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--gray);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .active {
    color: var(--text-color);
    font-weight: 600;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    height: 500px;
    margin-bottom: 50px;
    border-radius: 24px;
    overflow: hidden;
}

.gallery-main {
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.gallery-main:hover {
    transform: scale(1.02);
}

.gallery-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.gallery-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.gallery-item {
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    filter: brightness(0.8);
}

.gallery-item.more-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.gallery-item.more-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.gallery-item.more-images span {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 18px;
}

.gallery-item.placeholder {
    background-color: #f1f5f9;
}

/* Content Layout */
.property-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.property-tag {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.property-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 16px;
}

.header-price {
    text-align: right;
}

.price-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

/* Features Bar */
.property-features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.feature-info {
    display: flex;
    flex-direction: column;
}

.feature-label {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

.feature-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

/* Property Sections */
.property-section {
    margin-bottom: 60px;
}

.property-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
}

.description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    background: #f1f5f9;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-pill:hover {
    background: var(--primary-color);
    color: #fff;
}

.map-placeholder {
    height: 400px;
    background: #e2e8f0;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 1px solid #dcdcdc;
}

/* Sidebar */
.sidebar-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    position: sticky;
    top: 100px;
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    background: var(--text-color);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.btn-submit:hover {
    background: #000;
    transform: translateY(-2px);
}

.whatsapp-direct {
    text-align: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
}

.whatsapp-direct span {
    font-size: 12px;
    color: var(--gray);
    display: block;
    margin-bottom: 15px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

.share-card {
    position: static;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray);
}

.share-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .gallery-side {
        display: none;
    }
    .property-content-wrapper {
        grid-template-columns: 1fr;
    }
    .property-header {
        flex-direction: column;
        gap: 20px;
    }
    .header-price {
        text-align: left;
    }
    .property-features-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

.section-title {
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex; /* Always flex but hidden */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.close-lightbox:hover {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-counter {
    position: absolute;
    bottom: 40px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lightbox-counter span#current-img {
    color: #fff;
}
