﻿
    :root {
    /* Colors */
    --color-primary: #072c59;
    --color-secondary: #f26522;
    --color-accent: #f3c10d;
    --accent-gold: #c8a25a;
    --border-radius: 0.75rem;
    --shadow-light: 0 10px 30px rgba(7, 44, 89, 0.06);
    --shadow-medium: 0 24px 60px rgba(7, 44, 89, 0.12);
    --text-medium: #5b6675;
    --navbar-height: 64px;
    --primary-blue: #072c59;
    --secondary-blue: #1e4f8b;
    --light-blue: #e8f0fd;
    --navy-blue: #041b36;
    --cream: #faf8f5;
    --warm-gray: #f5f5f5;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Layout */
    --container-max: 1400px;
    --content-max: 1200px;
    --section-padding: clamp(3rem, 8vw, 6rem);

    /* Border Radius */
    --radius-sm: 0.125rem;
    --radius-base: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-base: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}
body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-900);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
/* Typography Helpers */
.font-display { font-family: var(--font-display); }
.font-primary { font-family: var(--font-primary); }
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

    .section-padding {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 2.8rem;
        font-weight: 500;
        text-align: center;
        margin-bottom: 1rem;
        color: var(--primary-blue);
    }

    .section-subtitle {
        font-size: 1.1rem;
        text-align: center;
        color: var(--text-medium);
        margin-bottom: 3rem;
        font-weight: 400;
    }

    /* Navbar */
    .navbar-custom {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(7, 44, 89, 0.1);
        padding: 1rem 0;
        transition: all 0.3s ease;
    }

    .navbar-brand {
        font-family: 'Playfair Display', serif;
        font-size: 1.6rem;
        font-weight: 600;
        color: var(--primary-blue) !important;
    }

 .navbar-toggler-icon {
            filter: none; /* Remove white filter */
        }
        
    .navbar-nav .nav-link {
            color: var(--color-gray-700) !important;
            font-weight: 500;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin: 0 1rem;
            position: relative;
            transition: all 0.3s ease;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--color-primary) !important;
        }

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

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

    /* Hero Section */
   .hero-section {
    height: 100vh; /* penuhi tinggi viewport */
    background: url('../../images/darabaro.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0; /* hapus padding agar full-bleed */
}

    .hero-carousel {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-carousel .carousel-item {
        height: 100vh;
        position: relative;
    }

    .hero-carousel .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg,
                rgba(7, 44, 89, 0.7) 0%,
                rgba(30, 79, 139, 0.5) 50%,
                rgba(7, 44, 89, 0.3) 100%);
        z-index: 2;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        color: white;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
        font-weight: 400;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 2vw, 1.4rem);
        font-weight: 300;
        margin-bottom: 2.5rem;
        opacity: 0.95;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
        font-family: 'Poppins', sans-serif;
        line-height: 1.6;
    }

    .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-hero-primary {
        background: var(--accent-gold);
        color: var(--primary-blue);
        border: 2px solid var(--accent-gold);
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: var(--border-radius);
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .btn-hero-primary:hover {
        background: transparent;
        color: var(--accent-gold);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    }

    .btn-hero-secondary {
        background: transparent;
        color: white;
        border: 2px solid white;
        padding: 1rem 2.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: var(--border-radius);
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .btn-hero-secondary:hover {
        background: white;
        color: var(--primary-blue);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    }

    .hero-scroll-indicator {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        color: white;
        text-align: center;
        opacity: 0.8;
    }

    .hero-scroll-indicator i {
        font-size: 1.5rem;
        animation: bounce 2s infinite;
    }

    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-5px);
        }
    }

    /* About Section */
    .about-section {
        background: var(--cream);
    }

    .about-image {
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-medium);
    }

    .about-text {
        font-size: 1.1rem;
        line-height: 1.8;
        color: var(--text-medium);
        margin-bottom: 2rem;
    }

    /* Collections Section */
    .collections-section {
        background: white;
    }

    .collection-card {
        background: white;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow-light);
        transition: all 0.3s ease;
        height: 100%;
    }

    .collection-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-medium);
    }

    .collection-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .collection-card:hover img {
        transform: scale(1.05);
    }

    .collection-card .card-body {
        padding: 1.5rem;
    }

    .collection-card .card-title {
        font-size: 1.2rem;
        color: var(--primary-blue);
        margin-bottom: 0.8rem;
    }

    .collection-card .card-text {
        color: var(--text-medium);
        font-size: 0.95rem;
    }

    /* Journey Section */
    .journey-section {
        background: var(--light-blue);
    }

    .timeline {
        position: relative;
        padding: 2rem 0;
    }

    .timeline-item {
        background: white;
        padding: 2rem;
        margin-bottom: 2rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-light);
        border-left: 4px solid var(--accent-gold);
        transition: all 0.3s ease;
    }

    .timeline-item:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-medium);
    }

    .timeline-year {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-blue);
        margin-bottom: 0.5rem;
    }

    .timeline-event {
        color: var(--text-medium);
        font-size: 1rem;
    }

    .timeline-flag {
        margin-right: 1rem;
    }

    /* Brand DNA Section */
    .dna-section {
        background: var(--primary-blue);
        color: white;
    }

    .dna-section .section-title {
        color: white;
    }

    .dna-text {
        font-size: 1.2rem;
        line-height: 1.8;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .dna-highlight {
        color: var(--accent-gold);
        font-weight: 500;
    }

    /* Vision Mission Section */
    .vision-section {
        background: var(--warm-gray);
    }

    .vision-card {
        background: white;
        padding: 2.5rem;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-light);
        height: 100%;
        transition: all 0.3s ease;
        text-align: center;
    }

    .vision-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-medium);
    }

    .vision-icon {
        font-size: 3rem;
        color: var(--primary-blue);
        margin-bottom: 1.5rem;
    }

    .vision-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .vision-text {
        color: var(--text-medium);
        line-height: 1.6;
    }

    /* News Section */
    .news-section {
        background: white;
    }

    .news-carousel {
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow-medium);
    }

    .news-image {
        height: 400px;
        object-fit: cover;
    }

    .news-content {
        padding: 3rem;
        background: white;
    }

    .news-title {
        font-size: 1.8rem;
        color: var(--primary-blue);
        margin-bottom: 1rem;
    }

    .news-text {
        color: var(--text-medium);
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Store Section - GAMBAR SEBESAR BOX */
    .store-section {
        background: var(--light-blue);
    }

    .store-card {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        text-align: center;
        transition: all 0.3s ease;
        height: 280px;
        border: 1px solid rgba(7, 44, 89, 0.1);
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
    }

    .store-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-medium);
        border-color: var(--primary-blue);
    }

    .store-logo {
        width: 100%;
        height: 220px;
        object-fit: contain;
        object-position: center;
        margin-bottom: 1rem;
        filter: grayscale(30%);
        transition: all 0.3s ease;
        background: rgba(247, 243, 239, 0.3);
        border-radius: calc(var(--border-radius) - 2px);
    }

    .store-card:hover .store-logo {
        filter: grayscale(0%);
        transform: scale(1.02);
    }

    .store-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--primary-blue);
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0 0.5rem;
        position: absolute;
        bottom: 1rem;
        left: 0;
        right: 0;
    }

    .store-card:hover .store-title {
        color: var(--accent-gold);
    }

    /* Contact Section */
    .contact-section {
        background: var(--navy-blue);
        color: white;
    }

    .contact-section .section-title {
        color: white;
    }

    .contact-item {
        text-align: center;
        padding: 2rem;
    }

    .contact-icon {
        font-size: 2.5rem;
        color: var(--accent-gold);
        margin-bottom: 1rem;
    }

    .contact-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: white;
    }

    .contact-link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

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

    /* Footer */
    .footer {
        background: var(--primary-blue);
        color: white;
        padding: 3rem 0 2rem;
    }

    .footer-brand {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .footer-tagline {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 2rem;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: var(--accent-gold);
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 1.5rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .section-title {
            font-size: 2.2rem;
        }

        .hero-content {
            padding: 0 1rem;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: center;
        }

        .btn-hero-primary,
        .btn-hero-secondary {
            width: 100%;
            max-width: 280px;
        }

        .navbar-nav .nav-link {
            margin: 0.5rem 0;
        }

        .timeline-item {
            margin-bottom: 1.5rem;
        }

        .vision-card {
            margin-bottom: 2rem;
        }

        .news-content {
            padding: 2rem;
        }

        .store-card {
            height: 240px;
        }

        .store-logo {
            height: 180px;
        }

        .store-title {
            font-size: 0.9rem;
        }
    }

    /* Animation */
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .slide-in-left {
        opacity: 0;
        transform: translateX(-50px);
        transition: all 0.6s ease;
    }

    .slide-in-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .slide-in-right {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.6s ease;
    }

    .slide-in-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

    /* Global polish */
    .navbar-custom {
        background: rgba(250, 248, 245, 0.9) !important;
        border-bottom: 1px solid rgba(7, 44, 89, 0.08);
        padding: 0.85rem 0;
        transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    }

    .navbar-custom.is-scrolled {
        background: rgba(250, 248, 245, 0.98) !important;
        box-shadow: 0 12px 40px rgba(7, 44, 89, 0.08);
        padding: 0.55rem 0;
    }

    .navbar-brand {
        font-size: 1.42rem;
        letter-spacing: 0.01em;
    }

    .navbar-nav .nav-link {
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.09em;
        margin: 0 0.8rem;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(7, 44, 89, 0.12);
    }

    .footer {
        background: #061f3d;
        padding: 4rem 0 2rem;
    }

    .footer-brand {
        font-size: 2rem;
        letter-spacing: 0.01em;
    }

    .footer-links {
        gap: 1.6rem;
    }

    @media (max-width: 991px) {
        .navbar-collapse {
            background: #faf8f5;
            margin-top: 1rem;
            padding: 1.25rem;
            border: 1px solid rgba(7, 44, 89, 0.08);
            border-radius: 0.75rem;
            box-shadow: 0 20px 50px rgba(7, 44, 89, 0.1);
        }

        .navbar-nav .nav-link {
            margin: 0.25rem 0;
            padding: 0.65rem 0;
            border-bottom: 1px solid rgba(7, 44, 89, 0.07);
        }

        .navbar-nav .nav-item:last-child .nav-link {
            border-bottom: 0;
        }

        .navbar-nav .nav-link::after {
            display: none;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

        .fade-in,
        .slide-in-left,
        .slide-in-right,
        [data-reveal] {
            opacity: 1 !important;
            transform: none !important;
            transition: none !important;
        }

        .hero-scroll-indicator i {
            animation: none;
        }
    }
    


    /* =========================================================
       Page transition: top progress bar + soft fade-in
       ========================================================= */
    @view-transition {
        navigation: auto;
    }

    ::view-transition-old(root) {
        animation: pageFadeOut 0.2s ease both;
    }

    ::view-transition-new(root) {
        animation: pageFadeIn 0.3s ease both;
    }

    @keyframes pageFadeOut {
        to { opacity: 0; }
    }

    @keyframes pageFadeIn {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: none; }
    }

    body {
        animation: pageFadeIn 0.35s ease both;
    }

    @media (prefers-reduced-motion: reduce) {
        body { animation: none; }
        ::view-transition-old(root),
        ::view-transition-new(root) { animation: none; }
    }

    #page-progress {
        position: fixed;
        top: 0;
        left: 0;
        height: 3px;
        width: 0%;
        background: linear-gradient(90deg, #072c59, #f26522, #f3c10d);
        z-index: 99999;
        opacity: 0;
        transition: width 0.25s ease, opacity 0.3s ease;
        box-shadow: 0 0 8px rgba(242, 101, 34, 0.6);
        pointer-events: none;
    }

    #page-progress.is-active {
        opacity: 1;
    }
