/* ========== PATAWI COFFEE - ENHANCED STYLES ========== */
/* Brand Colors from Instagram @patawi.id */
:root {
    /* Patawi Brand Colors - Natural Green & Coffee Brown */
    --primary-green: #2d5016;
    --primary-green-dark: #1a3009;
    --primary-green-light: #4a7928;
    --secondary-green: #6b8e23;
    --accent-green: #8fbc8f;
    --light-green: #e8f5e9;
    --coffee-brown: #4a2c2a;
    --coffee-medium: #6b4423;
    --coffee-light: #a0826d;
    --cream: #f5f0e8;
    --beige: #e8dfd3;
    --white: #ffffff;
    --black: #1a1a1a;
    --text-dark: #2c2c2c;
    --text-light: #6b6b6b;
    --gradient-green: linear-gradient(135deg, #2d5016 0%, #4a7928 100%);
    --gradient-brown: linear-gradient(135deg, #4a2c2a 0%, #6b4423 100%);
    --gradient-natural: linear-gradient(135deg, #2d5016 0%, #6b8e23 50%, #4a2c2a 100%);
    --shadow-sm: 0 2px 8px rgba(45, 80, 22, 0.1);
    --shadow-md: 0 4px 16px rgba(45, 80, 22, 0.15);
    --shadow-lg: 0 8px 32px rgba(45, 80, 22, 0.2);
    --shadow-xl: 0 16px 48px rgba(45, 80, 22, 0.25);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, var(--cream) 0%, var(--beige) 50%, var(--light-green) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    position: static;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== ANIMATED BACKGROUND PARTICLES ========== */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 20s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 28s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 24s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 26s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 23s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 27s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 25s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 29s; }
.particle:nth-child(10) { left: 15%; animation-delay: 18s; animation-duration: 21s; }
.particle:nth-child(11) { left: 25%; animation-delay: 1s; animation-duration: 24s; }
.particle:nth-child(12) { left: 35%; animation-delay: 3s; animation-duration: 26s; }
.particle:nth-child(13) { left: 45%; animation-delay: 5s; animation-duration: 23s; }
.particle:nth-child(14) { left: 55%; animation-delay: 7s; animation-duration: 27s; }
.particle:nth-child(15) { left: 65%; animation-delay: 9s; animation-duration: 22s; }
.particle:nth-child(16) { left: 75%; animation-delay: 11s; animation-duration: 28s; }
.particle:nth-child(17) { left: 85%; animation-delay: 13s; animation-duration: 24s; }
.particle:nth-child(18) { left: 95%; animation-delay: 15s; animation-duration: 26s; }
.particle:nth-child(19) { left: 5%; animation-delay: 17s; animation-duration: 25s; }
.particle:nth-child(20) { left: 50%; animation-delay: 19s; animation-duration: 23s; }

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100vh) translateX(100px) scale(1.5);
        opacity: 0.5;
    }
    90% {
        opacity: 0.2;
    }
}

/* ========== 3D COFFEE FLOATING ELEMENTS ========== */
.coffee-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    display: none; /* Hidden - removed floating coffee elements */
}

.coffee-bean {
    position: absolute;
    width: 30px;
    height: 20px;
    background: var(--gradient-brown);
    border-radius: 50%;
    animation: rotate-bean 15s infinite linear;
    transform-style: preserve-3d;
}

.coffee-bean::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.bean-shine {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(2px);
}

.bean-1 {
    top: 20%;
    left: 15%;
    animation-duration: 20s;
}

.bean-2 {
    top: 60%;
    right: 20%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.bean-3 {
    bottom: 30%;
    left: 70%;
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes rotate-bean {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(0);
    }
    25% {
        transform: rotateX(90deg) rotateY(90deg) rotateZ(45deg) translateY(-20px);
    }
    50% {
        transform: rotateX(180deg) rotateY(180deg) rotateZ(90deg) translateY(0);
    }
    75% {
        transform: rotateX(270deg) rotateY(270deg) rotateZ(135deg) translateY(-20px);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg) translateY(0);
    }
}

