/* ============================================
   Lava Digital Group - Main Stylesheet
   Primary Color: #eb088c
   Font: Plus Jakarta Sans
   ============================================ */

/* CSS Variables */
:root {
  --primary: #eb088c;
  --primary-dark: #c60770;
  --primary-light: #fce4ec;
  --primary-gradient: linear-gradient(135deg, #eb088c 0%, #ff6b9d 100%);
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --gray: #f5f5f5;
  --black: #000000;
  --footer-bg: #1a1a1a;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(235,8,140,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --container: 1200px;
  --section-padding: 80px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

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

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

/* Section Styles */
section {
  padding: var(--section-padding) 0;
}

.section-gray {
  background: var(--gray);
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--text-dark);
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow);
}

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

.mobile-menu .nav-link {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding: 140px 0 80px;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
  background-size: 50px;
  opacity: 0.5;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

/* Hero Page (non-home) */
.hero-page {
  padding: 120px 0 60px;
  background: var(--primary-gradient);
  color: var(--white);
}

.hero-page h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.hero-page p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-top: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.breadcrumb span {
  color: var(--white);
}

/* ============================================
   Services
   ============================================ */
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 20px;
}

.service-card .btn {
  padding: 10px 24px;
  font-size: 14px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ============================================
   Why Choose Us
   ============================================ */
.benefit-card {
  text-align: center;
  padding: 30px;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--white);
}

.benefit-card h3 {
  margin-bottom: 10px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* ============================================
   Portfolio
   ============================================ */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h3 {
  color: var(--white);
  margin-bottom: 5px;
}

.project-overlay span {
  font-size: 14px;
  color: var(--primary);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ============================================
   Blog
   ============================================ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-content h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.blog-content p {
  font-size: 14px;
  margin-bottom: 15px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--text-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Blog Detail */
.article-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  padding: 50px 0;
}

.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 20px 0;
}

.article-content h2 {
  margin: 30px 0 15px;
}

.article-content ul {
  list-style: disc;
  margin-left: 20px;
  color: var(--text-light);
}

.article-content li {
  margin-bottom: 10px;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--gray);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 25px;
}

.sidebar-widget h4 {
  margin-bottom: 15px;
}

.related-post {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.related-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.related-post h5 {
  font-size: 14px;
  margin-bottom: 5px;
}

.related-post span {
  font-size: 12px;
  color: var(--text-light);
}

/* ============================================
   About Page
   ============================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-section img {
  width: 100%;
  border-radius: var(--radius);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid var(--primary-light);
}

.team-card h4 {
  margin-bottom: 5px;
}

.team-card span {
  color: var(--primary);
  font-size: 14px;
}

/* ============================================
   Service Pages (Spotify & Viber)
   ============================================ */
.hero-spotify {
  background: linear-gradient(135deg, #1DB954 0%, #0d5c2f 100%);
}

.hero-viber {
  background: linear-gradient(135deg, #665CAC 0%, #3d3570 100%);
}

.ad-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.format-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.format-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 15px;
}

.step h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.step p {
  font-size: 14px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  padding: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius);
  color: var(--white);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-item span {
  font-size: 24px;
}

.contact-item h4 {
  color: var(--white);
  margin-bottom: 5px;
  font-size: 16px;
}

.contact-item p {
  color: rgba(255,255,255,0.9);
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.form-success {
  display: none;
  padding: 20px;
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 20px;
}

/* Map */
.map-container {
  margin-top: 50px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--white);
}

.footer p {
  color: rgba(255,255,255,0.7);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Scroll Animation Observer */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 60px;
  }

  h1 { font-size: 40px; }
  h2 { font-size: 32px; }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step:nth-child(4),
  .step:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-image {
    order: -1;
  }

  .services-grid,
  .benefits-grid,
  .projects-grid,
  .blog-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .ad-formats-grid {
    grid-template-columns: 1fr;
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .story-section img {
    order: -1;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .article-container {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}
