/* =====================================================
   ELEGANT PORTFOLIO - Modern Dark Theme Design System
   WordPress Theme Version - CSS Variables injected via PHP
   ===================================================== */

/* Google Fonts - Loaded via functions.php */

/* =====================================================
   Base Styles
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* Single Post Heading Sizes */
.single-post .entry-title,
.single .entry-title,
article.post .entry-title,
h1.entry-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  color: var(--text-primary, #0f172a);
  margin-bottom: 1rem;
}

.single-post .entry-content h1 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; margin-top: 2.2rem; margin-bottom: 1rem; }
.single-post .entry-content h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 750; margin-top: 2rem; margin-bottom: 0.9rem; }
.single-post .entry-content h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.single-post .entry-content h4 { font-size: 1.1rem; font-weight: 650; margin-top: 1.5rem; margin-bottom: 0.5rem; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* =====================================================
   Navbar (White Background, Sticky, Sleek Bottom Divider)
   ===================================================== */
.navbar,
.top-navbar-light {
  background: #ffffff !important;
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 0.75rem 0 !important;
  border-bottom: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.navbar.scrolled,
.top-navbar-light.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.08);
}

.navbar-brand-logo img {
  max-height: 42px;
  width: auto;
  display: block;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a !important;
  background: none;
  -webkit-text-fill-color: initial;
}

.navbar-nav .nav-link {
  color: #0f172a !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 0.5rem 1rem !important;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: -0.1px;
}

.navbar-nav .nav-link:hover {
  color: #475569 !important;
  font-weight: 700;
  background: #f1f5f9 !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .current-menu-item > .nav-link,
.navbar-nav .current_page_item > .nav-link {
  color: #7c3aed !important;
  font-weight: 700;
  background: rgba(124, 58, 237, 0.07) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .current-menu-item > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  background: #7c3aed;
  border-radius: 2px;
}

.navbar-toggler {
  border: 1px solid #cbd5e1;
  padding: 0.45rem 0.65rem;
  background: #f8fafc;
  border-radius: 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.4em;
  height: 1.4em;
}

/* =====================================================
   Navbar Submenu (Desktop)
   ===================================================== */
@media (min-width: 992px) {
  .navbar-nav .menu-item-has-children {
    position: relative;
  }
  .navbar-nav .menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.6em;
    margin-left: 6px;
    vertical-align: middle;
    color: #64748b;
  }
  .navbar-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: max-content;
    min-width: 220px;
    max-width: 350px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 6px;
    list-style: none;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1000;
  }
  
  .navbar-nav > li:last-child > .sub-menu {
    left: auto;
    right: 0;
  }

  .navbar-nav .sub-menu .sub-menu {
    top: -0.5rem;
    right: 100%;
    left: auto;
    margin-right: 5px;
    margin-left: 0;
  }
  .navbar-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .navbar-nav .sub-menu li {
    position: relative;
    padding: 0;
  }
  .navbar-nav .sub-menu a {
    display: block;
    padding: 0.6rem 1.2rem !important;
    color: #1e293b !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 6px;
    background: transparent !important;
    position: relative;
  }
  .navbar-nav .sub-menu a:hover {
    color: #7c3aed !important;
    background: #f8fafc !important;
    font-weight: 600;
  }
  .navbar-nav .sub-menu .menu-item-has-children > a::after {
    content: '◄';
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Mobile (< 992px) */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  }
  .navbar-nav .sub-menu {
    display: none;
    flex: 0 0 100%;
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0;
    border-left: 2px solid #e2e8f0;
  }
  .navbar-nav .menu-item-has-children.open-mobile > .sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  .navbar-nav .menu-item-has-children {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .navbar-nav .menu-item-has-children > a {
    flex: 0 1 auto;
    max-width: 80%;
  }
  .mobile-dropdown-toggle {
    flex: 1 1 auto;
    min-height: 40px;
    background: transparent;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    padding-right: 5px;
  }
  .mobile-dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    transition: transform 0.3s ease;
  }
  .menu-item-has-children.open-mobile > .mobile-dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .navbar-nav .sub-menu a {
    display: block;
    padding: 0.5rem 0 !important;
    color: #475569 !important;
    text-decoration: none;
    font-size: 0.95rem;
    background: transparent !important;
    width: 100%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   Section Divider Component (Simple & Elegant)
   ===================================================== */
.custom-section-divider-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.custom-section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(203, 213, 225, 0.4) 15%, rgba(148, 163, 184, 0.65) 50%, rgba(203, 213, 225, 0.4) 85%, transparent 100%);
  border: none;
  margin: 0;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 20px 60px;
  position: relative;
  background: var(--bg-primary);
}

