@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --remax-blue: #003DA5;
    --remax-red: #E11B22;
    --remax-black: #000000;
    --remax-white: #FFFFFF;
    --dark-grey: #333333;
    --bg-gradient: linear-gradient(135deg, #003DA5 0%, #000000 100%);
    --bg-gradient-red: linear-gradient(135deg, #E11B22 0%, #000000 100%);
    --light-grey: #F8F9FC;
    --border-color: #ECEEF4;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-premium: 0 15px 35px rgba(0, 61, 165, 0.08);
    --font-heading: 'Geist', sans-serif;
    --font-body: 'Geist', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--light-grey);
    line-height: 1.5;
    font-size: 14px;
}

/* Full Width Hero */
.hero-full {
    height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-full h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-full p {
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Modern Search Bar */
.search-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px;
    border-radius: 60px;
    width: 90%;
    max-width: 900px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.2);
}

.search-container input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 0.95rem;
    outline: none;
}

.search-container input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-container .btn-search {
    background: var(--remax-red);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-container .btn-search:hover {
    background: white;
    color: var(--remax-red);
    transform: scale(1.05);
}

/* Premium Property UI Components */
.remax-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}
.remax-badge-blue { background: #E6F0FF; color: var(--remax-blue); }
.remax-badge-red { background: #FFE6E6; color: var(--remax-red); }

.detail-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: var(--shadow-premium);
}

.detail-header {
    background: #fcfcfc;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--remax-blue);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.detail-body {
    padding: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-grey);
}

.price-tag {
    font-size: 24px;
    font-weight: 900;
    color: var(--remax-blue);
    margin: 8px 0;
    font-family: var(--font-heading);
}

/* Animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.container-full {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Better Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.property-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

.property-img {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--remax-red);
    color: white;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.property-content {
    padding: 25px;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--remax-blue);
    margin-bottom: 5px;
}

.property-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.property-info-row {
    display: flex;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Navbar sleek over hero */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
    background: white;
    height: 70px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white; /* Initial white for transparent hero */
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    color: var(--remax-black);
}

.nav-logo h2 {
    color: var(--remax-white);
    font-size: 22px;
    letter-spacing: -1px;
}

.nav-logo h2 span {
    color: var(--remax-red);
}

.navbar.scrolled .nav-logo h2 {
    color: var(--remax-blue);
}

/* Quick Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--remax-red);
    border-color: var(--remax-red);
    transform: translateY(-3px);
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
}

/* Premium Admin UI */
.admin-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.detail-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.detail-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-2px);
}

.detail-header {
    background: #FAFAFB;
    padding: 18px 25px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 800;
    color: var(--remax-blue);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-body {
    padding: 30px;
}

/* Premium Inputs */
.form-control, .premium-input {
    width: 100%;
    padding: 12px 15px;
    background: #FFFFFF;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.form-control:focus, .premium-input:focus {
    border-color: var(--remax-blue);
    box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.1);
}

label.stat-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 13px;
    color: #4B5563;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    font-size: 13px;
}

.btn-primary {
    background: var(--remax-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 61, 165, 0.1);
}

.btn-primary:hover {
    background: #002d7a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 61, 165, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--remax-blue);
    color: var(--remax-blue);
    background: rgba(0, 61, 165, 0.02);
}

/* Layout Utils */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

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

.admin-card, .detail-card {
    animation: fadeIn 0.5s ease forwards;
}
/* Navbar Buttons */
.btn-login-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid white;
    color: white !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition);
}
.btn-login-nav:hover {
    background: white;
    color: var(--remax-blue) !important;
}

.btn-publish-nav {
    background: var(--remax-red);
    color: white !important;
    padding: 9px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    transition: var(--transition);
}
.btn-publish-nav:hover {
    background: white;
    color: var(--remax-red) !important;
    box-shadow: 0 4px 15px rgba(225, 27, 34, 0.3);
}

.navbar.scrolled .btn-login-nav {
    border-color: var(--remax-blue);
    color: var(--remax-blue) !important;
}
.navbar.scrolled .btn-login-nav:hover {
    background: var(--remax-blue);
    color: white !important;
}
