/* ============================================
   Shiraz Apple Store - Premium Theme
   Inspired by iStore Nigeria
   ============================================ */

:root {
  /* Palette */
  --primary-color: #0071e3;
  --primary-dark: #0077ed;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-white: #f5f5f7;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-dark: #1d1d1f; /* Header background */
  --bg-announcement: #f5f5f7;
  
  --border-color: #d2d2d7;
  
  /* Spacing & Radius */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  
  /* Typography */
  --font-family: 'SF Pro Display', 'SF Pro Text', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.4;
  overflow-x: hidden;
}

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

.hidden { display: none !important; }

/* ============================================
   Announcement Bar
   ============================================ */
.announcement-bar {
  background-color: var(--bg-announcement);
  color: var(--text-primary);
  font-size: 12px;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}

/* ============================================
   Header
   ============================================ */
.header {
  background-color: #333333; /* Dark gray like reference */
  color: #fff;
  height: 48px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

.logo img {
  height: 20px;
  filter: brightness(0) invert(1); /* Make logo white */
}

.nav-desktop {
  display: none;
}

.nav-link {
  color: #d6d6d6;
  font-size: 12px;
  margin: 0 12px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #fff;
}

.header-icons {
  display: flex;
  gap: 16px;
}

.icon-btn {
  background: none;
  border: none;
  color: #d6d6d6;
  cursor: pointer;
  font-size: 14px;
}

.icon-btn:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-full {
  text-align: center;
  padding: 60px 0 0;
  background: #fbfbfd;
  overflow: hidden;
}

.hero-title-large {
  font-size: 48px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 24px;
  color: #1d1d1f;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.btn {
  padding: 8px 16px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.link-arrow {
  color: var(--primary-color);
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.link-arrow:hover {
  text-decoration: underline;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

/* ============================================
   Grid Section
   ============================================ */
.grid-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .grid-section {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-item {
  padding: 40px;
  text-align: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.dark-bg {
  background: #000;
  color: #fff;
}

.light-bg {
  background: #fbfbfd;
  color: #1d1d1f;
}

.grid-content h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.grid-content .links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.grid-img {
  max-width: 80%;
  margin: 0 auto;
}

/* ============================================
   Tracking Promo
   ============================================ */
.tracking-promo {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}

.tracking-card {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: #f5f5f7;
  border-radius: 20px;
}

.btn-secondary {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid #d2d2d7;
  margin-top: 20px;
  display: inline-block;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-overlay {
  position: fixed;
  top: 48px;
  left: 0;
  width: 100%;
  height: calc(100vh - 48px);
  background: #fff;
  z-index: 999;
  display: none;
  padding: 20px;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-link {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
  color: #333;
  font-size: 17px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #f5f5f7;
  padding: 40px 0;
  font-size: 12px;
  color: #86868b;
  margin-top: 40px;
}

.footer-content {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
}
