/* ============================================================
   CV Gema Nusa — Main Stylesheet
   Rebuilt from Tailwind CSS to Vanilla CSS
   ============================================================ */

/* ============================================================
   1. CSS Variables & Design Tokens
   ============================================================ */
:root {
    /* Colors */
    --color-primary: #0ea5e9;
    --color-primary-dark: #0369a1;
    --color-primary-light: #7dd3fc;
    --color-primary-lighter: #bae6fd;
    --color-primary-lightest: #e0f2fe;
    --color-secondary: #fe0000;
    --color-secondary-dark: #b91c1c;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-red-600: #dc2626;
    --color-red-700: #b91c1c;
    --color-green-500: #22c55e;
    --color-green-600: #16a34a;
    --color-sky-50: #f0f9ff;
    --color-sky-200: #bae6fd;
    --color-sky-300: #7dd3fc;
    --color-sky-400: #38bdf8;
    --color-sky-700: #0369a1;

    /* Typography */
    --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-header: 'Encode Sans', ui-sans-serif, system-ui, sans-serif;

    /* Spacing */
    --spacing: 0.25rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

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

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Container */
    --container-max: 1140px;
}

/* ============================================================
   2. CSS Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
}

html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--font-sans);
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-primary-lightest);
    color: var(--color-gray-800);
    min-height: 100vh;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
}

img, video {
    max-width: 100%;
    height: auto;
}

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

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

ol, ul, menu {
    list-style: none;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

b, strong {
    font-weight: 700;
}

::selection {
    background-color: var(--color-sky-300);
    color: var(--color-secondary);
}

/* ============================================================
   3. Typography
   ============================================================ */
.font-header { font-family: var(--font-header); }
.font-sans { font-family: var(--font-sans); }

.text-xs { font-size: 0.75rem; line-height: 1.333; }
.text-sm { font-size: 0.875rem; line-height: 1.428; }
.text-base { font-size: 1rem; line-height: 1.5; }
.text-lg { font-size: 1.125rem; line-height: 1.555; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.333; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }
.text-4xl { font-size: 2.25rem; line-height: 1.111; }
.text-5xl { font-size: 3rem; line-height: 1; }

/* ============================================================
   4. Layout
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 5rem; /* space for fixed header */
}

.main-content {
    flex-grow: 1;
}

/* ============================================================
   5. Polka Pattern Background
   ============================================================ */
.polka-pattern {
    background-color: var(--color-primary-lightest);
    background-image: radial-gradient(circle, var(--color-primary-light) 0.5px, transparent 0.5px);
    background-size: 20px 20px;
}

/* ============================================================
   6. Header & Navigation
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 300ms ease;
    display: flex;
    flex-direction: column;
    background-color: var(--color-sky-300);
    background-image: url('../images/header-bg.jpeg');
    background-size: cover;
    background-blend-mode: normal;
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
    background-blend-mode: multiply;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    min-height: 72px;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.logo-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-header);
    color: var(--color-black);
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 200ms ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-black);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-secondary);
    border-radius: var(--radius-full);
}

/* Mobile Menu Button */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-black);
    padding: 0.5rem;
}

.menu-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    border-top: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile .nav-link {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
}

.nav-mobile .nav-link:hover {
    background: var(--color-primary-lightest);
}

/* Running Text / Marquee Bar */
.marquee-bar {
    background-color: var(--color-red-600);
    color: var(--color-white);
    font-size: 0.75rem;
    padding: 0.625rem 0;
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 49;
    border-bottom: 1px solid var(--color-red-700);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-text {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    white-space: nowrap;
}

.marquee-dot {
    margin: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marquee-dot i {
    font-size: 6px;
    opacity: 0.7;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   7. Hero / Carousel
   ============================================================ */
.hero-carousel {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-gray-900);
}

.hero-slide {
    position: absolute;
    inset: 0;
    transition: opacity 1000ms ease-in-out;
    opacity: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.hero-dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: var(--radius-full);
    transition: all 300ms ease;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
}

.hero-dot:hover { background: var(--color-white); }
.hero-dot.active {
    background: var(--color-secondary);
    width: 2rem;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(0, 0, 0, 0.2);
    color: var(--color-white);
    padding: 0.5rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    transition: all 300ms ease;
    opacity: 0;
    border: none;
    cursor: pointer;
}

.hero-carousel:hover .hero-nav { opacity: 1; }
.hero-nav:hover { background: var(--color-secondary); }
.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }
.hero-nav i { font-size: 1.5rem; }

/* ============================================================
   8. Section Title
   ============================================================ */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: var(--font-header);
    color: var(--color-gray-900);
    margin-bottom: 1rem;
    display: inline-block;
    position: relative;
}

