/* 
   YL Construction Resourcing - Static Stylesheet
   Design Philosophy: Corporate Restraint
*/

:root {
    /* Color Palette */
    --color-bg: #f7f7f8;        /* Soft Off-White */
    --color-text: #1a202c;      /* Navy/Charcoal (Dark) */
    --color-gold: #c5b358;      /* Muted Gold */
    --color-white: #ffffff;
    --color-heading-blue: #2f5d8a; /* Professional light blue */

    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Layout */
    --container-width: 800px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.75rem; /* ~44px */
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-lg);
}


h2 {
     font-size: 2.25rem; /* 36px */
    font-weight: 600;
    color: var(--color-heading-blue);
    margin-bottom: var(--spacing-xl);
}

h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

/* Key section headings */
.key-section-heading {
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
    color: var(--color-heading-blue);
    margin-bottom: var(--spacing-xl);
}

h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem; /* 18px for readability */
}

ul {
    list-style-position: outside;
    margin-left: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

li {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-lg);
    flex: 1;
}

/* Hero Section */
.hero-section {
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;

  /* Ensure no cropping or effects as requested */
}

/* Content Sections */
.content-section {
    margin-bottom: var(--spacing-xxl);
}

.intro-section {
    margin-top: var(--spacing-lg);
}

.text-block p:last-child {
    margin-bottom: 0;
}

.text-block {
    margin-bottom: var(--spacing-lg);
}

.mb-large {
    margin-bottom: var(--spacing-xl);
}

/* Gold Divider */
.gold-divider {
    height: 1px;
    background-color: var(--color-gold);
    width: 100%;
    margin: var(--spacing-xxl) 0;
    opacity: 0.8;
}

/* Enquiries Section */
.note {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: var(--spacing-xl);
    margin-top: -0.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .full-width {
        grid-column: span 2;
    }
}

.contact-item {
    margin-bottom: var(--spacing-md);
}

.contact-detail {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.contact-desc {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-gold);
    padding: var(--spacing-xl) 0;
    margin-top: auto;
}

.footer-container {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-sub {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--spacing-lg);
}

.footer-legal p {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: var(--spacing-xl) var(--spacing-md);
    }
}
