/* =========================================
   NAGAMINANG - Portfolio Website Styles
   Digital Partner Ranah Minang
   ========================================= */

/* CSS Variables */
:root {
    --primary: #8B0000;
    --primary-dark: #5C0000;
    --primary-light: #B22222;
    --gold: #D4AF37;
    --gold-light: #F4D03F;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --whatsapp: #25D366;

    /* Cream Pastel Colors */
    --cream-light: #FFFDF7;
    --cream: #FFF8E7;
    --cream-medium: #FAF3E0;
    --cream-warm: #F5ECD7;
    --cream-gold: #FDF6E3;

    --font-main: 'Poppins', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-xl: 0 35px 60px -15px rgb(0 0 0 / 0.3);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 50%, var(--cream-medium) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(139, 0, 0, 0.05);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 253, 247, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(139, 0, 0, 0.05);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 50%, var(--cream-warm) 100%);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(139, 0, 0, 0.05) 100%);
    top: 10%;
    left: 5%;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    top: 60%;
    left: 10%;
    animation: floatShape 10s ease-in-out infinite;
    animation-delay: -2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08) 0%, transparent 100%);
    top: 20%;
    right: 15%;
    animation: floatShape 7s ease-in-out infinite;
    animation-delay: -4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%);
    bottom: 20%;
    right: 5%;
    animation: floatShape 9s ease-in-out infinite;
    animation-delay: -1s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    background: rgba(139, 0, 0, 0.1);
    top: 40%;
    left: 20%;
    animation: floatShape 6s ease-in-out infinite;
    animation-delay: -3s;
}

.shape-6 {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.08);
    bottom: 30%;
    left: 30%;
    animation: floatShape 11s ease-in-out infinite;
    animation-delay: -5s;
}

.shape-7 {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, rgba(139, 0, 0, 0.1), rgba(212, 175, 55, 0.1));
    top: 70%;
    right: 25%;
    animation: floatShape 8s ease-in-out infinite;
    animation-delay: -2s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-8 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.05) 0%, transparent 70%);
    top: 5%;
    right: 30%;
    animation: floatShape 12s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(15px, 10px) rotate(3deg);
    }
}

/* Minang Cultural Ornaments */
.cultural-ornaments {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.cultural-ornaments svg {
    position: absolute;
    color: var(--primary);
    opacity: 0.15;
}

/* Main Naga Ornament - Left Side */
.ornament-naga {
    width: 280px;
    height: auto;
    top: 15%;
    left: -2%;
    animation: floatNaga 15s ease-in-out infinite;
}

/* Main Rumah Gadang - Right Side */
.ornament-rumah {
    width: 320px;
    height: auto;
    bottom: 10%;
    right: -3%;
    animation: floatRumah 18s ease-in-out infinite;
    animation-delay: -5s;
}

/* Smaller Naga - Right Side (mirrored) */
.ornament-naga-2 {
    width: 200px;
    height: auto;
    top: 60%;
    right: 5%;
    opacity: 0.12;
    animation: floatNaga 12s ease-in-out infinite;
    animation-delay: -3s;
}

/* Smaller Rumah - Left Side */
.ornament-rumah-2 {
    width: 180px;
    height: auto;
    top: 5%;
    right: 15%;
    opacity: 0.10;
    animation: floatRumah 14s ease-in-out infinite;
    animation-delay: -7s;
}

/* Traditional Pattern - Pucuk Rebung */
.ornament-pattern {
    width: 80px;
    height: auto;
    bottom: 25%;
    left: 8%;
    opacity: 0.12;
    color: var(--gold);
    animation: floatPattern 10s ease-in-out infinite;
}

.ornament-pattern-2 {
    width: 60px;
    height: auto;
    top: 35%;
    right: 12%;
    opacity: 0.10;
    color: var(--gold);
    animation: floatPattern 8s ease-in-out infinite;
    animation-delay: -4s;
}

/* Naga Float Animation */
@keyframes floatNaga {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(15px, -20px) rotate(2deg);
    }
    50% {
        transform: translate(-10px, 15px) rotate(-2deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(1deg);
    }
}

/* Rumah Float Animation */
@keyframes floatRumah {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-15px, -10px) scale(1.02);
    }
    66% {
        transform: translate(10px, 15px) scale(0.98);
    }
}

