﻿
:root {
    --sanctum-ivory: #faf8f5;
    --sanctum-card: #ffffff;
    --temple-gold: #c28816;
    --temple-gold-dark: #8c5d07;
    --royal-maroon: #6e1018;
    --royal-maroon-dark: #46090e;
    --sacred-saffron: #d9580d;
    --sacred-saffron-light: #fff5eb;
    --text-heading: #1e1b18;
    --text-body: #4a453e;
    --text-muted: #78716c;
    --border-gold: rgba(194, 136, 22, 0.28);
    --border-subtle: #e7e2d9;
    --shadow-subtle: 0 10px 30px rgba(70, 9, 14, 0.06);
    --shadow-elevated: 0 20px 45px rgba(70, 9, 14, 0.12);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--sanctum-ivory);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, .font-heritage {
    font-family: 'Cinzel', serif;
    color: var(--text-heading);
    letter-spacing: 0.6px;
}

/* ---------------- TOP BANNER STRIP ---------------- */
.temple-top-strip {
    background: linear-gradient(90deg, var(--royal-maroon-dark) 0%, var(--royal-maroon) 50%, var(--royal-maroon-dark) 100%);
    color: #fce7b2;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 0;
    border-bottom: 1px solid rgba(194, 136, 22, 0.4);
    letter-spacing: 0.5px;
}

/* ---------------- NAVBAR ---------------- */
.ivory-navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-gold);
    padding: 12px 0;
    transition: all 0.3s ease;
    z-index: 1050;
}

    .ivory-navbar.scrolled {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        padding: 10px 0;
    }

.navbar-brand .dt-logo-wrap {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: inline-block;
}

.brand-text {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 1.5px;
    color: var(--royal-maroon);
}

.nav-link {
    color: var(--text-heading) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 18px !important;
    transition: all 0.2s ease;
}

    .nav-link:hover {
        color: var(--sacred-saffron) !important;
    }

.btn-portal-login {
    background: linear-gradient(135deg, var(--royal-maroon) 0%, var(--royal-maroon-dark) 100%);
    color: #fef08a !important;
    border: 1px solid var(--temple-gold);
    padding: 8px 24px !important;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 4px 15px rgba(110, 16, 24, 0.25);
    transition: all 0.3s ease;
}

    .btn-portal-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(110, 16, 24, 0.4);
        color: #ffffff !important;
    }

/* ---------------- HERO SECTION ---------------- */
.ivory-hero {
    position: relative;
    padding: 85px 0 75px;
    background: radial-gradient(circle at 10% 20%, rgba(217, 88, 13, 0.06) 0%, transparent 40%), radial-gradient(circle at 90% 40%, rgba(110, 16, 24, 0.05) 0%, transparent 40%), var(--sanctum-ivory);
    overflow: hidden;
}

    .ivory-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: linear-gradient(to top, #ffffff, transparent);
        pointer-events: none;
    }

.hero-heritage-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border-gold);
    color: var(--royal-maroon);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(194, 136, 22, 0.12);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--royal-maroon);
    margin-bottom: 18px;
}

    .hero-title span {
        color: var(--temple-gold-dark);
        position: relative;
    }

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 580px;
    margin-bottom: 30px;
}

.hero-mockup-frame {
    background: #ffffff;
    border: 2px solid var(--border-gold);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 25px 60px rgba(110, 16, 24, 0.15);
    transition: all 0.4s ease;
}

    .hero-mockup-frame:hover {
        transform: translateY(-5px);
        border-color: var(--temple-gold);
    }

    .hero-mockup-frame img {
        width: 100%;
        border-radius: 12px;
        display: block;
    }

/* ---------------- STATS ACCENT BAR ---------------- */
.ivory-stats-bar {
    background: #ffffff;
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 30px 20px;
    margin-top: -45px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-elevated);
}

.stat-col {
    text-align: center;
    border-right: 1px solid var(--border-subtle);
}

    .stat-col:last-child {
        border-right: none;
    }

.stat-num {
    font-family: 'Cinzel', serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--royal-maroon);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------------- SECTION STRUCTURE ---------------- */
.ivory-section {
    padding: 90px 0;
    position: relative;
}

    .ivory-section.bg-white-pure {
        background-color: #ffffff;
    }

.section-header-centered {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.tag-accent {
    color: var(--sacred-saffron);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    display: block;
    margin-bottom: 8px;
}

.section-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--royal-maroon);
    margin-bottom: 14px;
}

