/* style.css - Elamar Management */

:root {
    --primary-navy: #1A2B45;
    --secondary-grey: #6C757D;
    --accent-yellow: #F2A900;
    --light-bg: #f4f7f6;
    --white: #ffffff;
    --dark-text: #333333;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

body::before {
    content: "";
    position: fixed; /* Keeps the logo centered even when you scroll */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Perfectly centers the image */
    width: 60vh; /* Sets width to 60% of the screen height */
    height: 60vh;
    background-image: url('../../images/logo-icon.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05; /* This makes it 5% visible - very subtle */
    z-index: -1; /* Ensures it stays behind all text and buttons */
    pointer-events: none; /* Ensures you can still click things on top of it */
}

/* Ensure sections have transparent backgrounds so the logo shows through */
.bg-light, .bg-white {
    background-color: rgba(255, 255, 255, 0.85); /* Slight transparency on white sections */
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-navy);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-yellow);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-yellow {
    background-color: var(--accent-yellow);
    color: var(--primary-navy);
}

.btn-yellow:hover {
    background-color: #d99600;
    transform: translateY(-2px);
}

.btn-navy {
    background-color: var(--primary-navy);
    color: var(--white);
}

.btn-navy:hover {
    background-color: #2c4263;
    transform: translateY(-2px);
}

/* --- Header & Nav --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 80px; /* Adjust based on your actual logo file size */
    width: auto;
    transition: transform 0.3s ease; /* Smooth transition if we add hover effects later */
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* --- Page Header --- */
.page-header {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin: 0;
}

/* --- Sections General --- */
.section-padding {
    padding: 80px 0;
}

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }

/* --- Hero Section (Home) --- */
.hero {
    /* Placeholder for a background image of Chicago or Industrial scene */
    background-image: linear-gradient(rgba(26, 43, 69, 0.85), rgba(26, 43, 69, 0.85)), url('../../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    border-bottom: 3px solid var(--accent-yellow);
    transition: transform 0.3s ease;
}

.service-card:hover {
     transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

/* --- Featured Project (Home) --- */
.featured-project {
    display: flex;
    align-items: center;
    gap: 50px;
}

.project-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Case Study Page (Sablemar) --- */
.case-study-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.quote-box {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    margin: 50px 0;
    position: relative;
}

.quote-box p {
    font-size: 1.2rem;
    font-style: italic;
}

.quote-author {
    display: block;
    margin-top: 20px;
    font-weight: 700;
    color: var(--accent-yellow);
}

/* --- Contact Form placeholder styling --- */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-navy);
    color: #aaaaaa;
    padding: 60px 0 20px;
    text-align: center;
}

footer h4 {
    color: var(--white);
}

footer a {
    color: #aaaaaa;
}

footer a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links li {
        margin: 10px;
    }
    .hero h1 { font-size: 2rem; }
    .featured-project { flex-direction: column; }
}