/*
 * *************************************************
 * Copyright (C) 2026 DimSagara.                   *
 * Codeigniter 4 Template Modification             *
 * Please contact our email for more information : *
 * dim.sagara@horastasis.com                       *
 * *************************************************
 */
:root {
     --cafe-white: #fffdf8;
    --cafe-soft-white: #faf7f0;
    --cafe-cream: #f5efe3;
    --cafe-rice: #fffaf2;
    --cafe-beige: #e9ddcb;
    --cafe-orange: #c87943;
    --cafe-orange-soft: #f0c8a2;
    --cafe-olive: #7d8b66;
    --cafe-olive-soft: #dce3ce;
    --cafe-brown: #8a6244;
    --cafe-brown-dark: #4d382b;
    --cafe-ink: #23211e;
    --cafe-muted: #756f67;
    --cafe-border: rgba(35, 33, 30, 0.12);
    --shadow-soft: 0 18px 48px rgba(50, 43, 36, 0.09);
    --shadow-lift: 0 24px 64px rgba(50, 43, 36, 0.14);
    --transition: all 0.28s ease;
}
html {
    scroll-behavior: smooth;
}

body {
    background:
        linear-gradient(180deg, var(--cafe-white) 0%, var(--cafe-soft-white) 46%, #ffffff 100%);
    color: var(--cafe-ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

p {
    color: var(--cafe-muted);
}

a,
a:hover {
    color: var(--cafe-brown);
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cafe-orange), var(--cafe-olive));
    z-index: 9999;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    color: var(--cafe-ink) !important;
    letter-spacing: 0;
}

.navbar-brand > img {
    height: 52px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--cafe-ink);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.brand-word {
    color: var(--cafe-ink);
    font-size: 1.12rem;
    font-weight: 800;
}

.navbar-custom {
    padding: 0.85rem 0;
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

.navbar-custom .container {
    padding: 0.72rem 1rem;
    background: rgba(255, 250, 242, 0.86);
    border: 1px solid rgba(75, 48, 33, 0.1);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(75, 48, 33, 0.08);
    backdrop-filter: blur(18px);
    transition: var(--transition);
}

.navbar-custom.visible .container {
    background: rgba(255, 250, 242, 0.96);
    box-shadow: var(--shadow-soft);
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--cafe-border) !important;
    border-radius: 8px;
    background: #ffffff;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.18rem rgba(122, 82, 53, 0.16);
}

.navbar-toggler-line {
    display: block;
    width: 19px;
    height: 2px;
    margin: 0 auto;
    background: var(--cafe-ink);
    border-radius: 999px;
}

.navbar-toggler-line + .navbar-toggler-line {
    margin-top: 5px;
}

.navbar-nav .nav-link {
    margin: 0 0.15rem;
    padding: 0.55rem 0.8rem !important;
    color: var(--cafe-ink) !important;
    font-size: 0.93rem;
    font-weight: 650;
    border-radius: 8px;
}

.navbar-nav .nav-link::after {
    content: none;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--cafe-brown-dark) !important;
    background: rgba(230, 213, 191, 0.48);
}

.navbar-language-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--cafe-border);
}

.language-pill {
    min-width: 38px;
    padding: 0.45rem 0.55rem;
    border: 1px solid var(--cafe-border);
    border-radius: 8px;
    color: var(--cafe-brown-dark);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
}

.language-pill:hover,
.language-pill.active {
    background: var(--cafe-ink);
    border-color: var(--cafe-ink);
    color: #ffffff;
}

.hero-section {
    min-height: 100vh;
    margin-top: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: var(--cafe-white);
}

.hero-carousel-section .carousel,
.hero-carousel-section .carousel-inner,
.hero-slide {
    min-height: 100vh;
}

.hero-slide {
    position: relative;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 253, 248, 0.82) 42%, rgba(255, 253, 248, 0.36) 67%, rgba(35, 33, 30, 0.2) 100%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.84) 0%, rgba(255, 253, 248, 0.12) 38%, rgba(35, 33, 30, 0.3) 100%);
    z-index: 1;
}

.hero-slide-container {
    position: relative;
    z-index: 2;
}

.hero-slide-row {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.hero-copy {
    animation: heroTextIn 0.75s ease both;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.42rem 0.78rem;
    border: 1px solid var(--cafe-border);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.78);
    color: var(--cafe-olive);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-title {
    max-width: 700px;
    margin-bottom: 1rem;
    color: var(--cafe-ink);
    font-size: clamp(2.7rem, 7.4vw, 5.8rem);
    line-height: 1.03;
    text-shadow: none;
}

.hero-subtitle {
    max-width: 640px;
    color: #493d33;
    font-size: 1.18rem;
    line-height: 1.85;
}

.hero-quote {
    max-width: 560px;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--cafe-orange);
    color: var(--cafe-brown-dark);
    font-size: 1rem;
    font-style: normal;
}

.tech-stack-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.62rem 0.85rem;
    border: 1px solid var(--cafe-border);
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.78);
    color: var(--cafe-brown-dark);
    font-weight: 650;
    box-shadow: 0 10px 28px rgba(75, 48, 33, 0.07);
}

