/* ============================================
   BLUE OAK WEB DESIGN — Page-Specific Styles
   Layouts unique to individual pages
   ============================================ */

/* ====================
   HOMEPAGE — HERO
   ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--white) 0%, var(--cream) 50%, rgba(74,144,184,0.06) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(200,151,62,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,144,184,0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(27,58,45,0.06);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--oak);
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.8s ease;
}

.hero-badge::before { content: '✦'; color: var(--gold); }

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 36px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-visual {
  position: relative;
  animation: fadeUp 1s ease 0.4s both;
}

/* Browser Mockup */
.hero-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(27,58,45,0.06);
}

.mockup-bar {
  background: var(--cream);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF6058; }
.mockup-dot:nth-child(2) { background: #FFC130; }
.mockup-dot:nth-child(3) { background: #27CA40; }

.mockup-url {
  margin-left: 12px; flex: 1;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--text-light);
}

.mockup-body {
  padding: 20px;
  min-height: 280px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mockup-block {
  border-radius: 10px;
  animation: shimmer 3s ease-in-out infinite;
}

.mb-1 {
  background: linear-gradient(135deg, var(--oak), var(--oak-light));
  grid-column: 1 / 3;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.8rem;
}

.mb-2 { background: rgba(74,144,184,0.12); height: 100px; }
.mb-3 { background: rgba(200,151,62,0.12); height: 100px; }
.mb-4 { background: rgba(27,58,45,0.06); grid-column: 1 / 3; height: 50px; }

/* Floating Stats */
.hero-stats {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  padding: var(--space-md) 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 20px;
  animation: fadeUp 1s ease 0.6s both;
}

.stat-item { text-align: center; }
.stat-num  { font-family: var(--font-heading); font-size: 1.5rem; color: var(--oak); }
.stat-label { font-size: 0.7rem; color: var(--text-light); font-weight: 500; margin-top: 2px; }


/* ====================
   SERVICES PAGE
   ==================== */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: 56px;
}


/* ====================
   PORTFOLIO PAGE
   ==================== */
.portfolio {
  background: var(--oak);
  color: var(--cream);
}

.portfolio .section-label { color: var(--gold-light); }
.portfolio .section-title { color: var(--cream); }
.portfolio .section-desc  { color: rgba(245,240,232,0.7); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: 56px;
}


/* ====================
   PROCESS SECTION
   ==================== */
.process { background: var(--cream); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: 56px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sky), var(--oak), var(--gold));
  opacity: 0.2;
}


/* ====================
   PRICING PAGE
   ==================== */
.pricing { background: var(--white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: 56px;
}


/* ====================
   TESTIMONIALS
   ==================== */
.testimonials { background: var(--cream); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: 56px;
}


/* ====================
   ABOUT SECTION
   ==================== */
.about-preview { background: var(--white); overflow: hidden; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
}

.about-image-bg {
  height: 100%;
  background: linear-gradient(135deg, var(--oak) 0%, var(--oak-light) 50%, var(--sky) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-content {
  color: var(--cream);
  text-align: center;
}

.about-image-content .big-icon { font-size: 4rem; margin-bottom: var(--space-sm); }
.about-image-content p { font-size: 0.9rem; opacity: 0.8; }

.about-text .section-desc { margin-bottom: 28px; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: 20px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
}

/* ====================
   FULL-WIDTH CTA SECTION
   ==================== */
.cta-section {
  background: linear-gradient(135deg, var(--oak) 0%, #1a4a4a 50%, var(--oak-light) 100%);
  color: var(--cream);
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,151,62,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: var(--space-md);
  position: relative; z-index: 2;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.7);
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative; z-index: 2;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  position: relative; z-index: 2;
}


/* ====================
   INNER PAGE HERO
   (for Services, About, etc.)
   ==================== */
.page-hero {
  background: linear-gradient(165deg, var(--cream) 0%, var(--white) 100%);
  padding: 160px 32px 80px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--space-md);
  animation: fadeUp 0.8s ease both;
}

.page-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease 0.1s both;
}


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-inner            { grid-template-columns: 1fr; }
  .hero-visual           { max-width: 500px; }
  .services-grid         { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid        { grid-template-columns: repeat(2, 1fr); }
  .process-steps         { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .pricing-grid          { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .price-card.featured   { transform: scale(1); }
  .about-inner           { grid-template-columns: 1fr; }
  .about-image           { height: 300px; }
  .footer-inner          { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links      { display: none; }
  .mobile-toggle  { display: block; }

  section         { padding: 70px 20px; }
  .hero           { padding: 100px 20px 60px; }

  .services-grid,
  .testimonials-grid,

  .portfolio-grid { grid-template-columns: 1fr; }

  .hero-actions   { flex-direction: column; }
  .cta-actions    { flex-direction: column; align-items: center; }

  .about-values   { grid-template-columns: 1fr; }

  .footer-inner   { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom  { flex-direction: column; gap: var(--space-md); text-align: center; }
}
