/* ================================================================
   STEKEN LIMITED — Brand Stylesheet
   ================================================================ */

:root {
    /* Brand Colors */
    --primary-color: #0d2c54;     /* Deep Navy — Trust, Authority */
    --primary-light: #163d6e;     /* Lighter navy for hover, secondary */
    --primary-tint: #e8edf3;      /* Very light navy wash */
    --accent-color: #f7941d;      /* Construction Orange — Energy */
    --accent-dark: #c46e08;       /* Darker orange for hover */
    --accent-light: #fff4e5;      /* Light orange tint */

    /* Neutrals */
    --bg-warm: #faf8f5;           /* Warm off-white for alternating sections */
    --bg-light: #f4f6f9;          /* Cool light for subtle contrast */
    --text-dark: #1a1a2e;         /* Near-black for headings */
    --text-body: #374151;         /* Softer body text */
    --text-muted: #6b7280;        /* Secondary/muted text */
    --text-light: #ffffff;
    --border-color: #e5e7eb;      /* Subtle borders */

    /* Spacing */
    --section-py: 5rem;
}

/* ================================================================
   BASE
   ================================================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
}

a {
    color: var(--accent-color);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
}

::selection {
    background-color: var(--accent-color);
    color: white;
}

/* ================================================================
   NAVBAR
   ================================================================ */

.navbar {
    background-color: var(--primary-color) !important;
    padding: 0.75rem 0;
    transition: box-shadow 0.3s ease;
}

.navbar-brand {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.2s ease;
}

.navbar .nav-link:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar .nav-link:not(.btn):hover::after,
.navbar .nav-link:not(.btn).active::after {
    transform: scaleX(1);
}

.navbar .btn-primary {
    font-weight: 600;
    border-radius: 6px;
}

/* ================================================================
   HERO SECTION
   ================================================================ */

.hero-section {
    background: linear-gradient(135deg, rgba(13, 44, 84, 0.88) 0%, rgba(22, 61, 110, 0.75) 100%),
                url('../assets/img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 7rem 0 6rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-section h1 {
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 3.25rem;
    line-height: 1.15;
}

.hero-section .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Orange accent line decoration */
.accent-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border: none;
    margin: 1.5rem auto 2rem;
    border-radius: 2px;
}

.accent-line-left {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border: none;
    margin: 0 0 1.5rem 0;
    border-radius: 2px;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.35);
    transform: translateY(-1px);
}

.btn-outline-light {
    font-weight: 600;
    border-radius: 6px;
    border-width: 2px;
    transition: all 0.25s ease;
}

.btn-outline-light:hover {
    transform: translateY(-1px);
}

.btn-outline-dark {
    font-weight: 600;
    border-radius: 6px;
    border-width: 2px;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.25s ease;
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* ================================================================
   SECTION STYLING
   ================================================================ */

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.bg-warm {
    background-color: var(--bg-warm);
}

.bg-primary-tint {
    background-color: var(--primary-tint);
}

/* ================================================================
   ABOUT SNIPPET (Homepage)
   ================================================================ */

#about .section-title {
    color: var(--primary-color);
}

.steken-promise {
    background: var(--bg-warm);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
}

.steken-promise li {
    font-size: 1.05rem;
    color: var(--text-body);
}

.steken-promise .check-icon {
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ================================================================
   DIASPORA SECTION
   ================================================================ */

.diaspora-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.diaspora-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(247, 148, 29, 0.08);
    border-radius: 50%;
}

.diaspora-section h2 {
    color: white;
}

.diaspora-feature {
    text-align: center;
    padding: 1.5rem;
}

.diaspora-feature .feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(247, 148, 29, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.diaspora-feature h5 {
    color: white;
    font-weight: 600;
}

.diaspora-feature p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */

.service-card {
    border: none;
    border-top: 4px solid var(--accent-color);
    background: white;
    border-radius: 0 0 10px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* The "inquire" CTA card */
.service-card-cta {
    border-top: 4px solid var(--primary-color);
    background: var(--primary-tint);
}

.service-card-cta h5 {
    color: var(--primary-color);
}

/* ================================================================
   STATS / CREDIBILITY BAR
   ================================================================ */

.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 3.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================================================
   PROJECT CARDS
   ================================================================ */

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}

.project-card-link {
    color: inherit;
}

.project-card-link:hover {
    color: inherit;
}

.project-card img {
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent 0%, rgba(13, 44, 84, 0.95) 100%);
    color: white;
    padding: 3rem 2rem 2rem;
}

.project-overlay h3 {
    color: white;
    font-size: 1.5rem;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.portfolio-note {
    display: inline-block;
    background: var(--primary-tint);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-left: 3px solid var(--accent-color);
}

/* ================================================================
   FAQ SECTION
   ================================================================ */

.faq-section {
    background: var(--bg-warm);
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    background: white;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--accent-light);
    color: var(--primary-color);
    box-shadow: none;
}

.faq-section .accordion-button::after {
    filter: none;
}

.faq-section .accordion-body {
    padding: 1.25rem 1.5rem;
    color: var(--text-body);
    line-height: 1.8;
}

.faq-section .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */

#contact {
    background-color: var(--bg-light);
}

.contact-info-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    height: 100%;
}

.contact-info-box h2 {
    color: white;
}

.contact-form-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.2);
}

.form-control,
.form-select {
    padding: 0.65rem 1rem;
    border-color: var(--border-color);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* ================================================================
   FOOTER
   ================================================================ */

footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-top: 4px solid var(--accent-color);
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

footer p,
footer li {
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer .footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

footer .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

footer .social-icon:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */

.about-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0 4rem;
}

.about-header h1 {
    color: white;
}

.about-header .lead {
    color: rgba(255, 255, 255, 0.8);
}

.values-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    color: white;
}

.values-card h4 {
    color: white;
}

.value-item h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.value-item h5 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ================================================================
   PROJECTS PAGE
   ================================================================ */

.project-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 0 4rem;
    margin-bottom: 3rem;
}

.project-header h1 {
    color: white;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.project-sidebar {
    background: var(--bg-warm);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.project-sidebar .detail-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* List group accent for project features */
.list-group-item {
    border-color: var(--border-color);
    color: var(--text-body);
    padding: 0.85rem 1rem;
}

/* ================================================================
   LIGHTBOX / IMAGE VIEWER
   ================================================================ */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 991px) {
    .hero-section {
        padding: 5rem 0 4rem;
        min-height: auto;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .hero-section .lead {
        font-size: 1.05rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .hero-section {
        padding: 4rem 0 3rem;
    }

    .contact-info-box {
        margin-bottom: 1.5rem;
    }

    .diaspora-feature {
        padding: 1rem 0.5rem;
    }

    footer {
        text-align: center;
    }

    footer .text-md-end {
        text-align: center !important;
    }
}

@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
