/* Tieu Uyenn Frullato Facile — Unique Lavender + Mint + Deep Indigo | 2026 */
/* Sticky Side Navigation + Card Dashboard + Soft Rounded UI */
:root {
  --bg: #F5F0FA;
  --text: #1E1B4B;
  --accent: #A78BFA;
  --accent2: #34D399;
  --light: #EDE7F6;
  --card: #FFFFFF;
  --muted: #6B6B8A;
  --sidebar: #1E1B4B;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.02rem;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

a { color: inherit; text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* Sticky Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--sidebar);
  color: #EDE7F6;
  padding: 2.5rem 2rem;
  overflow-y: auto;
  z-index: 100;
  border-right: 1px solid #3A3660;
}

.sidebar-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #A78BFA;
  letter-spacing: -0.04em;
  margin-bottom: 3rem;
  display: block;
}

.sidebar-nav {
  list-style: none;
  margin-bottom: 3rem;
}

.sidebar-nav li {
  margin-bottom: 0.6rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.85rem 1.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: #3A3660;
  color: white;
}

.sidebar-section {
  margin-bottom: 2.5rem;
}

.sidebar-section h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.6;
  margin-bottom: 1rem;
}

.sidebar-list {
  list-style: none;
  font-size: 0.9rem;
}

.sidebar-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #3A3660;
}

.sidebar-list a {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.sidebar-list a:hover {
  opacity: 1;
}

/* Main Content */
.main-content {
  margin-left: 280px;
  min-height: 100vh;
  padding: 2.5rem 3rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 5rem 2rem 6rem;
  background: linear-gradient(135deg, #A78BFA, #34D399);
  border-radius: 24px;
  color: white;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    30deg,
    rgba(255,255,255,0.08) 0px,
    rgba(255,255,255,0.08) 3px,
    transparent 3px,
    transparent 10px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.4rem;
  background: white;
  color: var(--text);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.btn-accent {
  background: var(--accent2);
  color: white;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 8px 25px -15px rgba(31, 27, 75, 0.12);
  border: 1px solid #EDE7F6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -20px rgba(167, 139, 250, 0.25);
  border-color: #A78BFA;
}

.card-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.8rem;
}

.card-link {
  color: #A78BFA;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Section */
.section {
  margin-bottom: 5rem;
}

.section-title {
  margin-bottom: 2.5rem;
}

.section-title span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #A78BFA;
}

/* Modular Blocks */
.modular {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.mod-block {
  background: var(--light);
  border-radius: 20px;
  padding: 2.5rem;
  transition: transform 0.3s ease;
}

.mod-block:hover {
  transform: scale(1.02);
}

.mod-block h3 {
  margin-bottom: 1rem;
  color: #1E1B4B;
}

/* Footer */
.footer {
  background: #1E1B4B;
  color: #B8B5D1;
  padding: 5rem 0 2.5rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #A78BFA;
}

.footer-bottom {
  border-top: 1px solid #3A3660;
  margin-top: 4rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Contact */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.6rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4A466B;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border: 2px solid #EDE7F6;
  border-radius: 16px;
  font-size: 1.05rem;
  background: white;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #A78BFA;
}

textarea { min-height: 150px; resize: vertical; }

.btn-full {
  width: 100%;
  justify-content: center;
  background: #A78BFA;
  color: white;
  border: none;
}

.btn-full:hover {
  background: #8B6EF0;
}

/* Responsive */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}