/* === Modern Editorial & Humanized Theme === */

:root {
    /* Colors - Earthy, Warm, Organic */
    --bg-main: #FAF9F6; /* Warm off-white */
    --bg-alt: #F2EFE9; /* Softer beige for sections */
    
    --text-primary: #2C2C2A; /* Soft black, easier on the eyes */
    --text-secondary: #5A5A58; 
    --text-muted: #8F8C86;
    
    --accent: #B07454; /* Warm terracotta/rust as subtle accent */
    --accent-hover: #965F43;
    
    --border: #E0DDD5;
    
    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* === Utilities === */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 120px 0;
}

.soft-bg {
    background-color: var(--bg-alt);
}

.text-center {
    text-align: center;
}

.section-heading {
    font-size: 2.8rem;
    margin-bottom: 80px;
}

/* === Header === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    transition: var(--transition);
    background-color: transparent;
}

header.scrolled {
    padding: 20px 0;
    background-color: rgba(250, 249, 246, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav {
    display: none;
    background: var(--bg-main);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    flex-direction: column;
    gap: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-nav.active {
    display: flex;
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(250, 249, 246, 0.95) 0%, rgba(250, 249, 246, 0.3) 100%);
}

.relative-z {
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-text em {
    color: var(--accent);
    font-style: normal;
}

.hero-text p {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 80%;
}

/* === About / Narrative === */
.narrarive-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.narrative-title h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 20px;
    display: inline-block;
}

.narrative-content {
    max-width: 700px;
}

.lead-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 30px;
}

.narrative-content p {
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.corporate-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.detail-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
}

.detail-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.detail-value {
    font-weight: 500;
}

/* === Services / Expertise === */
.service-alternating {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.service-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-block.reverse {
    grid-template-columns: 1fr 1.2fr;
}

.service-block.reverse .block-image {
    order: 2;
}

.service-block.reverse .block-text {
    order: 1;
}

.block-image {
    border-radius: 2px;
    overflow: hidden;
    /* Soft shadow instead of heavy glass */
    box-shadow: 0 20px 50px rgba(0,0,0,0.06); 
}

.block-image img {
    width: 100%;
    aspect-ratio: 4/3;
}

.block-text {
    padding: 20px 0;
}

.eyebrow {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-style: italic;
}

.block-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.block-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.block-text ul {
    list-style: none;
    border-left: 2px solid var(--border);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.block-text li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.block-text li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 12px;
    opacity: 0.6;
}

/* === Contact Section === */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background-color: var(--text-primary);
    color: var(--bg-main);
    padding: 80px;
    border-radius: 4px;
}

.contact-text h2 {
    color: var(--bg-main);
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-text p {
    color: #A0A0A0;
    margin-bottom: 50px;
}

.info-group {
    margin-bottom: 30px;
}

.info-group h4 {
    color: var(--accent);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.info-group p {
    color: var(--bg-main);
    margin-bottom: 5px;
}

.info-group a:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.minimal-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-line {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.input-line input, 
.input-line textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 15px 0;
    color: var(--bg-main);
    font-family: var(--font-body);
    font-size: 1rem;
}

.input-line input:focus, 
.input-line textarea:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.input-line input::placeholder, 
.input-line textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.submit-btn {
    background: transparent;
    border: none;
    color: var(--bg-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-weight: 300;
    padding: 10px 0;
    width: fit-content;
    transition: var(--transition);
}

.submit-btn:hover {
    color: var(--accent);
}

/* === Footer === */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === Animations === */
/* Subdued, elegant animations */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.fade-up.visible, 
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 900px) {
    .narrarive-layout, 
    .service-block, 
    .service-block.reverse,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .service-block.reverse .block-image {
        order: 1;
    }
    
    .service-block.reverse .block-text {
        order: 2;
    }
    
    .contact-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(250, 249, 246, 0.95) 0%, rgba(250, 249, 246, 0.3) 100%);
    }
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 120px;
        min-height: auto;
    }
    
    .section-padding {
        padding: 80px 0;
    }
}
