/**
 * Main CSS File - Mobile First Approach
 * 
 * @package ZajmijtoTheme
 * @since 1.0.0
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--dark-gray);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);
}

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

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* Header - Migrated to TailwindCSS */
/* All header styles now use TailwindCSS classes in header.php */
/* .header, .navbar, .navbar-brand, .navbar-menu, .navbar-actions */
/* .mobile-menu-toggle, .hamburger-line - replaced with TailwindCSS */

/* Navigation Menu - Migrated to TailwindCSS */
/* All navigation styles now use TailwindCSS classes in navigation.php */
/* .nav-menu, .nav-menu a, hover effects - replaced with TailwindCSS */
/* Active states and underline effects handled by custom walker classes */

/* Buttons */
.btn, .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-secondary:hover {
  background-color: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-gray);
  border-color: var(--medium-gray);
}

.btn-outline:hover {
  background-color: var(--dark-gray);
  color: var(--white);
  border-color: var(--dark-gray);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

.btn-full {
  width: 100%;
}

/* Hero section now uses TailwindCSS classes */

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Motion preferences now handled by TailwindCSS motion-reduce: classes */

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-in.animate-visible,
.no-js .animate-fade-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-delay-1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.animate-fade-in-delay-1.animate-visible,
.no-js .animate-fade-in-delay-1 {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-delay-2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.animate-fade-in-delay-2.animate-visible,
.no-js .animate-fade-in-delay-2 {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-in-up.animate-visible,
.no-js .animate-slide-in-up {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-in-left.animate-visible,
.no-js .animate-slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-in-right.animate-visible,
.no-js .animate-slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale-in.animate-visible,
.no-js .animate-scale-in {
  opacity: 1;
  transform: scale(1);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Responsive Design - Tablet */
@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: var(--text-4xl);
  }
  
  /* Navigation styles migrated to TailwindCSS */
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .hero-text {
    text-align: left;
  }
  
  .hero-title {
    font-size: var(--text-5xl);
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* Responsive Design - Desktop */
@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 4rem;
  }
  
  .hero-content {
    gap: 6rem;
  }
}

/* Responsive Design - Wide Desktop */
@media (min-width: 1280px) {
  .container {
    padding: 0 3rem;
  }
}