/* ---------------- APP FEATURE TILES ---------------- */
.ivory-tile {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 35px 28px;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
}

    .ivory-tile:hover {
        transform: translateY(-8px);
        border-color: var(--border-gold);
        box-shadow: var(--shadow-elevated);
    }

.tile-number {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: rgba(194, 136, 22, 0.3);
    position: absolute;
    top: 24px;
    right: 24px;
}

.tile-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--sacred-saffron-light);
    color: var(--sacred-saffron);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
    border: 1px solid rgba(217, 88, 13, 0.2);
    transition: all 0.3s ease;
}

.ivory-tile:hover .tile-icon-box {
    background: var(--royal-maroon);
    color: #fef08a;
    border-color: var(--temple-gold);
    transform: scale(1.06);
}

.tile-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--royal-maroon);
    margin-bottom: 10px;
}

.tile-text {
    color: var(--text-body);
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.65;
}

/* ---------------- ABOUT BANNER ---------------- */
.ivory-banner-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--sacred-saffron-light) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--shadow-subtle);
}

.audit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.95rem;
}

    .audit-item i {
        color: var(--temple-gold-dark);
        font-size: 22px;
    }

/* ---------------- CONTACT SECTION ---------------- */
.contact-box-ivory {
    background: #ffffff;
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--shadow-elevated);
}

.contact-entry {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-entry-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--sacred-saffron-light);
    color: var(--sacred-saffron);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    border: 1px solid rgba(217, 88, 13, 0.25);
}

.ivory-input {
    background: var(--sanctum-ivory) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-heading) !important;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

    .ivory-input:focus {
        border-color: var(--temple-gold) !important;
        box-shadow: 0 0 0 3px rgba(194, 136, 22, 0.15) !important;
        background: #ffffff !important;
    }

/* ---------------- FOOTER ---------------- */
.ivory-footer {
    background: var(--royal-maroon-dark);
    color: #d1c7bd;
    padding: 35px 0;
    font-size: 0.88rem;
    border-top: 2px solid var(--temple-gold);
}

    .ivory-footer a {
        color: #fde047;
        text-decoration: none;
    }

        .ivory-footer a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* ---------------- WELCOME POPUP MODAL (WITH LOGO) ---------------- */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 27, 24, 0.72);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.welcome-popup-card {
    background: #ffffff;
    border: 2px solid var(--border-gold);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    padding: 38px 28px 30px;
    box-shadow: 0 25px 60px rgba(70, 9, 14, 0.35);
    position: relative;
    transform: scale(0.85);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.welcome-popup-overlay.show .welcome-popup-card {
    transform: scale(1);
    opacity: 1;
}

.welcome-popup-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .welcome-popup-close-btn:hover {
        color: var(--royal-maroon);
    }

.welcome-popup-logo-container {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: radial-gradient(circle, #1c1929 0%, #08070e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.2), inset 0 -2px 5px rgba(0, 0, 0, 0.8), 0 8px 22px rgba(110, 16, 24, 0.25);
    border: 2px solid var(--border-gold);
    overflow: hidden;
}

.welcome-popup-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--sacred-saffron);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--sacred-saffron-light);
    border: 1px solid rgba(217, 88, 13, 0.2);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.welcome-popup-title {
    font-family: 'Cinzel', serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--royal-maroon);
    margin-bottom: 8px;
    line-height: 1.25;
}

.welcome-popup-text {
    font-size: 0.93rem;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.55;
}

.btn-welcome-enter {
    background: linear-gradient(135deg, var(--royal-maroon) 0%, var(--royal-maroon-dark) 100%);
    color: #fef08a !important;
    border: 1px solid var(--temple-gold);
    padding: 11px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(110, 16, 24, 0.28);
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
}

    .btn-welcome-enter:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(110, 16, 24, 0.4);
        color: #ffffff !important;
    }

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .ivory-navbar .container-fluid,
    .ivory-hero .container-fluid {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .ivory-hero {
        padding: 70px 0 50px;
        text-align: center;
    }

    .hero-sub {
        margin: 0 auto 25px;
    }

    .stat-col {
        border-right: none;
        margin-bottom: 22px;
    }

        .stat-col:last-child {
            margin-bottom: 0;
        }

    .contact-box-ivory {
        padding: 28px;
    }
}