.floating-cup {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.15;
}

.floating-cup::before {
    content: '☕';
    font-size: 40px;
    position: absolute;
    animation: float-cup 8s ease-in-out infinite;
}

.cup-steam {
    position: absolute;
    top: -20px;
    left: 15px;
    width: 20px;
    height: 30px;
    background: linear-gradient(to top, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
    filter: blur(5px);
    animation: steam-rise 3s ease-in-out infinite;
}

.cup-1 {
    top: 30%;
    right: 10%;
}

.cup-2 {
    bottom: 40%;
    left: 10%;
    animation-delay: -4s;
}

@keyframes float-cup {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes steam-rise {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0.3;
    }
    100% {
        transform: translateY(-30px) scaleX(1.5);
        opacity: 0;
    }
}

/* ========== CUSTOM CURSOR ========== */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, background 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    mix-blend-mode: difference;
}

/* ========== LOADING SCREEN ========== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--text-dark); /* Ubah warna teks menjadi gelap */
}

.loader-3d-cup {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
    animation: float-logo 3s ease-in-out infinite;
}

.loader-3d-cup::before {
    content: none; /* Hide the 'P' */
}

.loader-3d-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; /* Adjust size as needed */
    height: auto;
    filter: drop-shadow(0 5px 20px rgba(0,0,0,0.3));
    animation: pulse-logo 2s ease-in-out infinite; /* Apply pulse to the image */
}

.cup-body,
.cup-handle,
.steam {
    display: none;
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse-logo {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.loader-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.loading-bar {
    width: 250px;
    height: 4px;
    background: rgba(45, 80, 22, 0.3); /* Ubah warna latar belakang bar */
    border-radius: 2px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.loading-progress {
    width: 100%;
    height: 100%;
    background: var(--primary-green); /* Ubah warna progress bar */
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

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

.loader-tagline {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.8;
    font-family: 'Bebas Neue', cursive; /* Tambahkan font family yang sama */
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(45, 80, 22, 0.1);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(245, 240, 232, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px; /* Add gap for spacing between logo and text */
}

.navbar-logo-img {
    width: 50px; /* Adjust as needed */
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(45, 80, 22, 0.1));
    transition: transform 0.3s ease;
}

.nav-logo:hover .navbar-logo-img {
    transform: translateY(-3px) rotate(5deg);
}

.logo-layer {
    display: none; /* Ensure these are hidden if still present in HTML */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Bebas Neue', cursive;
    font-size: 28px;
    color: var(--primary-green);
    line-height: 1;
    letter-spacing: 2px;
}

.brand-sub {
    font-size: 11px;
    color: var(--coffee-brown);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-green);
    transition: width 0.3s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    z-index: 2;
}

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

.hero-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-green);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-green);
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--coffee-brown);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float-orb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

.hero-shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: var(--primary-green);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite;
}

.shape-2 {
    bottom: 15%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: var(--secondary-green);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 18s ease-in-out infinite;
    animation-delay: -6s;
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--coffee-brown);
    border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%;
    animation: morph 20s ease-in-out infinite;
    animation-delay: -12s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%;
    }
    25% {
        border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%;
    }
    50% {
        border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    }
    75% {
        border-radius: 30% 70% 70% 30% / 50% 30% 70% 50%;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(45, 80, 22, 0.1);
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    margin-bottom: 30px;
    line-height: 1.1;
}

.title-line {
    display: block;
    font-size: 48px;
    color: var(--coffee-brown);
    letter-spacing: 4px;
    position: relative;
    animation: slide-in-left 1s ease-out;
}

.title-line-big {
    display: block;
    font-size: 96px;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 8px;
    position: relative;
    animation: slide-in-right 1s ease-out 0.2s backwards;
}

