:root {
    --ynci-red: #e21b2d;
    --ynci-dark: #111318;
    --ynci-text: #202127;
    --ynci-muted: #777b84;
    --ynci-soft: #f5f6f8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ynci-text);
    line-height: 1.65;
}

a {
    text-decoration: none;
}

.topbar {
    padding: 7px 0;
    background: #090a0d;
    color: #c6c7cc;
    font-size: 12px;
}

.topbar a {
    color: white;
}

.main-navbar {
    background: rgba(17, 19, 24, 0.98);
    border-bottom: 2px solid var(--ynci-red);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: normal;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border: 2px solid var(--ynci-red);
    color: white;
    font-weight: 900;
    font-size: 15px;
    transform: skew(-5deg);
}

.brand-name {
    color: #f4f4f5;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: .6px;
}

.brand-name strong {
    display: block;
    color: var(--ynci-red);
    font-size: 14px;
}

.main-navbar .nav-link {
    color: #e6e6e8;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 22px 10px !important;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
    color: var(--ynci-red);
}

.hero-section {
    min-height: 510px;
    display: flex;
    align-items: center;
    color: white;
    background:
        linear-gradient(90deg, rgba(8, 9, 12, .95), rgba(8, 9, 12, .72) 55%, rgba(8, 9, 12, .22)),
        url('/assets/depok/images/nmax-gallery.png')
        center 52% / cover no-repeat;
}

.hero-content {
    padding-top: 75px;
    padding-bottom: 75px;
}

.hero-eyebrow,
.section-label {
    color: var(--ynci-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-section h1 {
    max-width: 850px;
    margin: 12px 0;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero-section h1 span,
.section-title span {
    color: var(--ynci-red);
}

.hero-tagline {
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 600;
}

.hero-description {
    max-width: 560px;
    color: #d4d5d9;
}

.btn-ynci {
    color: white;
    background: var(--ynci-red);
    border: 1px solid var(--ynci-red);
    padding: 12px 24px;
    font-weight: 700;
    border-radius: 3px;
}

.btn-ynci:hover {
    background: #bd1323;
    border-color: #bd1323;
    color: white;
}

.quick-links {
    background: white;
    border-bottom: 1px solid #e6e7ea;
}

.quick-link-item {
    min-height: 85px;
    padding: 16px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ynci-text);
    border-right: 1px solid #e6e7ea;
}

.quick-link-item span {
    font-size: 22px;
    font-weight: 900;
    color: var(--ynci-red);
}

.quick-link-item strong {
    font-size: 13px;
}

.quick-link-item:hover {
    background: var(--ynci-soft);
    color: var(--ynci-red);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    margin: 8px 0 18px;
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 900;
    line-height: 1.2;
}

.section-description {
    font-size: 17px;
    line-height: 1.8;
}

.text-muted {
    color: var(--ynci-muted) !important;
}

.about-visual {
    min-height: 350px;
    position: relative;
    display: flex;
    align-items: end;
    padding: 35px;
    color: white;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .88), transparent 75%),
        url('/assets/depok/images/nmax-gallery.png')
        center / cover no-repeat;
}

.about-visual-content span {
    color: #ff6975;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.about-visual-content h3 {
    font-size: 32px;
    font-weight: 900;
}

.stats-section {
    padding: 48px 0;
    color: white;
    background: var(--ynci-dark);
}

.stats-section h3 {
    color: var(--ynci-red);
    font-size: 39px;
    font-weight: 900;
    margin-bottom: 4px;
}

.stats-section p {
    margin: 0;
    color: #d1d2d6;
    font-size: 13px;
}

.membership-section {
    padding: 75px 0;
    background: white;
}

.membership-panel {
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: white;
    background:
        linear-gradient(100deg, rgba(15, 16, 20, .98), rgba(15, 16, 20, .83)),
        url('/assets/depok/images/nmax-gallery.png')
        center / cover;
}

