/*
Theme Name: Prism Real Estate
Description: Luxury Geometric Design for Real Estate Investment
Author: Senior Frontend Designer
Version: 1.0
*/

:root {
    --c-bg: #0A110F; /* Deep Emerald Black */
    --c-text: #E5E7EB;
    --c-primary: #10B981; /* Emerald */
    --c-accent: #FBBF24;  /* Amber Gold */
    --c-card: #111D1A;
    --c-border: rgba(16, 185, 129, 0.1);
    --f-display: 'Fraunces', serif;
    --f-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--f-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.site-header {
    height: 100px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 17, 15, 0.9);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--c-border);
}

.logo {
    font-family: var(--f-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    font-style: italic;
}
.logo span { color: var(--c-primary); }

.main-nav ul { list-style: none; display: flex; gap: 40px; }
.main-nav a {
    color: #9CA3AF;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--c-primary); }

.header-phone {
    font-weight: 900;
    color: var(--c-accent);
    font-size: 1.1rem;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 100%;
    background: var(--c-primary);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-img {
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 100%;
    object-fit: cover;
    z-index: 2;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: brightness(0.7) contrast(1.1);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero h1 {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 40px;
    font-weight: 900;
}
.hero h1 span { color: var(--c-accent); }

.hero-desc {
    font-size: 1.2rem;
    color: #9CA3AF;
    margin-bottom: 50px;
    max-width: 500px;
    border-left: 4px solid var(--c-primary);
    padding-left: 30px;
}

/* Luxury Stats */
.luxury-stats {
    background: var(--c-card);
    padding: 60px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    border-bottom: 1px solid var(--c-border);
}

.stat-item h3 { font-family: var(--f-display); font-size: 2.5rem; color: var(--c-primary); margin-bottom: 5px; }
.stat-item p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #6B7280; }

/* Grid Sections */
.section-padding { padding: 120px 5%; }
.section-head { margin-bottom: 80px; }
.section-head h2 { font-family: var(--f-display); font-size: 4rem; font-weight: 900; }

.prism-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.prism-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}
.prism-card:hover { transform: scale(1.02); border-color: var(--c-accent); }

.card-img-box {
    height: 400px;
    overflow: hidden;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.card-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s; }
.prism-card:hover .card-img-box img { transform: scale(1.1) rotate(2deg); }

.card-cat {
    position: absolute;
    top: 30px; left: 30px;
    background: var(--c-accent);
    color: #000;
    padding: 10px 20px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.card-body { padding: 50px; flex: 1; display: flex; flex-direction: column; }
.card-date { font-size: 0.8rem; color: var(--c-primary); font-weight: 700; margin-bottom: 20px; }
.card-body h3 { font-family: var(--f-display); font-size: 2.2rem; margin-bottom: 25px; line-height: 1.1; }
.card-excerpt { color: #9CA3AF; margin-bottom: 40px; font-size: 1.05rem; }

.prism-btn {
    margin-top: auto;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.prism-btn::before { content: ''; width: 30px; height: 2px; background: var(--c-primary); transition: 0.3s; }
.prism-btn:hover::before { width: 50px; background: var(--c-accent); }

/* Expertise Bento */
.expertise-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #000;
}
.bento-box {
    padding: 80px 40px;
    border-right: 1px solid var(--c-border);
    transition: 0.4s;
}
.bento-box:hover { background: var(--c-card); }
.bento-box h4 { font-family: var(--f-display); font-size: 1.8rem; margin-bottom: 20px; color: var(--c-primary); }
.bento-box p { font-size: 0.9rem; color: #6B7280; }

/* Pagination */
.prism-pagination { display: flex; justify-content: center; gap: 15px; margin-top: 100px; }
.pg-link {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--c-border);
    color: #fff; text-decoration: none; font-weight: 900; transition: 0.3s;
}
.pg-link:hover, .pg-link.current { background: var(--c-primary); color: #000; border-color: var(--c-primary); }

/* Footer */
.site-footer {
    padding: 120px 5% 60px;
    background: #000;
    border-top: 1px solid var(--c-border);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 100px; }
.footer-col h4 { font-family: var(--f-display); font-size: 1.8rem; margin-bottom: 40px; color: var(--c-primary); }
.footer-contact-list { list-style: none; }
.footer-contact-list li { margin-bottom: 30px; }
.footer-label { display: block; font-size: 0.65rem; text-transform: uppercase; color: #6B7280; letter-spacing: 2px; margin-bottom: 10px; }
.footer-val { font-weight: 700; font-size: 1.1rem; }

.footer-bottom {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #4B5563;
}

/* Single/Page */
.prism-hero-small {
    height: 60vh;
    background: var(--c-card);
    display: flex;
    align-items: flex-end;
    padding: 80px 10%;
    position: relative;
}
.prism-hero-small img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.prism-hero-small .content { position: relative; z-index: 10; }

.entry-content {
    max-width: 850px;
    margin: 80px auto;
    font-size: 1.2rem;
    line-height: 1.9;
    color: #D1D5DB;
}
.entry-content h2, .entry-content h3 { font-family: var(--f-display); margin: 60px 0 30px; color: var(--c-primary); font-size: 2.5rem; }
.entry-content p { margin-bottom: 35px; }

/* Responsive */
@media (max-width: 1100px) {
    .prism-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero-img, .hero-bg-shape { display: none; }
    .hero-content { margin: 0 auto; }
    .luxury-stats { grid-template-columns: 1fr 1fr; }
    .expertise-bento { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .main-nav, .header-phone { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .luxury-stats { grid-template-columns: 1fr; }
    .expertise-bento { grid-template-columns: 1fr; }
}