/* Pattern Float Animation */
@keyframes floatPattern {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.12;
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.18;
    }
}

/* =========================================
   MATAHARI (SUN) ORNAMENTS
   ========================================= */
.ornament-matahari {
    width: 150px;
    height: auto;
    top: 8%;
    right: 8%;
    color: var(--gold);
    opacity: 0.15;
    animation: rotateSun 30s linear infinite;
}

.ornament-matahari-about {
    width: 120px;
    height: auto;
    bottom: 10%;
    left: 5%;
    color: var(--gold);
    opacity: 0.12;
    animation: rotateSun 25s linear infinite reverse;
}

.ornament-matahari-contact {
    width: 100px;
    height: auto;
    top: 15%;
    right: 8%;
    color: var(--gold);
    opacity: 0.10;
    animation: rotateSun 20s linear infinite;
}

@keyframes rotateSun {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   SUNGAI (RIVER) ORNAMENTS
   ========================================= */
.ornament-sungai {
    width: 300px;
    height: auto;
    bottom: 5%;
    left: 0;
    color: #4A90D9;
    opacity: 0.12;
    animation: flowRiver 8s ease-in-out infinite;
}

.ornament-sungai-services {
    width: 280px;
    height: auto;
    bottom: 8%;
    left: 2%;
    color: #4A90D9;
    opacity: 0.10;
    animation: flowRiver 10s ease-in-out infinite;
    animation-delay: -3s;
}

.ornament-sungai-contact {
    width: 220px;
    height: auto;
    bottom: 5%;
    right: 0;
    color: #4A90D9;
    opacity: 0.08;
    animation: flowRiver 7s ease-in-out infinite;
    animation-delay: -2s;
}

@keyframes flowRiver {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}

/* =========================================
   ABOUT SECTION ORNAMENTS
   ========================================= */
.about-ornaments svg {
    color: var(--primary);
    opacity: 0.12;
}

.ornament-kaluak {
    width: 180px;
    height: auto;
    top: 10%;
    left: 2%;
    animation: floatKaluak 12s ease-in-out infinite;
}

.ornament-siriah {
    width: 140px;
    height: auto;
    bottom: 15%;
    right: 3%;
    animation: floatSiriah 14s ease-in-out infinite;
    animation-delay: -3s;
}

.ornament-kaluak-2 {
    width: 150px;
    height: auto;
    top: 50%;
    right: 8%;
    opacity: 0.08;
    animation: floatKaluak 10s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes floatKaluak {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(15px, -25px) rotate(8deg);
    }
    66% {
        transform: translate(-10px, 15px) rotate(-5deg);
    }
}

@keyframes floatSiriah {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-30px) rotate(5deg) scale(1.05);
    }
}

/* =========================================
   SERVICES SECTION ORNAMENTS
   ========================================= */
.services-ornaments svg {
    color: var(--gold);
    opacity: 0.15;
}

.ornament-itiak {
    width: 250px;
    height: auto;
    top: 8%;
    left: 5%;
    animation: floatItiak 16s ease-in-out infinite;
}

.ornament-aka {
    width: 220px;
    height: auto;
    bottom: 10%;
    right: 2%;
    opacity: 0.12;
    animation: floatAka 18s ease-in-out infinite;
    animation-delay: -4s;
}

.ornament-bada {
    width: 120px;
    height: auto;
    top: 60%;
    left: 3%;
    opacity: 0.10;
    color: var(--primary);
    animation: swimBada 10s ease-in-out infinite;
}

.ornament-bada-2 {
    width: 100px;
    height: auto;
    top: 25%;
    right: 10%;
    opacity: 0.08;
    color: var(--primary);
    animation: swimBada 12s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes floatItiak {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(30px);
    }
}

@keyframes floatAka {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-20px, 10px) rotate(-3deg);
    }
    75% {
        transform: translate(15px, -15px) rotate(3deg);
    }
}

