/* CSS Variables */
:root {
    --brand: #25632D;
    --text: #111928;
    --muted: #847576;
    --bg: #ffffff;
    --footer: #111928;
    --stroke: #e5e7eb;
    --light-grey: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
}

html {
    scroll-behavior: smooth;
}

/* Full-width stacked Mission/Vision sections */
.mv-split {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0.5rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mv-mission {
    background-image: url("/assets/Images/Ardea.jpg");
}

.mv-vision {
    background-image: url("/assets/Images/Floor\ &\ Decor\ Tilting\ Panels.jpg");
}

.mv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 22, 22, 0.70);
}

.mv-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.mv-quote {
    max-width: 980px;
    color: rgba(255,255,255,0.92);
}

.mv-title {
    color: #fff;
    font-size: 2.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.mv-text {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 300;
}

/* Mobile tweaks */
@media (max-width: 767px) {
    .mv-split {
        min-height: 440px;
        border-radius: 14px;
    }

    .mv-inner {
        padding: 3rem 1.25rem;
    }

    .mv-text {
        max-width: 52ch;
        line-height: 1.35;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav-list {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--stroke);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--stroke);
    cursor: pointer;
    font-size: 0.875rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn.primary {
    background: var(--brand);
    color: white;
    border: 0;
}

.btn.primary:hover {
    background: #1e4f24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 45, 0.3);
}

.btn:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Sections */
.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

/* About Page Styles */
.intro-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.join-team-btn {
    margin-top: 2rem;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text);
}

@media (min-width: 768px) {
    .intro-text {
        font-size: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--footer);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 3rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-company {
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.2;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: #d1d5db;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 45, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Page Hero */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 4rem;
    }
}

/* Careers Section */
.careers-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--stroke);
}

.careers-intro {
    margin-bottom: 3rem;
    text-align: center;
}

.careers-intro p {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2rem;
}