/* ==============================
   Cikuakmbrem Cees — Modern Gen Z Style
   ============================== */

/* Google Fonts fallback */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Montserrat:wght@500;700&display=swap');

:root {
  --primary: #2d68f0;
  --accent: #ff69b4;
  --bg: #f3f7fa;
  --glass-bg: rgba(255,255,255,0.85);
  --dark-bg: #181f3a;
  --soft-bg: #e7ebef;
  --border-radius: 1.1rem;
  --shadow: 0 8px 24px 0 rgba(45,104,240,0.10);
  --font-main: 'Inter', 'Montserrat', Arial, sans-serif;
  --transition: .25s cubic-bezier(.4,.6,.08,1);
  --gap: 2rem;
  --header-height: 4.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: #2d2d2d;
  margin: 0;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

img, video {
  max-width: 100%;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

header.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  border-radius: 50%;
  box-shadow: 0 3px 18px #2d68f022;
}

.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary);
  letter-spacing: 1px;
}
.tagline {
  font-size: .95rem;
  color: #465676;
  margin: 0;
  font-weight: 500;
}

nav.main-nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-weight: 600;
  font-size: 1rem;
  padding: .5rem 1rem;
  border-radius: 1.5rem;
  transition: background var(--transition);
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  background: var(--primary);
  color: #fff;
}

.theme-toggle {
  background: var(--accent);
  border: none;
  outline: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  margin-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px #ff69b410;
  transition: background var(--transition);
}
.theme-toggle span {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  background: url('icon/moon.svg') center/cover no-repeat;
}
body.dark {
  background: var(--dark-bg);
  color: #f3f3f3;
}
body.dark header,
body.dark .glass,
body.dark .media-card,
body.dark .profile-card,
body.dark .curhat-card {
  background: rgba(24,31,58,0.94);
  color: #fafaff;
}
body.dark .soft-bg {
  background: #232a43;
}
body.dark nav.main-nav a:hover {
  background: var(--accent);
  color: #fff;
}
body.dark .theme-toggle {
  background: var(--primary);
}
body.dark .theme-toggle span {
  background: url('icon/sun.svg') center/cover no-repeat;
}

main {
  margin-top: calc(var(--header-height) + 1rem);
}

/* HERO SECTION */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(120deg, #7fbeff 0%, #f9f5ff 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-video {
  object-fit: cover;
  width: 100vw;
  height: 100%;
  min-height: 60vh;
  filter: blur(3px) brightness(.93);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: var(--glass-bg);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: .5rem;
  letter-spacing: 2px;
}
.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #465676;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  padding: .8rem 2rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px #2d68f022;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

.scroll-down {
  margin-top: 1.5rem;
  text-align: center;
}
.scroll-down span {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-bottom: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
  transform: rotate(45deg);
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0);}
  50% { transform: rotate(45deg) translateY(12px);}
}

/* SECTION */
.section {
  padding: 4rem 0 3rem 0;
}
.section-title {
  font-size: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}
.soft-bg {
  background: var(--soft-bg);
}

/* GLASS CARD */
.glass {
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  border: 1.5px solid #e3e8f7;
}

/* QUOTES SLIDER */
.quote-card {
  padding: 2rem;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slides {
  display: flex;
  transition: transform .5s cubic-bezier(.4,.6,.08,1);
  min-height: 110px;
}
.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity .45s;
  transform: scale(.95);
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}
blockquote {
  font-size: 1.25rem;
  line-height: 1.7;
  margin: 0;
  color: #465676;
  font-style: italic;
}
blockquote footer {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: .4rem;
  font-family: 'Montserrat', sans-serif;
}
.slider-btn {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px #2d68f022;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.4rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  z-index: 2;
}
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.slider-btn:hover {
  background: var(--primary);
  color: #fff;
}
.dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}
.dots .dot {
  width: .85rem;
  height: .85rem;
  background: var(--primary);
  border-radius: 50%;
  opacity: .3;
  cursor: pointer;
  transition: opacity var(--transition), background var(--transition);
}
.dots .dot.active {
  opacity: 1;
  background: var(--accent);
}

/* KENANGAN MEDIA SLIDER */
.media-card {
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.media-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.media-slides {
  display: flex;
  transition: transform .5s cubic-bezier(.4,.6,.08,1);
  min-height: 220px;
}
.media-slides .slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity .45s;
  transform: scale(.96);
  pointer-events: none;
}
.media-slides .slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}
.media-slider .thumbs {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  justify-content: center;
}
.media-slider .thumbs img,
.media-slider .thumbs video {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: .7rem;
  opacity: .55;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity var(--transition), border var(--transition);
}
.media-slider .thumbs .active {
  opacity: 1;
  border: 2px solid var(--primary);
}
.media-slider .dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1rem;
}
.media-slider .dots .dot {
  width: .85rem;
  height: .85rem;
  background: var(--primary);
  border-radius: 50%;
  opacity: .3;
  cursor: pointer;
  transition: opacity var(--transition), background var(--transition);
}
.media-slider .dots .dot.active {
  opacity: 1;
  background: var(--accent);
}
figcaption {
  font-size: 1rem;
  color: #5a6a8c;
  margin-top: .5rem;
  text-align: center;
}