.section-title h2 .highlight {
    color: var(--color-primary);
}

.section-title h2 .underline-decoration {
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    right: 0;
    height: 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-full);
    z-index: -1;
}

.section-title p {
    color: var(--color-gray-600);
    max-width: 42rem;
    margin: 0 auto;
}

.section-divider {
    margin-top: 1rem;
    width: 6rem;
    height: 0.375rem;
    background: var(--color-secondary);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-full);
}

/* ============================================================
   9. Feature Cards (Keunggulan)
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all 300ms ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    width: 5rem;
    height: 5rem;
    background: var(--color-blue-50);
    color: var(--color-primary);
    border-radius: var(--radius-2xl);
    transform: rotate(3deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 300ms ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(6deg) scale(1.1);
}

.feature-icon i {
    font-size: 2.25rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 0.75rem;
    color: var(--color-gray-900);
    transition: color 200ms ease;
}

.feature-card:hover h3 {
    color: var(--color-primary);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.625;
}

/* ============================================================
   10. Product / Catalog Cards (Koleksi Terbaru)
   ============================================================ */
.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.catalog-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: all 500ms ease;
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    aspect-ratio: 4/5;
    display: block;
}

.catalog-card:hover {
    box-shadow: var(--shadow-2xl);
}

.catalog-card-image {
    position: absolute;
    inset: 0;
}

.catalog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

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

.catalog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 50%, transparent);
    opacity: 0.8;
    transition: opacity 300ms ease;
    z-index: 10;
}

.catalog-card:hover .catalog-card-overlay {
    opacity: 0.9;
}

.catalog-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 20;
    transform: translateY(0.5rem);
    transition: transform 300ms ease;
}

.catalog-card:hover .catalog-card-content {
    transform: translateY(0);
}

.catalog-card-content h3 {
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    line-height: 1.25;
    font-size: 1.25rem;
    text-align: center;
}

.catalog-card-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(1rem);
    transition: all 300ms ease;
}

.catalog-card:hover .catalog-card-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   11. Horizontal Scroll Cards (Popular Products)
   ============================================================ */
.offer-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.offer-card {
    border-radius: var(--radius-3xl);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.offer-card.primary-gradient {
    background: linear-gradient(to bottom right, rgba(14,165,233,0.05), rgba(14,165,233,0.1));
}

.offer-card.secondary-gradient {
    background: linear-gradient(to bottom right, rgba(254,0,0,0.05), rgba(254,0,0,0.1));
}

.offer-header {
    padding: 2rem 2rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

.offer-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.offer-badge.primary {
    background: rgba(14,165,233,0.1);
    color: var(--color-primary);
}

.offer-badge.secondary {
    background: rgba(254,0,0,0.1);
    color: var(--color-secondary);
}

.offer-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-header);
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.offer-header p {
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scroll container with mask */
.scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroll-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
    padding: 0 1rem;
}

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

.scroll-item {
    position: relative;
    width: 20rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 300ms ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.scroll-item:hover {
    box-shadow: var(--shadow-md);
}

.scroll-item-img {
    width: 8rem;
    height: 6rem;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.scroll-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.scroll-item-text {
    flex: 1;
    padding-left: 0.75rem;
    min-width: 0;
    text-align: left;
}

.scroll-item-text h4 {
    font-weight: 700;
    color: var(--color-gray-900);
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 200ms ease;
    line-height: 1.25;
    margin-bottom: 0.125rem;
}

.scroll-item:hover .scroll-item-text h4 {
    color: var(--color-primary);
}

.scroll-item-text p {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    height: 2rem;
    line-height: 1.25;
}

/* ============================================================
   12. About / Sekilas Section
   ============================================================ */
.about-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 3rem 0.5rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.about-section h1 {
    margin-bottom: 1rem;
    font-family: var(--font-header);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--color-gray-800);
    position: relative;
    z-index: 10;
}

.about-section .text-secondary { color: var(--color-secondary); }
.about-section .text-primary { color: var(--color-primary); }

.about-section p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-gray-700);
    line-height: 1.625;
    position: relative;
    z-index: 10;
}

.about-circle {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-2xl);
    z-index: 0;
    opacity: 0.1;
}

.about-circle.primary {
    background: var(--color-primary);
    top: -3rem;
    right: -4rem;
}

.about-circle.secondary {
    background: var(--color-secondary);
    bottom: -8rem;
    left: -4rem;
}

/* ============================================================
   13. CTA Section
   ============================================================ */
