
/*
Theme Name: DigiFlip Complete Theme
Description: Professional AI-inspired theme for DigiFlip with complete functionality, German language, mobile-optimized design, and all service pages with full content.
Version: 3.0
Author: DigiFlip Team
Text Domain: digiflip
*/

/* CSS Variables for Easy Customization */
:root {
  --primary-color: #1a73e8;
  --secondary-color: #00d4aa;
  --accent-color: #ff6b35;
  --dark-bg: #0a0e1a;
  --card-bg: #1a1f2e;
  --text-light: #ffffff;
  --text-gray: #b4b4b4;
  --success-color: #00c851;
  --warning-color: #ffbb33;
  --error-color: #ff4444;

  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    #0a0e1a 0%, 
    #1a1f2e 25%, 
    #2a2f3e 50%, 
    #1a1f2e 75%, 
    #0a0e1a 100%);
  z-index: -2;
  animation: bgAnimation 20s ease-in-out infinite;
}

@keyframes bgAnimation {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

/* Header and Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background: rgba(26, 31, 46, 0.98);
  box-shadow: var(--shadow-heavy);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none !important;
}

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

.nav-menu li a {
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 25px;
  transition: all 0.3s ease;
  color: var(--text-light);
  cursor: pointer;
}

.nav-menu li a:hover {
  background: var(--gradient-primary);
  transform: translateY(-2px);
  color: white;
}

.cta-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  color: white;
}

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

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--dark-bg);
  transform: translateY(-3px);
}

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

.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  color: white;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--text-gray);
  margin-bottom: 30px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: rgba(26, 31, 46, 0.5);
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 60px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 0.1;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-heavy);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 100px 0;
}

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

.about-text h2 {
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.about-features {
  list-style: none;
  margin-top: 30px;
}

.about-features li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-gray);
}

.about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.about-visual {
  background: var(--gradient-primary);
  height: 400px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: rgba(26, 31, 46, 0.7);
}

.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(--secondary-color);
  margin-bottom: 10px;
}

.stat-item p {
  color: var(--text-gray);
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: rgba(26, 31, 46, 0.8);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 170, 0.2);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(0, 212, 170, 0.3);
  border-radius: 10px;
  background: rgba(26, 31, 46, 0.8);
  color: var(--text-light);
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

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

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--text-light);
}

.contact-item i {
  color: var(--secondary-color);
  margin-right: 15px;
  font-size: 1.3rem;
  width: 25px;
}

.contact-item a {
  color: var(--text-light);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary-color);
}

/* Footer */
.main-footer {
  background: var(--card-bg);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 212, 170, 0.2);
}

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

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: var(--text-gray);
  line-height: 1.6;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 212, 170, 0.1);
  color: var(--text-gray);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-heavy);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* Page Content Styles */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  background: rgba(26, 31, 46, 0.6);
}

.page-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.page-content {
  padding: 80px 0;
}

.page-inner {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.page-inner h2 {
  color: var(--secondary-color);
  margin: 40px 0 20px 0;
}

.page-inner h3 {
  color: var(--primary-color);
  margin: 30px 0 15px 0;
}

.page-inner ul, .page-inner ol {
  margin: 20px 0;
  padding-left: 30px;
}

.page-inner li {
  margin-bottom: 10px;
  color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 20px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(26, 31, 46, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 0;
    transition: left 0.3s ease;
  }

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

  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .page-inner {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-section {
    padding: 100px 15px 60px;
  }

  .section {
    padding: 60px 0;
  }

  .services-section,
  .contact-section {
    padding: 80px 0;
  }

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

  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 212, 170, 0.3);
  border-top: 3px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

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

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

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

.d-flex { display: flex; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Print Styles */
@media print {
  .whatsapp-float,
  .main-header {
    display: none;
  }
}
