/*
Theme Name: RED CONCEPT Architectural Masterplan
Theme URI: http://redconcept.rs
Description: Custom WordPress theme with architectural blueprint aesthetics.
Version: 3.5
Author: Gemini Web Studio
Text Domain: redconcept
*/

/* =========================================
   1. CORE SETUP & RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&display=swap');

:root {
    --red: #D12027;
    --black: #000000;
    --white: #FFFFFF;
    --line: #EAEAEA;
    --grey-bg: #F9F9F9;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }

html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.1;
    overflow-x: hidden;
    margin: 0;
}

/* =========================================
   2. UTILITIES
   ========================================= */
.bg-black { background-color: var(--black) !important; color: var(--white) !important; }
.color-white { color: var(--white) !important; }
.white { color: var(--white) !important; }

/* =========================================
   3. GRID SYSTEM
   ========================================= */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); width: 100%; border-bottom: 1px solid var(--line); }

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }

/* Spacing & Borders */
.p-80 { padding: 80px 60px; }
.p-40 { padding: 40px; }
.border-r { border-right: 1px solid var(--line); }
.border-b { border-bottom: 1px solid var(--line); }
.border-r-dark { border-right: 1px solid #333; }
.no-border { border: none !important; }

/* =========================================
   4. TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, .label-tech, .pill, nav a { text-transform: uppercase; }

.h1-mega {
    font-size: 9vw;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
    color: var(--black);
}

.h2-arch {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.label-tech {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--red);
    font-weight: 900;
    display: block;
    margin-bottom: 20px;
}
.label-tech.dark { color: var(--black); }

p { font-size: 16px; line-height: 1.6; color: #555; font-weight: 300; }

.pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
}

/* =========================================
   5. HEADER & NAVIGATION (DESKTOP)
   ========================================= */
header.main-header {
    display: flex;
    justify-content: space-between;
    height: 90px;
    border-bottom: 2px solid var(--black);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
}

.logo {
    padding: 0 60px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--line);
}
.logo-img { height: 30px; width: auto; }

.desktop-nav {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin-left: auto;
}

/* Hardcoded Menu Styling */
ul.blueprint-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    height: 100%;
}
ul.blueprint-nav li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    height: 100%;
}
ul.blueprint-nav li a {
    display: flex;
    align-items: center;
    padding: 0 35px;
    text-decoration: none;
    color: var(--black);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    border-left: 1px solid var(--line);
    height: 100%;
    transition: 0.3s;
    text-transform: uppercase;
}
ul.blueprint-nav li a:hover {
    color: var(--red);
    background: #fafafa;
}
a.nav-cta-red {
    background: var(--red) !important;
    color: #fff !important;
}

/* =========================================
   6. HERO & CONTENT COMPONENTS
   ========================================= */
.hero-text-overlap {
    position: relative;
    z-index: 10;
    margin-right: -10vw;
    background: transparent;
    pointer-events: none;
}
.hero-text-overlap > * { pointer-events: auto; }

.bg-img-hero img {
    width: 100%;
    height: 100%;
    min-height: 700px;
    object-fit: cover;
    display: block;
}

.bridge { background: var(--grey-bg); padding: 120px 60px; text-align: center; }
.h2-bridge { font-size: 4vw; font-weight: 900; letter-spacing: -2px; }

