/* Recently Pending Section */
.pending-section {
    background: #fff8f0;
    padding: 4rem 2rem;
    border-top: 1px solid #f0e4d0;
    border-bottom: 1px solid #f0e4d0;
}
.pending-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
.pending-section .section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 2.5rem;
}
.pending-card .property-status {
    background: #d69e2e !important;
    color: white !important;
}

:root {
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #3182ce;
    --light: #f7fafc;
    --dark: #2d3748;
    --success: #38a169;
    --warning: #d69e2e;
    --auction: #dc2626;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}

.nav-btn,
.nav-btn:link,
.nav-btn:visited,
.nav-btn:active,
.nav-btn:focus {
    display: inline-block;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
    outline: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.7rem 1.75rem;
    border-radius: 6px;
    background-color: #c0392b;
    background-image: linear-gradient(180deg, #d14433 0%, #a82e21 100%);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    cursor: pointer;
    font-family: inherit;
}

.nav-btn:hover {
    background-image: linear-gradient(180deg, #e04f3e 0%, #b8362a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
    text-decoration: none !important;
    color: #ffffff !important;
}

.header-tagline {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-img {
    display: block;
    object-fit: contain;
}

.logo-ture {
    height: 80px;
    width: auto;
}

.logo-remax {
    height: 72px;
    width: auto;
    background: white;
    border-radius: 6px;
    padding: 6px 10px;
}

.logo-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

.contact-info {
    text-align: right;
}

.contact-info p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

/* Auction Highlight */
.auction-highlight {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 3rem 2rem;
    margin: 1rem auto;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.auction-badge {
    background: var(--auction);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auction-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.auction-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.auction-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.auction-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

.image-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.image-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.image-placeholder span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.image-placeholder small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.auction-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auction-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.auction-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.25rem;
    transition: color 0.2s;
}

.auction-links a:hover {
    color: white;
    border-bottom-color: white;
}

.auction-btn {
    background: white;
    color: var(--auction);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.auction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auction-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin: 1rem auto;
    max-width: 1200px;
    border-radius: 12px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Filters */
.filters {
    background: white;
    padding: 1.5rem 2rem;
    margin: 1rem auto;
    max-width: 1200px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.9rem;
}

select, input {
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

select:focus, input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Properties Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.properties-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1.5rem;
}

.properties-header h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.property-count {
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary);
}

/* Section Headers */
.section-header {
    grid-column: 1 / -1;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.section-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0;
}

.section-header:first-child {
    margin-top: 0;
}

/* Past Projects */
.past-project-card {
    opacity: 1;
}

.past-project-card .property-section {
    background: #c0392b;
}

/* Disabled Buttons */
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #cbd5e0;
    border-color: #cbd5e0;
}

.btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.property-image {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.property-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-section {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #e53e3e;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-content {
    padding: 1.5rem;
}

.property-address {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
    font-weight: 600;
}

.property-description {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.property-notes {
    color: var(--warning);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.5rem;
    background: rgba(214, 158, 46, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--warning);
}

.property-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
}

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

.detail-label {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.2rem;
}

.detail-value {
    font-weight: 600;
    color: var(--dark);
}

.property-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.2s;
    flex: 1;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--secondary);
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
    border: 1px solid #e2e8f0;
}

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

/* Loading */
.loading {
    text-align: center;
    padding: 3rem;
    color: #718096;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    justify-content: center;
}

.footer-logo-ture {
    height: 70px;
    width: auto;
}

.footer-logo-remax {
    height: 56px;
    width: auto;
    background: white;
    border-radius: 5px;
    padding: 5px 8px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
/* Team Section */
.team-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-group-photo {
    text-align: center;
    margin-bottom: 3rem;
}

.team-group-photo img {
    width: 100%;
    max-width: 860px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    object-fit: cover;
}

.team-phone {
    text-align: center;
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
}

.team-member h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.team-member p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auction-content {
        grid-template-columns: 1fr;
    }
    
    .auction-images {
        grid-template-columns: 1fr;
    }
    
    .auction-image {
        height: 120px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-details {
        grid-template-columns: 1fr;
    }
    
    .auction-actions {
        flex-direction: column;
    }
    
    .team-section {
        padding: 3rem 0;
    }
    
    .team-section h2 {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member {
        padding: 1.5rem;
    }
}