/* JLL-Style CSS Framework */
:root {
    --jll-black: #000000;
    --jll-white: #ffffff;
    --jll-gray-light: #f4f4f4;
    --jll-gray-dark: #333333;
    --jll-accent: #E3000F; /* JLL Red - Change to your brand's primary color if needed */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Standard enterprise sans-serif */
    color: var(--jll-black);
    line-height: 1.5;
    background-color: var(--jll-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1440px; /* Ultra-wide for enterprise */
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.03em; /* Very tight tracking for JLL look */
}

/* JLL Hero Section */
.jll-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for text readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-headline {
    color: var(--jll-white);
    font-size: 5rem;
    max-width: 900px;
    margin-bottom: 3rem;
    line-height: 1.05;
}

/* JLL Tabbed Search Widget */
.jll-search-widget {
    background: var(--jll-white);
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid var(--jll-gray-light);
}

.search-tabs .tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--jll-gray-dark);
}

.search-tabs .tab.active {
    color: var(--jll-black);
    border-bottom: 3px solid var(--jll-accent);
}

.search-body {
    display: flex;
    padding: 20px;
}

.search-body input {
    flex: 1;
    border: none;
    border-bottom: 1px solid var(--jll-gray-dark);
    font-size: 1.2rem;
    padding: 10px 0;
    outline: none;
    border-radius: 0;
}

.search-body input:focus {
    border-color: var(--jll-accent);
}

.btn-jll-primary {
    background: var(--jll-accent);
    color: var(--jll-white);
    border: none;
    padding: 0 40px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-left: 20px;
    transition: background 0.3s;
}

.btn-jll-primary:hover {
    background: #c2000d;
}

/* JLL Statement */
.jll-statement {
    padding: 100px 0;
}

.jll-statement h2 {
    font-size: 3rem;
    line-height: 1.2;
    max-width: 1000px;
    color: var(--jll-black);
}

/* JLL Services Grid */
.jll-services {
    padding-bottom: 100px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 450px;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.service-overlay h3 {
    color: var(--jll-white);
    font-size: 1.8rem;
    margin: 0;
}

.jll-arrow {
    color: var(--jll-white);
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card:hover .jll-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* JLL Insights */
.jll-insights {
    background: var(--jll-gray-light);
    padding: 100px 0;
}

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.insights-header h2 {
    font-size: 3rem;
}

.view-all {
    color: var(--jll-accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.insight-card {
    background: var(--jll-white);
    text-decoration: none;
    color: var(--jll-black);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}

.insight-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.insight-card.featured img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.insight-content {
    padding: 30px;
}

.insight-content .category {
    color: var(--jll-accent);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    display: block;
}

.insight-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.insight-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

.insight-card.small h3 {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-headline { font-size: 3.5rem; }
    .service-grid, .insights-grid { grid-template-columns: 1fr; }
    .search-tabs { flex-wrap: wrap; }
    .search-body { flex-direction: column; gap: 15px; }
    .btn-jll-primary { margin-left: 0; padding: 15px; }
}