/* ============================================================
   Starbucks Partner Hours — Global Stylesheet
   Aesthetic: Warm editorial / premium coffee culture
   ============================================================ */

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

:root {
  --green-deep:   #00432a;
  --green-mid:    #1e6641;
  --green-light:  #d4edda;
  --gold:         #cba135;
  --gold-light:   #f5e6bc;
  --cream:        #faf7f2;
  --white:        #ffffff;
  --text-dark:    #1a1a1a;
  --text-mid:     #3d3d3d;
  --text-light:   #6b6b6b;
  --border:       #e0d8cc;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.16);
  --radius:       10px;
  --radius-lg:    18px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', sans-serif;
  --max-w:        1100px;
  --transition:   0.28s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Links ── */
a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-deep); }

/* ── Utilities ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--alt { background: var(--white); }
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--green-deep); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--text-mid); margin-bottom: 1rem; }
ul, ol { padding-left: 1.4rem; color: var(--text-mid); }
li { margin-bottom: 0.45rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--green-deep); color: var(--white);
  border-color: var(--green-deep);
}
.btn-primary:hover {
  background: var(--green-mid); border-color: var(--green-mid); color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent; color: var(--green-deep);
  border-color: var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-deep); color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-gold {
  background: var(--gold); color: var(--white); border-color: var(--gold);
}
.btn-gold:hover {
  background: #b5912c; border-color: #b5912c; color: var(--white);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}

/* ── Section headings ── */
.section-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.section-title { margin-bottom: 14px; }
.section-sub { color: var(--text-light); max-width: 640px; font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 28px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-light); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 16px;
}

/* ── Info boxes ── */
.info-box {
  background: var(--gold-light); border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 18px 22px; margin: 20px 0;
}
.info-box p { color: var(--text-dark); margin: 0; }

.alert-box {
  background: #e8f5e9; border-left: 4px solid var(--green-mid);
  border-radius: 8px; padding: 18px 22px; margin: 20px 0;
}
.alert-box p { color: var(--text-dark); margin: 0; }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.data-table th {
  background: var(--green-deep); color: var(--white);
  padding: 14px 18px; text-align: left; font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
}
.data-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.data-table tr:hover td { background: var(--cream); }

/* ── Steps ── */
.steps { list-style: none; padding: 0; counter-reset: step; }
.step-item {
  counter-increment: step;
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 28px; padding: 22px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.step-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-deep); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
}
.step-num::before { content: counter(step); }
.step-content h4 { color: var(--green-deep); margin-bottom: 6px; }
.step-content p { margin: 0; }

/* ── FAQ accordion ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-family: var(--font-body); font-size: 1rem;
  font-weight: 600; color: var(--text-dark); text-align: left; gap: 16px;
}
.faq-btn .faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-light); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 20px; color: var(--text-light); }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

/* ──────────────────────────────────────────
   HEADER & NAVIGATION
   ────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: var(--max-w); margin: 0 auto; height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--green-deep); text-decoration: none;
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-mid); transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--green-light); color: var(--green-deep); }

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition); padding: 8px 0; z-index: 1000;
}
.dropdown a {
  display: block; padding: 10px 20px; font-size: 0.9rem;
  color: var(--text-mid); transition: all var(--transition);
}
.dropdown a:hover { background: var(--green-light); color: var(--green-deep); padding-left: 24px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--green-deep); border-radius: 2px; transition: all var(--transition); }

/* ──────────────────────────────────────────
   HERO
   ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, #00623d 60%, #00432a 100%);
  padding: 90px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border-radius: 50px;
  padding: 6px 16px; font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.9); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 24px; backdrop-filter: blur(8px);
}
.hero h1 { color: var(--white); margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ──────────────────────────────────────────
   BREADCRUMB
   ────────────────────────────────────────── */
.breadcrumb {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 8px; font-size: 0.88rem;
}
.breadcrumb a { color: var(--green-mid); }
.breadcrumb span { color: var(--text-light); }

/* ──────────────────────────────────────────
   PAGE HERO (inner pages)
   ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  padding: 60px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 600px; font-size: 1.05rem; margin: 0; }

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.site-footer {
  background: var(--green-deep); color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: 14px; font-size: 0.9rem; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display); color: var(--white);
  font-size: 1rem; margin-bottom: 18px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.65);
  font-size: 0.9rem; margin-bottom: 10px; transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.85rem;
  color: rgb(255, 255, 255);
}
.footer-bottom a { color: rgb(255, 255, 255); }
.footer-bottom a:hover { color: var(--gold); }

/* ──────────────────────────────────────────
   BACK TO TOP
   ────────────────────────────────────────── */
#backToTop {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-deep); color: var(--white); border: none;
  font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(20px);
  transition: all var(--transition); display: flex; align-items: center; justify-content: center;
}
#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--gold); }

/* ──────────────────────────────────────────
   MOBILE NAV
   ────────────────────────────────────────── */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav {
    display: none; position: fixed; inset: 68px 0 0 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 4px; overflow-y: auto; z-index: 800;
    border-top: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav-item { width: 100%; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--cream);
    border-radius: var(--radius); padding: 4px 0; margin-top: 4px;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-link { width: 100%; display: block; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; }
  .section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 52px; }
  h1 { font-size: 1.9rem; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 0.55s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

