/*
Theme Name:     PickupLineSpots Child
Theme URI:      https://pickuplinespots.com/
Description:    Custom PickupLineSpots child theme for GeneratePress. Break the ice with style — dark blue + gold accent design.
Author:         SAM Marketing Agency
Author URI:     https://sammarketingagency.com/
Template:       generatepress
Version:        1.0.1
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    pickuplinespots-child
*/

/* ============================================
   1. CSS VARIABLES — Brand Colors
   ============================================ */
:root {
  --pl-navy:        #0A1F4F;
  --pl-blue:        #1E5FBF;
  --pl-blue-light:  #4FD1FF;
  --pl-gold:        #FFB800;
  --pl-gold-light:  #FFE066;
  --pl-gold-dark:   #E67E00;
  --pl-dark:        #020817;
  --pl-text:        #1a1a1a;
  --pl-muted:       #6b7280;
  --pl-bg:          #ffffff;
  --pl-card-bg:     #ffffff;
  --pl-border:      #e5e7eb;
  --pl-shadow:      0 4px 20px rgba(10, 31, 79, 0.08);
  --pl-shadow-lg:   0 12px 32px rgba(10, 31, 79, 0.15);
  --pl-radius:      18px;
}

/* Container */
.pl-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */
body,
.entry-content,
.entry-content p {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--pl-text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--pl-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem;   line-height: 1.25; }
h3 { font-size: 1.5rem; line-height: 1.3; }

a {
  color: var(--pl-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--pl-gold-dark); }

/* ============================================
   3. HEADER — Logo + Nav + Search
   ============================================ */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(10, 31, 79, 0.06);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 12px 0;
}

.inside-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-branding img.header-image {
  max-height: 70px;
  width: auto;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
}

.pl-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

/* Navigation */
.main-navigation {
  background: transparent !important;
}
.main-navigation .main-nav,
.main-navigation ul,
.main-navigation .menu,
#primary-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
}
.main-navigation .main-nav li,
.main-navigation ul li,
#primary-menu li {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}
.main-navigation .main-nav li a,
.main-navigation ul li a,
#primary-menu li a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--pl-navy) !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  transition: all 0.25s ease !important;
  display: inline-block !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
.main-navigation .main-nav li a:hover,
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
  color: var(--pl-blue) !important;
  background: rgba(30, 95, 191, 0.08) !important;
}

/* Header Search Form */
.pl-header-search {
  position: relative;
}
.pl-header-search input[type="search"] {
  border: 2px solid var(--pl-border);
  border-radius: 50px;
  padding: 9px 44px 9px 18px;
  font-size: 14px;
  width: 220px;
  background: #f9fafb;
  transition: all 0.25s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.pl-header-search input[type="search"]:focus {
  outline: none;
  border-color: var(--pl-gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.15);
  width: 260px;
}
.pl-header-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--pl-gold);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pl-header-search button:hover { background: var(--pl-gold-dark); }
.pl-header-search button svg { width: 16px; height: 16px; fill: var(--pl-navy); }

/* ============================================
   4. HERO SECTION
   ============================================ */
.pl-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('assets/hero-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.pl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,8,23,0.3) 0%, rgba(10,31,79,0.5) 100%);
  z-index: 1;
}
.pl-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  width: 100%;
  text-align: center;
  padding: 60px 24px;
}

.pl-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.15);
  border: 2px solid var(--pl-gold);
  color: var(--pl-gold-light);
  padding: 6px 18px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 18px;
  backdrop-filter: blur(8px);
}
.pl-hero-tag::before {
  content: "💛";
  font-size: 14px;
}

.pl-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 14px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.pl-hero-title span {
  color: var(--pl-gold);
  position: relative;
  display: inline-block;
  font-style: italic;
}

.pl-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  margin: 0 0 36px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Hero search */
.pl-hero-search {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.pl-hero-search input[type="search"] {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 18px 70px 18px 28px;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  color: var(--pl-navy);
}
.pl-hero-search input[type="search"]:focus {
  outline: none;
  box-shadow: 0 8px 32px rgba(255,184,0,0.4), 0 0 0 4px rgba(255,184,0,0.3);
}
.pl-hero-search input::placeholder { color: #94a3b8; font-style: italic; }
.pl-hero-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--pl-gold) 0%, var(--pl-gold-dark) 100%);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 12px rgba(230, 126, 0, 0.4);
}
.pl-hero-search button:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(230, 126, 0, 0.55);
}
.pl-hero-search button svg { width: 22px; height: 22px; fill: #fff; }

/* ============================================
   5. SECTION HEADINGS
   ============================================ */
.pl-section-title {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  font-weight: 900;
  color: var(--pl-navy);
  margin: 0 0 50px;
  position: relative;
  padding-bottom: 18px;
  letter-spacing: -0.02em;
}
.pl-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--pl-gold-light), var(--pl-gold), var(--pl-gold-dark));
  border-radius: 2px;
}

/* ============================================
   6. POSTS GRID — 3 column
   ============================================ */