/* PROFILE GRID */
.grid.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  gap: var(--gap);
}
.profile-card {
  padding: 1.5rem 1rem 1rem 1rem;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform .18s;
  position: relative;
  overflow: hidden;
}
.profile-card:hover {
  transform: translateY(-7px) scale(1.03);
  box-shadow: 0 10px 28px #2d68f022;
}
.avatar {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 12px #2d68f022;
  margin-bottom: .7rem;
  border: 2px solid var(--accent);
}
.profile-card h4 {
  font-size: 1.3rem;
  margin: .5rem 0 .3rem 0;
  font-weight: 700;
  color: var(--primary);
}
.profile-card .muted {
  color: #465676;
  font-size: .98rem;
  margin-bottom: .8rem;
}
.profile-socials {
  display: flex;
  justify-content: center;
  gap: .7rem;
}
.profile-socials a img {
  width: 24px;
  height: 24px;
  opacity: .8;
  transition: opacity var(--transition);
}
.profile-socials a:hover img { opacity: 1; }

/* CURHAT SECTION */
.curhat-section {
  background: linear-gradient(120deg, #f9f5ff 0%, #f3f7fa 100%);
  padding: 4rem 0;
}
.curhat-form {
  background: var(--glass-bg);
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.curhat-form input,
.curhat-form textarea {
  width: 100%;
  font-size: 1rem;
  padding: .7rem 1rem;
  border-radius: 1rem;
  border: 1.5px solid #e3e8f7;
  background: #fff;
  margin-bottom: .3rem;
  font-family: var(--font-main);
  transition: border var(--transition), box-shadow var(--transition);
  outline: none;
  box-shadow: 0 2px 12px #2d68f022;
}
.curhat-form input:focus,
.curhat-form textarea:focus {
  border: 1.5px solid var(--primary);
  box-shadow: 0 4px 16px #2d68f022;
}
.curhat-form .btn-submit {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: .8rem 2rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1.02rem;
  box-shadow: 0 2px 12px #ff69b422;
  transition: background var(--transition), color var(--transition);
}
.curhat-form .btn-submit:hover { background: var(--primary); }
.form-message {
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  min-height: 1.3em;
  margin-top: .3rem;
}
.curhat-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.curhat-card {
  background: var(--glass-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1rem;
  font-size: 1.02rem;
  position: relative;
  animation: fadein .5s;
}
.curhat-card strong {
  color: var(--primary);
  font-weight: 700;
}
.curhat-card p {
  margin: .5rem 0 0 0;
  color: #465676;
  word-break: break-word;
}

/* FOOTER */
.site-footer {
  background: var(--soft-bg);
  padding: 2rem 0 1.2rem 0;
  font-size: 1rem;
  color: #465676;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a {
  color: var(--primary);
  transition: color var(--transition);
}
.site-footer a:hover { color: var(--accent); }
.socials {
  display: flex;
  gap: 1rem;
}
.socials a img {
  width: 28px;
  height: 28px;
  opacity: .8;
  transition: opacity var(--transition);
}
.socials a:hover img { opacity: 1; }

/* ANIMATIONS */
.animate-fadein { animation: fadein .6s; }
@keyframes fadein {
  from { opacity: 0; transform: translateY(16px);}
  to { opacity: 1; transform: translateY(0);}
}
.animate-float { animation: floatUp 1.2s cubic-bezier(.52,.07,.43,.99);}
@keyframes floatUp {
  from { opacity: .3; transform: translateY(24px);}
  to { opacity: 1; transform: translateY(0);}
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .container { max-width: 98vw;}
  .grid.grid-4 { grid-template-columns: repeat(auto-fit,minmax(190px,1fr));}
  .hero-inner { padding: 2.5rem 1rem;}
}
@media (max-width: 600px) {
  header.site-header { height: auto; padding: .7rem 0;}
  .header-inner { flex-direction: column; gap: .7rem;}
  nav.main-nav ul { gap: .7rem;}
  .brand { gap: .6rem;}
  main { margin-top: 1.1rem;}
  .hero-title { font-size: 1.5rem;}
  .section { padding: 2.2rem 0 1.5rem 0;}
  .quote-card, .media-card, .curhat-form, .curhat-list { max-width: 95vw;}
  .site-footer { font-size: .95rem; padding: 1.2rem 0;}
  .footer-inner { flex-direction: column; gap: .7rem;}
}

/* Hide scrollbars for sliders */
.slider::-webkit-scrollbar,
.media-slider::-webkit-scrollbar { display: none; }
.slider, .media-slider { -ms-overflow-style: none; scrollbar-width: none; }
