/* Global Elegant Typography Overrides */
html {
    font-size: 15px; /* Base scaling */
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    background: radial-gradient(circle at 50% 0%, #151924 0%, #080a0f 100%) no-repeat fixed;
    background-color: #080a0f;
}

/* Custom Overrides for standard Tailwind typography to keep them elegant and professional */
.text-6xl {
    font-size: 2.75rem !important; /* 44px on desktop - much more elegant than 60px */
}
.text-5xl {
    font-size: 2.25rem !important; /* 36px on desktop - much more elegant than 48px */
}
.text-4xl {
    font-size: 1.875rem !important; /* 30px on desktop - much more elegant than 36px */
}
.text-3xl {
    font-size: 1.5rem !important; /* 24px on desktop - much more elegant than 30px */
}
.text-2xl {
    font-size: 1.25rem !important; /* 20px on desktop */
}
.text-xl {
    font-size: 1.125rem !important; /* 18px on desktop */
}
.text-lg {
    font-size: 1rem !important; /* 16px on desktop */
}

/* Make sure text-md is handled (since some pages use it as a custom/fallback class) */
.text-md {
    font-size: 0.925rem !important; /* ~14.8px on desktop */
}

/* Responsive typography scaling adjustments */
@media (max-width: 767px) {
    .text-6xl { font-size: 2rem !important; }
    .text-5xl { font-size: 1.75rem !important; }
    .text-4xl { font-size: 1.5rem !important; }
    .text-3xl { font-size: 1.35rem !important; }
    .text-2xl { font-size: 1.2rem !important; }
    .text-xl { font-size: 1.1rem !important; }
    .text-lg { font-size: 0.95rem !important; }
    .text-md { font-size: 0.875rem !important; }
}

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #080a0f;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid #c5a059;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-hide {
    opacity: 0;
    transition: opacity 0.35s ease;
}
/* animasi loading */

/* navbar */
:root {
    --primary-color: #c5a059; /* refined gold */
    --secondary-color: #cbd5e1; /* slate-300 */
    --navbar-bg-top: rgba(12, 12, 14, 0);
    --navbar-bg-scrolled: rgba(10, 13, 20, 0.88);
}

#main-navbar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    background: var(--navbar-bg-top);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid transparent;
}

#main-navbar.navbar-scrolled-state {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: var(--navbar-bg-scrolled) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 8px 25px -5px rgba(197, 160, 89, 0.12) !important;
}

@media (min-width: 768px) {
    #main-navbar {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
    #main-navbar.navbar-scrolled-state {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
}

/* Responsive Logo height sizing */
#main-navbar .logo-img {
    height: 3rem; /* 48px default/mobile */
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    #main-navbar .logo-img {
        height: 3.5rem; /* 56px desktop */
    }
}

#main-navbar.navbar-scrolled-state .logo-img {
    height: 2.25rem; /* 36px mobile scrolled */
}

@media (min-width: 768px) {
    #main-navbar.navbar-scrolled-state .logo-img {
        height: 2.75rem; /* 44px desktop scrolled */
    }
}

/* Nav Link */
.nav-link-custom {
    position: relative;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.85rem;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.nav-link-custom::after {
    display: none !important;
    content: none !important;
}

.nav-link-custom:hover {
    color: #f3e3be !important;
}

.nav-link-custom.active-link {
    color: #d4b26f !important;
    font-weight: 600;
}

/* Dropdown Button */
.dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    cursor: pointer;
    background: transparent;
    border: none;
}

.dropdown-btn:hover {
    color: var(--primary-color) !important;
}

/* Mobile responsive menu */
@media (max-width: 767px) {
    #main-navbar {
        background: #090c15 !important;
        padding-top: 0.85rem !important;
        padding-bottom: 0.85rem !important;
        border-bottom: 1px solid rgba(197, 160, 89, 0.2) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
    }
    #main-navbar.navbar-scrolled-state {
        background: #090c15 !important;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
        border-bottom: 1px solid rgba(197, 160, 89, 0.25) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    }
    #navbar-search {
        background: #090c15 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .nav-link-custom {
        width: 100%;
        padding: 0.75rem 1.25rem;
        border-radius: 0.75rem;
    }
    .nav-link-custom::after {
        display: none;
    }
    .nav-link-custom:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    .nav-link-custom.active-link {
        background-color: rgba(197, 160, 89, 0.1);
    }
    .dropdown-btn {
        padding: 0.75rem 1.25rem;
        border-radius: 0.75rem;
    }
    .dropdown-btn:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    #dropdownNavbar {
        position: static !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        margin-top: 0.5rem !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding-left: 1rem;
        transition: max-height 0.3s ease-in-out;
    }
}
/* akhir navbar */