.title-line[data-text]::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    color: var(--primary-green);
    overflow: hidden;
    border-right: 2px solid var(--primary-green);
    animation: text-reveal 2s steps(20) 0.5s forwards;
}

@keyframes slide-in-left {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes text-reveal {
    to {
        width: 100%;
    }
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fade-in 1s ease-out 0.5s backwards;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    position: relative;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: translateY(-5px) rotateY(180deg);
}

.stat-item h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 42px;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-right {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.image-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s ease;
}

.card-3d-effect {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: var(--gradient-green);
    border-radius: 20px;
    opacity: 0.3;
    z-index: -1;
    transition: transform 0.5s ease;
}

.image-card:hover {
    transform: translateZ(30px) rotateY(5deg);
}

.image-card:hover .card-3d-effect {
    transform: translateZ(-30px) rotateY(-5deg);
}

.card-1 {
    width: 350px;
    height: 400px;
    top: 0;
    left: 0;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.card-2 {
    width: 300px;
    height: 350px;
    bottom: 0;
    right: 0;
    animation: float 6s ease-in-out infinite 3s;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

.image-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.floating-text {
    position: absolute;
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
    color: var(--primary-green);
    writing-mode: vertical-rl;
    letter-spacing: 3px;
    animation: float-text 4s ease-in-out infinite;
}

.text-1 {
    top: 50px;
    right: -30px;
}

.text-2 {
    bottom: 50px;
    left: -30px;
    animation-delay: 2s;
}

@keyframes float-text {
    0%, 100% {
        transform: translateY(0) rotate(-90deg);
    }
    50% {
        transform: translateY(-15px) rotate(-90deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 12px;
    letter-spacing: 2px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary-green));
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ========== QUICK INFO BANNER ========== */
.quick-info {
    background: var(--primary-green);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.info-slider {
    width: 100%;
    overflow: hidden;
}

.info-track {
    display: flex;
    animation: scroll-info 30s linear infinite;
    gap: 60px;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
}

.info-item i {
    font-size: 20px;
    color: var(--accent-green);
}

/* ========== QUOTES SECTION ========== */
.quotes-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.quotes-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.quote-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.05;
}

.quote-shape.shape-1 {
    background: var(--primary-green);
    top: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite;
}

.quote-shape.shape-2 {
    background: var(--coffee-brown);
    bottom: 10%;
    right: 5%;
    animation: float 18s ease-in-out infinite 5s;
}

.quotes-carousel {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    min-height: 450px;
}

.quote-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    width: 100%;
    max-width: 700px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 40px; /* Diubah menjadi tidak terlalu melengkung */
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1; /* Default z-index for non-active cards */
}

.quote-card.active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    visibility: visible;
    z-index: 10;
    pointer-events: auto;
    border-radius: 40px; /* Pastikan border-radius juga diterapkan pada state aktif */
}

.quote-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-green);
    line-height: 1.5;
    margin-bottom: 30px;
    font-style: italic;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--coffee-brown);
    font-size: 16px;
    font-weight: 500;
}

.author-line {
    width: 50px;
    height: 2px;
    background: var(--gradient-brown);
}

.quote-3d-coffee {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    opacity: 0.1;
}

.coffee-cup-icon {
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232d5016'%3E%3Cpath d='M2 21h18v-2H2M20 8h-2V5h2m0-2H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    animation: rotate-cup 20s linear infinite;
}

@keyframes rotate-cup {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.quotes-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    position: relative; /* Ensure z-index works */
    z-index: 999; /* High z-index to ensure clickability */
}

.quote-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
}

.quote-dots {
    display: flex;
    gap: 10px;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-grid {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    top: 0;
    left: 0;
    z-index: 2;
}

.about-img-side {
    position: absolute;
    width: 300px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    bottom: 0;
    right: 0;
    z-index: 1;
}

.img-3d-layer {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: var(--gradient-green);
    border-radius: 20px;
    opacity: 0.2;
    z-index: -1;
    transform: translateZ(-20px);
}

.about-img-main:hover,
.about-img-side:hover {
    transform: translateY(-10px);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(45, 80, 22, 0.3));
}

