
/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', Arial, sans-serif; color: #333; background: url('../images/background.svg') no-repeat center center/cover; }

/* Navbar */
header { background-color: rgba(255,255,255,0.9); box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: fixed; top: 0; width: 100%; z-index: 1000; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 60px; cursor: pointer; }
nav ul { list-style: none; display: flex; align-items: center; }
nav ul li { margin-left: 1.5rem; }
nav ul li a { text-decoration: none; font-weight: 500; color: #333; transition: color 0.2s ease; }
nav ul li a:hover { color: #007CF0; }

/* Hero */
.hero { height: 100vh; background: url('../images/hero-bg.svg') no-repeat center center/cover; margin-top: 80px; display: flex; justify-content: center; align-items: center; text-align: center; }
.hero-overlay { background-color: rgba(0, 0, 0, 0.5); padding: 2rem; border-radius: 12px; }
.hero-logo { width: 150px; margin-bottom: 1rem; }
.hero-title { font-size: 3rem; color: #fff; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; color: #ddd; margin-bottom: 2rem; }
.btn-cta { display: inline-block; background-color: #007CF0; color: #fff; padding: 0.75rem 1.5rem; border-radius: 50px; text-decoration: none; font-weight: 500; transition: background-color 0.3s ease; }
.btn-cta:hover { background-color: #005bb5; }

/* Sections */
section { padding: 4rem 2rem; }
.section-header h2 { font-size: 2rem; text-align: center; margin-bottom: 2rem; position: relative; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 4px; background-color: #007CF0; margin: 0.5rem auto; border-radius: 2px; }

/* Services */
.services-section .services-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.service-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 2rem; text-align: center; width: 280px; }
.service-card img { width: 60px; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.25rem; color: #007CF0; margin-bottom: 1rem; }
.service-card p { color: #555; }

/* Portfolio Grid Thumbnails */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.portfolio-thumb {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.portfolio-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.lightbox-image {
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 1rem;
  transform: translateY(-50%);
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* About */
.about-section .about-content { display: flex; align-items: center; justify-content: center; flex-direction: column; max-width: 800px; margin: 0 auto; font-size: 1.1rem; color: #555; line-height: 1.6; }
.about-photo { border-radius: 50%; width: 200px; height: 200px; margin-bottom: 1rem; }

/* Testimonials */
.testimonials-section .testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.testimonial-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 2rem; text-align: center; }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 1rem; }
.testimonial-card h4 { font-weight: 600; color: #007CF0; }

/* Pricing */
.pricing-page { background-color: #f9fafb; padding-top: 2rem; padding-bottom: 2rem; }
.pricing-page .pricing-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: #fff; border: 2px solid #e5e7eb; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); padding: 2rem; text-align: center; width: 300px; display: flex; flex-direction: column; }
.pricing-card.popular { border-color: #007CF0; }
.pricing-card.popular h3 { color: #007CF0; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.pricing-card .price { font-size: 2.5rem; margin-bottom: 1rem; color: #111827; }
.pricing-card ul { list-style: none; margin: 1rem 0 1.5rem 0; padding: 0; text-align: left; flex-grow: 1; }
.pricing-card ul li { margin-bottom: 0.75rem; padding-left: 1.5rem; position: relative; }
.pricing-card ul li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #10B981; }
.pricing-card .btn-cta { margin-top: auto; padding: 0.75rem 1.5rem; background-color: #007CF0; color: #fff; border: none; border-radius: 9999px; text-decoration: none; font-weight: 500; transition: background-color 0.3s ease; }
.pricing-card .btn-cta:hover { background-color: #005bb5; }

/* Contact */
.contact-page .contact-form-container { max-width: 600px; margin: 2rem auto; background: #fff; padding: 2rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.contact-page .contact-form input, .contact-page .contact-form textarea { width: 100%; padding: 0.75rem; margin: 0.5rem 0; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; }
.contact-page .contact-form button { width: 100%; padding: 0.75rem; background-color: #007CF0; color: #fff; border: none; border-radius: 50px; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease; }
.contact-page .contact-form button:hover { background-color: #005bb5; }

/* Footer */
.site-footer { background-color: rgba(0,0,0,0.8); color: #fff; padding: 2rem 0; margin-top: 2rem; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-contact, .footer-social { flex: 1; min-width: 250px; margin: 1rem; }
.footer-contact h3, .footer-social h3 { margin-bottom: 1rem; }
.footer-contact address { font-style: normal; line-height: 1.6; }
.footer-social .social-icons { display: flex; gap: 1rem; }
.footer-social .social-icons a img { width: 40px; height: 40px; filter: invert(1); transition: transform 0.3s ease; }
.footer-social .social-icons a img:hover { transform: scale(1.1); }

/* Back to Top */
#backToTop { position: fixed; bottom: 30px; right: 30px; background: #007CF0; color: #fff; border: none; padding: 0.75rem 1rem; border-radius: 50%; cursor: pointer; display: none; }

/* Responsive */
@media (max-width: 768px) {
    .hero { margin-top: 100px; }
    .nav-container { flex-direction: column; align-items: flex-start; }
    nav ul { margin-top: 1rem; flex-direction: column; width: 100%; }
    nav ul li { margin: 0.5rem 0; }
    .testimonial-card { font-size: 0.9rem; }
    .footer-container { flex-direction: column; align-items: center; }
}