.tech-icon:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-buttons .btn,
.btn-primary,
.btn-outline-primary {
    border-radius: 8px;
    font-weight: 700;
}

.btn-primary {
    background: var(--cafe-orange) !important;
    border-color: var(--cafe-orange) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 32px rgba(200, 121, 67, 0.24);
}

.btn-primary:hover {
    background: #aa6233 !important;
    border-color: #aa6233 !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: rgba(255, 250, 242, 0.72);
    border-color: rgba(75, 48, 33, 0.28) !important;
    color: var(--cafe-brown-dark) !important;
}

.btn-outline-primary:hover {
    background: var(--cafe-brown-dark) !important;
    border-color: var(--cafe-brown-dark) !important;
    color: #ffffff !important;
}

.hero-spotlight,
.contact-form,
.contact-info,
.product-card,
.store-card,
.career-card,
.about-story-card {
    border: 1px solid var(--cafe-border);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.9);
    box-shadow: var(--shadow-soft);
}

.hero-spotlight {
    padding: 1.6rem;
    backdrop-filter: blur(18px);
}

.hero-spotlight-label {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--cafe-olive);
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
}

.hero-spotlight h2 {
    margin-bottom: 0.7rem;
    color: var(--cafe-ink);
    font-size: 1.7rem;
}

.hero-spotlight-text {
    line-height: 1.75;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.35rem 0;
}

.hero-metric {
    padding: 0.9rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.hero-metric strong {
    display: block;
    color: var(--cafe-brown-dark);
    font-size: 1.6rem;
    line-height: 1;
}

.hero-metric span {
    color: var(--cafe-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hero-contact-link,
.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem;
    border: 1px solid rgba(75, 48, 33, 0.1);
    border-radius: 8px;
    background: #ffffff;
    color: var(--cafe-brown-dark);
}

.hero-contact-link i,
.info-item i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--cafe-olive-soft);
    color: #566346;
}

.hero-indicators {
    right: auto;
    bottom: 2rem;
    left: calc((100vw - min(1140px, calc(100vw - 30px))) / 2);
    justify-content: flex-start;
    margin: 0;
    z-index: 4;
}

.hero-indicators li {
    width: 36px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(35, 33, 30, 0.28);
}

.hero-indicators .active {
    background: var(--cafe-orange);
}

.hero-control {
    top: auto;
    bottom: 1.3rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(35, 33, 30, 0.12);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.86);
    color: var(--cafe-ink);
    opacity: 1;
    z-index: 4;
}

.hero-control:hover {
    background: var(--cafe-ink);
    color: #ffffff;
}

.carousel-control-prev.hero-control {
    right: 6.2rem;
    left: auto;
}

.carousel-control-next.hero-control {
    right: 3rem;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-title {
    margin-bottom: 0.85rem;
    color: var(--cafe-ink);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.section-title::after {
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--cafe-orange), var(--cafe-olive));
}

.section-subtitle {
    max-width: 680px;
    margin: 1.5rem auto 0;
    color: var(--cafe-muted);
    line-height: 1.85;
}

.text-left.section-title::after,
.section-title.text-left::after {
    left: 0;
    transform: none;
}

.products-section,
.about-section,
.store-section,
.career-section,
.contact-section {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
}

.products-section {
    background: #ffffff;
}

