/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: hsl(217, 91%, 35%);
    --primary-dark: hsl(217, 91%, 25%);
    --primary-light: hsl(217, 91%, 55%);
    --secondary: hsl(188, 94%, 40%);
    --secondary-light: hsl(188, 94%, 55%);
    --background: hsl(210, 30%, 98%);
    --foreground: hsl(215, 25%, 15%);
    --muted: hsl(210, 20%, 92%);
    --muted-foreground: hsl(215, 15%, 50%);
    --card: hsl(0, 0%, 100%);
    --border: hsl(214, 25%, 88%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
    --shadow-lg: 0 10px 40px rgba(30, 64, 175, 0.2);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.mobile-menu.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.mobile-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 105vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('src/hero-manufacturing.jpg') center/cover no-repeat;
    overflow: hidden;
    margin-bottom: 1rem;
    background-attachment: scroll;
    background-size: cover;
    animation: fadeIn 1.5s ease-out forwards;
    will-change: opacity, transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(30, 64, 175, 0.9), rgba(30, 64, 175, 0.7), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary-light);
    stroke-width: 2.5;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
    transition: var(--transition);
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.4s;
}

/* About Section */
.about {
    padding: 2rem 0;
    background: rgba(240, 248, 255, 0.7);
    margin-top: 2rem;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; /* Biar tetap rapi di layar kecil */
}

.about-image {
  flex: 1 1 45%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1 1 50%;
}

.about-text .section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text .section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
}


.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: linear-gradient(135deg, white, var(--background));
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.feature-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-value {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Products Section */
.products {
    padding: 5rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--muted);
    overflow: hidden;
    background-image: url('../../src/produk1.png');
    background-size: cover;
    background-position: center;
}

.product-2 { background-image: url('src/produk2.png'); }
.product-3 { background-image: url('src/produk3.png'); }
.product-4 { background-image: url('src/produk4.png'); }
.product-5 { background-image: url('src/produk5.png'); }
.product-6 { background-image: url('src/produk6.png'); }
.product-7 { background-image: url('src/produk7.png'); }
.product-8 { background-image: url('src/produk8.png'); }
.product-9 { background-image: url('src/produk9.png'); }
.product-10 { background-image: url('src/produk10.png'); }
.product-11 { background-image: url('src/produk11.png'); }
.product-12 { background-image: url('src/produk12.png'); }



.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.9), rgba(30, 64, 175, 0.5), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay p {
    color: white;
    line-height: 1.6;
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    transition: var(--transition);
}

.product-card:hover .product-name {
    color: var(--primary);
}

.cta-box {
    background: linear-gradient(135deg, white, var(--background));
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 56rem;
    margin: 0 auto;
}

.cta-box h3 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.cta-box p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-column p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.contact-list svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
    stroke-width: 2;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-foreground);
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .about,
    .products {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* HUBUNGI KAMI */
.contact {
  background: #fff;
  padding: 80px 10%;
  text-align: center;
  color: #333;
}

.contact h2 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
}

.contact p {
  color: #666;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.info-box {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.info-box i {
  font-size: 1.8rem;
  color: #ffcc00;
  margin-bottom: 10px;
}

#contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact-form input,
#contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #003366;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-email, .btn-whatsapp {
  background: #003366;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-email:hover {
  background: #001f4d;
}

.btn-whatsapp {
  background: #25D366;
}

.btn-whatsapp:hover {
  background: #1da851;
}

