@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #ff5500;
    --primary-hover: #d44600;
    --primary-glow: rgba(255, 85, 0, 0.15);
    --secondary: #0f172a;
    --secondary-hover: #1e293b;
    --secondary-glow: rgba(15, 23, 42, 0.1);
    
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.45);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-premium: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
    --shadow-float: 0 30px 60px -20px rgba(15, 23, 42, 0.18);
    
    --radius-oval: 50px 20px 50px 20px;
    --radius-round: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Background Gradients & Blob Patterns */
.bg-blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float-blob 20s infinite alternate ease-in-out;
}

.bg-blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.bg-blob-2 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    bottom: 10%;
    right: -150px;
    animation-delay: -5s;
    opacity: 0.08;
}

.bg-blob-3 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
    opacity: 0.05;
}

@keyframes float-blob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Navbar (Sticky Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    padding: 12px 5%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.logo-container:hover .logo-icon {
    transform: rotate(360deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--secondary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--text-white);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 10px 20px -6px var(--primary-glow);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -4px var(--primary-glow);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: var(--text-white);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 10px 20px -6px var(--secondary-glow);
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -4px var(--secondary-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 10px 26px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -6px var(--secondary-glow);
}

.btn-cart {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.btn-cart:hover {
    transform: scale(1.1);
    background: var(--text-white);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #f43f5e;
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-white);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Section: Hero */
.hero-section {
    position: relative;
    padding: 160px 5% 100px 5%;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-main);
    background-image: url('../../uploads/city_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    gap: 40px;
}

.hero-content {
    flex: 1.1;
    max-width: 650px;
    position: relative;
    z-index: 10;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 85, 0, 0.15);
    border: 1.5px solid #ff5500;
    color: #e64a00;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    animation: pulse-tag 2s infinite alternate ease-in-out;
}

@keyframes pulse-tag {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    position: relative;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 18px;
    color: var(--text-main);
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.hero-title span.grad {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Stats Overlay */
.hero-stats {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ff5500;
    line-height: 1.2;
    font-family: var(--font-heading);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.95);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 800;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.9);
}

.hero-stat-divider {
    width: 2px;
    height: 40px;
    background-color: var(--border-color);
}

.hero-image-area {
    flex: 0.9;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3D Courier Circular Frame Layout */
.hero-circle-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #ffa64d);
    border-radius: 50%;
    box-shadow: 0 25px 50px -10px rgba(255, 85, 0, 0.35);
}

.hero-circle-orbit {
    position: absolute;
    width: 112%;
    height: 112%;
    border: 2px dashed var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: rotate-orbit 25s linear infinite;
}

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

.hero-courier-img {
    position: relative;
    z-index: 3;
    width: 95%;
    height: 95%;
    object-fit: contain;
    margin-top: -20px;
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.2));
    animation: float-courier 6s infinite ease-in-out;
}

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

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 5;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--shadow-soft);
    border-radius: 20px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    animation: float-badge 6s infinite ease-in-out;
}

.floating-badge:hover {
    transform: translateY(-5px) scale(1.05);
    background: #ffffff;
    box-shadow: var(--shadow-float);
    border-color: rgba(255, 85, 0, 0.2);
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #f59e0b;
}

.badge-title {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-main);
}

.badge-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.badge-left {
    left: -30px;
    top: 20%;
    animation-delay: 0s;
}

.badge-right {
    right: -30px;
    top: 45%;
    animation-delay: -2s;
}

.badge-bottom {
    left: 8%;
    bottom: -15px;
    animation-delay: -4s;
}

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

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--bg-main);
}

/* Promo Slider */
.promo-slider-container {
    padding: 0 5%;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.promo-slider-wrapper {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 85, 0, 0.25);
    border-left: 6px solid #ff5500;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 85, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.promo-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.promo-slide {
    min-width: 100%;
    text-align: center;
    padding: 10px 40px;
}

.promo-badge {
    background: linear-gradient(135deg, #ff5500, #ff8c00);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
}

.promo-slide h4 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.promo-slide p {
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Section: Featured Products */
.featured-section {
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.featured-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
        url('../../uploads/corporate_office_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.featured-section > * {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    margin-top: 16px;
}

/* Asymmetric Grid Layout */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Oval and Custom Floating Cards */
.card-featured {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-featured:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-float);
    border-color: rgba(99, 102, 241, 0.2);
}

.card-featured img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-featured:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.card-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-hover);
    margin-bottom: 16px;
}