.about-section {
    background: linear-gradient(180deg, var(--cafe-soft-white), #ffffff);
}

.store-section {
    background: linear-gradient(180deg, #ffffff, var(--cafe-olive-soft));
}

.career-section {
    background: linear-gradient(180deg, var(--cafe-rice), #ffffff);
}

.contact-section {
    background: linear-gradient(180deg, #ffffff, var(--cafe-soft-white));
}

.products-grid,
.store-grid,
.career-grid,
.about-story-grid {
    display: grid;
    gap: 1.2rem;
}

.products-grid,
.store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.career-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.menu-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: -0.8rem 0 2rem;
}

.menu-filter-pill,
.product-type,
.store-meta span,
.career-index {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.62rem;
    border-radius: 8px;
    background: var(--cafe-soft-white);
    color: var(--cafe-brown-dark);
    font-size: 0.75rem;
    font-weight: 750;
    text-transform: uppercase;
}

.product-card,
.store-card,
.career-card {
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover,
.store-card:hover,
.career-card:hover,
.about-story-card:hover,
.contact-form:hover,
.contact-info:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.product-image,
.store-image {
    width: 100%;
    height: 240px;
    background-color: var(--cafe-beige);
    background-size: cover;
    background-position: center;
}

.product-content,
.store-content,
.career-content {
    padding: 1.25rem;
}

.product-meta,
.store-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.product-index {
    color: rgba(75, 48, 33, 0.45);
    font-size: 0.85rem;
    font-weight: 800;
}

.product-title,
.store-title,
.career-title {
    margin-bottom: 0.65rem;
    color: var(--cafe-ink);
    font-size: 1.28rem;
}

.product-description,
.store-description,
.career-description {
    color: var(--cafe-muted);
    line-height: 1.75;
}

.product-price {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.36rem 0.65rem;
    border-radius: 8px;
    background: var(--cafe-olive-soft);
    color: #4f5e3d;
    font-size: 0.84rem;
    font-weight: 800;
}

.product-links .btn,
.career-card .btn {
    width: 100%;
    padding: 0.72rem 0.85rem;
}

.about-panel {
    padding-right: 1rem;
}

.about-story-card {
    min-height: 100%;
    padding: 1.25rem;
}

.about-story-card span {
    display: inline-block;
    margin-bottom: 1rem;
    color: rgba(75, 48, 33, 0.42);
    font-weight: 800;
}

.about-story-card h3 {
    color: var(--cafe-ink);
    font-size: 1.15rem;
}

.store-list,
.career-requirements {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.store-list li,
.career-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
    color: var(--cafe-muted);
    font-size: 0.94rem;
}

.store-list i,
.career-requirements i {
    margin-top: 0.2rem;
    color: var(--cafe-olive);
}

.store-map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    border: 1px dashed rgba(75, 48, 33, 0.22);
    border-radius: 8px;
    background: rgba(247, 241, 231, 0.72);
    color: var(--cafe-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.career-card {
    background: #ffffff;
}

.career-visual {
    margin: -1rem auto 2rem;
    overflow: hidden;
    border: 1px solid var(--cafe-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.career-visual img {
    width: 100%;
    height: min(360px, 45vw);
    display: block;
    object-fit: cover;
    object-position: center;
}

.contact-form,
.contact-info {
    height: 100%;
    padding: 1.5rem;
}

.contact-form label {
    margin-bottom: 0.45rem;
    color: var(--cafe-ink);
    font-weight: 700;
}

.contact-form .form-control {
    min-height: 50px;
    border: 1px solid var(--cafe-border);
    border-radius: 8px;
    box-shadow: none;
}

.contact-form textarea.form-control {
    min-height: 132px;
}

.contact-form .form-control:focus {
    border-color: rgba(122, 82, 53, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(122, 82, 53, 0.12);
}

.contact-info h3 {
    margin-bottom: 1.25rem;
    color: var(--cafe-ink);
    font-size: 1.45rem;
}

.info-item {
    margin-bottom: 0.8rem;
}

.info-item h4,
.info-item p {
    margin: 0;
}

.info-item h4 {
    color: var(--cafe-ink);
    font-size: 0.98rem;
}

.info-item a {
    color: var(--cafe-muted);
}

.social-links,
.footer-social {
    display: flex;
    gap: 0.65rem;
}

.social-link,
.social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cafe-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--cafe-brown);
}

.social-link:hover,
.social-icon:hover {
    background: var(--cafe-ink);
    border-color: var(--cafe-ink);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-section {
    position: relative;
    padding: 3.5rem 0 1rem;
    background: var(--cafe-ink);
    color: #ffffff;
    overflow: hidden;
}

.footer-background {
    opacity: 0.06;
}

.footer-overlay {
    background: linear-gradient(135deg, rgba(122, 82, 53, 0.18), rgba(111, 123, 98, 0.12));
}

.footer-title {
    color: #ffffff;
    font-size: 1.15rem;
}

.footer-text,
.footer-bottom p,
.footer-links a {
    color: rgba(255, 250, 242, 0.74);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.25rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal-right {
    transform: translateX(28px);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: var(--cafe-ink);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
    z-index: 999;
}

@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        border: 1px solid var(--cafe-border);
        border-radius: 8px;
        background: rgba(255, 250, 242, 0.98);
    }

    .navbar-language-switcher {
        margin-top: 0.75rem;
        margin-left: 0;
        padding-top: 0.75rem;
        padding-left: 0;
        border-top: 1px solid var(--cafe-border);
        border-left: 0;
    }

    .hero-slide-row {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 5.5rem;
    }

    .hero-spotlight {
        margin-top: 2rem;
    }

    .products-grid,
    .store-grid,
    .about-story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .navbar-custom {
        padding: 0.65rem 0;
    }

    .navbar-brand > img {
        height: 44px;
    }

    .hero-carousel-section .carousel,
    .hero-carousel-section .carousel-inner,
    .hero-slide {
        min-height: 100vh;
    }

    .hero-slide-overlay {
        background:
            linear-gradient(180deg, rgba(255, 253, 248, 0.94) 0%, rgba(255, 253, 248, 0.82) 58%, rgba(35, 33, 30, 0.34) 100%);
    }

    .hero-slide-row {
        padding-top: 6.7rem;
        padding-bottom: 5rem;
    }

    .hero-control {
        display: none;
    }

    .hero-indicators {
        left: 15px;
        bottom: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-metrics,
    .products-grid,
    .store-grid,
    .career-grid,
    .about-story-grid {
        grid-template-columns: 1fr;
    }

    .products-section,
    .about-section,
    .store-section,
    .career-section,
    .contact-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .product-image,
    .store-image {
        height: 220px;
    }

    .contact-section .row {
        flex-direction: column-reverse;
    }

    .contact-info {
        margin-bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0s !important;
        transition-duration: 0s !important;
    }

    html {
        scroll-behavior: auto;
    }
}