/* Services Card */
.service-card { padding: 60px 40px; transition: 0.3s; height: 100%; }
.service-card:hover { background: #fff; box-shadow: inset 0 -4px 0 var(--red); }
.icon-tech {
    width: 50px; height: 50px;
    border: 1px solid #eee;
    display: flex; align-items: center; justify-content: center;
    color: var(--red); font-size: 18px;
    margin-bottom: 25px; border-radius: 50%;
}

/* Process Steps */
.step-alt { padding: 60px 40px; height: 100%; }
.line-marker {
    width: 40px; height: 2px;
    background: var(--red);
    display: block; margin-bottom: 20px;
    transition: 0.4s;
}
.step-alt:hover .line-marker { width: 100%; }

/* Event Lists */
.event-link {
    display: grid;
    grid-template-columns: 180px 1fr 200px;
    padding: 40px 60px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    align-items: center;
    transition: 0.3s;
}
.event-link:hover { background: var(--black); color: #fff; }
.e-date { color: var(--red); font-weight: 900; font-size: 14px; }
.e-title { font-size: 24px; font-weight: 900; letter-spacing: -1px; }
.e-loc { text-align: right; font-weight: 700; font-size: 12px; }

/* CTA */
.cta-stripe { background: var(--red); color: #fff; padding: 120px 60px; text-align: center; }
.cta-h2 { font-size: 6vw; font-weight: 900; margin-bottom: 40px; line-height: 0.9; }
.btn-white {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* =========================================
   7. EXTENSIONS (Tabs, Clients, Forms)
   ========================================= */
.tab-triggers { display: flex; background: var(--grey-bg); border-bottom: 1px solid var(--line); }
.tab-btn {
    flex: 1; padding: 30px;
    border: none; border-right: 1px solid var(--line);
    background: transparent; cursor: pointer;
    font-family: 'Inter', sans-serif; font-weight: 900; font-size: 11px;
    letter-spacing: 3px; text-transform: uppercase;
    transition: 0.3s;
}
.tab-btn.active { background: var(--black); color: var(--white); border-right-color: var(--black); }
.tab-content { display: none; border-bottom: 1px solid var(--line); padding: 0; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease-out; }

/* Clients Grid */
.clients-grid-6 {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    width: 100%;
    border-bottom: 1px solid var(--line);
}
.client-box-new {
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    border-right: 1px solid var(--line);
    background: #fff;
    transition: 0.3s;
}
.client-box-new img {
    max-width: 120px; max-height: 80px; width: auto; height: auto;
    filter: grayscale(1); opacity: 0.5;
    transition: 0.3s; display: block;
}
.client-box-new:hover img { filter: grayscale(0); opacity: 1; }
.clients-grid-6 .client-box-new:last-child { border-right: 1px solid var(--line); }

/* Images & Text Helpers */
.img-clean-small { width: 100%; max-width: 450px; height: auto; display: block; margin: 0 auto; border: none !important; padding: 20px; }
.img-full-cover { width: 100%; height: 100%; min-height: 500px; object-fit: cover; display: block; padding: 0 !important; margin: 0 !important; }
.manifesto-text p, .tab-inner-content p, .speaker-bio, .price-desc { color: #555 !important; font-size: 16px !important; line-height: 1.8 !important; margin-bottom: 25px !important; font-weight: 300 !important; }
.bg-black .hotel-desc-short p, .bg-black p.white-60 { color: rgba(255,255,255,0.8) !important; margin-bottom: 30px; }

/* Forms (CF7) */
.cf7-blueprint-form input, .cf7-blueprint-form select, .cf7-blueprint-form textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--line);
    background: transparent;
    padding: 15px 0;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    outline: none;
}
.wpcf7-submit {
    background: var(--black) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 25px 60px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    cursor: pointer;
    width: 100%;
}
.wpcf7-submit:hover { background: var(--red) !important; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; margin-bottom: 10px; }
.price-card-styled { background: #fff; border: 1px solid #eee; padding: 30px; margin-bottom: 20px; transition: 0.3s; }
.price-header { font-size: 11px; font-weight: 900; color: #999; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; }
.price-tag { font-size: 28px; font-weight: 900; color: var(--red); text-align: right; white-space: nowrap; }

/* =========================================
   8. FOOTER
   ========================================= */
footer { background: var(--black); color: var(--white); padding: 80px 0 40px; }
.f-col { padding: 0 60px; }
.f-logo-img { max-width: 220px; height: auto; display: block; margin-bottom: 30px; }
footer ul.footer-static-list { list-style: none !important; padding: 0 !important; margin: 0 !important; display: block !important; }
footer li { margin-bottom: 10px !important; display: block !important; }
footer li a { color: #888; text-decoration: none; display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
footer li a:hover { color: var(--red); }
.f-contact-main { font-size: 18px; font-weight: 700; color: var(--red); margin-bottom: 10px; }
.f-address { font-size: 13px; color: #555; margin-top: 25px; line-height: 1.5; }
.copyright { opacity: 0.3; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }

/* =========================================
   9. MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 1024px) {
    /* Layout Reset */
    .grid, .event-link { display: block; }
    .span-12, .span-8, .span-7, .span-6, .span-5, .span-4, .span-3 { width: 100%; }
    .border-r, .border-r-dark { border-right: none; border-bottom: 1px solid var(--line); }

    /* Header & Toggle */
    .desktop-nav { display: none !important; }
    .mobile-toggle {
        display: flex;
        width: 90px; height: 90px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-left: 1px solid var(--line);
        cursor: pointer;
    }
    .mobile-toggle span { width: 30px; height: 2px; background: #000; margin: 4px 0; transition: 0.3s; }
    
    /* Animation for X */
    .mobile-toggle.active span:first-child { transform: translateY(6px) rotate(45deg); }
    .mobile-toggle.active span:last-child { transform: translateY(-6px) rotate(-45deg); }
    
    /* Mobile Menu Overlay */
    .mobile-overlay {
        display: none; /* JavaScript will handle changing this to flex */
        position: fixed; 
        top: 90px; 
        left: 0;
        width: 100%; 
        height: calc(100vh - 90px);
        background: #fff;
        z-index: 999;
        flex-direction: column;
        overflow-y: auto;
    }
    .mobile-blueprint-nav { list-style: none; padding: 0; margin: 0; }
    .mobile-blueprint-nav li {
        border-bottom: 1px solid #eee;
    }
    .mobile-blueprint-nav li a {
        display: block;
        padding: 30px 40px; 
        font-size: 20px; font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none; color: var(--black);
        border-left: 0px solid transparent;
        transition: 0.2s;
    }
    .mobile-blueprint-nav li a:active, .mobile-blueprint-nav li a:hover {
        background: #fafafa;
        color: var(--red);
        border-left: 5px solid var(--red); 
    }

    /* Footer Mobile Fix */
    footer { padding: 40px 0; }
    .f-col {
        padding: 50px 30px; 
        border-right: none;
        border-bottom: 1px solid #333;
        width: 100%;
        display: block;
    }
    .f-col:last-child { border-bottom: none; }
    .f-logo-img {
        max-width: 120px !important; 
        height: auto;
        margin-bottom: 25px;
    }
    .f-tagline { margin-bottom: 0; } 
    
    /* Component Adjustments */
    .h1-mega { font-size: 48px; margin-right: 0; }
    .h2-bridge { font-size: 32px !important; line-height: 1.3 !important; }
    .h2-arch { font-size: 36px; }
    .hero-text-overlap { margin-right: 0; }
    .bg-img-hero img { height: 350px !important; min-height: auto !important; }
    .mobile-reorder { display: flex; flex-direction: column; }
    .mobile-img-first { order: -1; }
    .service-card, .step-alt, .event-link { padding: 30px; border-bottom: 1px solid var(--line); }
    .clients-grid-6 { grid-template-columns: repeat(2, 1fr) !important; }
    .client-box-new:nth-child(2n) { border-right: none !important; }
    .client-box-new { border-bottom: 1px solid var(--line); }
    .tab-triggers { flex-wrap: nowrap; overflow-x: auto; }
    .tab-btn { flex: 0 0 auto; width: auto; padding: 20px; border-bottom: 1px solid var(--line); }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-tag { text-align: left; margin-top: 10px; }
}

/* --- CRITICAL FIX: HIDE MOBILE MENU ON DESKTOP ONLY --- */
@media (min-width: 1025px) {
    .mobile-overlay {
        display: none !important; 
    }
}
/* =========================================
   GOOGLE TRANSLATE "BLUEPRINT" STYLING 
   ========================================= */

/* 1. Hide the top banner that pushes the site down */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame { 
    display: none !important; 
}
body { 
    top: 0px !important; 
}

/* 2. Hide the annoying hover tooltips & highlights */
.goog-tooltip { display: none !important; box-shadow: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }

/* 3. Hide the Google Logo and default text */
.goog-logo-link { display: none !important; }
.goog-te-gadget { color: transparent !important; font-size: 0px !important; }
.goog-te-gadget span { display: none !important; }

/* 4. Style the Dropdown to match the theme */
.blueprint-translator {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Adjust spacing as needed */
}

.goog-te-gadget .goog-te-combo {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--black) !important;
    background: transparent !important;
    border: 1px solid var(--line) !important;
    padding: 8px 15px !important;
    border-radius: 50px !important; /* Makes it a clean pill shape */
    outline: none !important;
    cursor: pointer;
    transition: 0.3s;
}

.goog-te-gadget .goog-te-combo:hover {
    border-color: var(--black) !important;
}

/* Mobile Placement Adjustment */
@media (max-width: 768px) {
    .blueprint-translator {
        margin: 15px 0 0 0;
        justify-content: center;
    }
}