:root {
    --color-primary: #d4af37; /* Gold */
    --color-primary-dark: #b5952f;
    --color-bg-dark: #0a0404; /* Very dark crimson/black */
    --color-crimson: #630a0a; /* Blood Elf red */
    --color-crimson-light: #8a1313;
    --color-text: #f0e6d2; 
    --glass-bg: rgba(20, 5, 5, 0.65);
    --glass-border: rgba(212, 175, 55, 0.2);
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg-dark);
    background-image: url('assets/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Base Headings */
h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    margin: 0 0 1rem 0;
}

h1 {
    font-size: 4rem;
    letter-spacing: 0.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

h2 {
    font-size: 2.2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Glassmorphism Overlay */
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(10,4,4,0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-panel:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

/* Hero Section */
.hero {
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 10, 10, 0.4) 0%, rgba(20, 5, 5, 0.7) 100%);
}

.subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    color: #ffd085;
    margin: 0;
}

/* Timeline */
.timeline-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-crimson);
    position: relative;
    transition: border-color 0.3s ease;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:hover {
    border-left-color: var(--color-primary);
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 13px;
    height: 13px;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-crimson);
    border-radius: 50%;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover::before {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.timeline-item.highlight {
    border-left-color: var(--color-primary);
}
.timeline-item.highlight::before {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary);
}

.timeline-item p {
    line-height: 1.6;
    margin: 0;
}

/* Zillow Housing Section */
.zillow-theme {
    background: linear-gradient(to bottom, rgba(30, 20, 20, 0.9), rgba(15, 5, 5, 0.95));
    border: 1px solid var(--color-primary-dark);
}

.zillow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--color-crimson);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.zillow-header h2 {
    margin: 0;
    border: none;
    padding: 0;
}

.zestimate {
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-primary-dark);
}

.zillow-card {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.zillow-gallery {
    flex: 1;
    min-width: 300px;
}

.housing-img-main {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--color-primary-dark);
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.housing-img-main:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.zillow-details {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.property-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    color: #fff;
}


.property-desc {
    color: #e0d0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.agent-profile {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.4);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    gap: 1rem;
    margin-top: auto;
}

.avatar-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-crimson));
    padding: 3px;
    flex-shrink: 0;
}

.agent-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-bg-dark);
}

.agent-info {
    flex-grow: 1;
}

.agent-info strong {
    display: block;
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.agent-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #ccc;
}

.guild-tag {
    color: #a335ee;
    font-weight: bold;
}

.contact-agent-btn {
    background: linear-gradient(to bottom, #2b5797, #1a365d);
    color: white;
    border: 1px solid var(--color-primary);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-agent-btn:hover {
    background: linear-gradient(to bottom, #3b77cc, #2b5797);
    box-shadow: 0 0 10px rgba(43, 87, 151, 0.5);
}

.zillow-features {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.zillow-features h4 {
    margin: 0 0 1rem 0;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.features-list li {
    font-size: 0.95rem;
    color: #e0d0b0;
    display: flex;
    align-items: center;
}

.features-list li::before {
    content: '✦';
    color: var(--color-crimson);
    margin-right: 8px;
}

.features-list strong {
    color: #fff;
    margin-right: 5px;
}

/* Particles */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffd54f;
    border-radius: 50%;
    opacity: 0;
    animation: float 4s infinite, fade 4s infinite;
    box-shadow: 0 0 6px 2px rgba(212, 175, 55, 0.6);
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-150px) translateX(30px); }
}

@keyframes fade {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.8; }
}

/* Footer Section */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.7;
    position: relative;
    z-index: 10;
}

.site-footer a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: 0.2rem;
    }
    .content {
        padding: 2rem 1rem;
    }
    .zillow-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .agent-profile {
        flex-direction: column;
        text-align: center;
    }
    .contact-agent-btn {
        width: 100%;
    }
}