.about-img-main img,
.about-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img-main:hover img,
.about-img-side:hover img {
    transform: scale(1.1);
}

.about-badge-float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--gradient-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    z-index: 3;
    animation: rotate-badge 20s linear infinite;
}

@keyframes rotate-badge {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.badge-content {
    text-align: center;
    color: var(--white);
}

.badge-content i {
    font-size: 40px;
    margin-bottom: 10px;
}

.badge-content span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(45, 80, 22, 0.1);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-content h4 {
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== REVIEWS SECTION ========== */
.reviews-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.reviews-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.review-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.review-orb.orb-1 {
    background: var(--primary-green);
    top: 0;
    right: 0;
}

.review-orb.orb-2 {
    background: var(--coffee-brown);
    bottom: 0;
    left: 0;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.rating-stars {
    display: flex;
    gap: 5px;
    font-size: 24px;
    color: #fbbc04;
}

.rating-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.google-logo {
    height: 24px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.review-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.review-card:hover::before {
    transform: scaleX(1);
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.review-stars {
    display: flex;
    gap: 3px;
    font-size: 14px;
    color: #fbbc04;
}

.review-platform {
    font-size: 20px;
    color: #4285f4;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(45, 80, 22, 0.1);
}

.review-date {
    font-size: 13px;
    color: var(--text-light);
}

.reviews-cta {
    text-align: center;
    margin-top: 60px;
}

/* ========== SPECIALTY SECTION ========== */
.specialty-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.specialty-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(45, 80, 22, 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.05), transparent);
    transition: left 0.5s ease;
}

.specialty-card:hover::before {
    left: 100%;
}

.specialty-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.specialty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    position: relative;
    transform-style: preserve-3d;
}

.icon-3d-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(-20px);
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    border-radius: 20px;
    opacity: 0.2;
    transition: transform 0.5s ease;
}

.specialty-card:hover .icon-3d-bg {
    transform: translate(-50%, -50%) translateZ(-40px) rotate(180deg);
}

.specialty-icon i {
    position: relative;
    font-size: 50px;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.5s ease;
}

.specialty-card:hover .specialty-icon i {
    transform: scale(1.2) rotateY(360deg);
}

.specialty-card h3 {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.specialty-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
}

/* ========== MENU SECTION ========== */
.menu-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.menu-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid rgba(45, 80, 22, 0.1);
}

.menu-item.hidden {
    display: none;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.menu-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.image-3d-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.menu-item:hover .image-3d-effect {
    opacity: 0.3;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.menu-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    background: var(--gradient-brown);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.menu-info {
    padding: 25px;
}

.menu-info h3 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 600;
}

.menu-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--coffee-brown);
}

.menu-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

/* ========== GALLERY / SPACE SECTION ========== */
.space-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(45, 80, 22, 0.05));
    position: relative;
    z-index: 2;
}