@keyframes swimBada {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -10px) rotate(5deg);
    }
    50% {
        transform: translate(40px, 0) rotate(0deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(-5deg);
    }
}

/* =========================================
   PORTFOLIO SECTION ORNAMENTS
   ========================================= */
.portfolio-ornaments svg {
    color: var(--primary);
    opacity: 0.10;
}

.ornament-saluak {
    width: 180px;
    height: auto;
    top: 15%;
    right: 5%;
    animation: rotateSaluak 20s linear infinite;
}

.ornament-rumah-small {
    width: 200px;
    height: auto;
    bottom: 10%;
    left: 2%;
    opacity: 0.12;
    animation: floatRumah 15s ease-in-out infinite;
    animation-delay: -3s;
}

.ornament-pucuk-cluster {
    width: 150px;
    height: auto;
    top: 50%;
    left: 5%;
    opacity: 0.08;
    color: var(--gold);
    animation: floatPattern 12s ease-in-out infinite;
    animation-delay: -6s;
}

@keyframes rotateSaluak {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   CONTACT SECTION ORNAMENTS
   ========================================= */
.contact-ornaments svg {
    color: var(--primary);
    opacity: 0.12;
}

.ornament-naga-contact {
    width: 250px;
    height: auto;
    top: 10%;
    left: 0;
    animation: floatNaga 14s ease-in-out infinite;
}

.ornament-geometric {
    width: 120px;
    height: auto;
    bottom: 20%;
    right: 5%;
    opacity: 0.10;
    color: var(--gold);
    animation: rotateGeometric 25s linear infinite;
}

.ornament-siriah-contact {
    width: 130px;
    height: auto;
    top: 40%;
    right: 2%;
    opacity: 0.08;
    animation: floatSiriah 16s ease-in-out infinite;
    animation-delay: -8s;
}

.ornament-kaluak-contact {
    width: 100px;
    height: auto;
    bottom: 15%;
    left: 8%;
    opacity: 0.10;
    color: var(--gold);
    animation: floatKaluak 11s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes rotateGeometric {
    from {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    to {
        transform: rotate(360deg) scale(1);
    }
}

/* Section Background Elements */
.section-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(139, 0, 0, 0.08);
}

.bg-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
    animation: rotateCircle 20s linear infinite;
}

.bg-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    border-color: rgba(212, 175, 55, 0.1);
    animation: rotateCircle 15s linear infinite reverse;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.bg-square {
    position: absolute;
    border: 2px solid rgba(139, 0, 0, 0.06);
    border-radius: 20px;
}

.bg-square-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation: floatSquare 8s ease-in-out infinite;
    transform: rotate(45deg);
}

.bg-square-2 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    right: 8%;
    border-color: rgba(212, 175, 55, 0.08);
    animation: floatSquare 10s ease-in-out infinite;
    animation-delay: -4s;
    transform: rotate(20deg);
}

@keyframes floatSquare {
    0%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        transform: rotate(50deg) translate(20px, -20px);
    }
}

