/* 
============================================
LIGHT-THEME.CSS - Colors, Backgrounds & Visual Effects
=============================================
*/

:root {
  --bg-gradient-onyx: linear-gradient(
    135deg,
    hsl(0, 0%, 92%) 0%,
    hsl(0, 0%, 98%) 100%
  );
  --bg-gradient-jet: linear-gradient(
      135deg,
      hsla(0, 0%, 95%, 0.4) 0%,
      hsla(0, 0%, 100%, 0) 100%
    ),
    hsl(0, 0%, 98%);
  --bg-gradient-blue-1: linear-gradient(
    135deg,
    hsla(202, 61%, 64%, 0.1) 0%,
    hsla(211, 73%, 90%, 0) 70%
  );
  --bg-gradient-bluish: linear-gradient(
    135deg,
    rgba(13, 128, 242, 0.05) 0%,
    rgba(0, 123, 255, 0.08) 100%
  );
  --bg-gradient-yellow-2: linear-gradient(
      135deg,
      hsla(45, 100%, 71%, 0.1) 0%,
      hsla(35, 100%, 68%, 0) 70%
    ),
    hsl(0, 0%, 98%);
  --border-gradient-onyx: linear-gradient(
    135deg,
    hsl(0, 0%, 85%) 0%,
    hsla(0, 0%, 90%, 0) 60%
  );
  --progress-bar-gb: linear-gradient(
    to right,
    hsl(106, 83%, 81%),
    hsl(151, 92%, 58%)
  );
  --text-gradient-blue: linear-gradient(
    to right,
    hsl(202, 61%, 54%),
    hsl(200, 60%, 55%)
  );
  --snow-white: linear-gradient(
    to right,
    hsl(200, 95%, 93%),
    rgb(13, 128, 242, 0.3)
  );

  /* Solid Colors */
  --jet: hsl(0, 0%, 88%);
  --onyx: hsl(240, 1%, 93%);
  --eerie-black-1: hsl(0, 0%, 98%);
  --eerie-black-2: hsl(0, 0%, 99%);
  --smoky-black: hsl(0, 0%, 95%);
  --smoky-transparent-black: hsla(0, 0%, 20%, 0.08);
  --smoky-transparent-white: hsla(0, 0%, 20%, 0.08);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 15%);
  --white-3: rgba(250, 250, 250, 0.3);
  --bright-blue: hsl(202, 61%, 54%);
  --soft-blue: hsl(200, 60%, 55%);
  --light-gray: hsl(0, 0%, 35%);
  --light-gray-70: hsla(0, 0%, 35%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);
  --accent-glow: hsla(202, 61%, 64%, 0.2);
  --bright-red: hsl(0, 100%, 67%);
  --faded-red: hsla(0, 0%, 95%, 0.7);
  --bright-green: #00aa44;

  /* Typography */
  --ff-poppins: "Poppins", sans-serif;

  /* Font Sizes */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* Font Weights */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /* Shadows */
  --shadow-deep: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  --shadow-light: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.08);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.08);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.08);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.06);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.08);
  --shadow-glow: 0 0 20px hsla(202, 61%, 64%, 0.2);
  --shadow-x: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  --shadow-metrics: 0 0 3px rgba(0, 170, 68, 0.3);
  /* Effects */
  --border-radius-default: 14px;
  --default-blur: blur(3px);
  --blur-1: blur(60px);

  /* Transitions */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--bg-gradient-onyx);
}

/* Selection Colors */
::selection {
  color: var(--snow-white);
  background-color: var(--bright-blue);
}

:focus {
  outline-color: var(--bright-blue);
}

body ::selection {
  background-color: #74b9ff !important;
}

body ::-moz-selection {
  background-color: #74b9ff !important;
}

/* Link Colors */
.links-basic {
  color: var(--white-2);
}

/* Sidebar & Article Colors */
.sidebar,
article {
  backdrop-filter: var(--blur-1);
  background-color: hsla(0, 0%, 100%, 0.9);
  border: 1px solid hsla(0, 0%, 80%, 0.3);
  box-shadow: var(--shadow-1);
}

/* Separator Color */
.separator {
  background: var(--jet);
}

/* Icon Box Colors */
.icon-box {
  background: var(--white-1);
  color: var(--bright-blue);
  box-shadow: var(--shadow-light);
}

.icon-box::before {
  background: hsl(0, 0%, 98%);
}

.icon-box ion-icon {
  filter: grayscale(0.5);
}

/* Typography Colors */
.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
}

.sub-hero-text {
  color: var(--bright-red);
}

