/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

:root {
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-primary: #ffffff;
  --text-secondary: #b5b5b5;
  --text-muted: #7a7a7a;

  --accent: #f97316;
}

h2 {
  margin-bottom: 30px;
  text-align: center;
}

body {
  font-family: var(--font-body);
  background: #0b0b0b;
  color: var(--text-primary);
  animation: pageFade 0.6s ease;
  line-height: 1.6;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Headings */
h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.5rem);
  margin-bottom: 20px;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.bg-base {
  background: #0b0b0b;
}

.bg-lift {
  background: #0f0f0f;
}

.bg-elevated {
  background: #101010;
}

section {
  border-top: 1px solid rgba(255,255,255,0.03);
}

/* FULLSCREEN LOADER */
#loader {
  position: fixed;
  inset: 0;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* SPINNER */
.spinner {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(255,255,255,0.1);
  border-top: 4px solid #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* HIDE STATE */
#loader.hide {
  opacity: 0;
  visibility: hidden;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
}

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

/* .logo {
  width: 100px;
  height: 50px;
} */

.logo img {
  width: 100%;
  height: 100%;
}

.nav-links a {
  margin-left: 20px;
  text-decoration: none;
  color: #ccc;
}

.btn-outline {
  border: 1px solid #555;
  padding: 8px 14px;
  border-radius: 8px;
}

/* MOBILE NAV */
#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .nav-links {
  right: 0;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 25px;
  background: #f97316;
  margin: 5px 0;
  transition: 0.4s;
}

/* ANIMATION WHEN OPEN */
#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  z-index: 999;
}

/* show only when menu is open */
#menu-toggle:checked ~ .nav-overlay {
  display: block;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

/* HERO */

.hero-media {
  height: 100vh;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 30px;
  display: block;
  position: relative;
}

.hero {
  padding: 0px;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - 90px);
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  
  background-image: linear-gradient(135deg,
      rgba(249, 115, 22, 0.25),
      rgba(0, 0, 0, 0.6)),
    url('/src/images/hero.jpeg');
  
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*.hero-video {
  display: none;
  width: 100%;
  max-width: 800px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}*/

.hero-content {
  top: 45%;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  position: absolute;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
}

.hero span {
  color: #f97316;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.btn-primary {
  background: #f97316;
  color: #000;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  margin-right: 10px;
}

.btn-secondary {
  border: 1px solid #666;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #eee;
}

/* BLOBS */
.blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(249, 115, 22, 0.25);
  border-radius: 50%;
  filter: blur(120px);
  animation: float 6s ease-in-out infinite;
}

.blob-1 {
  top: -200px;
  left: -200px;
}

@keyframes float {
  50% {
    transform: translateY(-20px);
  }
}

/* ABOUT */
.about {
  padding: 100px 0;
  text-align: center;
}

.motto {
  color: #f97316;
  font-weight: 500;
  margin: 10px 0 20px;
}

/* SERVICES */
.services {
  padding: 100px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  position: relative;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #121212;
  padding-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: 3s ease-out;
}

.service-card:hover {
  background: #181818;
  transform: translateY(-10px);
}

.card-blob {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: rgba(249, 115, 22, 0.25);
  border-radius: 50%;
  filter: blur(60px);
}

/* HEX IMAGE */
/*.hex-img {
  width: 250px;
  height: 250px;
  margin-bottom: 20px;
  clip-path: polygon(
    25% 6%, 75% 6%,
    100% 50%,
    75% 94%, 25% 94%,
    0% 50%
  );
  margin: auto;
  overflow: hidden;
}*/

.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.service-content {
  padding: 10px 15px;
}

.service-content h3 {
  text-align: center;
}

.service-content p {
  color: #bdbdbd;
}

.testimonials {
  padding: 100px 0;
  background: #0f0f0f;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background: #121212;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(249, 115, 22, 0.2);
}

.testimonial-card p {
  color: #ccc;
  font-size: 0.95rem;
}

.testimonial-card h4 {
  margin-top: 20px;
  color: #f97316;
  font-size: 0.85rem;
}

/* TEAM */
.team {
 padding-bottom: 50px; 
  
}

.team-card {
  display: flex; 
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .avatar {
  
} */

.avatar img {
  width: 100%;
  height: 100%;
}

.team-card p {
  text-align: left;
}

.gallery-preview {
  padding: 100px 0;
}

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

.gallery-card {
  position: relative;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card:hover {
  transform: scale(1.04);
}

/* SEE MORE CARD */
.gallery-card  span {
  color: #f97316;
  font-weight: 600;
  font-size: 1.1rem;
  border: 1px solid #f97316;
  padding: 12px 20px;
  border-radius: 30px;
  filter: blur(0px);
}

.gallery-more {
  position: relative;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f97316;
  font-weight: 600;
  font-size: 1.2rem;
}

/* CTA */
.cta {
  padding: 100px 0;
  text-align: center;
}

.contact-section {
  padding: 80px 20px;
  text-align: center;
}

#contactForm {
  max-width: 500px;
  margin: auto;
  display: grid;
  gap: 15px;
}

#contactForm input,
#contactForm textarea {
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#contactForm button {
  padding: 14px;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #00f5ff, #0077ff);
  border: none;
  transition: transform 0.3s ease;
}

#contactForm button:hover {
  transform: scale(1.05);
}

/* FOOTER */
.footer {
  background: #0a0a0a;
  padding: 60px 0 20px;
  margin-top: 100px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand h3 {
  font-family: 'Poppins', sans-serif;
  color: #f97316;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-section h4 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1rem;
}

.footer-section p {
  color: #bbb;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #f97316;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #777;
  font-size: 0.8rem;
}

.creator a {
  font-size: 1.0rem;
  color: grey;
}

/* SCROLL ANIMATION */
/*.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: reveal 1s ease forwards;
}*/

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE */

@media (min-width: 1024px) {
  #menu-toggle {
    display: none;
  }

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

  .menu-icon {
    display: none;
  }

  .nav-links {
    display: flex !important;
    gap: 20px;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }

  .team {
    padding: 0;
    margin: 0;
  }

  .team-card {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .menu-icon {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 70px;
    right: 5%;
    background: #121212;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    display: none;
  }
  
  #menu-toggle:checked+.menu-icon+.nav-links {
    display: flex;
  }
  
  .nav-links a {
    margin: 10px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
}

/* =========================
   DESKTOP RESPONSIVE FIX
========================= */

@media (min-width: 1024px) {

  /* CONTAINER WIDTH CONTROL */
  .container {
    max-width: 1200px;
  }

  /* HERO FIX */
  .hero-content {
    max-width: 700px;
    margin: auto;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  /* NAVBAR - show full nav */
  .menu-icon {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    background: transparent;
    flex-direction: row;
  }

  /* SERVICES GRID */
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* TESTIMONIALS */
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* TEAM */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  /* GALLERY */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ABOUT TEXT */
  .about-text {
    max-width: 800px;
    margin: auto;
  }

  /* .team-card { 
    flex-direction: row-reverse;
    gap: 50px;
    justify-content: space-around;
    align-items: center;
  }*/
}