.hero-section::before,
.hero-section::after,
.hero-orb {
  display: none !important;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: contain;
  border: 4px solid transparent;
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
              var(--gradient-primary) border-box;
  box-shadow: var(--shadow-glow);
  margin-bottom: 2rem;
  transition: var(--transition-normal);
}

.hero-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.5);
}

.hero-title {
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
  min-height: 2rem;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.25rem;
  transition: var(--transition-normal);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(128, 128, 128, 0.15);
  color: var(--text-primary);
  border-color: var(--text-muted);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-link svg,
.social-link i {
  width: 20px;
  height: 20px;
  font-size: 20px;
  fill: currentColor;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn-primary-custom {
  background: var(--gradient-primary);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.btn-secondary-custom {
  background: rgba(128, 128, 128, 0.08);
  border: 1.5px solid var(--border-glass);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  color: var(--text-primary) !important;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-normal);
  box-shadow: none;
}

.btn-secondary-custom:hover {
  background: rgba(128, 128, 128, 0.15);
  border-color: var(--text-muted);
  transform: translateY(-2px);
  color: var(--text-primary) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   Portfolio Filter Buttons
   ===================================================== */
.portfolio-filter-container {
  margin-bottom: 3rem;
}

.btn-filter {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
}

.btn-filter:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-filter.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--text-primary);
  box-shadow: var(--shadow-button);
}

/* =====================================================
   Section Styles
   ===================================================== */
.section {
  padding: var(--section-padding);
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--bg-glass);
  border: var(--border-accent);
  border-radius: var(--radius-xl);
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* =====================================================
   Skills Section
   ===================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-normal);
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-card);
}

.skill-category-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.skill-category-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(124, 58, 237, 0.2);
  color: var(--text-primary);
  border-color: rgba(124, 58, 237, 0.3);
}

.skill-tag svg {
  width: 18px;
  height: 18px;
}

/* =====================================================
   Portfolio Section
   ===================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-card);
}

.project-image {
  position: relative;
  height: 350px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-footer {
  margin-top: auto;
}

.project-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: center; /* Prevent stretching */
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1;
  height: auto;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

.project-link:hover {
  color: var(--accent-primary);
  gap: 0.75rem;
}

.project-link svg {
  width: 18px;
  height: 18px;
}

/* =====================================================
   Video Showcase Section
   ===================================================== */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.video-container:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
}

/* =====================================================
   Contact Section
   ===================================================== */
.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.contact-option-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-normal);
  display: block;
}

.contact-option-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-card);
  background: var(--gradient-card);
}

