/* ===================================
   DAJLAVE2025 - Web Agency Design
   Color Scheme: Deep Purple (#5b21b6) + Coral (#f472b6)
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #5b21b6;
  --accent-coral: #f472b6;
  --light-purple: #8b5cf6;
  --dark-charcoal: #1f2937;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --text-dark: #111827;
  --text-gray: #6b7280;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

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

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

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

/* ===================================
   LAYOUT
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-purple {
  background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
  color: white;
}

.section-purple h2,
.section-purple h3,
.section-purple p {
  color: white;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-purple);
}

.logo img {
  width: 50px;
  height: 50px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-coral);
  transition: width 0.3s ease;
  pointer-events: none;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary-purple);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-purple);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

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

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

.btn-featured {
  background: linear-gradient(135deg, var(--accent-coral), #ec4899);
  color: white;
  padding: 16px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
}

.btn-featured:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(244, 114, 182, 0.4);
}

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

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

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(91, 33, 182, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-features-text h1 {
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero-feature-list {
  list-style: none;
  margin: 2rem 0;
}

.hero-feature-list li {
  padding: 12px 0;
  font-size: 1.1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-feature-list li::before {
  content: '✓';
  color: var(--accent-coral);
  font-weight: 700;
  font-size: 1.3rem;
}

.hero-features-image {
  position: relative;
  animation: floatAnimation 6s ease-in-out infinite;
}

.hero-features-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

@keyframes floatAnimation {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===================================
   CARDS & GRIDS
   =================================== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-purple), var(--accent-coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-coral), #ec4899);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary-purple);
}

.card-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

/* ===================================
   SERVICE SECTION
   =================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-coral);
  box-shadow: 0 20px 40px rgba(91, 33, 182, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

/* ===================================
   TEAM SECTION
   =================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid var(--accent-coral);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.3rem;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent-coral);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-section {
  background: var(--bg-light);
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 5rem;
  color: var(--accent-coral);
  opacity: 0.2;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  color: var(--primary-purple);
  margin-bottom: 0.3rem;
}

.testimonial-info p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ===================================
   CTA SECTIONS
   =================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotateGradient 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   NEWSLETTER
   =================================== */

.newsletter-section {
  background: linear-gradient(135deg, #5b21b6, #8b5cf6);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.newsletter-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.newsletter-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 14px 30px;
  background: var(--accent-coral);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #ec4899;
  transform: scale(1.05);
}

/* ===================================
   CONTACT FORM
   =================================== */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

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

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

.contact-info h3 {
  margin-bottom: 2rem;
  color: var(--primary-purple);
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-coral), #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  margin-bottom: 0.3rem;
  color: var(--text-dark);
}

.contact-item-content p {
  margin: 0;
  color: var(--text-gray);
}

.map-container {
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================================
   ACCORDION / FAQ
   =================================== */

.accordion-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-item summary {
  padding: 20px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  color: var(--primary-purple);
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-coral);
  transition: transform 0.3s ease;
}

.accordion-item[open] summary::after {
  transform: rotate(45deg);
}

.accordion-item summary:hover {
  background: var(--bg-light);
}

.accordion-item p {
  padding: 0 25px 20px 25px;
  color: var(--text-gray);
}

/* ===================================
   BLOG
   =================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  padding: 30px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.blog-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-purple);
}

.blog-content h3 a:hover {
  color: var(--accent-coral);
}

.blog-excerpt {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--accent-coral);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  gap: 10px;
}

.article-header {
  padding: 120px 0 60px;
  background: var(--bg-light);
}

.article-title {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.article-content img {
  border-radius: 12px;
  margin: 2rem 0;
  width: 100%;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-purple);
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* ===================================
   STATS SECTION
   =================================== */

.stats-section {
  background: linear-gradient(135deg, var(--primary-purple), var(--light-purple));
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-coral);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

/* ===================================
   FOOTER
   =================================== */

footer {
  background: var(--dark-charcoal);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--accent-coral);
  margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.8rem;
  display: block;
}

.footer-section a:hover {
  color: var(--accent-coral);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

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

.social-links a:hover {
  background: var(--accent-coral);
  transform: translateY(-3px);
}

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

/* ===================================
   LEGAL PAGES
   =================================== */

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 20px 60px;
}

.legal-page h1 {
  margin-bottom: 1rem;
  color: var(--primary-purple);
}

.legal-page .last-updated {
  color: var(--text-gray);
  margin-bottom: 3rem;
}

.legal-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-purple);
}

.legal-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.legal-page p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.legal-page ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-page ul li {
  margin-bottom: 0.8rem;
  color: var(--text-gray);
}

/* ===================================
   ANIMATIONS
   =================================== */

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

.animate-on-scroll {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

.card:nth-child(1) { --delay: 0.1s; }
.card:nth-child(2) { --delay: 0.2s; }
.card:nth-child(3) { --delay: 0.3s; }
.card:nth-child(4) { --delay: 0.4s; }
.card:nth-child(5) { --delay: 0.5s; }
.card:nth-child(6) { --delay: 0.6s; }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 968px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: white;
    width: 100%;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    align-items: flex-start;
  }

  .nav-menu.active {
    left: 0;
  }

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

  .newsletter-form {
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

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

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

/* ===================================
   COOKIE BANNER
   =================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  max-width: 500px;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--primary-purple);
  color: white;
}

.cookie-accept:hover {
  background: var(--light-purple);
}

.cookie-decline {
  background: #e5e7eb;
  color: var(--text-dark);
}

.cookie-decline:hover {
  background: #d1d5db;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
