/* ============================================
   BrightSpark — Web Design & Development Studio
   Colors: #FF6B35 orange / #004E89 blue / #FAFAFA bg
   Fonts: Space Grotesk + Inter
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  color: #2D2D2D;
  background: #FAFAFA;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A2E;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Lang Toggle --- */
.lang-toggle {
  background: transparent;
  border: 1.5px solid #FF6B35;
  color: #FF6B35;
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.lang-toggle:hover {
  background: #FF6B35;
  color: #fff;
}

/* --- Image Cover --- */
.img-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- Header / Nav --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.logo {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #FF6B35;
}

.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 4px 0;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  background: #1A1A2E;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6B7280;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF6B35;
  transition: width 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1A1A2E;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle-label {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: #FAFAFA;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle-input:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --- Hero --- */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  background: #FAFAFA;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #FF6B35;
}

.hero-content p {
  font-size: 1.15rem;
  color: #6B7280;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  justify-self: center;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: #FF6B35;
  opacity: 0.15;
  top: 10%;
  right: 0;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: #004E89;
  opacity: 0.12;
  bottom: 15%;
  left: 10%;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  background: #F7C948;
  opacity: 0.2;
  top: 50%;
  right: 30%;
}

@media (max-width: 767px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero {
    min-height: auto;
  }
  .hero-visual {
    max-width: 280px;
    aspect-ratio: 1;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-primary {
  background: #FF6B35;
  color: #fff;
}

.btn-secondary {
  background: #004E89;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #FF6B35;
  border: 2px solid #FF6B35;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #fff;
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.section-alt::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-icon-orange { background: rgba(255, 107, 53, 0.12); color: #FF6B35; }
.service-icon-blue { background: rgba(0, 78, 137, 0.1); color: #004E89; }
.service-icon-yellow { background: rgba(247, 201, 72, 0.15); color: #c99a00; }
.service-icon-dark { background: rgba(26, 26, 46, 0.08); color: #1A1A2E; }

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p {
  color: #6B7280;
  font-size: 0.95rem;
}

@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #e0e0e0;
  aspect-ratio: 4/3;
}

.portfolio-item.featured {
  grid-row: span 2;
  aspect-ratio: auto;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ddd 0%, #c8c8c8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.85rem;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 107, 53, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.portfolio-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 1023px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-item.featured {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Team / About --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.about-text p {
  color: #6B7280;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-image {
  background: linear-gradient(135deg, #FF6B35 0%, #004E89 100%);
  border-radius: 16px;
  aspect-ratio: 4/3;
  opacity: 0.2;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #FF6B35;
}

.stat-label {
  font-size: 0.9rem;
  color: #6B7280;
  margin-top: 4px;
}

@media (max-width: 767px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .stat-number {
    font-size: 2rem;
  }
}

/* --- Contact Form --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.contact-info p {
  color: #6B7280;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B35;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.9rem;
  color: #1A1A2E;
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 0.95rem;
  color: #6B7280;
}

.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: #FAFAFA;
  color: #2D2D2D;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #FF6B35;
  background: #fff;
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 1rem;
  color: #9CA3AF;
  pointer-events: none;
  transition: all 0.2s;
  background: transparent;
  padding: 0 4px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.8rem;
  color: #FF6B35;
  background: #fff;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

@media (max-width: 767px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    padding: 28px;
  }
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: #6B7280;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 100px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
  background: #1A1A2E;
  color: #E5E7EB;
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  color: #9CA3AF;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.footer-col a {
  display: block;
  color: #9CA3AF;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FF6B35;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color: #6B7280;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* --- Process Section --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 107, 53, 0.2);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: #6B7280;
}

@media (max-width: 767px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* --- Testimonial --- */
.testimonial {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial blockquote {
  font-size: 1.15rem;
  color: #4B5563;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: #1A1A2E;
}

.testimonial cite span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: #6B7280;
}