.membership-panel h2 {
    max-width: 600px;
    margin: 10px 0;
    font-size: clamp(28px, 4vw, 43px);
    font-weight: 900;
}

.membership-panel h2 span {
    color: var(--ynci-red);
}

.membership-panel p {
    max-width: 570px;
    color: #d1d2d6;
    margin-bottom: 0;
}

.membership-panel .btn {
    flex-shrink: 0;
    padding: 13px 22px;
    font-weight: 700;
    border-radius: 3px;
}

.bg-soft {
    background: var(--ynci-soft);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-heading .section-title {
    margin-bottom: 0;
}

.section-more {
    color: var(--ynci-red);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.news-card {
    height: 100%;
    background: white;
    border: 1px solid #e8e9ec;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.news-placeholder {
    min-height: 185px;
    display: flex;
    align-items: end;
    padding: 20px;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .72), transparent),
        url('/assets/depok/images/nmax-gallery.png')
        center / cover;
}

.news-placeholder span,
.news-category {
    color: var(--ynci-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.news-placeholder span {
    color: white;
}

.news-card h3 {
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 800;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 25px;
    border: 1px solid #e5e6e9;
    background: white;
}

.event-date {
    width: 75px;
    height: 75px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background: var(--ynci-red);
}

.event-date span {
    font-size: 12px;
}

.event-date strong {
    font-size: 21px;
    font-weight: 900;
}

.event-info {
    flex: 1;
}

.event-info h3 {
    font-size: 18px;
    font-weight: 800;
}

.event-info p {
    margin-bottom: 0;
    color: var(--ynci-muted);
    font-size: 14px;
}

.event-status {
    color: var(--ynci-red);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 170px;
    gap: 12px;
}

.gallery-tile {
    display: flex;
    align-items: end;
    padding: 18px;
    color: white;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 70%),
        url('/assets/depok/images/nmax-gallery.png')
        center / cover;
}

.gallery-tile:nth-child(2) {
    background-position: right center;
}

.gallery-tile:nth-child(3) {
    background-position: left center;
}

.gallery-tile-large {
    grid-row: span 2;
    grid-column: span 2;
}

.site-footer {
    color: white;
    background: #111318;
}

.site-footer h6 {
    margin-bottom: 20px;
    font-weight: 800;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
    color: #c6c7cc;
    font-size: 14px;
}

.site-footer a:hover {
    color: white;
}

.footer-brand {
    font-size: 22px;
    font-weight: 900;
}

.footer-brand span {
    display: block;
    color: var(--ynci-red);
    font-size: 14px;
}

.footer-bottom {
    padding: 17px 0;
    border-top: 1px solid #303138;
    color: #b9bac1;
    font-size: 12px;
}

@media (max-width: 991.98px) {
    .main-navbar .nav-link {
        padding: 10px 0 !important;
    }

    .hero-section {
        min-height: 450px;
    }

    .membership-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px;
    }
}

@media (max-width: 575.98px) {
    .topbar {
        font-size: 10px;
    }

    .brand-name {
        font-size: 9px;
    }

    .brand-name strong {
        font-size: 12px;
    }

    .hero-section {
        min-height: 430px;
        background-position: 60% center;
    }

    .hero-section h1 {
        letter-spacing: -1px;
    }

    .section-padding {
        padding: 55px 0;
    }

    .quick-link-item {
        justify-content: flex-start;
        min-height: 70px;
        border-bottom: 1px solid #e6e7ea;
    }

    .about-visual {
        min-height: 270px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .event-card {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 18px;
    }

    .event-info {
        flex-basis: calc(100% - 100px);
    }

    .event-status {
        margin-left: 97px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }

    .gallery-tile-large {
        grid-row: span 2;
        grid-column: span 2;
    }
}

/* PUBLIC INNER PAGES */

.page-hero {
    padding: 75px 0;
    color: white;
    background:
        linear-gradient(100deg, rgba(12, 13, 17, .97), rgba(12, 13, 17, .78)),
        url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1800&q=85')
        center / cover no-repeat;
    border-bottom: 4px solid var(--ynci-red);
}

.page-hero h1 {
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.15;
}

.page-hero h1 span {
    color: var(--ynci-red);
}

.page-hero p {
    margin-bottom: 0;
    color: #d3d4d8;
}

.info-panel {
    padding: 35px;
    background: white;
    border: 1px solid #e5e6e9;
    border-top: 3px solid var(--ynci-red);
}

.info-panel h2 {
    margin: 12px 0;
    font-size: 25px;
    font-weight: 800;
}

.info-panel li {
    margin-bottom: 10px;
    color: var(--ynci-muted);
}

.gallery-card {
    height: 100%;
    background: white;
    border: 1px solid #e5e6e9;
    overflow: hidden;
}


.gallery-photo {
    height: 190px;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    padding: 12px;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 65%),
        url('/assets/depok/images/nmax-gallery.png')
        center / cover;
    transition: transform .3s ease;
}