.article-title::after {
  background: linear-gradient(to right, hsl(202, 61%, 54%), hsl(200, 60%, 55%));
}

/* Scrollbar Colors */
.has-scrollbar::-webkit-scrollbar-track {
  background: var(--onyx);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 60%, 0.5);
}

/* Content Card Colors */
.content-card {
  background: var(--white-1);
  border: 1px solid hsla(0, 0%, 80%, 0.3);
  box-shadow: var(--shadow-2);
}

.content-card::before {
  background: hsla(0, 0%, 100%, 0.9);
}

/* Avatar Box Colors */
.avatar-box {
  background: var(--white-1);
  box-shadow: var(--shadow-2);
}

.avatar-box::after {
  background-color: rgba(179, 178, 178, 0.05);
}

.avatar-box:hover::before {
  background-color: var(--soft-blue);
}

.avatar-box:hover::after {
  background-color: var(--soft-blue);
}

/* Info Content Colors */
.info-content .name {
  color: var(--white-2);
}

.info-content .title {
  color: var(--bright-blue);
  background: hsla(0, 0%, 90%, 0.5);
}

/* More Button Colors */
.info_more-btn {
  color: var(--bright-blue);
  background: var(--white-1);
  box-shadow: var(--shadow-2);
}

.info_more-btn::before {
  background: hsl(0, 0%, 98%);
}

.info_more-btn:hover,
.info_more-btn:focus {
  background: var(--bright-blue);
  color: white;
}

.info_more-btn:hover::before,
.info_more-btn:focus::before {
  background: var(--bright-blue);
}

/* Contact Item Colors */
.contact-title {
  color: var(--light-gray-70);
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
}

/* Social Links Colors */
.social-item .social-link {
  color: var(--light-gray-70);
  border: 2px solid transparent;
}

.social-item .social-link:hover {
  color: var(--bright-blue);
}

/* Navbar Colors */
.navbar {
  backdrop-filter: var(--blur-1);
  background-color: hsla(0, 0%, 100%, 0.9);
  border: 1px solid hsla(0, 0%, 80%, 0.3);
  box-shadow: var(--shadow-2);
}

.navbar-link {
  color: var(--light-gray);
}

.navbar-link:hover,
.navbar-link:focus {
  color: var(--light-gray-70);
}

.navbar-link.active {
  color: var(--bright-blue);
}

/* About Text Colors */
.about-text {
  color: var(--light-gray);
}