/* Hide scrollbar for IE, Edge, and Firefox */
#Category {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
/* akhir navbar */

/* Hide scrollbar for IE, Edge, and Firefox */
#Category {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
/* akhir navbar */

/* Hide scrollbar for IE, Edge, and Firefox */
#Category {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* PAGE BERANDA */

/* section jumbotron */

/* Glow putih halus — cocok untuk heading di bg gelap */
.glow-text {
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.35),
        0 0 14px rgba(255, 255, 255, 0.25),
        0 0 28px rgba(255, 255, 255, 0.15);
}

/* Glow emas — untuk kata highlight / brand word */
.text-gold {
    color: #d4b26f; /* Refined metallic gold */
    text-shadow:
        0 0 8px rgba(197, 160, 89, 0.4),
        0 0 18px rgba(197, 160, 89, 0.2),
        0 0 30px rgba(197, 160, 89, 0.1);
}

/* Overlay helper kalau mau dipakai di hero */
.hero-dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.85)
    );
}

/* Perbaiki kontras teks di hero */
.hero-title {
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-desc {
    color: #e5e7eb; /* gray-200 */
}

/* Tombol CTA biar lebih “pop” di hero */
.hero-btn {
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Responsive tweak */
@media (max-width: 640px) {
    .glow-text {
        text-shadow:
            0 0 4px rgba(255, 255, 255, 0.35),
            0 0 10px rgba(255, 255, 255, 0.2);
    }
}

/* akhir section jumbotron */

/* section testi & page testi */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
}

.fade-edges-mask {
    -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, transparent);
    mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, transparent);
}

.marquee-container {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.animate-marquee-right {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee-right 25s linear infinite;
    will-change: transform;
}

.animate-marquee-left {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee-left 25s linear infinite;
    will-change: transform;
}

.marquee-wrapper:hover .animate-marquee-right,
.marquee-wrapper:hover .animate-marquee-left {
    animation-play-state: paused;
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes marquee-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: rgba(18, 22, 32, 0.65);
    border: 1px solid rgba(250, 204, 21, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 1.75rem;
    width: 380px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #c5a059;
    background: rgba(22, 28, 42, 0.85);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c5a059;
}

.testimonial-user-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.2;
}

.testimonial-position {
    font-size: 0.8rem;
    color: #a3a3a3;
    line-height: 1.2;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: #d4b26f;
    margin-bottom: 0.75rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #e5e5e5;
    line-height: 1.6;
    font-style: italic;
}

@media (max-width: 640px) {
    .testimonial-card {
        width: 310px;
        padding: 1.25rem;
    }
}
/* akhir section testi & page testi */

/* section partner & page partner */
.logo-partner {
    padding-top: 150px;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
}
.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
.slick-slide {
    margin: 5px;
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
.slick-slide img {
    width: 100%;
    display: block;
}
.slick-initialized .slick-slide {
    display: block;
}
.copy {
    padding-top: 250px;
}

/* page partner */
.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery Card Item Responsive */
.gallery-card-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 250px;
}

@media (min-width: 640px) {
    .gallery-card-item {
        min-height: 260px;
    }
}

@media (min-width: 1024px) {
    .gallery-card-item {
        min-height: 280px;
    }
}

.gallery-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* page layanan kami */
/* Infinite Slider - Smooth Looping */
.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

/* Pause saat hover */
.slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Smooth transition untuk items */
.slider-track a {
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.slider-track a:hover {
    transform: scale(1.05);
    z-index: 10;
}
/* page layanan kami */

/* AKHIR PAGE BERANDA */

/* page blog */
/* Tambahkan di file CSS utama, misalnya app.css */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Footer glowing gold components */
.btn-gold-glow {
    border: 1px solid #c5a059;
    color: #d4b26f;
    text-shadow: 0 0 5px rgba(197, 160, 89, 0.3);
    box-shadow: 0 0 8px rgba(197, 160, 89, 0.08);
    transition: all 0.3s ease;
}

.btn-gold-glow:hover {
    background: linear-gradient(135deg, #d4b26f 0%, #c5a059 100%);
    color: #080a0f !important;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
    text-shadow: none;
}

.social-icon-gold {
    color: #a1a1aa; /* zinc-400 */
    transition: all 0.3s ease;
}

.social-icon-gold:hover {
    color: #d4b26f !important;
    filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.5));
    transform: translateY(-2px);
}