.cta-section {
    background-color: var(--color-sky-200);
    padding: 2rem 0;
}

.cta-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 1rem;
    color: var(--color-gray-900);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* ============================================================
   14. Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: all 300ms ease;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-sky-700);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-red-700);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
    color: var(--color-gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: all 300ms ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-color: var(--color-gray-900);
}

.btn i { font-size: 1.125rem; }

/* ============================================================
   15. Footer
   ============================================================ */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-top: 4rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    background-image: url('../images/footer-bg.jpeg');
    background-size: cover;
    background-blend-mode: lighten;
    opacity: 0.9;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-desc {
    color: var(--color-gray-200);
    font-size: 0.875rem;
    line-height: 1.625;
    white-space: pre-line;
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-200);
}

.footer-links a {
    transition: color 200ms ease;
}

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

/* Contact list */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-gray-200);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    font-size: 1.125rem;
    color: var(--color-secondary);
    margin-top: 0.125rem;
}

.contact-item .label {
    font-weight: 600;
    color: var(--color-gray-300);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.125rem;
}

.contact-item a {
    color: var(--color-white);
    transition: color 200ms ease;
}

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

/* Social icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms ease;
    color: var(--color-white);
}

.social-icon:hover {
    background: var(--color-secondary);
}

.social-icon i {
    font-size: 1.25rem;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-gray-300);
}

/* ============================================================
   16. Page Banner (Profile, Pemasaran, etc.)
   ============================================================ */
.page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    background: var(--color-gray-900);
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.page-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--color-white);
}

.page-banner-content h1 {
    font-size: 1.875rem;
    font-weight: 700;
    font-family: var(--font-header);
    margin-bottom: 1rem;
    line-height: 1.25;
}

/* ============================================================
   17. Article Content (Prose)
   ============================================================ */
.article-wrapper {
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}

.article-content {
    max-width: 56rem;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

.prose {
    color: var(--color-gray-700);
    max-width: 65ch;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.778;
}

.prose h2 {
    color: var(--color-gray-900);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.333;
}

.prose h3 {
    color: var(--color-gray-900);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.6;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: var(--radius-xl);
    width: 100%;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.625em;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.625em;
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 500;
}

.prose strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

.prose em {
    font-style: italic;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: var(--color-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 200ms ease;
}

.back-link:hover {
    color: var(--color-secondary);
}

/* ============================================================
   18. Blog Cards
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all 300ms ease;
    display: block;
}

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

.blog-card-image {
    width: 100%;
    height: 12rem;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

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

.blog-card-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: var(--font-header);
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.625;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

/* ============================================================
   19. Breadcrumb
   ============================================================ */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumb-item a {
    color: var(--color-primary);
    transition: color 200ms ease;
}

.breadcrumb-item a:hover {
    color: var(--color-secondary);
}

.breadcrumb-separator {
    color: var(--color-gray-400);
}

.breadcrumb-current {
    color: var(--color-gray-700);
    font-weight: 500;
}

/* ============================================================
   20. Pagination
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 200ms ease;
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-600);
}

.pagination a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.pagination .active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ============================================================
   21. Scroll Animations
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   22. 404 Page
   ============================================================ */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem;
}

.error-page h1 {
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-header);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

/* ============================================================
   22b. Back to Top Button
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 300ms ease;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top i {
    font-size: 1.25rem;
}

/* ============================================================
   23. Utility Classes
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-gray-600 { color: var(--color-gray-600); }
.text-gray-700 { color: var(--color-gray-700); }
.text-gray-900 { color: var(--color-gray-900); }
.bg-white { background-color: var(--color-white); }
.bg-primary { background-color: var(--color-primary); }

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }

/* ============================================================
   24. Responsive Breakpoints
   ============================================================ */

/* Tablet (768px+) */
@media (min-width: 768px) {
    .hero-carousel {
        height: 400px;
    }

    .page-banner {
        height: 400px;
    }

    .page-banner-content {
        padding: 3rem;
    }

    .page-banner-content h1 {
        font-size: 3rem;
    }

    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

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

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

    .catalog-card {
        aspect-ratio: 3/4;
    }

    .catalog-card-content h3 {
        text-align: left;
    }

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

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

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

    .cta-buttons {
        flex-direction: row;
    }

    .article-content {
        padding: 3rem;
    }

    .about-section h1 {
        font-size: 3rem;
    }

    .about-section p {
        font-size: 1.125rem;
        padding: 0 4rem;
    }

    .section-title h2 {
        font-size: 2.25rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .hero-carousel {
        height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-section p {
        padding: 0 12rem;
    }
}