.about-text:hover {
  background-color: var(--faded-red);
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.about-text p {
  box-shadow: var(--shadow-4);
}

/* Animation Colors */
.anime-sub-hero-text::before,
.anime-sub-hero-text::after {
  background: linear-gradient(120deg, #74b9ff80, #f0f0f0);
}

/* Service List Colors */
.service-list {
  scrollbar-color: hsla(0, 0%, 60%, 0.5) transparent;
}

.service-list::-webkit-scrollbar-thumb {
  background-color: hsla(0, 0%, 60%, 0.5);
}

.service-item {
  background: var(--white-1);
  border: 1px solid hsla(0, 0%, 80%, 0.3);
  box-shadow: var(--shadow-light);
}

.service-item::before {
  background: hsla(0, 0%, 100%, 0.9);
}

.service-item::after {
  background: var(--bright-blue);
}

.service-item-text {
  color: var(--light-gray);
}

/* Testimonials Colors */
.testimonials-avatar-box {
  background: var(--white-1);
  box-shadow: var(--shadow-1);
}

.testimonials-item:hover .testimonials-avatar-box img {
  outline: 2px solid hsla(0, 8%, 97%, 0.4);
}

.testimonials-item-title ion-icon {
  border: 2px solid var(--light-gray-70);
  border-color: var(--light-gray-70);
}

.content-card:hover,
.testimonials-item-title:hover ion-icon {
  border-color: var(--bright-blue);
}

.testimonials-text {
  color: var(--light-gray);
}

.testimonials-item-subtitle,
.testimonials-item-date,
.modal-subtitle,
.modal-post-date {
  color: var(--light-gray);
}

.testimonials-link {
  color: var(--light-gray);
}

.testimonials-link:hover {
  color: var(--bright-blue);
}

/* Modal Colors */
.overlay {
  background: hsl(0, 0%, 100%);
  backdrop-filter: blur(15px);
}

.overlay.active {
  backdrop-filter: blur(15px) !important;
}

.testimonials-modal {
  background: hsl(0, 0%, 100%);
  border: 1px solid hsla(0, 0%, 80%, 0.3);
  box-shadow: var(--shadow-5);
}

.modal-close-btn {
  background: var(--onyx);
  color: var(--white-2);
}

.modal-avatar-box {
  background: var(--white-1);
  box-shadow: var(--shadow-2);
}

.modal-source-link {
  color: var(--light-gray);
}

.modal-source-link:hover {
  color: var(--bright-blue);
}

.modal-content time {
  background-color: hsla(0, 0%, 90%, 0.5);
  color: var(--light-gray-70);
}

.modal-content p {
  color: var(--light-gray);
}

/* Timeline Colors */
.timeline-list span {
  color: var(--soft-blue);
}

.timeline-item:not(:last-child)::before {
  background: var(--jet);
}

.timeline-item::after {
  background: var(--bright-blue);
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
  color: var(--light-gray);
}

/* Skills Colors */
.skill .title-wrapper data {
  color: var(--light-gray);
}

.skill-progress-bg {
  background: var(--progress-bar-gb);
}

.skill-progress-fill {
  background: linear-gradient(to right, hsl(202, 61%, 54%), hsl(200, 60%, 55%));
}

/* Portfolio Filter Colors */
.filter-select {
  background: hsl(0, 0%, 98%);
  color: var(--light-gray);
  border: 1px solid var(--jet);
}

.select-list {
  background: hsl(0, 0%, 98%);
  border: 1px solid var(--jet);
}

.select-item button {
  background: hsla(0, 0%, 90%, 0.5);
  color: var(--light-gray);
}

.select-item button:hover {
  background: hsl(0, 0%, 85%);
}

/* Project Colors */
.project-img::before {
  background: transparent;
}

.project-item > a:hover .project-img::before {
  background: hsla(0, 0%, 100%, 0.3);
}

.project-item-icon-box {
  background: var(--white-1);
  color: var(--bright-blue);
  box-shadow: var(--shadow-2);
}

.project-title {
  color: var(--white-2);
}

.project-category {
  color: var(--light-gray-70);
}

/* Contact Form Colors */
.mapbox {
  border: 1px solid var(--jet);
  box-shadow: var(--shadow-3);
}

.mapbox iframe {
  filter: grayscale(0);
}

.form-input {
  color: var(--white-2);
  border: 1px solid var(--jet);
  background-color: hsla(0, 0%, 98%, 0.5);
  box-shadow: var(--shadow-x);
}

.form-input::placeholder {
  color: var(--light-gray-70);
}

.form-input:focus {
  border-color: var(--bright-blue);
}

.form-input:focus:invalid {
  border-color: var(--bittersweet-shimmer);
}

.form-btn {
  background: var(--bright-blue);
  color: white;
  box-shadow: var(--shadow-3);
}

.form-btn::before {
  background: var(--bright-blue);
}

.form-btn:hover {
  background: var(--soft-blue);
}

.form-btn:hover::before {
  background: var(--soft-blue);
}

.form-btn:disabled:hover {
  background: var(--bright-blue);
}

.form-btn:disabled:hover::before {
  background: var(--bright-blue);
}

/* Modal Text Scrollbar Colors */
div[data-modal-text] p {
  scrollbar-color: hsla(0, 0%, 60%, 0.3) transparent;
}

/* Footer Colors */
.portfolio-footer {
  color: rgba(60, 60, 60, 0.9);
  background-color: var(--white-1);
}

/* Loader Colors */
.main-page-loader {
  background-color: hsla(0, 0%, 100%, 0.95);
}

.loader-clr {
  color: var(--bright-blue);
}

.loader:after {
  box-shadow: 0 2px 0 var(--soft-blue) inset;
}

.small-loader {
  border: 3px solid var(--bright-blue);
  border-bottom-color: transparent;
}

.sm-spinner-wrapper {
  background-color: hsla(0, 0%, 100%, 0.8);
}

/* Alert Colors */
.alert-success {
  background-color: #d1eddb;
  border-color: #badbcc;
  color: #155724;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-primary {
  background-color: #cce5ff;
  border-color: #b3d9ff;
  color: #004085;
}

.alert-secondary {
  background-color: #e2e3e5;
  border-color: #d6d8db;
  color: #383d41;
}

/* Navbar Item Colors */
.navbar-item::before,
.navbar-item::after {
  background-color: var(--soft-blue);
}

/* Service Modal Colors */
.service-backdrop {
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(10px);
}

.service-modal {
  color: var(--light-gray);
  background: white;
  border: 1px solid hsla(0, 0%, 80%, 0.3);
  box-shadow: var(--shadow-deep);
}

.service-modal-heading {
  color: var(--white-2);
}

.service-modal-close {
  background: transparent;
  color: var(--light-gray);
  border-color: transparent !important;
}

.service-modal-close:hover {
  color: var(--white-2);
}

/* Theme Switch Colors */
.slider {
  background-color: #ccc;
}

.slider::before {
  background-color: white;
}

.theme-switch {
  box-shadow: var(--shadow-4);
}

.theme-switch input:checked + .slider {
  background-color: var(--eerie-black-1);
}

/* Certification Carousel Colors */
.certificatio-attribution {
  background: var(--bg-gradient-blue-1);
  box-shadow: var(--shadow-3), 0 0 20px hsla(202, 61%, 64%, 0.2);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.certificatio-attribution .text-wrapper p {
  color: #000000;
  background: #ffffff;
  text-shadow: 2px 2px 0 #bcbcbc, 4px 4px 0 #9c9c9c;
}

.certificatio-attribution .image-attribution img {
  filter: grayscale(0) invert(0);
}

/* Large Carousel Colors */
.certs-carousel-backdrop {
  background: rgba(255, 255, 255, 0.4);
}

.certs-carousel-container {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.certs-carousel-img-wrapper {
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.certs-carousel-img-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.2);
}

.certs-carousel-img-wrapper::before {
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: rgba(0, 0, 0, 0.5);
}

.certs-carousel-img-wrapper.error {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(254, 226, 226, 0.3);
}

.certs-carousel-img-wrapper.error::after {
  color: rgba(220, 38, 38, 0.6);
}

.certs-carousel-close {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.certs-carousel-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.certs-carousel-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.certs-carousel-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
}

.certs-carousel-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* ====== Metrics Light Theme Colors ====== */
.metrics {
  background: transparent;
}

.metrics-toggle {
  background: var(--bright-blue);
  color: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.15);
}

.metrics-toggle:hover {
  background: var(--soft-blue);
}

.metrics .current-page {
  color: #00aa44;
  text-shadow: 0 0 3px rgba(0, 170, 68, 0.3);
}

.metrics .current-page::before {
  background: rgba(255, 255, 255, 0.95);
}

.metrics-close {
  border: 1px solid rgba(0, 170, 68, 0.3);
  background: rgba(0, 170, 68, 0.1);
  color: #00aa44;
}

.metrics-close:hover {
  background: rgba(0, 170, 68, 0.2);
}

/* Pop Effect Colors */
@media (min-width: 580px) {
  .pop-effect {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  }
}

/* Desktop Specific Colors */
@media (min-width: 1024px) {
  :root {
    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.06);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.06);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.06);
  }

  .sidebar,
  article {
    box-shadow: var(--shadow-5);
  }

  .testimonials-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .testimonials-item:hover .content-card {
    box-shadow: 0 0 10px hsla(200, 60%, 55%, 0.3);
  }
}