.contact-option-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-option-card h3 {
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contact-option-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0;
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.alert-warning {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #eab308;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: var(--bg-secondary);
  border-top: var(--border-glass);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-copyright a {
  color: var(--accent-secondary);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: var(--accent-primary);
}

.heart-icon {
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* =====================================================
   Wave Dividers
   ===================================================== */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider.flip {
  transform: rotate(180deg);
}

/* =====================================================
   Animations
   ===================================================== */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(10, 10, 15, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: var(--border-glass);
  }
  
  .hero-section {
    padding: 100px 20px 60px;
  }
  
  .hero-image {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .skills-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-image {
    width: 120px;
    height: 120px;
  }
  
  .section-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
  
  .skill-category {
    padding: 1.5rem;
  }
}

/* =====================================================
   Scroll to Top Button
   ===================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  z-index: 99999;
  pointer-events: auto;
  isolation: isolate;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.scroll-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

/* Glow ring animation */
.scroll-to-top::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-primary);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.scroll-to-top:hover::before {
  opacity: 0.5;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

/* Mobile adjustment */
@media (max-width: 767px) {
  .scroll-to-top {
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* =====================================================
   WordPress Comment Form & List
   ===================================================== */
#respond {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-card);
}

#reply-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#reply-title small a {
  color: var(--accent-primary);
  font-size: 0.875rem;
  margin-left: 10px;
}

#commentform .comment-notes {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

#commentform p.comment-form-comment,
#commentform p.comment-form-author,
#commentform p.comment-form-email,
#commentform p.comment-form-url {
  margin-bottom: 1.5rem;
}

#commentform label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-normal);
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus,
#commentform textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

#commentform textarea {
  min-height: 150px;
  resize: vertical;
}

#commentform .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

#commentform .comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 0.3rem;
  width: 16px;
  height: 16px;
  accent-color: var(--accent-primary);
}

#commentform .comment-form-cookies-consent label {
  display: inline;
  margin-bottom: 0;
  line-height: 1.5;
}

#commentform .form-submit input[type="submit"] {
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-block;
}

#commentform .form-submit input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button);
}

/* Comments List */
.comments-area {
  margin-top: 4rem;
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .comment {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.comment-list .comment-body {
  position: relative;
}

.comment-list .comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-list .comment-author img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.comment-list .comment-author b.fn {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
}

.comment-list .comment-metadata a {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.comment-list .comment-content {
  color: var(--text-secondary);
}

.comment-list .reply {
  margin-top: 1rem;
}

.comment-list .reply a {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--accent-primary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.comment-list .reply a:hover {
  background: var(--gradient-primary);
  color: var(--text-primary);
  border-color: transparent;
}

.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1.5rem;
  border-left: 2px solid var(--border-glass);
}

@media (max-width: 767px) {
  #respond, .comment-list .comment {
    padding: 1.5rem;
  }
  .comment-list .children {
    padding-left: 1rem;
  }
}

/* =====================================================
   Utility Classes
   ===================================================== */
.text-center { text-align: center; }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 1.5rem !important; }
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.gap-2 { gap: 0.5rem !important; }

/* =====================================================
   Pagination
   ===================================================== */
.pagination {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
}

.pagination .screen-reader-text {
  display: none;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 0.5rem;
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-normal);
}

.pagination .page-numbers:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.5);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.pagination .page-numbers.current {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--text-primary);
  box-shadow: var(--shadow-button);
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
  padding: 0 1rem;
}

/* =====================================================
   Hero Badges List
   ===================================================== */
.hero-badges-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.hero-badges-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-normal);
}

.hero-badges-list li:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.hero-badges-list li svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* =====================================================
   Single Post & Portfolio Content Enhancements
   ===================================================== */
.entry-content a:not(.btn):not(.btn-primary-custom):not(.btn-secondary-custom):not(.gallery-item) {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:not(.btn):not(.btn-primary-custom):not(.btn-secondary-custom):not(.gallery-item):hover {
  color: var(--accent-secondary);
}
.entry-content a.btn,
.entry-content a.btn-primary-custom,
.entry-content a.btn-secondary-custom,
.single-portfolio .btn-primary-custom {
  color: #ffffff !important;
  text-decoration: none !important;
}
.entry-content a.btn-primary-custom:hover,
.single-portfolio .btn-primary-custom:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}
.entry-content code {
  background: var(--bg-glass);
  color: #ff8a65; /* Bright salmon/orange for readability */
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
}
.entry-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* =====================================================
   WAZZUNO STORE & UMKM LANDING PAGE DESIGN SYSTEM
   Adapted from https://store-wazzuno-umkm.adhityasukma.com/
   ===================================================== */

