@charset "utf-8";
@import url('Rubik-Fonts.css');

/**
 * Custom Styles for Yohanes, Laksono & Co. (YL&Co.)
 * Bootstrap 5.3+ Theme & Responsive Enhancements
 */

:root {
    --yl-primary: #0f172a;          /* Deep corporate navy */
    --yl-primary-dark: #090d16;
    --yl-secondary: #334155;
    --yl-accent-gold: #c99a3e;       /* Sophisticated financial gold */
    --yl-accent-gold-hover: #b3842c;
    --yl-accent-gold-light: #fef9ed;
    --yl-accent-gold-subtle: rgba(201, 154, 62, 0.12);
    --yl-text-dark: #1e293b;
    --yl-text-muted: #64748b;
    --yl-bg-light: #f8fafc;
    --yl-card-border: rgba(201, 154, 62, 0.22);
    --yl-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles & Typography */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Verlag-Book', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--yl-text-dark);
    background-color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Verlag-Book', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 700;
    color: var(--yl-primary);
    line-height: 1.3;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Color & Utility Classes */
.text-gold {
    color: var(--yl-accent-gold) !important;
}

.bg-gold {
    background-color: var(--yl-accent-gold) !important;
}

.bg-gold-subtle {
    background-color: var(--yl-accent-gold-subtle) !important;
}

.bg-light-soft {
    background-color: var(--yl-bg-light);
}

.border-gold-subtle {
    border-color: var(--yl-card-border) !important;
}

/* Button Customizations */
.btn-gold {
    background-color: var(--yl-accent-gold);
    color: #ffffff;
    border: 2px solid var(--yl-accent-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--yl-transition);
}

.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active {
    background-color: var(--yl-accent-gold-hover);
    border-color: var(--yl-accent-gold-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 154, 62, 0.35);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--yl-accent-gold);
    border: 2px solid var(--yl-accent-gold);
    font-weight: 600;
    transition: var(--yl-transition);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus,
.btn-outline-gold:active {
    background-color: var(--yl-accent-gold);
    border-color: var(--yl-accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 154, 62, 0.25);
}

.btn-instagram {
    color: #e1306c;
    border: 2px solid #e1306c;
    background-color: transparent;
    font-weight: 600;
    transition: var(--yl-transition);
}

.btn-instagram:hover,
.btn-instagram:focus {
    color: #ffffff;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.35);
}

.btn-nav-instagram {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201, 154, 62, 0.35);
    width: 38px;
    height: 38px;
    transition: var(--yl-transition);
}

.btn-nav-instagram:hover {
    color: #ffffff;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.4);
}

.btn-x {
    color: #0f172a;
    border: 2px solid #0f172a;
    background-color: transparent;
    font-weight: 600;
    transition: var(--yl-transition);
}

.btn-x:hover,
.btn-x:focus {
    color: #ffffff;
    background-color: #000000;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-nav-x {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201, 154, 62, 0.35);
    width: 38px;
    height: 38px;
    transition: var(--yl-transition);
}

.btn-nav-x:hover {
    color: #ffffff;
    background-color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

/* Separator Elements */
.separator-container {
    text-align: center;
    margin: 1rem auto 2rem;
}

.line-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--yl-accent-gold);
    font-size: 1.1rem;
    font-weight: bold;
}

.line-separator::before,
.line-separator::after {
    content: "";
    display: inline-block;
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yl-accent-gold));
    margin: 0 12px;
    vertical-align: middle;
}

.line-separator::after {
    background: linear-gradient(90deg, var(--yl-accent-gold), transparent);
}

.line-separator-start {
    display: inline-flex;
    align-items: center;
    color: var(--yl-accent-gold);
    font-size: 1.1rem;
    font-weight: bold;
}

.line-separator-start::after {
    content: "";
    display: inline-block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--yl-accent-gold), transparent);
    margin-left: 12px;
    vertical-align: middle;
}

/* Header & Navbar (Overlapping completely resolved) */
.navbar-ylnco {
    padding: 0.9rem 0;
    transition: all 0.35s ease;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201, 154, 62, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1040;
}

.navbar-ylnco .navbar-brand {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.5px;
    padding: 0;
}

.navbar-ylnco .navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-ylnco .navbar-brand:hover img {
    transform: rotate(6deg) scale(1.05);
}

.navbar-ylnco .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.55rem 0.9rem !important;
    position: relative;
    transition: var(--yl-transition);
}

.navbar-ylnco .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--yl-accent-gold);
    transition: width 0.3s ease;
}

.navbar-ylnco .nav-link:hover,
.navbar-ylnco .nav-link:focus,
.navbar-ylnco .nav-link.active {
    color: #ffffff !important;
}

.navbar-ylnco .nav-link:hover::after,
.navbar-ylnco .nav-link.active::after {
    width: 60%;
}

.navbar-ylnco.scrolled {
    padding: 0.65rem 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: rgba(201, 154, 62, 0.35);
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.35);
}

/* Mobile Toggler */
.navbar-toggler {
    border: 1px solid rgba(201, 154, 62, 0.4) !important;
    background-color: rgba(201, 154, 62, 0.1);
    border-radius: 8px;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px var(--yl-accent-gold) !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 1rem;
        padding: 1.5rem;
        margin-top: 1rem;
        border: 1px solid rgba(201, 154, 62, 0.25);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
    }

    .navbar-ylnco .nav-link {
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navbar-ylnco .nav-link::after {
        display: none;
    }
}