/* Dynamic Oval Card Layout Configurations */
.featured-grid .card-type-1 {
    grid-column: span 4;
    border-radius: var(--radius-round);
}

.featured-grid .card-type-2 {
    grid-column: span 4;
    border-radius: var(--radius-oval); /* Oval Shape */
}

.featured-grid .card-type-3 {
    grid-column: span 4;
    border-radius: 20px 50px 20px 50px; /* Asymmetric Round */
}

.featured-grid .card-type-4 {
    grid-column: span 6;
    border-radius: var(--radius-round);
}

.featured-grid .card-type-5 {
    grid-column: span 6;
    border-radius: var(--radius-oval);
}

.featured-grid .card-type-6 {
    grid-column: span 4;
    border-radius: var(--radius-oval);
}

.featured-grid .card-type-7 {
    grid-column: span 4;
    border-radius: var(--radius-round);
}

.featured-grid .card-type-8 {
    grid-column: span 4;
    border-radius: 20px 50px 20px 50px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Section: Products Catalog Page */
.catalog-section {
    padding: 140px 5% 80px 5%;
    position: relative;
    overflow: hidden;
}

.catalog-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
        url('../../uploads/corporate_office_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.catalog-section > * {
    position: relative;
    z-index: 2;
}

.catalog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Search and Filters */
.catalog-controls {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-round);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-soft);
}

.controls-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px var(--secondary-glow);
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.filter-select {
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: var(--transition-smooth);
}

.filter-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px var(--secondary-glow);
}

.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Standard Catalog Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.card-product {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(16, 185, 129, 0.2);
}

.card-product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.badge-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
}

.badge-status.tersedia {
    background: var(--primary);
}

.badge-status.habis {
    background: #ef4444;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.page-btn:hover:not(:disabled) {
    background: var(--secondary);
    color: var(--text-white);
    border-color: var(--secondary);
}

.page-btn.active {
    background: var(--secondary);
    color: var(--text-white);
    border-color: var(--secondary);
    box-shadow: 0 6px 12px -4px var(--secondary-glow);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Product Detail Modal/Page */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-round);
    max-width: 900px;
    width: 100%;
    box-shadow: var(--shadow-float);
    overflow: hidden;
    position: relative;
    animation: zoom-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoom-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    height: 600px;
    max-height: 80vh;
}

.detail-gallery {
    position: relative;
    height: 100%;
}

.detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.detail-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.detail-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.detail-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-hover);
    margin-bottom: 24px;
}

.detail-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
    max-height: 180px;
    overflow-y: auto;
}

.detail-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

/* Shopping Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
    z-index: 1200;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.cart-close:hover {
    color: var(--text-main);
}

.cart-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
}

.cart-item-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary-hover);
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-delete {
    color: #ef4444;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.cart-item-delete:hover {
    transform: scale(1.1);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(248, 250, 252, 0.65);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.cart-total-price {
    color: var(--primary-hover);
}

/* Booking/Order Form Modal */
.order-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-form-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-round);
    max-width: 550px;
    width: 100%;
    padding: 40px;
    box-shadow: var(--shadow-float);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.order-form-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.order-form-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px var(--secondary-glow);
}

.order-summary-box {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.order-summary-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.order-summary-list {
    list-style: none;
    max-height: 120px;
    overflow-y: auto;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

/* Halaman Cabang */
.branches-section {
    padding: 140px 5% 80px 5%;
    position: relative;
    overflow: hidden;
}

.branches-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
        url('../../uploads/city_alt_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.branches-section > * {
    position: relative;
    z-index: 2;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-branch {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card-branch:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
    border-color: rgba(99, 102, 241, 0.2);
}

.branch-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.branch-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.branch-name {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.branch-info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.branch-info-row i {
    color: var(--primary);
    margin-top: 4px;
}

.branch-map {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    border: none;
    margin-top: 16px;
    margin-bottom: 20px;
}

.branch-footer {
    margin-top: auto;
}

/* Halaman Tentang Kami */
.about-section {
    padding: 140px 5% 80px 5%;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)),
        url('../../uploads/city_alt_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.about-section > * {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-profile {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-profile-text {
    flex: 1.2;
}

.about-profile-img {
    flex: 0.8;
    border-radius: var(--radius-round);
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-premium);
    animation: pulse-img 6s infinite ease-in-out;
}

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

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.vm-box {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--radius-round);
    box-shadow: var(--shadow-soft);
}

.vm-box h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.vm-box ul {
    list-style: none;
}

.vm-box li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.vm-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

/* Modern Timeline */
.timeline-section {
    margin-bottom: 80px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-smooth);
}