.gallery-slider {
    margin-top: 60px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 30px;
    animation: scroll-gallery 40s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

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

.gallery-slide {
    min-width: 350px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.gallery-slide:hover {
    transform: scale(1.05);
}

.slide-3d-effect {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: var(--gradient-green);
    border-radius: 20px;
    opacity: 0.2;
    z-index: -1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-overlay h3 {
    font-size: 24px;
    font-weight: 600;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(45, 80, 22, 0.1);
    transition: all 0.3s ease;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    color: var(--primary-green);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

.contact-details a {
    color: var(--primary-green);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--secondary-green);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(45, 80, 22, 0.1);
    border: 2px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-btn:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-5px);
}

.map-container {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-3d-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: var(--gradient-green);
    border-radius: 20px;
    opacity: 0.2;
    z-index: -1;
}

.map-container iframe {
    border-radius: 20px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gradient-natural);
    color: var(--white);
    padding: 20px 0 10px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.footer-shape.shape-1 {
    top: -100px;
    right: -100px;
}

.footer-shape.shape-2 {
    bottom: -100px;
    left: -100px;
}

.footer-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo-3d-footer {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.footer-content p {
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 18px;
    margin: 30px 0;
    font-style: italic;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.footer-bottom i {
    color: #ff6b6b;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-green);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    opacity: 1; /* Always visible */
    visibility: visible; /* Always visible */
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.scroll-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-top:hover .scroll-glow {
    opacity: 0.2;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ========== SECTION HEADERS ========== */
.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(45, 80, 22, 0.1);
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 56px;
    color: var(--primary-green);
    letter-spacing: 3px;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
}

.section-header.text-center .section-desc {
    margin: 0 auto;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }
    
    .card-1 {
        width: 280px;
        height: 320px;
    }
    
    .card-2 {
        width: 240px;
        height: 280px;
    }
    
    .about-image-grid {
        height: 500px;
    }
    
    .about-img-main {
        width: 350px;
        height: 430px;
    }
    
    .about-img-side {
        width: 250px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: var(--cream);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .title-line-big {
        font-size: 64px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item h3 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .quote-text {
        font-size: 24px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slide {
        min-width: 350px;
        height: 400px;
    }
    
    .coffee-bean,
    .floating-cup {
        display: none;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 36px;
    }
    
    .title-line-big {
        font-size: 48px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .quote-card {
        padding: 40px 30px;
    }
    
    .quote-text {
        font-size: 20px;
    }
    
    .about-img-main {
        width: 100%;
        height: 350px;
    }
    
    .about-img-side {
        width: 80%;
        height: 250px;
    }
    
    .gallery-slide {
        min-width: 280px;
        height: 350px;
    }
}

/* ========== TOUCH DEVICE OPTIMIZATIONS ========== */
.touch-device .cursor,
.touch-device .cursor-follower {
    display: none;
}

.touch-device .menu-item,
.touch-device .specialty-card,
.touch-device .review-card {
    transition: none;
}

/* ========== ADDITIONAL COOL ANIMATIONS ========== */

/* Animated Wave Background */
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%232d5016' fill-opacity='0.1'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    z-index: 1;
    animation: wave-move 10s ease-in-out infinite;
}

@keyframes wave-move {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-50px);
    }
}

/* Floating Animation for Review Cards */
.review-card {
    animation: float-card 6s ease-in-out infinite;
}

.review-card:nth-child(1) { animation-delay: 0s; }
.review-card:nth-child(2) { animation-delay: 0.5s; }
.review-card:nth-child(3) { animation-delay: 1s; }
.review-card:nth-child(4) { animation-delay: 1.5s; }
.review-card:nth-child(5) { animation-delay: 2s; }
.review-card:nth-child(6) { animation-delay: 2.5s; }

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation for Icons */
.feature-icon,
.specialty-icon i,
.contact-icon {
    animation: pulse-icon-subtle 3s ease-in-out infinite;
}

@keyframes pulse-icon-subtle {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(45, 80, 22, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(45, 80, 22, 0);
    }
}

/* Shimmer Effect on Hover */
.menu-item::after,
.specialty-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-item:hover::after,
.specialty-card:hover::after {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Typewriter Effect for Section Titles */
.section-title {
    overflow: hidden;
    border-right: 3px solid var(--primary-green);
    white-space: nowrap;
    animation: typing 3s steps(40) 0.5s forwards, blink 0.75s step-end infinite;
    width: 0;
}

.section-title.animated {
    width: 100%;
    border-right: none;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Ripple Effect on Buttons */
.btn-primary,
.btn-outline,
.category-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-outline::before,
.category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:active::before,
.btn-outline:active::before,
.category-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Glowing Border Animation */
.hero-badge,
.section-subtitle {
    position: relative;
    background: linear-gradient(45deg, transparent, transparent);
    animation: glow-border 3s linear infinite;
}

@keyframes glow-border {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-green),
                    0 0 10px var(--primary-green);
    }
    50% {
        box-shadow: 0 0 10px var(--primary-green),
                    0 0 20px var(--primary-green),
                    0 0 30px var(--secondary-green);
    }
}

/* Rotating Border for Images */
.image-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green), var(--coffee-brown), var(--primary-green));
    border-radius: 20px;
    z-index: -1;
    background-size: 400% 400%;
    animation: gradient-rotate 8s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-card:hover::before {
    opacity: 0.5;
}

@keyframes gradient-rotate {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Zoom In Animation on Scroll */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.menu-item,
.review-card,
.specialty-card {
    animation: zoomIn 0.6s ease-out backwards;
}

/* Stagger Animation Delay */
.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }

/* Text Gradient Animation */
.hero-title .title-line-big {
    background: linear-gradient(90deg, 
        var(--primary-green), 
        var(--secondary-green), 
        var(--coffee-brown),
        var(--primary-green)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 5s ease infinite;
}

@keyframes gradient-text {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Bounce Animation for Scroll Indicator */
.scroll-indicator {
    animation: bounce-smooth 2s ease-in-out infinite;
}

@keyframes bounce-smooth {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Wiggle Animation for Social Icons */
.social-btn:hover,
.footer-social a:hover {
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% {
        transform: translateY(-5px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-5deg);
    }
    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* Particle Effect Background for Sections */
.quotes-section::before,
.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(45, 80, 22, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 142, 35, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(74, 44, 42, 0.05) 0%, transparent 50%);
    animation: particle-float 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes particle-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(20px, -20px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.loader-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    letter-spacing: 8px;
    margin-bottom: 20px;
    /* animation: pulse 2s ease-in-out infinite; -- Biarkan animasi pulse jika masih diinginkan untuk teks utama */
}

/* Fade In Stagger for About Features */
.feature-box {
    animation: fadeInLeft 0.8s ease-out backwards;
}

.feature-box:nth-child(1) { animation-delay: 0.2s; }
.feature-box:nth-child(2) { animation-delay: 0.4s; }
.feature-box:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Magnetic Effect for Navigation Links */
@media (hover: hover) {
    .nav-link {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link:hover {
        transform: translateY(-2px);
        letter-spacing: 1px;
    }
}

/* Infinite Rotation for Badges */
.about-badge-float {
    animation: rotate-badge 20s linear infinite, float 4s ease-in-out infinite;
}

/* Scale Animation for Menu Items on Hover */
.menu-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover {
    transform: translateY(-15px) scale(1.03);
}

/* Breathing Animation for Call-to-Action */
.reviews-cta .btn-primary {
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Slide Up Animation for Footer Content */
.footer-content {
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Neon Glow Effect for Active Elements */
.nav-link.active {
    text-shadow: 0 0 10px var(--primary-green),
                 0 0 20px var(--primary-green),
                 0 0 30px var(--primary-green);
}

/* Rainbow Border Animation */
.quote-card.active {
    border-image: linear-gradient(45deg, 
        var(--primary-green), 
        var(--secondary-green), 
        var(--coffee-brown),
        var(--primary-green)
    ) 1;
    animation: rainbow-border 3s linear infinite;
}

@keyframes rainbow-border {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
}

/* Expand Animation for Contact Items */
.contact-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    padding-left: 35px;
}

/* Flip Animation for Specialty Cards on Hover */
.specialty-card {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.specialty-card:hover {
    transform: translateY(-15px) rotateY(5deg);
}

/* Blur to Focus Animation */
@keyframes blurToFocus {
    from {
        filter: blur(10px);
        opacity: 0;
    }
    to {
        filter: blur(0);
        opacity: 1;
    }
}

.gallery-slide img {
    animation: blurToFocus 1s ease-out;
}

/* Liquid Animation for Shapes */
.hero-shape,
.quote-shape {
    animation: morph 20s ease-in-out infinite, float 8s ease-in-out infinite;
}