/* --- Global Reset & Luxury Framework --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fbfbfa; /* Rich cream-tinted executive white */
    --bg-dark: #111111;      /* Deep obsidian black */
    --text-main: #161615;    /* Sharp slate black */
    --text-muted: #686864;
    --border-light: #e6e4de; /* Prominent stone grey border */
    
    /* Executive Gold Spectrum */
    --gold-primary: #c5a059;   /* Champagne gold */
    --gold-deep: #a47e3b;      /* Dark bronze-gold */
    --gold-light: #f7f4eb;     /* Soft ivory gold tint */
    
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.65;
    letter-spacing: -0.1px;
    overflow-x: hidden;
}

/* Structural Framing container */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* --- Premium Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    border-bottom: 2px solid var(--border-light); /* Thick, grounding structural line */
    z-index: 1000;
    backdrop-filter: blur(12px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px; /* Taller navigation adds importance */
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.company-name {
    font-weight: 700;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bg-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

/* Gold animated underline indicator for active tabs */
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    color: var(--bg-dark);
}

.nav-item.active::after, .nav-item:hover::after {
    width: 100%;
}

/* --- Main Framework Wrapping --- */
.content-wrapper {
    margin-top: 90px;
}

.page-section {
    display: none;
    padding: 8rem 0;
    animation: luxuriousFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-section.active {
    display: block;
}

@keyframes luxuriousFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Architectural Hero Landing (Home) --- */
#home {
    display: none;
    align-items: center;
    min-height: calc(100vh - 90px);
    background-color: var(--bg-secondary);
    background-image: linear-gradient(135deg, rgba(197,160,89,0.03) 25%, transparent 25%), 
                      linear-gradient(225deg, rgba(197,160,89,0.03) 25%, transparent 25%);
    background-size: 60px 60px;
}

#home.active {
    display: flex;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.03); /* Lifts the content frame */
}

/* --- Central Home Page Hero Logo Changes --- */
.hero-center-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem; /* Increased separation space */
    width: 100%;
}

.hero-center-logo {
    max-height: 180px;   /* Significantly increased logo visibility size */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(197, 160, 89, 0.12));
}

.hero-content .subtitle {
    font-size: 0.8rem; /* Made slightly smaller and tighter */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 1.25rem;
    display: inline-block;
    border-bottom: 1px solid var(--gold-primary);
    padding-bottom: 4px;
}

.hero-content h1 {
    font-size: 3.8rem; /* Finely tuned down to balance the larger logo */
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.hero-content .lead-text {
    font-size: 1.15rem; /* Reduced description font size to look more professional and elegant */
    color: var(--text-muted);
    font-weight: 400;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.75;
}

/* --- High-Density Portal Grid Menu --- */
.hero-content .cta-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 650px;
    margin: 0 auto;
}

/* --- Premium Buttons --- */
.btn {
    font-family: var(--font-stack);
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--bg-dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background-color: var(--bg-dark);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-dark);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-primary);
    color: var(--gold-deep);
    transform: translateY(-2px);
}

/* --- Modern Global Back Navigation Link --- */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: var(--gold-primary);
    font-family: var(--font-stack);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 8px 16px;
    margin-bottom: 3rem;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.btn-back:hover {
    color: var(--bg-dark);
    background-color: var(--bg-secondary);
    transform: translateX(-4px);
}

/* --- Section Headings Layout --- */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--bg-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5rem;
    max-width: 700px;
    position: relative;
}

/* Decorative Gold bar under section headers */
.section-subtitle::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold-primary);
    margin-top: 1.5rem;
}

/* --- High-End Structured Cards --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 48px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--bg-dark); /* Bold intentional anchoring line */
    padding: 3.5rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-8px);
    border-top-color: var(--gold-primary);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.08);
}

.card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    color: var(--bg-dark);
}

.card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.card-image-placeholder {
    width: 100%;
    height: 240px;
    background-color: var(--bg-secondary);
    border: 1px dashed var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-deep);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* --- Industrial Opportunities Layout --- */
.opportunities-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.opportunity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 3rem;
    border: 1px solid var(--border-light);
    background: #ffffff;
    border-left: 5px solid var(--border-light);
    transition: all 0.3s ease;
}

.opportunity-item:hover {
    border-left-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    background-color: var(--bg-secondary);
}

.opportunity-item h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
}

.opportunity-item .location {
    color: var(--gold-deep);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Premium Footer --- */
footer {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 4rem 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--gold-primary); /* Heavy executive golden capping line */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

footer p {
    color: #aaaaaa;
}

.footer-meta a {
    color: #aaaaaa;
    text-decoration: none;
    margin-left: 32px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-meta a:hover {
    color: var(--gold-primary);
}

/* --- Corporate Responsive Scale --- */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
    .grid-layout { gap: 30px; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .nav-container { flex-direction: column; height: auto; padding: 1.5rem 0; gap: 1.5rem; }
    .nav-links { gap: 20px; }
    .content-wrapper { margin-top: 160px; }
    .hero-center-logo { max-height: 130px; } /* Clean layout adjustments for smartphones */
    .hero-content { padding: 2rem 1.5rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .cta-group { grid-template-columns: 1fr; }
    .opportunity-item { flex-direction: column; align-items: flex-start; gap: 20px; padding: 2rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-meta a { margin: 0 12px; }
}
