/* =========================================================
   Elaine Casiano — Event Planner & Graphic Artist
   Core Site Styles
   ========================================================= */

/* ---------- CSS Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background-color: #f9fafb;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: #111827;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: #374151;
}

a {
  color: #7c3aed;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  padding: 2rem 1.25rem;
  margin: 0 auto;
}

.section {
  margin-bottom: 4rem;
}

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand span {
  color: #7c3aed;
}

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
}

.nav a:hover {
  color: #7c3aed;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #ede9fe, #fdf2f8);
  border-bottom: 1px solid #e5e7eb;
}

.hero-content {
  max-width: 720px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  background-color: #7c3aed;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.button.secondary {
  background-color: #ffffff;
  color: #7c3aed;
  border: 1px solid #7c3aed;
}

.button:hover {
  opacity: 0.9;
  text-decoration: none;
}

/* ---------- Card Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-meta {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ---------- Gallery Images ---------- */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.site-footer p {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ---------- Forms ---------- */
form {
  max-width: 520px;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #374151;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.65rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-family: inherit;
  font-size: 0.9rem;
}

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

input:focus,
textarea:focus {
  outline: none;
  border-color: #7c3aed;
}

/* ---------- Utility ---------- */
.muted {
  color: #6b7280;
  font-size: 0.9rem;
}

.center {
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  h1 {
    font-size: 1.9rem;
  }

  .nav {
    gap: 1rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
/* =========================================================
   CSP-safe utility classes (no inline styles needed)
   ========================================================= */

.row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.srOnly {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.maxw-720 {
  max-width: 720px;
}

.noScroll { overflow: hidden; }
