/*
  Nata Store Surabaya - Minimalis Theme
  Warna Utama: Biru (#0056b3) & Oranye (#ff6600)
  Mobile-first approach
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0056b3;
}

.logo-sub {
  font-size: 0.75rem;
  color: #ff6600;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #0056b3;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: #333;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #0056b3;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6600;
  transition: width 0.3s;
}

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

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
  color: white;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hero .subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: #ff6600;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
  background: #e55c00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
  background: white;
  color: #0056b3;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: transparent;
  color: white;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */
.section {
  padding: 4rem 1rem;
}

.section-title {
  font-size: 1.75rem;
  color: #0056b3;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ff6600;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: #0056b3;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0056b3;
  margin-bottom: 0.5rem;
}

.service-desc {
  color: #666;
  font-size: 0.9rem;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  background: #f8f9fa;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0056b3, #004494);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: #666;
  font-size: 0.9rem;
}

/* ========================================
   TRACKING SECTION
   ======================================== */
.tracking-section {
  background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
  color: white;
}

.tracking-section .section-title {
  color: white;
}

.tracking-section .section-title::after {
  background: #ff6600;
}

.tracking-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tracking-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.tracking-input:focus {
  outline: 2px solid #ff6600;
}

.tracking-select {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
  background: white;
  padding: 4rem 1rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-address {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: #333;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: #fff3e6;
  padding: 4rem 1rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 1.75rem;
  color: #333;
  margin-bottom: 1.5rem;
}

/* ========================================
   PAGE SPECIFIC STYLES
   ======================================== */

/* Cek Resi Page */
.tracking-result {
  max-width: 800px;
  margin: 2rem auto 0;
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tracking-result h3 {
  color: #0056b3;
  margin-bottom: 1rem;
}

.tracking-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
}

.tracking-status {
  display: inline-block;
  background: #ff6600;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: #0056b3;
  margin-bottom: 1rem;
}

.contact-card a {
  color: #ff6600;
  font-weight: 600;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Blog Page */
.blog-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  color: #999;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  color: #0056b3;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  color: #ff6600;
  font-weight: 600;
  transition: color 0.2s;
}

.read-more:hover {
  color: #0056b3;
}

/* Single Blog Post */
.single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.single-post h1 {
  color: #0056b3;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-meta {
  color: #999;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.post-content {
  line-height: 1.8;
  color: #333;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  color: #0056b3;
  margin: 2rem 0 1rem;
}

.post-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.post-content li {
  margin-bottom: 0.5rem;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 3rem 1rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.footer-links li::before {
  content: "• ";
  color: #ff6600;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.contact-info span {
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-tagline {
  color: #ff6600;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.text-orange { color: #ff6600; }
.text-blue { color: #0056b3; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet and larger */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .tracking-form {
    flex-wrap: nowrap;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    padding: 6rem 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 6rem 1rem;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid #eee;
  }

  .nav-link {
    display: block;
    padding: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Optimasi loading - font & image */
img {
  loading: lazy;
}

/* Print styles */
@media print {
  .site-header,
  .whatsapp-float,
  .cta-section {
    display: none;
  }

  body {
    font-size: 12pt;
    color: black;
    background: white;
  }
}