.pl-posts-section {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.pl-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Post card */
.pl-post-card {
  background: var(--pl-card-bg);
  border-radius: var(--pl-radius);
  overflow: hidden;
  box-shadow: var(--pl-shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(10,31,79,0.06);
}
.pl-post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--pl-shadow-lg);
}

.pl-post-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pl-navy), var(--pl-blue));
  display: block;
}
.pl-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.pl-post-card:hover .pl-post-thumb img { transform: scale(1.06); }

.pl-post-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--pl-gold) 0%, var(--pl-gold-dark) 100%);
  color: var(--pl-navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 50px 50px 50px 4px;
  box-shadow: 0 4px 12px rgba(230, 126, 0, 0.35);
  z-index: 2;
}
.pl-post-badge::before {
  content: "💛 ";
  font-size: 10px;
}

.pl-post-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pl-post-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--pl-navy);
  margin: 0 0 12px;
}
.pl-post-title a {
  color: inherit;
  transition: color 0.2s;
}
.pl-post-title a:hover { color: var(--pl-blue); }

.pl-post-excerpt {
  color: var(--pl-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}

.pl-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--pl-border);
  margin-top: auto;
}
.pl-post-read-more {
  color: var(--pl-gold-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s, color 0.25s;
}
.pl-post-read-more:hover {
  color: var(--pl-navy);
  gap: 10px;
}
.pl-post-read-more::after {
  content: "→";
  transition: transform 0.25s;
}
.pl-post-card:hover .pl-post-read-more::after { transform: translateX(3px); }

.pl-post-date {
  color: var(--pl-muted);
  font-size: 12.5px;
  font-weight: 500;
}

/* ============================================
   7. PAGINATION
   ============================================ */
.pl-pagination {
  text-align: center;
  margin-top: 60px;
}
.pl-pagination .page-numbers,
.pl-pagination a.page-numbers,
.pl-pagination span.page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 3px;
  border-radius: 10px;
  background: #fff;
  color: var(--pl-navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--pl-border);
  transition: all 0.2s ease;
}
.pl-pagination .page-numbers:hover,
.pl-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--pl-gold), var(--pl-gold-dark));
  color: var(--pl-navy);
  border-color: var(--pl-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230,126,0,0.3);
}

/* ============================================
   8. SINGLE POST CONTENT
   ============================================ */
.entry-content {
  color: var(--pl-text);
}
.entry-content h2 {
  background: var(--pl-navy);
  color: var(--pl-gold);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 1.6rem;
  margin: 32px 0 18px;
}
.entry-content h3 {
  background: var(--pl-gold);
  color: var(--pl-navy);
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1.25rem;
  margin: 26px 0 14px;
}
.entry-content a {
  color: var(--pl-blue);
  font-weight: 600;
}

/* ============================================
   9. FOOTER — White bg, Black text
   ============================================ */
.site-footer {
  background: #ffffff;
  color: #1a1a1a;
  padding: 60px 0 24px;
  margin-top: 60px;
  border-top: 4px solid var(--pl-navy);
}
.site-footer a {
  color: #1a1a1a;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--pl-gold-dark); }

.site-footer h4 {
  color: #0A1F4F !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 800 !important;
  margin: 0 0 18px !important;
  font-size: 1.25rem !important;
  position: relative;
  padding-bottom: 10px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--pl-gold), var(--pl-gold-dark));
  border-radius: 2px;
}

.footer-widgets {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-widgets p {
  color: #4b5563;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

.footer-widgets ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-widgets ul li {
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-widgets ul li a {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
  transition: all 0.2s ease;
}
.footer-widgets ul li a:hover {
  color: var(--pl-gold-dark);
  transform: translateX(4px);
}

.site-info {
  text-align: center;
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
  padding-top: 24px;
  font-size: 14px;
  color: #6b7280;
}

/* ============================================
  10. BACK-TO-TOP BUTTON
   ============================================ */
.pl-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pl-gold) 0%, var(--pl-gold-dark) 100%);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(230, 126, 0, 0.45);
  z-index: 999;
  border: none;
  transition: transform 0.25s ease;
}
.pl-back-to-top.show { display: flex; }
.pl-back-to-top:hover { transform: translateY(-4px); }
.pl-back-to-top svg { width: 22px; height: 22px; fill: #fff; }

/* ============================================
  11. RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pl-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .inside-header { flex-direction: column !important; gap: 16px; }
  .pl-header-right { width: 100%; justify-content: center !important; flex-wrap: wrap !important; }
  .pl-header-search input[type="search"] { width: 180px; }
  .pl-header-search input[type="search"]:focus { width: 200px; }
  .pl-posts-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-widgets { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .pl-hero { min-height: 460px; }
  .pl-hero-inner { padding: 50px 18px; }
  .main-navigation .main-nav,
  #primary-menu {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}
@media (max-width: 480px) {
  .pl-hero-search input[type="search"] {
    padding: 14px 60px 14px 20px;
    font-size: 14px;
  }
  .pl-hero-search button { width: 44px; height: 44px; }
}
