/* =============================================
   TwinklesWebCo — Shared Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --plum:        #3B1A5A;
  --plum-deep:   #26103C;
  --plum-mid:    #5C2D8A;
  --plum-light:  #7B4BAD;
  --gold:        #C9A84C;
  --gold-light:  #E2C76B;
  --gold-pale:   #F5EDD3;
  --cream:       #FAF8F4;
  --cream-dark:  #F0EAE0;
  --charcoal:    #1A1020;
  --mid:         #5a4e6b;
  --white:       #FFFFFF;
  --shadow:      0 4px 24px rgba(59,26,90,0.12);
  --shadow-lg:   0 8px 40px rgba(59,26,90,0.18);
  --radius:      14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
}

/* ── NAV ── */
header {
  background: var(--plum-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-mark {
  font-size: 1.6rem;
  line-height: 1;
}

.logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-text .name span { color: var(--gold-light); }

.logo-text .sub {
  font-size: 0.6rem;
  color: #a889c8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
}

nav ul a {
  display: block;
  padding: 0.45rem 1rem;
  color: #c4a8e0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

nav ul a:hover,
nav ul a.active {
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--plum-deep) !important;
  border-radius: 50px !important;
  padding: 0.45rem 1.25rem !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  background: var(--plum-deep);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(92,45,138,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.12) 0%, transparent 50%);
  color: var(--white);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* sparkle dots */
.hero::before {
  content: '✦ ✧ ✦ ✧ ✦';
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 1.5rem;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}

.hero .lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #c4a8e0;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-gold {
  background: var(--gold);
  color: var(--plum-deep);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
  margin-left: 0.75rem;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.btn-plum {
  background: var(--plum);
  color: var(--white);
}
.btn-plum:hover { background: var(--plum-mid); }

/* ── MAIN ── */
main { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 4.5rem 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--plum-deep);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-sub {
  color: var(--mid);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-bottom: 4px solid var(--plum-light);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card.gold-border { border-color: var(--gold); }

.card-icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--plum); margin-bottom: 0.5rem; }
.card p { color: var(--mid); font-size: 0.95rem; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid #e8dff0;
  position: relative;
  transition: transform 0.25s;
}
.price-card:hover { transform: translateY(-4px); }

.price-card.featured {
  border-color: var(--gold);
  background: var(--plum-deep);
  color: var(--white);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--plum-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
}

.price-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--plum);
  margin-bottom: 0.25rem;
}
.price-card.featured h3 { color: var(--gold-light); }

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--plum-deep);
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
}
.price-card.featured .price-amount { color: var(--white); }

.price-hosting {
  font-size: 0.85rem;
  color: var(--mid);
  margin-bottom: 1.25rem;
}
.price-card.featured .price-hosting { color: #c4a8e0; }

.price-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.price-features li {
  padding: 0.35rem 0;
  font-size: 0.92rem;
  color: var(--mid);
  border-bottom: 1px solid #f0e8f8;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.price-card.featured .price-features li { color: #c4a8e0; border-color: rgba(255,255,255,0.1); }
.price-features li::before { content: '✦'; color: var(--gold); flex-shrink: 0; font-size: 0.7rem; margin-top: 4px; }

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.portfolio-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.portfolio-thumb.purple { background: linear-gradient(135deg, #2E1A47, #5C2D8A); }
.portfolio-thumb.green  { background: linear-gradient(135deg, #1C4A35, #2E6B4F); }
.portfolio-thumb.dark   { background: linear-gradient(135deg, #1A1020, #3B1A5A); }

.portfolio-info { padding: 1.5rem; }
.portfolio-info h3 { font-family: 'Playfair Display', serif; color: var(--plum); font-size: 1.1rem; margin-bottom: 0.35rem; }
.portfolio-info p { color: var(--mid); font-size: 0.9rem; margin-bottom: 0.75rem; }
.portfolio-info a { color: var(--gold); font-weight: 700; font-size: 0.88rem; text-decoration: none; }
.portfolio-info a:hover { text-decoration: underline; }

/* ── BAND ── */
.band {
  background: var(--plum-deep);
  background-image: radial-gradient(ellipse at 30% 50%, rgba(92,45,138,0.5) 0%, transparent 70%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.band p { color: #c4a8e0; max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ── TWO COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ── CALLOUT ── */
.callout {
  background: var(--gold-pale);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.75rem;
  margin: 2rem 0;
}
.callout h4 { color: var(--plum); margin-bottom: 0.35rem; font-size: 0.95rem; }
.callout p { color: var(--mid); font-size: 0.93rem; margin: 0; }

/* ── FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-weight: 700; font-size: 0.92rem; color: var(--plum); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 2px solid #e0d4f0;
  border-radius: 10px;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--plum-mid); }
.form-group textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
footer {
  background: var(--plum-deep);
  color: #a889c8;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.88rem;
  margin-top: 3rem;
}
footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
footer .footer-logo span { color: var(--gold-light); }
footer a { color: var(--gold-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin: 0.75rem 0; flex-wrap: wrap; }
footer .tagline { color: #7B5B9E; font-size: 0.8rem; margin-top: 0.75rem; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--plum-deep);
  background-image: radial-gradient(ellipse at 20% 60%, rgba(92,45,138,0.5) 0%, transparent 60%);
  color: var(--white);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.page-hero .section-label { color: var(--gold-light); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.page-hero p { color: #c4a8e0; max-width: 560px; margin: 0 auto; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--plum-deep); padding: 1rem 1.5rem 1.5rem; gap: 0.25rem; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .btn-outline-light { margin-left: 0; margin-top: 0.75rem; display: block; text-align: center; }
}