.timeline-container.left {
    left: 0;
}

.timeline-container.right {
    left: 50%;
}

.timeline-container.right::after {
    left: -10px;
    border-color: var(--secondary);
}

.timeline-content {
    padding: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    border-radius: var(--radius-round);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.timeline-container:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.timeline-container:hover::after {
    transform: scale(1.3);
    background-color: var(--text-main);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.timeline-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Values and Advantages */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.value-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-round);
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
}

.value-card:nth-child(2) .value-icon {
    background: var(--secondary-glow);
    color: var(--secondary);
}

.value-card:nth-child(3) .value-icon {
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
}

/* AI Chatbot Widget (Floating NLP Chat) */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    border: none;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: var(--transition-smooth);
}

.chatbot-button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
}

.chatbot-container {
    width: 380px;
    height: 520px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    margin-bottom: 15px;
    overflow: hidden;
    animation: slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-close {
    transition: var(--transition-smooth);
}

.chatbot-close:hover {
    opacity: 1 !important;
    transform: scale(1.15);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.chatbot-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.chatbot-subtitle {
    font-size: 0.75rem;
    opacity: 0.85;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(248, 250, 252, 0.65);
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-bubble.bot {
    background: white;
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 6px -2px rgba(15, 23, 42, 0.03);
}

.chat-bubble.user {
    background: var(--secondary);
    color: var(--text-white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 10px -2px var(--secondary-glow);
}

.chat-bubble.bot a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: underline;
}

.chatbot-chips {
    display: flex;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(248, 250, 252, 0.65);
    flex-wrap: wrap;
}

.chat-chip {
    background: white;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.chat-chip:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: var(--secondary-glow);
}

.chatbot-input-area {
    padding: 12px 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 8px 0;
}

.chatbot-send {
    background: transparent;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.chatbot-send:hover {
    transform: scale(1.1);
}

/* Footer Section */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 5% 40px 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px auto;
}

.footer-col h3 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-size: 1.15rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    box-shadow: none;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive CSS */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .featured-grid .card-type-1,
    .featured-grid .card-type-2,
    .featured-grid .card-type-3,
    .featured-grid .card-type-6,
    .featured-grid .card-type-7,
    .featured-grid .card-type-8 {
        grid-column: span 6;
    }
    .about-profile {
        flex-direction: column;
        text-align: center;
    }
    .vm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-login-btn .admin-text {
        display: none;
    }
    .admin-login-btn {
        padding: 8px !important;
        border-radius: 50% !important;
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .navbar {
        padding: 15px 5%;
    }
    .nav-links {
        display: none; /* Mobile menu collapsed */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-soft);
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-section {
        flex-direction: column;
        padding: 120px 5% 60px 5%;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-btns {
        justify-content: center;
    }
    .controls-grid {
        grid-template-columns: 1fr;
    }
    .detail-layout {
        grid-template-columns: 1fr;
        height: auto !important;
        max-height: none !important;
    }
    .detail-main-img {
        height: 250px !important;
    }
    .detail-info {
        padding: 24px;
        height: auto !important;
        overflow-y: visible !important;
    }
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    .timeline::after {
        left: 31px;
    }
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-container::after {
        left: 21px;
        right: auto;
    }
    .timeline-container.right {
        left: 0%;
    }
    .timeline-container.right::after {
        left: 21px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .chatbot-container {
        width: calc(100vw - 40px);
        height: 480px;
        right: 20px;
        bottom: 90px;
    }
}

/* Sembunyikan elemen harga untuk katalog visitor */
.card-price,
.detail-price,
.cart-item-price,
.cart-total-row {
    display: none !important;
}

/* Batasi tinggi modal dan aktifkan scroll agar responsif */
.modal-content {
    max-height: 90vh !important;
    overflow-y: auto !important;
}

