:root {
    --mt-navy: #0f3d68;
    --mt-navy-2: #14528a;
    --mt-orange: #2f7ff5;
    --mt-orange-dark: #1c63d1;
    --mt-steel: #48586b;
    --mt-light: #f4f7fb;
    --mt-text-muted: #6c7c92;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2a37;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6, .brand-text, .display-font {
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a { text-decoration: none; }

.text-secondary-light { color: var(--mt-text-muted); }

/* ===== Header / Navbar ===== */
.site-header {
    background: var(--mt-navy);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.brand-mark {
    background: var(--mt-orange);
    color: #fff;
    font-weight: 700;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
}

.brand-text {
    color: #fff;
    font-weight: 600;
    line-height: 1.05;
    font-size: 1.05rem;
}
.brand-text small {
    color: var(--mt-orange);
    letter-spacing: 2px;
    font-size: 0.6rem;
}

.navbar-nav .nav-link {
    color: #cfd8e3;
    font-weight: 600;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 1px;
    padding: 0.6rem 0.9rem !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--mt-orange);
}

.btn-brand {
    background: var(--mt-orange);
    color: #fff !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.5rem 1.4rem;
    border-radius: 4px;
    border: none;
}
.btn-brand:hover { background: var(--mt-orange-dark); color: #fff; }

.btn-outline-brand {
    border: 2px solid var(--mt-orange);
    color: var(--mt-orange);
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
}
.btn-outline-brand:hover { background: var(--mt-orange); color: #fff; }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(120deg, var(--mt-navy) 45%, var(--mt-navy-2) 100%);
    color: #fff;
    padding: 5.5rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,106,26,.18) 0%, rgba(255,106,26,0) 70%);
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.05;
}
.hero .eyebrow {
    color: var(--mt-orange);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.85rem;
}
.hero-img-wrap {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Section titles ===== */
.section-eyebrow {
    color: var(--mt-orange);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.8rem;
}
.section-title { font-weight: 700; font-size: 2.2rem; }

/* ===== Product Cards ===== */
.product-card {
    background: #fff;
    border: 1px solid #e7eaee;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(13,27,42,.12);
}
.product-card .img-wrap {
    aspect-ratio: 4/3;
    background: var(--mt-light);
    overflow: hidden;
}
.product-card .img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s ease;
}
.product-card:hover .img-wrap img { transform: scale(1.06); }
.product-card .body { padding: 1.25rem; }
.product-card .cat-tag {
    color: var(--mt-orange);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.product-card h3 { font-size: 1.3rem; margin: 0.25rem 0 0.5rem; }

/* ===== Feature / Icon blocks ===== */
.icon-badge {
    width: 58px; height: 58px;
    background: rgba(255,106,26,.1);
    color: var(--mt-orange);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

/* ===== CTA band ===== */
.cta-band {
    background: linear-gradient(120deg, var(--mt-navy), var(--mt-navy-2));
    color: #fff;
    border-radius: 14px;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--mt-navy);
    color: #cfd8e3;
}
.site-footer h5.footer-brand { color: #fff; font-weight: 700; }
.site-footer h5.footer-brand span { color: var(--mt-orange); }
.site-footer h6 { color: #fff; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 1px; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--mt-text-muted); }
.footer-links a:hover { color: var(--mt-orange); }

/* ===== WhatsApp float button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: #fff;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(0,0,0,.3);
    z-index: 1040;
}
.whatsapp-float:hover { background: #1ebc59; color: #fff; }

/* ===== Page banner ===== */
.page-banner {
    background: var(--mt-navy);
    color: #fff;
    padding: 3.5rem 0;
}

/* ===== Admin ===== */
.admin-wrapper { min-height: 100vh; background: #f4f6f8; }
.admin-sidebar {
    background: var(--mt-navy);
    min-height: 100vh;
    color: #cfd8e3;
}
.admin-sidebar a {
    color: #cfd8e3;
    display: block;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    background: rgba(255,106,26,.15);
    color: var(--mt-orange);
}
.admin-login-wrap {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(120deg, var(--mt-navy), var(--mt-navy-2));
}

.thumb-sm { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }

/* ===== Page Builder Sections ===== */
.text-brand { color: var(--mt-orange); }

.section-block { scroll-margin-top: 90px; }

.hero-block {
    background: linear-gradient(120deg, var(--mt-navy) 45%, var(--mt-navy-2) 100%);
    padding: 4rem 0;
}
.hero-block .section-eyebrow { justify-content: center; display: block; }

.team-avatar {
    width: 84px; height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mt-orange), var(--mt-orange-dark));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.stats-block {
    background: var(--mt-light);
    padding: 3rem 0;
}

.page-content h2, .page-content h3 { margin-top: 1.5rem; }
.page-content ul { padding-left: 1.2rem; }

/* Admin: page builder section list */
.section-row {
    border: 1px solid #e7eaee;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    background: #fff;
    margin-bottom: 0.75rem;
}
.section-type-badge {
    background: rgba(255,106,26,.1);
    color: var(--mt-orange);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}
.section-type-picker .btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 0.5rem;
    height: 100%;
}
.section-type-picker .btn i { font-size: 1.4rem; }

/* ===== Product image gallery ===== */
.gallery-thumb {
    width: 72px; height: 72px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: .75;
    transition: opacity .15s ease, border-color .15s ease;
}
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border-color: var(--mt-orange); opacity: 1; }

/* ===== Video gallery ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}
.video-card { cursor: pointer; }
.video-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
.video-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.video-card:hover .video-thumb-wrap img { transform: scale(1.05); }
.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(0,0,0,.25);
}
.video-play-btn i {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(220,30,30,.9);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.video-card-title {
    margin-top: .6rem;
    font-weight: 600;
    font-size: .92rem;
    color: #1f2a37;
}
.video-modal .modal-content { border: none; }

/* Admin: gallery/video management grids */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}
.admin-gallery-item {
    position: relative;
    border: 1px solid #e7eaee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.admin-gallery-item img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.admin-gallery-item .item-actions {
    display: flex;
    justify-content: space-between;
    padding: .4rem;
    background: #f8f9fa;
}
