/* =========================================================
   PINOK STAKE LIMITED - Professional Corporate Theme
   ========================================================= */

:root {
    --navy-900: #0a1a2e;
    --navy-800: #102640;
    --navy-700: #1b3a5c;
    --accent: #d97706;
    --accent-hover: #b45f04;
    --accent-light: #f59e0b;
    --ink: #142236;
    --muted: #4a5a6e;
    --paper: #ffffff;
    --mist: #f2f5f9;
    --line: #d6dee9;
    --on-dark: #f5f7fa;
    --on-dark-muted: #c3cfdd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 72px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--on-dark);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.25s, border-color 0.25s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-light);
    border-bottom-color: var(--accent-light);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 2rem;
    background-color: var(--navy-900);
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--on-dark);
    overflow: hidden;
    max-width: none;
    margin: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 26, 46, 0.80), rgba(10, 26, 46, 0.92));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
}

.hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.5rem;
}

.hero-title .orange {
    color: var(--accent-light);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--on-dark);
    max-width: 700px;
    margin: 0 auto 2.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--navy-900);
}

/* On light sections, secondary buttons need dark text */
.section:not(.dark) .btn-secondary {
    color: var(--navy-800);
    border-color: var(--navy-800);
}

.section:not(.dark) .btn-secondary:hover {
    background: var(--navy-800);
    color: #ffffff;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.92rem;
}

.btn-lg {
    padding: 1rem 2.8rem;
    font-size: 1.05rem;
}

/* ---------- STATS BAR ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2.5rem max(2rem, calc((100% - 1200px) / 2));
    background: var(--navy-800);
    text-align: center;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1.2;
}

.stat-label {
    color: var(--on-dark-muted);
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: 5rem max(2rem, calc((100% - 1200px) / 2));
    background: var(--paper);
}

.section.dark {
    background: var(--navy-900);
    color: var(--on-dark);
}

.news-section {
    background: var(--mist);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    color: #b45309;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.section.dark .section-label {
    color: var(--accent-light);
}

.section-header h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 0.8rem;
}

.section.dark .section-header h2 {
    color: #ffffff;
}

.section-header p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.section.dark .section-header p {
    color: var(--on-dark-muted);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.6rem;
    margin-bottom: 0.6rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--on-dark);
}

/* ---------- CONTENT BLOCKS (About page) ---------- */
.content-block {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--ink);
}

