/* Styl dla landing page - ciemna kolorystyka */

:root {
  --primary-color: #4285f4;
  --primary-dark: #3367d6;
  --secondary-color: #34a853;
  --secondary-dark: #2d8f47;
  --accent-color: #fbbc05;
  --text-light: #e0e0e0;
  --text-dimmed: #b0b0b0;
  --background-dark: #121212;
  --background-darker: #0a0a0a;
  --card-background: #1e1e1e;
  --card-background-hover: #2a2a2a;
  --white: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --border-radius: 8px;
}

.landing-page {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--background-dark);
  margin: 0;
  padding: 0;
}

/* Header styling */
.landing-header {
  background-color: #0c0c0c;
  padding: 15px 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;
}

.logo h1 {
  color: var(--white);
  font-size: 1.8rem;
  margin: 0;
}

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

/* Button styling */
.btn {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-login {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-login:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.btn-large {
  padding: 12px 24px;
  font-size: 1.1rem;
}

.btn-outline {
  background-color: transparent;
  /* color: var(--white) !important; */
  border: 2px solid var(--primary-color);
}

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

.btn-learn-more {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.btn-learn-more:after {
  content: "→";
  transition: transform 0.3s ease;
}

.btn-learn-more:hover:after {
  transform: translateX(5px);
}

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

/* Hero section */
.hero {
  padding: 80px 0;
  background: linear-gradient(
    to bottom,
    var(--background-dark),
    var(--background-darker)
  );
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(66, 133, 244, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
  }
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white);
}

.highlight {
  color: var(--primary-color);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-dimmed);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Stats section */
.stats {
  padding: 60px 0;
  background-color: var(--background-darker);
  position: relative;
}

.stats:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--primary-color),
    transparent
  );
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-card {
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 200px;
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--text-dimmed);
  font-size: 1rem;
}

/* Features section */
.features {
  padding: 80px 0;
  background-color: var(--background-darker);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--white);
}

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

.feature-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card-hover,
.feature-card:hover {
  transform: translateY(-5px);
  background-color: var(--card-background-hover);
}

.feature-card:hover .btn-learn-more {
  opacity: 1;
  transform: translateY(0);
}

.feature-hover-content {
  margin-top: 15px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--text-dimmed);
}

/* Gallery section */
.gallery {
  padding: 80px 0;
  background-color: var(--background-dark);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-caption {
  color: var(--white);
  font-size: 1.1rem;
  text-align: center;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close:hover {
  color: var(--primary-color);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius);
}

/* Testimonials section */
.testimonials {
  padding: 80px 0;
  background-color: var(--background-dark);
}

.testimonial-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  min-width: 300px;
  flex: 1;
  transition: transform 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: bold;
  color: var(--white);
}

.testimonial-role {
  color: var(--text-dimmed);
}

/* CTA section */
.cta {
  padding: 80px 0;
  background-color: var(--primary-dark);
  color: var(--white);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Footer */
.landing-footer {
  padding: 40px 0;
  background-color: #0a0a0a;
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-dimmed);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .stats-grid {
    flex-direction: column;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .header-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