/* Hero Section (Clear of navbar, zero overlap) */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--yl-primary);
    background-image: url('../img/fp.jpg');
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    text-align: center;
    padding-top: calc(75px + 4rem);
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.72) 50%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.png');
    opacity: 0.25;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
}

.hero-badge {
    font-size: 0.9rem;
    background: rgba(201, 154, 62, 0.15);
    border: 1px solid rgba(201, 154, 62, 0.35);
    padding: 0.4rem 1.25rem;
    border-radius: 50rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.4rem, 6.5vw, 4.6rem);
    font-weight: 300;
    font-family: 'Verlag-Book', "Calibri", sans-serif;
    letter-spacing: 2px;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.8;
}

.hero-scroll-btn {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: #ffffff;
    font-size: 1.6rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transition: var(--yl-transition);
    animation: bounceUpDown 2s infinite;
}

.hero-scroll-btn:hover {
    color: var(--yl-accent-gold);
    border-color: var(--yl-accent-gold);
    background: rgba(201, 154, 62, 0.2);
}

@keyframes bounceUpDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

/* Section Common Styling */
.section-padding {
    padding: 6.5rem 0;
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 4.5rem 0;
    }
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--yl-primary);
    margin-bottom: 0.5rem;
}

.section-lead {
    font-size: clamp(1.05rem, 1.2vw + 0.6rem, 1.25rem);
    color: var(--yl-secondary);
    line-height: 1.8;
}

/* About Us Section Layout */
.about-card-wrapper {
    position: relative;
}

.about-image-card {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--yl-transition);
}

.about-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

.about-image-card img {
    aspect-ratio: 1020 / 585;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

.about-floating-badge {
    bottom: -20px;
    right: 20px;
    border: 1px solid rgba(201, 154, 62, 0.3);
    backdrop-filter: blur(10px);
}

.floating-badge-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
}

/* Value Cards Layout */
.value-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: var(--yl-transition);
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: var(--yl-card-border);
    box-shadow: 0 20px 42px rgba(201, 154, 62, 0.14);
}

.value-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 1.25rem;
    background: var(--yl-accent-gold-light);
    color: var(--yl-accent-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 154, 62, 0.2);
    transition: var(--yl-transition);
}

.value-card:hover .value-icon-box {
    background: var(--yl-accent-gold);
    color: #ffffff;
    transform: scale(1.08) rotate(4deg);
}

.value-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--yl-primary);
}

.value-card p,
.value-card li {
    color: var(--yl-text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Team Cards Layout */
.team-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: var(--yl-transition);
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: var(--yl-card-border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.team-avatar-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    transition: var(--yl-transition);
}

.team-avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed var(--yl-accent-gold);
    opacity: 0.6;
    transition: var(--yl-transition);
}

.team-card:hover .team-avatar-wrapper::after {
    transform: rotate(45deg);
    opacity: 1;
}

.team-name {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--yl-primary);
    margin-bottom: 0.35rem;
}

.team-role {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--yl-accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.team-bio {
    color: var(--yl-text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    text-align: left;
}

/* Contact & Location Section */
.contact-section {
    background-color: var(--yl-bg-light);
    position: relative;
}

.contact-card {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid rgba(201, 154, 62, 0.25);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    height: 100%;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 0.75rem;
    background: var(--yl-accent-gold-light);
    color: var(--yl-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 1px solid rgba(201, 154, 62, 0.25);
}

.contact-item-content h6 {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--yl-accent-gold);
    margin-bottom: 0.25rem;
}

.contact-item-content p,
.contact-item-content address {
    margin-bottom: 0;
    color: var(--yl-text-dark);
    font-size: 0.96rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--yl-text-dark);
    text-decoration: none;
    transition: var(--yl-transition);
}

.contact-link:hover {
    color: var(--yl-accent-gold);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #e2e8f0;
    position: relative;
}

.map-wrapper iframe,
.map-wrapper .big-map {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

/* Footer Section */
.footer-section {
    background: var(--yl-primary-dark);
    position: relative;
    border-top: 1px solid rgba(201, 154, 62, 0.2);
}

.footer-section .footer-contact-link,
.footer-section .contact-link {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    transition: var(--yl-transition);
}

.footer-section .footer-contact-link:hover,
.footer-section .contact-link:hover {
    color: var(--yl-accent-gold) !important;
}

.footer-section .footer-contact-link i,
.footer-section .contact-link i {
    color: var(--yl-accent-gold) !important;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.45) !important;
    user-select: none;
}

.footer-links a {
    transition: var(--yl-transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--yl-accent-gold) !important;
    transform: translateX(4px);
}

/* Back to Top Floating Button */
.btn-back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
}

.btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Safe Scroll Reveal Animation (Always visible by default) */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-animated .reveal-on-scroll:not(.is-visible) {
    opacity: 0;
    transform: translateY(20px);
}

.js-animated .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Mobile Touch Target and Screen Specific Tweaks */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: calc(70px + 3.5rem);
        padding-bottom: 4rem;
    }

    .btn {
        min-height: 44px;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .map-wrapper,
    .map-wrapper iframe,
    .map-wrapper .big-map {
        min-height: 320px;
    }
}