.content-block p {
    margin-bottom: 1rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

.section.dark .content-block {
    color: var(--on-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 2rem;
}

.value-card h3 {
    color: var(--accent-light);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--on-dark-muted);
}

/* ---------- BRANDS ---------- */
.brands-grid,
.brands-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.brand-card,
.brand-detail {
    background: #ffffff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: 6px;
    padding: 2rem;
    box-shadow: 0 4px 14px rgba(10, 26, 46, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 26, 46, 0.12);
}

.brand-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.brand-card h3,
.brand-detail h3 {
    color: var(--navy-800);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.brand-card p,
.brand-detail p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.brand-category {
    color: #b45309 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem !important;
    letter-spacing: 1px;
}

.brand-link {
    display: inline-block;
    margin-top: 1rem;
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
}

.brand-link:hover {
    text-decoration: underline;
}

/* ---------- NEWS / ARTICLES ---------- */
.news-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.8rem;
    box-shadow: 0 4px 14px rgba(10, 26, 46, 0.05);
    display: flex;
    flex-direction: column;
}

.article-card h3 {
    color: var(--navy-800);
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.article-card p {
    color: var(--ink);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.meta {
    color: #5b6b7f;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.newsroom-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-box,
.filter-select {
    flex: 1;
    min-width: 220px;
    padding: 0.75rem 1rem;
    border: 1px solid #b8c4d4;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #ffffff;
    color: var(--ink);
}

/* ---------- LEADERSHIP ---------- */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
}

.leader-card h3 {
    color: var(--navy-800);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.leader-card p {
    color: var(--muted);
}

.leader-photo {
    width: 96px;
    height: 96px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--navy-700);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.position {
    color: #b45309 !important;
    font-weight: 600;
}

.brand {
    font-size: 0.9rem;
}

/* Leadership cards on dark sections */
.section.dark .leader-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.section.dark .leader-card h3 {
    color: #ffffff;
}

.section.dark .leader-card p {
    color: var(--on-dark-muted);
}

.section.dark .position {
    color: var(--accent-light) !important;
}

/* ---------- OPPORTUNITIES & VACANCIES ---------- */
.opportunities-grid,
.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.opportunity-card,
.vacancy-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    padding: 1.8rem;
    box-shadow: 0 4px 14px rgba(10, 26, 46, 0.05);
}

.vacancy-card {
    border-left-color: var(--navy-700);
}

.opportunity-card h3,
.vacancy-card h3 {
    color: var(--navy-800);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.opportunity-card p,
.vacancy-card p {
    color: var(--ink);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.category {
    color: #b45309 !important;
    font-size: 0.8rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.deadline {
    color: #b91c1c !important;
    font-weight: 600;
    margin-top: 0.8rem;
}

.salary {
    color: #b45309 !important;
    font-weight: 600;
    margin-top: 0.8rem;
}

/* ---------- CAREERS CALL-TO-ACTION ---------- */
.careers-cta {
    background: var(--navy-700);
    color: var(--on-dark);
    text-align: center;
    padding: 4.5rem 2rem;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.careers-cta h2,
.cta-section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.careers-cta p,
.cta-section p {
    color: var(--on-dark);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.cta-section {
    text-align: center;
}

/* ---------- FORMS ---------- */
.form-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 2.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
}

.form-container form,
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-container p {
    color: var(--on-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-container input,
.form-container textarea,
.form-container select,
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #b8c4d4;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #ffffff;
    color: var(--ink);
}

.form-container input::placeholder,
.form-container textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6b7a8c;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.search-box:focus,
.filter-select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

/* ---------- CONTACT ---------- */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
}

.contact-item .item-title,
.contact-item h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.contact-item .item-description,
.contact-item p {
    color: var(--on-dark-muted);
}

.contact-item a {
    color: var(--accent-light);
    text-decoration: none;
    word-break: break-word;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info,
.contact-form {
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2.2rem;
}

.contact-info h2,
.contact-form h2 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--navy-800);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.info-item h3 {
    color: var(--navy-800);
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
}

.info-item p,
.info-item a {
    color: var(--ink);
}

.info-item a {
    color: var(--navy-700);
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #061221;
    color: var(--on-dark-muted);
    padding: 3.5rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--on-dark-muted);
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--on-dark-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9fb0c6;
    font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.7rem 1.25rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--navy-900);
        padding: 1rem 1.25rem 1.5rem;
        gap: 0.4rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 0.6rem 0;
        font-size: 1rem;
    }

    .logo-img {
        height: 56px;
        max-width: 180px;
    }

    .hero {
        min-height: 80vh;
        padding: 5rem 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .section,
    .stats {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}
/* ---------- IMAGES ---------- */
.brand-logo {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}

.article-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: block;
}

.leader-photo {
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 700;
}

/* ---------- FULL ARTICLE PAGE ---------- */
.article-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
    color: var(--ink);
}

.article-page h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.25;
    color: var(--navy-800);
    margin: 0.6rem 0 1rem;
}

.article-hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 6px;
    margin: 1.5rem 0 2rem;
}

.article-body p {
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.back-link {
    color: #b45309;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}
/* ---------- NEWS TICKER ---------- */
.ticker {
    background: var(--navy-700);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 35s linear infinite;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.7rem 0;
}

.ticker-item {
    padding: 0 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.ticker-tag {
    display: inline-block;
    background: #b45309;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-right: 0.6rem;
    vertical-align: middle;
}

.ticker-tag.is-urgent {
    background: #b91c1c;
}

.ticker-sep {
    color: var(--accent-light);
    padding: 0 0.8rem;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- SEARCH & FILTER RESULTS ---------- */
.results-count {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--muted);
    background: var(--mist);
    border: 1px dashed #b8c4d4;
    border-radius: 6px;
}

.btn-danger {
    background: #b91c1c;
    color: #ffffff;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.btn-danger:hover {
    background: #991b1b;
}

.filter-select option {
    color: var(--ink);
}
/* ---------- LOGO WITH NAME AND TAGLINE ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-tagline {
    color: #c3cfdd;
    font-size: 0.68rem;
    letter-spacing: 0.3px;
    margin-top: 0.15rem;
}

@media (max-width: 768px) {
    .logo-img {
        height: 44px;
    }

    .logo-name {
        font-size: 0.95rem;
    }

    .logo-tagline {
        display: none;
    }
}