/* ===== CSS Variables ===== */
:root {
  /* Base colors */
  --bg-cream: #FAF7F2;
  --bg-beige: #F5F0E8;
  --bg-greige: #EBE6DE;

  /* Main colors */
  --lavender: #9B8BC4;
  --lavender-light: #B4A5D5;
  --lavender-pale: #E8E3F3;
  --rose: #D4A5A5;
  --rose-deep: #C9989B;
  --rose-pale: #F5EBEB;

  /* Accent colors */
  --coral: #E8B4A8;
  --coral-deep: #D9A093;
  --gold: #D4AF87;
  --gold-light: #E5C9A8;

  /* Text colors */
  --text-dark: #4A3C31;
  --text-medium: #6B5D52;
  --text-light: #8C7B6D;

  /* Others */
  --white: #FFFFFF;
  --shadow: rgba(74, 60, 49, 0.08);
  --green: #4CAF50;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
}

/* ===== Header ===== */
header {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--lavender-pale) 50%, var(--rose-pale) 100%);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px var(--shadow);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--rose) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--lavender);
}

.header-buttons {
  display: flex;
  gap: 0.8rem;
}

/* ===== Buttons ===== */
.btn-secondary {
  background: transparent;
  color: var(--text-medium);
  border: 2px solid var(--lavender-light);
  padding: 0.6rem 1.3rem;
  border-radius: 25px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--lavender-pale);
  border-color: var(--lavender);
}

.btn-primary {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--rose) 100%);
  color: var(--white);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(155, 139, 196, 0.3);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* ===== Section Styles ===== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--rose) 100%);
  border-radius: 2px;
}

.view-all-link {
  color: var(--lavender);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s;
}

.view-all-link:hover {
  gap: 0.6rem;
}

/* ===== Footer ===== */
footer {
  background: var(--bg-beige);
  padding: 3rem 2rem 2rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-section h4 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.4rem 0;
  transition: all 0.3s;
}

.footer-section a:hover {
  color: var(--lavender);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--bg-greige);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-medium);
  transition: all 0.3s;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--lavender) 0%, var(--rose) 100%);
  color: var(--white);
}

/* ===== Animation ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== Responsive - Common ===== */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  .nav-links { display: none; }

  .header-buttons { display: none; }

  .logo {
    font-size: 1.4rem;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  footer {
    padding: 2rem 1rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