.gallery-card:hover .gallery-photo {
    filter: brightness(.85);
}

.gallery-photo span {
    color: white;
    font-size: 22px;
    font-weight: 900;
}

.gallery-photo-2 { background-position: right center; }
.gallery-photo-3 { background-position: left center; }
.gallery-photo-4 { background-position: 70% center; }
.gallery-photo-5 { background-position: 30% center; }
.gallery-photo-6 { background-position: center 30%; }
.gallery-photo-7 { background-position: center 70%; }
.gallery-photo-8 { background-position: right bottom; }

.gallery-caption {
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
}

.membership-benefit {
    display: flex;
    gap: 16px;
    margin-top: 25px;
}

.membership-benefit > span {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: white;
    background: var(--ynci-red);
    font-size: 13px;
    font-weight: 800;
}

.membership-benefit h5 {
    font-size: 16px;
    font-weight: 800;
}

.membership-benefit p {
    margin-bottom: 0;
    color: var(--ynci-muted);
    font-size: 14px;
}

.application-panel {
    padding: 30px;
    background: white;
    border: 1px solid #e5e6e9;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .04);
}

.application-panel h3 {
    font-weight: 900;
}

.application-panel .form-label {
    font-size: 13px;
    font-weight: 700;
}

.application-panel .form-control {
    padding: 11px 13px;
    border-color: #dfe1e5;
    border-radius: 3px;
}

.application-panel .form-control:focus {
    border-color: var(--ynci-red);
    box-shadow: 0 0 0 .2rem rgba(226, 27, 45, .1);
}

@media (max-width: 575.98px) {
    .page-hero {
        padding: 55px 0;
    }

    .application-panel {
        padding: 22px;
    }

    .gallery-photo {
        height: 145px;
    }
}



/* Official YNCI Chapter Depok logo */
.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.main-navbar .brand-logo {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.main-navbar .brand-name {
    display: flex;
    flex-direction: column;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .4px;
}

.main-navbar .brand-name strong {
    color: #ed1c32;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .main-navbar .brand-logo {
        width: 42px;
        height: 42px;
    }

    .main-navbar .brand-name {
        font-size: 8px;
    }

    .main-navbar .brand-name strong {
        font-size: 10px;
    }
}


/* Navbar active state */
.main-navbar .navbar-nav .nav-link {
    position: relative;
    transition: color .2s ease;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: #ed1c32 !important;
}

.main-navbar .navbar-nav .nav-link.active {
    font-weight: 800;
}

@media (min-width: 992px) {
    .main-navbar .navbar-nav .nav-link.active::after {
        content: "";
        position: absolute;
        left: 8px;
        right: 8px;
        bottom: 3px;
        height: 2px;
        background: #ed1c32;
        border-radius: 2px;
    }
}

@media (max-width: 991.98px) {
    .main-navbar .navbar-nav .nav-link.active {
        background: rgba(237, 28, 50, .08);
        border-left: 3px solid #ed1c32;
        padding-left: 12px;
    }
}


