/* ============================================================
   Skyra Machine Tools — site theme
   Built on Bootstrap 5. Keep colors centralized via variables.
   ============================================================ */

:root {
    --brand: #0a6b3a;
    --brand-dark: #074d29;
    --brand-light: #e7f5ec;
    --ink: #1f2a24;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    margin-bottom: 0;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, .brand-font {
    font-family: 'Poppins', sans-serif;
}

a {
    color: var(--brand);
}

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

/* ---------- Navbar ---------- */
.navbar {
    backdrop-filter: saturate(180%) blur(8px);
    background-color: rgba(255, 255, 255, 0.94) !important;
    transition: box-shadow 0.2s ease;
}

.navbar.is-scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 46px;
    width: auto;
}

.nav-link {
    font-weight: 600;
    color: #333 !important;
    position: relative;
    margin: 0 0.25rem;
}

.nav-link.active,
.nav-link:hover {
    color: var(--brand) !important;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero-carousel .carousel-item {
    height: 80vh;
    min-height: 460px;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 30, 16, 0.55) 0%, rgba(4, 30, 16, 0.65) 100%);
}

.hero-carousel .carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 720px;
    left: 8%;
    right: auto;
}

.hero-carousel .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #b9f0cc;
}

.hero-carousel h1 {
    font-weight: 700;
    font-size: clamp(1.9rem, 4.2vw, 3.25rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-carousel p {
    font-size: 1.1rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.scroll-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
    z-index: 2;
}

@keyframes bounceDown {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------- Page banners (About / Industry / Contact) ---------- */
.page-banner {
    position: relative;
    height: 34vh;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner h1 {
    position: relative;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ---------- Section layout ---------- */
section {
    padding: 4.5rem 0;
}

.section-alt {
    background: #f7fbf8;
}

.section-title {
    text-align: center;
    margin-bottom: 2.75rem;
}

.section-title .eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--brand);
    font-size: 0.85rem;
}

.section-title h2 {
    font-weight: 700;
    color: var(--brand-dark);
    margin-top: 0.35rem;
}

.section-title .underline {
    width: 60px;
    height: 4px;
    background: var(--brand);
    margin: 0.85rem auto 0;
    border-radius: 2px;
}

.section-title p {
    max-width: 640px;
    margin: 0.75rem auto 0;
    color: #5a655e;
}

/* ---------- About ---------- */
.about-img-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.about-img-wrap img {
    width: 100%;
    display: block;
}

.stat-strip {
    background: var(--brand);
    color: #fff;
    border-radius: 1rem;
    padding: 2rem 1rem;
}

.stat-strip .stat-num {
    font-weight: 700;
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
}

.stat-strip .stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ---------- Product range (tabbed, Cosmix-inspired) ---------- */
.product-tabs .nav-link {
    border: none;
    border-radius: 0.75rem;
    padding: 0.85rem 1.1rem;
    margin: 0 0.25rem;
    font-weight: 600;
    color: #46524a !important;
    background: #f0f5f1;
}

.product-tabs .nav-link i {
    margin-right: 0.5rem;
}

.product-tabs .nav-link.active {
    background: var(--brand);
    color: #fff !important;
}

.product-tabs .nav-link.active::after {
    display: none;
}

.product-pane img {
    border-radius: 1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    width: 100%;
    object-fit: cover;
    max-height: 360px;
}

.product-card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.product-card img {
    height: 190px;
    object-fit: cover;
}

.product-card .card-body {
    text-align: center;
    padding: 1rem;
}

.product-card .card-title {
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
}

/* ---------- Industries ---------- */
.industry-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #e7ece8;
}

.industry-list li i {
    color: var(--brand);
}

/* ---------- Contact ---------- */
.contact-card {
    border: none;
    border-radius: 1.25rem;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-info-panel {
    background: var(--brand);
    color: #fff;
    padding: 2.5rem;
    height: 100%;
}

.contact-info-panel h3 {
    font-weight: 700;
}

.contact-info-panel .info-row {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.contact-info-panel .info-row i {
    font-size: 1.2rem;
    margin-top: 0.15rem;
}

.contact-info-panel a {
    color: #fff;
    text-decoration: underline;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(10, 107, 58, 0.15);
}

.btn-brand {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}

.btn-brand:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

/* ---------- Footer ---------- */
footer.site-footer {
    background: var(--brand-dark);
    color: #d9efe1;
    padding: 2.5rem 0 1.25rem;
}

footer.site-footer h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

footer.site-footer a {
    color: #d9efe1;
    text-decoration: none;
}

footer.site-footer a:hover {
    color: #fff;
}

footer.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    font-size: 0.875rem;
}

/* ---------- Misc ---------- */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    display: none;
    z-index: 1000;
    width: 46px;
    height: 46px;
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-caption {
        left: 5%;
        right: 5%;
        max-width: none;
    }

    section {
        padding: 3rem 0;
    }
}
