@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap');

/* Base Styles */
:root {
  --primary-color: #FF5757;
  --secondary-color: #3A86FF;
  --accent-color: #FFBE0B;
  --dark-color: #2B2D42;
  --light-color: #F8F9FA;
  --text-color: #333;
  --bg-color: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #FF5757 0%, #FF8A5B 100%);
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.highlight {
  color: var(--primary-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Navigation */
.nav-bar {
  background-color: var(--bg-color);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: rotate(10deg);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

.logo-highlight {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link i {
  font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  background-color: rgba(255, 87, 87, 0.08);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.start-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 87, 87, 0.3);
}

.start-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 87, 87, 0.4);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 87, 87, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 87, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 87, 87, 0);
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 5px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  padding: 120px 5% 60px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.primary-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 87, 87, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 87, 87, 0.4);
}

.primary-btn.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.secondary-btn {
  background: transparent;
  color: var(--text-color);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  border: 2px solid #e0e0e0;
}

.secondary-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.polaroid-stack {
  position: relative;
  width: 300px;
  height: 400px;
}

.polaroid {
  position: absolute;
  background: white;
  padding: 10px 10px 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  width: 270px;
  transition: all 0.5s ease;
}

.polaroid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.p1 {
  transform: rotate(-5deg);
  z-index: 3;
}

.p2 {
  transform: rotate(7deg) translateX(30px) translateY(-20px);
  z-index: 2;
}

.p3 {
  transform: rotate(-3deg) translateX(-30px) translateY(10px);
  z-index: 1;
}

.hero:hover .p1 {
  transform: rotate(-8deg) translateX(10px);
}

.hero:hover .p2 {
  transform: rotate(10deg) translateX(40px) translateY(-30px);
}

.hero:hover .p3 {
  transform: rotate(-6deg) translateX(-40px) translateY(20px);
}

/* Features Section */
.features {
  padding: 100px 5%;
  background-color: var(--light-color);
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* How It Works */
.how-it-works {
  padding: 100px 5%;
  text-align: center;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 50px 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.step-content h3 {
  margin-bottom: 10px;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.cta-container {
  margin-top: 50px;
}

/* Gallery Preview */
.gallery-preview {
  padding: 100px 5%;
  background-color: var(--light-color);
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Testimonials */
.testimonials {
  padding: 100px 5%;
  text-align: center;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 20px 0;
  background-color: white;
  position: relative;
}

.testimonial:before {
  content: '"';
  font-size: 6rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(255, 87, 87, 0.1);
  font-family: Georgia, serif;
}

.quote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.author {
  font-weight: 600;
  color: var(--primary-color);
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* About Section */
.about {
  padding: 100px 5%;
  background-color: var(--light-color);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.text-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.text-link:hover {
  gap: 0.8rem;
}

/* Newsletter */
.newsletter {
  padding: 70px 5%;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.newsletter p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--dark-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #1a1c2c;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 50px 5% 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 20px;
}

.footer-logo .logo-img {
  height: 35px;
}

.footer-logo .logo-text {
  color: white;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  min-width: 150px;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  position: relative;
}

.footer-column h4:after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  margin: 8px 0;
  display: block;
  transition: var(--transition);
}

.footer-column a:hover {
  color: white;
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
  transform: none !important;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px) !important;
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

/* Image Showcase Styles */
.image-showcase {
    padding: 100px 5%;
    background-color: var(--light-color);
    text-align: center;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.showcase-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    color: white;
    text-align: left;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.showcase-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-item {
        aspect-ratio: 16/9;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding-top: 150px;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 50px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    justify-content: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
}