/* Custom Fonts */
@font-face {
    font-family: 'Kimberly Paradise';
    src: url('font/Kimberly Paradise.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('font/Satoshi_Complete/Satoshi_Complete/Fonts/OTF/Satoshi-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('font/Satoshi_Complete/Satoshi_Complete/Fonts/OTF/Satoshi-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('font/Satoshi_Complete/Satoshi_Complete/Fonts/OTF/Satoshi-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('font/Satoshi_Complete/Satoshi_Complete/Fonts/OTF/Satoshi-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* CSS Reset & Root Variables */
:root {
    --primary-red: #6d0000;
    --dark-red: #520202;
    --deep-burgundy: #3d0000;
    --gold-accent: #d4af37;
    --text-white: #ffffff;
    --text-cream: #f4eae1;
    --font-script: 'Kimberly Paradise', 'Brush Script MT', cursive;
    --font-sans: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
    --nav-height: 120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: var(--font-sans);
    color: var(--text-white);
    background-color: var(--deep-burgundy);
}

body {
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Fixed/Absolute Navigation Header */
.navbar-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 4rem 1rem 4rem;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.brand-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img,
.brand-logo a img {
    height: 46px !important;
    max-height: 46px !important;
    width: auto !important;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brand-logo img:hover,
.brand-logo a img:hover {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 400;
    padding: 8px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
    opacity: 0.9;
}

.nav-link:hover {
    opacity: 1;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: var(--primary-red);
    color: #ffffff;
    font-weight: 500;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(109, 0, 0, 0.6);
}

/* Page Switching Mode - Show Only Active Section with Smooth Entrance */
.section {
    display: none;
    width: 100%;
    min-height: 100vh;
}

.section.active-page {
    display: block;
    animation: fadeInPage 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeInPage {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.995);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered Entrance Animations for Active Page Content */
.active-page .section-content>* {
    animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.active-page .section-content>*:nth-child(1) {
    animation-delay: 0.1s;
}

.active-page .section-content>*:nth-child(2) {
    animation-delay: 0.25s;
}

.active-page .section-content>*:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(28px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle Floating Animation for Hero Background Images */
#beranda .full-hero,
.tentang-kami-top,
.produk-hero,
.workshop-hero,
#kontak .full-hero {
    animation: heroKenBurns 22s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    0% {
        background-position: center center;
        filter: brightness(1);
    }

    100% {
        background-position: 51.5% 48.5%;
        filter: brightness(1.04);
    }
}

.full-hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 4rem 5.5rem 2rem 5.5rem;
}

.hero-overlay {
    display: none;
}

.section-content {
    position: relative;
    z-index: 2;
}

.footer-copyright {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 300;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    z-index: 5;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Section 1: Beranda */
#beranda .full-hero {
    background-image: url('heroimage/beranda.png');
    padding-left: 10.5rem;
}

.beranda-batik-motif {
    display: none;
}

.beranda-headline {
    max-width: 750px;
    margin-left: 0;
}

.headline-line {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.beranda-script-title {
    font-family: var(--font-script);
    font-size: 7.5rem;
    font-weight: normal;
    line-height: 0.85;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.beranda-sans-title {
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.font-script {
    font-family: var(--font-script);
    font-weight: normal;
    line-height: 1;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.script-lg {
    font-size: 5.5rem;
}

.script-md {
    font-size: 4.5rem;
}

.text-sans-lg {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Section 2: Tentang Kami */
.tentang-kami-top {
    min-height: 100vh;
    background-image: url('heroimage/tentangkami.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding: 0 4.5rem 7rem 4.5rem;
}

.tentang-kami-title-script {
    font-family: var(--font-script);
    font-size: 7.8rem;
    line-height: 0.85;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.tentang-kami-title-sans {
    font-family: var(--font-sans);
    font-size: 3.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-left: 11rem;
    margin-top: -1.2rem;
    letter-spacing: 0.5px;
}

.tentang-kami-motif-right {
    display: none;
}

.tentang-kami-story {
    background: url('heroimage/bgtekstentangkami.png') center/cover no-repeat;
    background-color: var(--dark-red);
    padding: 6rem 4rem 8rem 4rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.story-container {
    max-width: 785px;
    margin: 0 auto;
}

.story-title {
    font-size: 5rem;
    margin-bottom: 2.2rem;
}

.story-text {
    font-size: 1.02rem;
    line-height: 1.82;
    font-weight: 300;
    color: var(--text-cream);
    text-align: justify;
    text-align-last: left;
    margin-bottom: 2rem;
}

/* Section 3: Produk */
.produk-hero {
    min-height: 100vh;
    background-image: url('heroimage/produk.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 4.5rem;
    position: relative;
    overflow: hidden;
}

.produk-hero-motif-right {
    display: none;
}

.produk-hero-text {
    text-align: left;
    max-width: 620px;
    position: relative;
    z-index: 5;
}

.produk-title {
    font-size: 7.8rem;
    line-height: 0.85;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.produk-level-1 {
    display: inline-block;
    margin-left: 0;
}

.produk-level-2 {
    display: inline-block;
    margin-left: 6.8rem;
}

.produk-subtitle {
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-white);
    letter-spacing: 0.2px;
}

.produk-subtitle .font-italic-bold {
    font-weight: 700;
    font-style: italic;
}

.produk-subtitle .font-bold-italic {
    font-weight: 700;
    font-style: italic;
}

.produk-katalog-section {
    background: url('heroimage/baghroundkoleksiterbatas.png') center/cover no-repeat;
    background-color: var(--dark-red);
    padding: 5rem 4rem 7rem 4rem;
    position: relative;
}

.katalog-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto 3rem auto;
    max-width: 1020px;
    padding: 0;
}

.katalog-header h2 {
    font-size: 6.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.catalog-slider-outer {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
}

.control-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

.control-left {
    margin-right: 1.5rem;
}

.control-right {
    margin-left: 1.5rem;
}

.control-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Slider Track - Exactly 4 cards visible per view */
.catalog-slider-wrapper {
    flex-grow: 1;
    max-width: 1020px;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.catalog-track {
    display: flex;
    gap: 1.6rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.catalog-track::-webkit-scrollbar {
    display: none;
}

.catalog-card {
    min-width: calc((100% - (3 * 1.6rem)) / 4);
    max-width: calc((100% - (3 * 1.6rem)) / 4);
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: none;
    background: transparent;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.catalog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.75s ease-in-out;
    pointer-events: none;
}

.catalog-card:hover::after {
    left: 150%;
}

.catalog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.25);
}

.catalog-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

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

/* Section 4: Workshop */
.workshop-hero {
    min-height: 100vh;
    background-image: url('heroimage/workshop.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 4.5rem 7rem 4.5rem;
    position: relative;
}

.workshop-hero-title {
    font-family: var(--font-script);
    font-size: 7.8rem;
    font-weight: normal;
    line-height: 0.85;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.workshop-hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.5;
    max-width: 650px;
    color: var(--text-white);
    letter-spacing: 0.2px;
}

.workshop-info-section {
    background: linear-gradient(135deg, #2a0000 0%, #5a0000 50%, #280000 100%);
    padding: 6rem 6rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.workshop-header-box h2 {
    font-size: 5.6rem;
    margin-bottom: 1.2rem;
    line-height: 1;
}

.workshop-header-box p {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-cream);
    max-width: 440px;
    line-height: 1.6;
}

.workshop-options-wrapper {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    padding-top: 1.8rem;
}

.workshop-option-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    position: relative;
    padding: 1.2rem;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.workshop-option-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.workshop-option-card:hover .option-icon-box {
    transform: scale(1.1) rotate(-3deg);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.option-header-with-icon {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    margin-bottom: 0.2rem;
}

.option-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 2;
}

.option-icon-box {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
}

.option-icon-box img {
    object-fit: contain;
    display: block;
}

.icon-individu {
    left: 7.6rem;
    top: -34px;
}

.icon-individu img {
    height: 70px;
    width: auto;
}

.icon-kelompok {
    left: 9.2rem;
    top: -34px;
}

.icon-kelompok img {
    height: 70px;
    width: auto;
}

.option-desc {
    font-size: 1.02rem;
    font-weight: 300;
    color: var(--text-cream);
    line-height: 1.55;
    opacity: 0.95;
}

.workshop-banner-image {
    width: 100%;
    height: 480px;
    background-image: url('heroimage/worlshopbawah.png');
    background-size: cover;
    background-position: center;
}

.istilah-membatik-section {
    background: linear-gradient(135deg, #2a0000 0%, #5a0000 50%, #280000 100%);
    padding: 6rem 6rem;
    position: relative;
}

.istilah-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3.5rem;
    letter-spacing: 0.5px;
}

.istilah-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.5rem 3rem;
}

.istilah-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 3px solid transparent;
}

.istilah-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(6px);
    border-left: 3px solid var(--gold-accent);
}

.istilah-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.3s ease;
}

.istilah-item:hover .istilah-name {
    color: var(--text-cream);
}

.istilah-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-cream);
    line-height: 1.55;
    opacity: 0.9;
}

/* Section 5: Kontak */
#kontak .full-hero {
    background-image: url('heroimage/kontak.png');
    align-items: flex-end;
    justify-content: flex-start;
    padding-right: 4.5rem;
    padding-top: 10rem;
    padding-bottom: 2rem;
}

.kontak-container {
    text-align: right;
    max-width: 650px;
}

.kontak-title {
    font-family: var(--font-script);
    font-size: 7.8rem;
    font-weight: normal;
    line-height: 0.85;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.mari-text {
    display: inline-block;
    margin-right: 13.5rem;
}

.bertaunt-text {
    display: inline-block;
    margin-right: 0;
}

.kontak-subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--text-cream);
    margin-bottom: 4rem;
}

.kontak-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.4rem;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
    font-size: 1.15rem;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-row:hover {
    color: var(--text-cream);
    transform: translateX(-5px);
}

.contact-icon-box {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact-icon-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-row:hover .contact-icon-box {
    transform: scale(1.15);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .navbar-header {
        padding: 0 2rem;
    }

    .full-hero {
        padding: var(--nav-height) 2rem 2rem 2rem;
    }

    .script-lg {
        font-size: 4rem;
    }

    .script-md {
        font-size: 3.2rem;
    }

    .text-sans-lg {
        font-size: 1.6rem;
    }

    .workshop-info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 2rem;
    }

    .istilah-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .tentang-kami-top {
        padding-left: 2rem;
    }

    .produk-hero,
    #kontak .full-hero {
        padding-right: 2rem;
        align-items: center;
        text-align: center;
    }

    .produk-hero-text,
    .kontak-container {
        text-align: center;
    }

    .kontak-details {
        align-items: center;
    }

    .istilah-grid {
        grid-template-columns: 1fr;
    }
}