.bg-dots {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(139, 0, 0, 0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    animation: fadeDots 4s ease-in-out infinite;
}

@keyframes fadeDots {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}

.floating-card .card-icon {
    font-size: 20px;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: -5%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 15%;
    left: 5%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-main-visual {
    position: relative;
    padding: 20px;
}

.code-window {
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--gray-800);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.code-body {
    padding: 24px;
}

.code-body pre {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-300);
}

.code-keyword { color: #c792ea; }
.code-property { color: #82aaff; }
.code-string { color: #c3e88d; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, rgba(212, 175, 55, 0.2) 100%);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream-medium) 50%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.about .cultural-ornaments {
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--primary);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.03), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    transform: translateX(10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    transition: transform 0.3s ease;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.feature-content p {
    font-size: 14px;
    color: var(--gray-500);
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 50%, var(--cream-gold) 100%);
    position: relative;
    overflow: hidden;
}

.services .cultural-ornaments {
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.15);
    border-color: transparent;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border: none;
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.service-card.featured .service-icon,
.service-card.featured .service-title,
.service-card.featured .service-desc,
.service-card.featured .service-list li {
    color: var(--white);
}

.service-card.featured .service-icon svg {
    stroke: var(--white);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--gold);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.service-icon {
    margin-bottom: 24px;
    color: var(--primary);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
}

.service-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.service-card.featured .service-list li::before {
    color: var(--gold);
}

/* =========================================
   PORTFOLIO SECTION
   ========================================= */
.portfolio {
    background: linear-gradient(180deg, var(--cream-gold) 0%, var(--cream-medium) 50%, var(--cream-warm) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio .cultural-ornaments {
    z-index: 0;
}

.portfolio .container {
    position: relative;
    z-index: 1;
}

/* Portfolio Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(139, 0, 0, 0.15);
}

.portfolio-card-preview {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.portfolio-card-preview.app-preview-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.portfolio-card-preview.portfolio-image-preview {
    padding: 0;
    min-height: auto;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

/* Desktop Mockup */
.desktop-mockup {
    width: 100%;
    max-width: 320px;
    background: var(--gray-800);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--gray-700);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27ca40; }

.mockup-screen {
    background: var(--white);
    padding: 12px;
}

.mockup-url {
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 10px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 12px;
}

.mockup-content {
    padding: 8px;
}

.mockup-hero-bar {
    width: 60%;
    height: 12px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 8px;
}

.mockup-text-bar {
    width: 80%;
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 12px;
}

.mockup-btn-bar {
    width: 70px;
    height: 20px;
    background: var(--primary);
    border-radius: 10px;
    margin-bottom: 16px;
}

.mockup-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mockup-box {
    aspect-ratio: 1;
    background: var(--gray-100);
    border-radius: 6px;
}

/* Phone Mockup */
.phone-mockup {
    width: 140px;
    background: var(--gray-900);
    border-radius: 24px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.phone-notch {
    width: 60px;
    height: 20px;
    background: var(--gray-900);
    border-radius: 0 0 12px 12px;
    margin: 0 auto -10px;
    position: relative;
    z-index: 2;
}

.phone-screen-content {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 9/16;
    display: flex;
    flex-direction: column;
}

.app-status-bar {
    height: 24px;
    background: var(--primary);
}

.app-header-bar {
    height: 40px;
    background: var(--primary);
}

.app-content-area {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-card-item {
    height: 50px;
    background: var(--gray-100);
    border-radius: 8px;
}

.app-bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: var(--gray-50);
}

.app-bottom-nav span {
    width: 20px;
    height: 20px;
    background: var(--gray-300);
    border-radius: 4px;
}

/* Portfolio Card Info */
.portfolio-card-info {
    padding: 30px;
}

.portfolio-card-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.portfolio-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.portfolio-card-desc {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.portfolio-card-features {
    list-style: none;
    margin-bottom: 20px;
}

.portfolio-card-features li {
    font-size: 13px;
    color: var(--gray-600);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.portfolio-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.portfolio-showcase {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.portfolio-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.portfolio-preview {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.desktop-frame {
    background: var(--gray-800);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.desktop-screen {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.website-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.preview-dots span:nth-child(1) { background: #ff5f56; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:nth-child(3) { background: #27ca40; }

.preview-url {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: var(--gray-500);
    background: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
}

.preview-content {
    flex: 1;
    padding: 20px;
}

.preview-hero {
    margin-bottom: 20px;
}

.preview-title {
    width: 60%;
    height: 16px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 8px;
}

.preview-subtitle {
    width: 80%;
    height: 10px;
    background: var(--gray-100);
    border-radius: 4px;
    margin-bottom: 12px;
}

.preview-btn {
    width: 80px;
    height: 24px;
    background: var(--primary);
    border-radius: 12px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.preview-card {
    aspect-ratio: 1;
    background: var(--gray-100);
    border-radius: 8px;
}

.phone-frame {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 120px;
    background: var(--gray-900);
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 9/16;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 30px;
    background: var(--primary);
}

.app-content {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-card {
    height: 30px;
    background: var(--gray-100);
    border-radius: 6px;
}

.app-nav {
    display: flex;
    justify-content: space-around;
    padding: 8px;
    background: var(--gray-50);
}

.app-nav span {
    width: 16px;
    height: 16px;
    background: var(--gray-300);
    border-radius: 4px;
}

.portfolio-info {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    padding: 6px 14px;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.portfolio-title {
    font-size: 28px;
    margin-bottom: 16px;
}

.portfolio-desc {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.portfolio-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.portfolio-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-600);
}

.feature-check {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.portfolio-links {
    display: flex;
    gap: 16px;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
}

.cta-card {
    position: relative;
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 50%, var(--cream-medium) 100%);
    position: relative;
    overflow: hidden;
}

.contact .cultural-ornaments {
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--cream-light);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139, 0, 0, 0.1);
    transform: translateY(-5px);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-md);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon.whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.contact-detail h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.contact-detail p {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--gray-700);
    background: var(--cream-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 16px;
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: var(--white);
    font-size: 40px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success h3 {
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* Button disabled state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--gray-900);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    /* Reduce ornament sizes on tablets */
    .ornament-naga {
        width: 180px;
        opacity: 0.10;
    }

    .ornament-rumah {
        width: 200px;
        opacity: 0.10;
    }

    .ornament-naga-2,
    .ornament-rumah-2 {
        display: none;
    }

    .ornament-pattern,
    .ornament-pattern-2 {
        opacity: 0.08;
    }

    /* Sun and River ornaments tablet */
    .ornament-matahari {
        width: 100px;
        opacity: 0.10;
    }

    .ornament-sungai {
        width: 200px;
        opacity: 0.08;
    }

    .ornament-matahari-about,
    .ornament-matahari-contact,
    .ornament-sungai-services,
    .ornament-sungai-contact {
        display: none;
    }

    /* About section ornaments */
    .ornament-kaluak {
        width: 140px;
        opacity: 0.08;
    }
    .ornament-siriah {
        width: 100px;
        opacity: 0.08;
    }
    .ornament-kaluak-2 {
        display: none;
    }

    /* Services section ornaments */
    .ornament-itiak {
        width: 180px;
        opacity: 0.10;
    }
    .ornament-aka {
        width: 160px;
        opacity: 0.08;
    }
    .ornament-bada,
    .ornament-bada-2 {
        display: none;
    }

    /* Portfolio section ornaments */
    .ornament-saluak {
        width: 130px;
        opacity: 0.08;
    }
    .ornament-rumah-small {
        width: 150px;
        opacity: 0.08;
    }
    .ornament-pucuk-cluster {
        display: none;
    }

    /* Portfolio grid tablet */
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Contact section ornaments */
    .ornament-naga-contact {
        width: 180px;
        opacity: 0.08;
    }
    .ornament-geometric {
        width: 90px;
        opacity: 0.06;
    }
    .ornament-siriah-contact,
    .ornament-kaluak-contact {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        display: none;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-card.featured {
        transform: none;
    }

    .service-card.featured:hover {
        transform: translateY(-10px);
    }

    .portfolio-item {
        grid-template-columns: 1fr;
    }

    .portfolio-preview {
        padding: 30px;
    }

    .phone-frame {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hide all cultural ornaments on mobile */
    .cultural-ornaments,
    .about-ornaments,
    .services-ornaments,
    .portfolio-ornaments,
    .contact-ornaments,
    .ornament-matahari,
    .ornament-sungai {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream-light);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 16px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .cta-card {
        padding: 50px 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }

    .scroll-indicator {
        display: none;
    }

    .portfolio-info {
        padding: 30px;
    }

    .portfolio-links {
        flex-direction: column;
    }

    /* Portfolio card mobile */
    .portfolio-card-preview {
        padding: 30px;
        min-height: 220px;
    }

    .portfolio-card-info {
        padding: 24px;
    }

    .desktop-mockup {
        max-width: 280px;
    }

    .phone-mockup {
        width: 120px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}
