/* day-clay.css - Soft 3D claymorphism layer for day theme */

[data-theme="day"] {
  --bg-primary: #fff1d3;
  --bg-secondary: #ffe4b4;
  --text-primary: #2f2923;
  --text-secondary: #5f4e3c;
  --text-muted: #8d765a;
  --accent-1: #ff9c33;
  --accent-2: #ffc744;
  --accent-3: #ffb266;
  --border-glass: rgba(140, 91, 41, 0.28);
  --glass-bg: linear-gradient(170deg, #fff8e7 0%, #ffe8c2 100%);
  --glass-border: rgba(194, 132, 62, 0.35);
  --gradient-primary: linear-gradient(145deg, #ffe072 0%, #ffbb4f 45%, #ff8f38 100%);
  --gradient-mesh:
    radial-gradient(at 10% 12%, rgba(255, 211, 99, 0.34), transparent 54%),
    radial-gradient(at 88% 84%, rgba(255, 161, 66, 0.28), transparent 48%),
    radial-gradient(at 64% 38%, rgba(255, 124, 53, 0.16), transparent 54%);
  --shadow-glow: 0 16px 34px rgba(177, 97, 27, 0.26);
  --orb-1-color: #ffd250;
  --orb-2-color: #ffab47;
  --orb-3-color: #ff8f3a;
  --font-main: "Baloo 2", "Manrope", "Segoe UI", sans-serif;
}

[data-theme="day"] body {
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 220, 115, 0.52), transparent 42%),
    radial-gradient(circle at 82% 86%, rgba(255, 163, 76, 0.32), transparent 40%),
    linear-gradient(125deg, #fff2d8 0%, #ffe7be 56%, #ffd49d 100%);
}

[data-theme="day"] body::before {
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 238, 190, 0.45), transparent 44%),
    radial-gradient(circle at 84% 82%, rgba(255, 165, 84, 0.18), transparent 38%);
}

[data-theme="day"] .section:not(.hero) > .container {
  border-radius: 38px;
  padding: 36px;
  border: 1px solid rgba(194, 132, 62, 0.28);
  background: linear-gradient(165deg, #fff9ec 0%, #ffe9c7 100%);
  box-shadow:
    0 22px 44px rgba(168, 100, 35, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 -8px 18px rgba(226, 150, 70, 0.16);
}

[data-theme="day"] .hero {
  padding-top: 110px;
}

[data-theme="day"] .hero-grid {
  padding: 30px;
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255, 247, 228, 0.96), rgba(255, 229, 186, 0.92));
  border: 1px solid rgba(198, 133, 66, 0.24);
  box-shadow:
    0 26px 46px rgba(164, 91, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    inset 0 -12px 22px rgba(226, 147, 66, 0.14);
}

[data-theme="day"] .hero-image-card,
[data-theme="day"] .glass-card,
[data-theme="day"] .project-card,
[data-theme="day"] .cert-card,
[data-theme="day"] .timeline-card,
[data-theme="day"] .blog-card,
[data-theme="day"] .why-card,
[data-theme="day"] .signal-card,
[data-theme="day"] .contact-card,
[data-theme="day"] .education-card,
[data-theme="day"] .stat-card,
[data-theme="day"] .os-module,
[data-theme="day"] .flagship-shell,
[data-theme="day"] .flagship-feature-card,
[data-theme="day"] .system-block,
[data-theme="day"] .engineering-notes,
[data-theme="day"] .metric-card,
[data-theme="day"] .chat-panel,
[data-theme="day"] .modal-content,
[data-theme="day"] .result-card {
  border-radius: 26px;
  border: 1px solid rgba(194, 132, 62, 0.3);
  background: linear-gradient(165deg, #fff8e8 0%, #ffe8c4 100%);
  box-shadow:
    0 14px 28px rgba(168, 102, 37, 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 0.78),
    inset 0 -9px 18px rgba(227, 150, 67, 0.14);
}

[data-theme="day"] .glass-card:hover,
[data-theme="day"] .project-card:hover,
[data-theme="day"] .cert-card:hover,
[data-theme="day"] .timeline-card:hover,
[data-theme="day"] .blog-card:hover,
[data-theme="day"] .why-card:hover,
[data-theme="day"] .signal-card:hover,
[data-theme="day"] .contact-card:hover,
[data-theme="day"] .education-card:hover,
[data-theme="day"] .stat-card:hover,
[data-theme="day"] .result-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 22px 38px rgba(174, 103, 34, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 0.84),
    inset 0 -10px 20px rgba(224, 145, 61, 0.18);
}

[data-theme="day"] .tag,
[data-theme="day"] .hero-badge,
[data-theme="day"] .filter-btn,
[data-theme="day"] .modal-badge {
  border-radius: 999px;
  color: #473728;
  border: 1px solid rgba(186, 123, 55, 0.33);
  background: linear-gradient(155deg, #ffe9bb 0%, #ffd79f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 5px 12px rgba(158, 99, 36, 0.16);
}

[data-theme="day"] .btn {
  border-radius: 999px;
  font-weight: 700;
}

[data-theme="day"] .btn-primary,
[data-theme="day"] .flagship-btn-live {
  color: #302821;
  border: 1px solid rgba(156, 93, 30, 0.4);
  background: linear-gradient(145deg, #ffe37c 0%, #ffb24f 52%, #ff9338 100%);
  box-shadow:
    0 14px 25px rgba(177, 94, 23, 0.3),
    inset 0 1px 0 rgba(255, 246, 210, 0.9),
    inset 0 -5px 10px rgba(190, 97, 30, 0.22);
}

[data-theme="day"] .btn-secondary {
  color: #352b23;
  border: 1px solid rgba(170, 109, 46, 0.34);
  background: linear-gradient(155deg, #fff6e0 0%, #ffe5bb 100%);
  box-shadow: 0 10px 18px rgba(166, 105, 37, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme="day"] .section-title,
[data-theme="day"] .hero-title {
  letter-spacing: 0.01em;
  color: #2f2923;
  text-shadow: 0 1px 0 rgba(255, 250, 238, 0.42);
}

[data-theme="day"] .hero-title .line,
[data-theme="day"] .section-title {
  color: #2f2923;
}

[data-theme="day"] .gradient-text {
  color: #8a3b0a;
  background: linear-gradient(145deg, #a6460a 0%, #d65a0d 42%, #f08a21 72%, #a44a15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

@supports not (-webkit-background-clip: text) {
  [data-theme="day"] .gradient-text {
    color: #8a3b0a;
    background: none;
  }
}

[data-theme="day"] .scroll-progress-bar {
  box-shadow: 0 0 18px rgba(255, 160, 56, 0.6);
}

@media (max-width: 991px) {
  [data-theme="day"] .section:not(.hero) > .container {
    padding: 24px;
    border-radius: 26px;
  }

  [data-theme="day"] .hero-grid {
    border-radius: 28px;
    padding: 22px;
  }
}
