@charset "UTF-8";
/*
Theme Name: Kuncoro
Theme URI: https://fullsystem.id/
Author: Sami Dipura
Author URI: https://fullsystem.id/
Description: Custom theme for WooCommerce service-based store.
Version: 1.0
*/

/* Tailwind CSS */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* Base Styles */
body {
  font-family: sans-serif;
  background: linear-gradient(135deg, #bbf7f7 0%, #1caaaa 100%);
  margin: 0;
  padding: 0;
}

/* Pricing Table */
.pricing-table {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Product Cards */
.product-card {
  border: 1px solid #e5e7eb;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  text-align: center;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(37,99,235,0.10);
  transform: translateY(-6px) scale(1.03);
  border: 3px solid #2563eb;
}

.product-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 2.5rem;
}

.product-card .text-3xl {
  color: #2563eb;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.product-card .button {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 0;
  width: 80%;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.product-card .button:hover {
  background: #1d4ed8;
}

.product-card .features-list {
  text-align: left;
  margin-top: 1rem;
  width: 100%;
}

.product-card .features-list div {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.product-card .features-list span {
  font-size: 1rem;
}

.product-card .features-list span:first-child {
  color: #22c55e;
  font-size: 1.2em;
  margin-right: 0.5em;
}

.product-card .badge {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  font-weight: bold;
  border-radius: 999px;
  padding: 0.25rem 1rem;
  font-size: 0.9rem;
  z-index: 2;
}

.product-card .badge.new {
  background: #a21caf;
}

/* Product Gallery Styling */
.product-gallery {
  position: relative;
}

.main-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.main-image-container:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

#main-product-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#main-product-image:hover {
  transform: scale(1.02);
}

.thumbnail-gallery {
  margin-top: 1rem;
}

.thumbnail-gallery .flex {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.thumbnail-gallery .flex::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-gallery .flex::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.thumbnail-gallery .flex::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.thumbnail-gallery .flex::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.thumbnail-item {
  transition: transform 0.2s ease;
}

.thumbnail-item:hover {
  transform: translateY(-2px);
}

.thumbnail-img {
  transition: all 0.2s ease;
  border: 2px solid #e5e7eb;
}

.thumbnail-img:hover {
  border-color: #3b82f6;
  transform: scale(1.05);
}

.thumbnail-img.border-blue-500 {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .product-gallery {
    margin-bottom: 1rem;
  }
  
  .main-image-container {
    margin-bottom: 0.75rem;
  }
  
  .thumbnail-gallery .flex {
    gap: 0.5rem;
  }
  
  .thumbnail-img {
    width: 3rem;
    height: 3rem;
  }
}

/* Zoom effect for main image */
.main-image-container.zoomed #main-product-image {
  transform: scale(1.1);
}

/* Loading state for gallery */
.gallery-loading {
  opacity: 0.7;
  pointer-events: none;
}

.gallery-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f4f6;
  border-top: 2px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Resume Button Styling */
.resume-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  font-weight: bold !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  color: white !important;
  background: linear-gradient(to right, #ec4899, #ef4444, #eab308) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 32px !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
  white-space: nowrap !important;
  gap: 4px !important;
  min-width: 120px !important;
}

.resume-button:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.resume-button:active {
  transform: scale(1.05) !important;
}

.resume-button svg {
  width: 12px !important;
  height: 12px !important;
  flex-shrink: 0 !important;
  color: white !important;
  margin: 0 !important;
  stroke: currentColor !important;
}

.resume-button span {
  white-space: nowrap !important;
  font-size: 10px !important;
  font-weight: bold !important;
  letter-spacing: 0.5px !important;
  color: white !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* Button Styles */
.btn, .btn:link, .btn:visited {
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 2rem;
  display: inline-block;
  border-radius: 9999px;
  transition: all .2s;
  position: relative;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.btn[class*="px-0"], .btn[class*="py-0"] {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.75rem !important;
  text-transform: none !important;
}

.btn[class*="px-0"][style*="font-size: 10px"] {
  font-size: 10px !important;
  padding: 0.125rem 0.25rem !important;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

.btn:active, .btn:focus {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.15);
}

.btn--white {
  background-color: #fff;
  color: #555;
}

.btn--white::after {
  background-color: #fff;
}

.btn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all .4s;
}

/* Card Styles */
.card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.card__side {
  -webkit-transition: all .8s ease;
  transition: all .8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 0.75rem;
  overflow: hidden;
}

.card__side--front {
  /* Styling for front applied directly via Tailwind */
}

.card__side--back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.card__side--back-1 {
  background-image: linear-gradient(to right bottom, #ffb900, #ff7730);
}

.card__side--back-2 {
  background-image: linear-gradient(to right bottom, #7ed56f, #28b485);
}

.card__side--back-3 {
  background-image: linear-gradient(to right bottom, #2998ff, #5643fa);
}

.card:hover .card__side--front {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

.card:hover .card__side--back {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
}

.card__cta {
  text-align: center;
  padding: 1.5rem;
}

.card__price-box {
  margin-bottom: 1.5rem;
}

.card__price-only {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.card__price-value {
  font-size: 2rem;
  font-weight: 300;
}

/* Flip Card Animation */
.flip-card {
  background: transparent;
  width: 100%;
  height: 100%;
  perspective: 1000px;
  display: block !important;
  position: relative !important;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4,0.2,0.2,1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 0.5rem;
  min-height: 400px;
}

.flip-card-front {
  z-index: 2;
}

.flip-card-back {
  transform: rotateY(180deg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Worksamples Section */
.worksamples-section .card, .grid .card {
  display: block !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* CSS khusus untuk WORKSAMPLES section */
section:has(.grid) .grid,
.worksamples-section .grid {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 2rem !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 768px) {
  section:has(.grid) .grid,
  .worksamples-section .grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  section:has(.grid) .grid,
  .worksamples-section .grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Memastikan cards WORKSAMPLES tidak bertumpuk */
section:has(.flip-card) .flip-card,
.worksamples-section .flip-card {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 400px !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
}

section:has(.flip-card) .flip-card-inner,
.worksamples-section .flip-card-inner {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  position: relative !important;
}

section:has(.flip-card) .flip-card-front,
.worksamples-section .flip-card-front {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

section:has(.flip-card) .flip-card-back,
.worksamples-section .flip-card-back {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.card-footer-divider {
  border-top: 1px solid #4ade80;
  padding-top: 1rem;
  margin-top: 1rem;
}

.worksample-description {
  padding-bottom: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes subtle-up-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fadeInLeft {
  animation: fadeInLeft 1s ease-out forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 1s ease-out forwards;
}

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(3rem);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate(0);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  }
}

.btn-animated {
  animation: moveInBottom 0.5s ease-out 0.75s backwards;
}

/* Animasi tulisan kiri kanan atas dalam navbar */
@keyframes bounceColor {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.animate-bounceColor {
  animation: bounceColor 0.75s ease-in-out infinite;
}

/* Perbaikan untuk animasi sequence navbar */
.animate-sequence span,
.animate-sequence-right span {
  opacity: 0;
  animation: showBounce 4.5s linear infinite;
  position: absolute;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 100%;
  text-align: center;
}

.animate-sequence span:nth-child(1) {
  animation-delay: 0s;
}

.animate-sequence span:nth-child(2) {
  animation-delay: 1.5s;
}

.animate-sequence span:nth-child(3) {
  animation-delay: 3s;
}

/* Animasi untuk sequence-right (elemen kanan) */
.animate-sequence-right span:nth-child(1) {
  animation-delay: 3s;
}

.animate-sequence-right span:nth-child(2) {
  animation-delay: 1.5s;
}

.animate-sequence-right span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes showBounce {
  0% { 
    opacity: 0; 
    transform: translateX(-50%) scale(1); 
  }
  10% { 
    opacity: 1; 
    transform: translateX(-50%) scale(1.2); 
  }
  20% { 
    transform: translateX(-50%) scale(0.95); 
  }
  30%, 100% { 
    opacity: 0; 
    transform: translateX(-50%) scale(1); 
  }
}

/* Typing effect cursor */
.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background-color: maroon;
  animation: blink 0.7s infinite;
  margin-left: 4px;
  vertical-align: baseline;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* WhatsApp and Connect Icons */
.whatsapp-icon {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
}

.letsconnect {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}

.letsconnect:hover {
  transform: scale(1.1);
}

.letsconnect svg {
  width: 100%;
  height: 100%;
}

/* Constellation Background */
#constellation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.constellation-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .pricing-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card {
    perspective: none;
    min-height: 0 !important;
  }
  
  .card__side {
    position: relative;
    height: auto;
    transition: none;
    backface-visibility: visible;
    transform: rotateY(0) !important;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
  }
  
  .card__side--front {
    padding: 1.5rem;
  }
  
  .card__side--back {
    margin-top: 0;
    border-top: 1px solid #eee;
    padding: 1.5rem;
  }
  
  .card:hover .card__side--front, .card:hover .card__side--back {
    transform: rotateY(0);
  }
}

@media (max-width: 640px) {
  .resume-button {
    padding: 6px 12px !important;
    font-size: 9px !important;
    min-width: 100px !important;
  }
  
  .resume-button svg {
    width: 10px !important;
    height: 10px !important;
  }
  
  .resume-button span {
    font-size: 9px !important;
  }
}

@media (max-width: 600px) {
  .pricing-table {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    min-height: 0;
  }
} 