/* DIOGO RODRIGUES - REAL ESTATE PREMIUM DESIGN SYSTEM */

:root {
    --kw-red: #b40101;
    --kw-red-hover: #8f0101;
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --bg-card: #1e1e1e;
    --bg-light: #ffffff;
    --bg-offwhite: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #f4f4f5;
    --text-light-muted: #a1a1aa;
    --border-dark: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--bg-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--kw-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--kw-red);
    color: white;
    box-shadow: 0 4px 14px rgba(180, 1, 1, 0.3);
}

.btn-primary:hover {
    background-color: var(--kw-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 1, 1, 0.4);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--bg-dark);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    background-color: var(--bg-offwhite);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-dark);
    border: 2px solid var(--bg-dark);
}

.btn-outline:hover {
    background-color: var(--bg-dark);
    color: white;
}

.btn-block {
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--bg-dark);
    line-height: 1;
}

.logo-kw {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--kw-red);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    color: var(--bg-dark);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--kw-red);
    transition: var(--transition-fast);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--bg-dark);
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    background-color: var(--kw-red);
    color: white !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bg-dark);
    cursor: pointer;
}

.mobile-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-md);
}

.mobile-links.active {
    display: flex;
}

.mobile-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-dark);
    font-weight: 500;
    color: var(--bg-dark);
}

.nav-cta-mobile {
    margin-top: 1rem;
    background-color: var(--kw-red);
    color: white !important;
    text-align: center;
    padding: 1rem;
    border-radius: 4px;
    border: none !important;
}

/* HERO SECTION (Premium Look) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem 2rem;
    /* padding top accounts for navbar */
    background-color: var(--bg-darker);
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(180, 1, 1, 0.15) 0%, transparent 40%), radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge-premium {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    animation: fadeInDown 0.8s ease backwards;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: white;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-highlight {
    color: var(--kw-red);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    animation: fadeIn 1s ease 1s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-light-muted);
}

.lead-generator {
    padding: 6rem 0;
    background-color: var(--bg-offwhite);
    position: relative;
}

.lead-generator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--kw-red), #ff4d4d);
}

.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.lead-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.benefits-list i {
    color: var(--kw-red);
    font-size: 1.5rem;
}

.lead-form-container {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-dark);
}

.lead-form-container h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--bg-offwhite);
}

input:focus {
    outline: none;
    border-color: var(--bg-dark);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.about {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.photo-placeholder {
    font-size: 8rem;
    color: white;
    opacity: 0.5;
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--bg-dark);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.kw-logo-small {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--kw-red);
}

.about-content h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(180, 1, 1, 0.1);
    color: var(--kw-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature p {
    margin-bottom: 0 !important;
    font-size: 0.95rem;
}

.footer {
    background-color: var(--bg-darker);
    color: var(--text-light-muted);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--kw-red);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 992px) {

    .lead-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .lead-form-container {
        padding: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #20b858;
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
}
/* PORTFOLIO SECTION */
.portfolio {
    padding: 6rem 0;
    background-color: var(--bg-offwhite);
}

.portfolio-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-dark);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

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

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

.property-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    backdrop-filter: blur(5px);
}

.status-sale {
    background-color: rgba(180, 1, 1, 0.9);
}

.status-sold {
    background-color: rgba(30, 30, 30, 0.9);
}

.property-content {
    padding: 2rem;
}

.property-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--kw-red);
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--bg-dark);
    line-height: 1.4;
}

.property-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-location i {
    color: var(--text-light-muted);
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-dark);
    margin-bottom: 1.5rem;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.property-features i {
    color: var(--kw-red);
}
