/*
Theme Name: Novostroy Invest Editorial
Description: High-Contrast Editorial Design for Real Estate Investment Blog
Author: Senior Frontend Designer
Version: 1.0
*/

:root {
    --c-bg: #FFFFFF;
    --c-text: #1B1B1B;
    --c-primary: #FF5400; /* Safety Orange */
    --c-secondary: #3E5C76; /* Slate Blue */
    --c-accent: #000000;
    --c-border: #EAEAEA;
    --f-main: 'Outfit', sans-serif;
    --f-serif: 'Lora', serif;
}

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

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

/* Layout */
.site-container {
    display: block;
    min-height: 100vh;
}

.site-header {
    background: #000;
    color: #fff;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--c-primary);
}

.main-content {
    width: 100%;
    min-width: 0;
}

/* Header Elements */
.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--c-primary);
    text-decoration: none;
    line-height: 1;
    letter-spacing: -1px;
}

.header-nav ul { 
    list-style: none; 
    display: flex;
    gap: 30px;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.header-nav a:hover, .header-nav .current-menu-item a {
    color: var(--c-primary);
}

.header-contacts {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-contact-item {
    text-align: right;
}

.header-contact-label {
    display: block;
    color: var(--c-primary);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.65rem;
    letter-spacing: 1px;
}

.header-contact-val { 
    color: #fff; 
    font-size: 0.9rem; 
    font-weight: 700; 
}

/* Mobile Nav Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

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

.hero-img-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

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

.hero-tag {
    background: var(--c-primary);
    color: #fff;
    padding: 8px 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 30px;
    display: inline-block;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    color: #fff;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-desc {
    font-family: var(--f-serif);
    font-size: 1.4rem;
    color: #ccc;
    max-width: 550px;
    margin-bottom: 50px;
}

/* Section Styling */
.section-pad { padding: 120px 10%; }
.sec-header {
    margin-bottom: 80px;
    border-bottom: 10px solid #000;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.sec-header h2 { font-size: 4rem; font-weight: 900; text-transform: uppercase; line-height: 1; }

/* Grid Cards */
.invest-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.invest-card {
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.card-thumb-wrap {
    height: 450px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}
.card-thumb {
    width: 100%; height: 100%; object-fit: cover;
    transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.invest-card:hover .card-thumb { transform: scale(1.1); }

.card-cat {
    position: absolute;
    bottom: 0; left: 0;
    background: #000;
    color: #fff;
    padding: 10px 25px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.card-body { flex: 1; display: flex; flex-direction: column; }
.card-date { font-size: 0.8rem; font-weight: 700; color: var(--c-primary); margin-bottom: 15px; }
.card-body h3 { font-size: 2.2rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
.card-excerpt { font-family: var(--f-serif); font-size: 1.1rem; color: #555; margin-bottom: 30px; }

.card-btn {
    margin-top: auto;
    font-weight: 900;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}
.card-btn::after {
    content: '';
    width: 40px; height: 2px;
    background: var(--c-primary);
    transition: 0.3s;
}
.card-btn:hover::after { width: 60px; }

/* Highlights Block */
.highlights {
    background: #000;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.high-content { padding: 100px 15%; }
.high-content h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 30px; line-height: 1; }
.high-content p { font-family: var(--f-serif); font-size: 1.2rem; opacity: 0.7; margin-bottom: 40px; }

/* Pagination */
.invest-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 100px;
}
.pg-link {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}
.pg-link:hover, .pg-link.current {
    background: #000;
    color: #fff;
}

/* Footer */
.site-footer {
    background: #000;
    color: #fff;
    padding: 120px 10%;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 100px;
}
.footer-col h4 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--c-primary);
}
.footer-text { opacity: 0.6; line-height: 1.8; margin-bottom: 30px; }

.footer-col nav ul {
    list-style: none;
}

.footer-col nav li {
    margin-bottom: 15px;
}

.footer-col nav a {
    color: #888;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.footer-col nav a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #444;
}

/* Responsive */
@media (max-width: 1100px) {
    .header-nav, .header-contacts { display: none; }
    .menu-toggle { display: block; }
    .site-header { padding: 15px 20px; }
    .logo { font-size: 1.4rem; }
    
    /* Mobile Overlay Menu */
    .site-header.nav-active {
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
        width: 100%;
        background: #000;
    }
    .site-header.nav-active .header-nav, 
    .site-header.nav-active .header-contacts { 
        display: block; 
        margin-top: 40px;
    }
    .site-header.nav-active .header-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    .site-header.nav-active .header-contacts {
        margin-top: auto;
        padding-bottom: 40px;
        flex-direction: column;
        align-items: flex-start;
    }
    .site-header.nav-active .header-contact-item {
        text-align: left;
        margin-bottom: 20px;
    }
    
    .hero { height: auto; padding: 120px 20px; }
    .sec-header h2 { font-size: 2.5rem; }
    .invest-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 60px; }
    .highlights { grid-template-columns: 1fr; }
}

/* Single Content */
.single-header {
    padding: 150px 10% 80px;
    background: #f9f9f9;
}
.single-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 30px; }
.single-content {
    max-width: 900px;
    margin: 60px auto;
    font-family: var(--f-serif);
    font-size: 1.25rem;
    line-height: 1.8;
}
.single-content p { margin-bottom: 35px; }
.single-content h2, .single-content h3 { font-family: var(--f-main); font-weight: 900; text-transform: uppercase; margin: 60px 0 30px; color: #000; }