@media (min-width: 1250px) {
  body::-webkit-scrollbar-track {
    background: hsl(0, 0%, 95%);
  }

  body::-webkit-scrollbar-thumb {
    border: 5px solid hsl(0, 0%, 95%);
    background: hsla(0, 0%, 60%, 0.3);
    box-shadow: inset 1px 1px 0 hsla(0, 0%, 40%, 0.11),
      inset -1px -1px 0 hsla(0, 0%, 40%, 0.11);
  }

  body::-webkit-scrollbar-thumb:hover {
    background: hsla(0, 0%, 50%, 0.4);
  }

  body::-webkit-scrollbar-button {
    background-color: hsl(0, 0%, 95%);
  }

  .avatar-box img {
    border: 3px solid var(--jet);
  }

  .submitted-date {
    color: var(--light-gray-70);
  }

  .social-item .social-link {
    box-shadow: 0 0 20px hsla(200, 60%, 55%, 0.3);
  }

  .testimonials-item-title ion-icon {
    border: 2px solid var(--light-gray-70);
    border-color: var(--light-gray-70);
  }

  .testimonials-modal {
    border: 3px solid rgba(0, 0, 0, 0.1);
  }

  .overlay {
    backdrop-filter: blur(15px) !important;
  }

  .overlay.active {
    backdrop-filter: blur(15px) !important;
  }

  .modal-img-wrapper .modal-avatar-box img {
    outline: 2px solid hsla(0, 0%, 60%, 0.4);
  }
}

/* Filter List Colors (768px+) */
@media (min-width: 768px) {
  .filter-item button {
    color: var(--light-gray);
  }

  .filter-item button:hover {
    color: var(--light-gray-70);
  }

  .filter-item button.active {
    color: var(--bright-blue);
  }
}

/* Responsive Font Sizes */
@media (min-width: 580px) {
  :root {
    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;
  }
}