/* 1. Pricing Cards & Products Grid */
.umkm-lp-pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 1150px;
  margin: 2rem auto 0 auto;
}
.umkm-lp-price-card {
  flex: 1 1 310px;
  max-width: 370px;
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}
.umkm-lp-price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.1);
}
.umkm-lp-price-card.featured {
  border: 2.5px solid #10b981;
  box-shadow: 0 14px 35px rgba(16, 185, 129, 0.2);
  transform: scale(1.02);
}
.umkm-lp-price-card.featured:hover {
  transform: scale(1.02) translateY(-5px);
}
.umkm-lp-price-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
.umkm-lp-price-header {
  margin-bottom: 22px;
}
.umkm-lp-price-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}
.umkm-lp-price-amount {
  font-size: 30px;
  font-weight: 900;
  color: #10b981;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

/* =====================================================
   Single Product Page Styling
   ===================================================== */
.product-sales-action {
  background: var(--bg-card, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.product-sales-action h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary, #0f172a);
  margin-bottom: 1.2rem;
}

.product-features-box {
  background: var(--bg-card, #ffffff);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.product-features-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary, #0f172a);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features-box-title i {
  color: var(--accent-primary, #7c3aed);
}

.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 24px;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.02rem;
  color: var(--text-secondary, #334155);
  font-weight: 500;
  line-height: 1.5;
}

.product-features-list li i {
  color: #10b981;
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.umkm-lp-price-amount del {
  font-size: 16px;
  color: #64748b;
  font-weight: 600;
  text-decoration: line-through;
}
.umkm-lp-price-amount ins {
  text-decoration: none;
  color: #10b981;
}
.umkm-lp-price-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.umkm-lp-price-features {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  flex: 1;
}
.umkm-lp-price-features li {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  line-height: 1.45;
}
.umkm-lp-price-features li i {
  color: #10b981;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}
.umkm-lp-price-btn {
  display: block;
  text-align: center;
  text-decoration: none !important;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}
.umkm-lp-price-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.45);
  color: #ffffff !important;
}

/* =====================================================
   2. FAQ Accordion (UMKM Store Style)
   ===================================================== */
.umkm-lp-faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.umkm-lp-faq-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-glass);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.umkm-lp-faq-item.active {
  border-color: #10b981 !important;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.umkm-lp-faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
  font-family: inherit;
  transition: color 0.2s ease;
}

.umkm-lp-faq-btn:hover {
  color: #10b981;
}

.umkm-lp-faq-icon {
  font-size: 15px;
  color: #10b981;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.umkm-lp-faq-item.active .umkm-lp-faq-icon {
  transform: rotate(180deg);
}

.umkm-lp-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(128, 128, 128, 0.05);
  padding: 0 28px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid transparent;
}

.umkm-lp-faq-item.active .umkm-lp-faq-body {
  padding: 22px 28px 26px 28px;
  border-top-color: rgba(128, 128, 128, 0.12);
}

.umkm-lp-faq-body p {
  margin: 0;
  padding: 0;
  line-height: 1.75;
  color: var(--text-secondary);
}

.umkm-lp-faq-body p + p {
  margin-top: 12px;
}

/* 3. WhatsApp Support Box Under FAQ */
.umkm-lp-wa-box {
  margin-top: 30px;
  padding: 20px 26px;
  background: rgba(16, 185, 129, 0.08);
  border: 1.5px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.umkm-lp-wa-icon {
  width: 46px;
  height: 46px;
  background: #25d366;
  color: #ffffff;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.umkm-lp-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}
.umkm-lp-btn-wa:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

/* 4. Floating WhatsApp Pulsing Button */
.umkm-floating-wa-btn {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #ffffff !important;
  padding: 13px 24px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  animation: umkmPulseWa 2.5s infinite !important;
}
.umkm-floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6) !important;
  color: #ffffff !important;
}
@keyframes umkmPulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 868px) {
  .umkm-lp-pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .umkm-floating-wa-btn span { display: none !important; }
  .umkm-floating-wa-btn {
    padding: 14px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    bottom: 20px !important;
    right: 20px !important;
  }
}



