/* =========================================
   Global Variables & Reset
   ========================================= */
:root {
    --color-primary-dark: #121212;
    --color-bg-light: #F4F1EA;
    --color-text-dark: #2C2A26;
    --color-text-light: #E8E6E1;
    --color-accent-brown: #7A3E26;
    --color-accent-gold: #B38B59;
    
    --font-heading: 'EB Garamond', serif;
    --font-body: 'Urbanist', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* =========================================
   Typography Utilities
   ========================================= */
.category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn-outline, .btn-outline-dark, .btn-outline-gold {
    padding: 10px 24px;
    border: 1px solid var(--color-accent-brown);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-brown);
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--color-accent-brown);
    color: #fff;
}

.btn-solid, .btn-solid-brown {
    padding: 12px 28px;
    background-color: var(--color-accent-brown);
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-solid:hover {
    background-color: #5A2E1C;
}

/* =========================================
   Header
   ========================================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background-color: #FFFFFF; /* Pure white to perfectly match the logo's background */
    border-bottom: 1px solid #E0DDD5;
}

.logo-container .logo {
    height: 160px; /* Significantly increased for readability */
    max-width: 450px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(244, 241, 234, 0.85) 0%, rgba(244, 241, 234, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #333;
}

/* =========================================
   Featured Projects
   ========================================= */
.featured-projects {
    display: flex;
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
}

.project-card {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem;
    border-right: 1px solid #2A2A2A;
}

.project-card:last-child {
    border-right: none;
}

.project-info {
    flex: 1;
    padding-right: 2rem;
}

.project-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.project-info p {
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.8;
}

.project-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image img {
    width: 100%;
    max-width: 350px;
    max-height: 400px;
    display: block;
    object-fit: contain;
}

/* =========================================
   Support Section
   ========================================= */
.support-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 5rem 4rem;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid #E0DDD5;
}

.support-icon {
    width: 200px; 
    height: 200px;
    border-radius: 50%;
    background-color: #FFFFFF; /* Pure white circle */
    border: 1px solid #D3CFC3; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.support-icon img {
    width: 85%; /* Slight padding so the image doesn't touch the circle's edge */
    height: 85%;
    object-fit: contain; /* Ensures the whole image is always visible */
}

.support-text h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.support-text p {
    max-width: 450px;
}

.support-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.micro-copy {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

/* =========================================
   Four Lanes Section
   ========================================= */
.four-lanes {
    display: flex;
    padding: 6rem 4rem;
    background-color: var(--color-bg-light);
    gap: 4rem;
}

.lanes-header {
    flex: 1;
    max-width: 280px;
}

.lanes-header h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.lanes-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.lane-card {
    background-color: #EFECE4;
    display: flex;
    flex-direction: column;
    border: 1px solid #E0DDD5;
}

.lane-img-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.lane-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.lane-content {
    padding: 2rem 1.5rem;
}

.lane-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    min-height: 50px;
    line-height: 1.2;
}

.lane-content p {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 6rem 4rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 4rem;
}

.footer-logo {
    height: 150px; 
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 1.5rem;
    border-radius: 6px; /* Softens the corners of the white background */
}

.social-icons a {
    margin-right: 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.7;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--color-accent-gold);
}

.footer-newsletter h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
}

.subscribe-form {
    display: flex;
    margin-top: 1rem;
}

.subscribe-form input {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px 15px;
    color: #fff;
    flex: 1;
    font-family: var(--font-body);
}

.subscribe-form button {
    background: var(--color-accent-brown);
    border: none;
    color: #fff;
    padding: 12px 24px;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.6;
}

.footer-links a {
    margin-left: 1.5rem;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1200px) {
    .lanes-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .featured-projects { flex-direction: column; }
    .project-card { border-right: none; border-bottom: 1px solid #2A2A2A; }
    .project-card:last-child { border-bottom: none; }
    
    .four-lanes { flex-direction: column; gap: 2rem; }
    .lanes-header { max-width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    .site-header { flex-direction: column; padding: 1.5rem; gap: 1.5rem; }
    .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
    
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 0 2rem; }
    
    .support-section { flex-direction: column; text-align: center; gap: 2rem; }
    .lanes-grid { grid-template-columns: 1fr; }
}