/* =====================================
   GLOBAL
===================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0f0f0f;
  color: #eaeaea;
  overflow-x: hidden;
}

section:not(.hero) {
  padding: 100px 10%;
}

/* =====================================
   NAVBAR
===================================== */
.navbar {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 140, 0, 0.2);
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #ff8c00;
  text-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
}

.btn-nav {
  padding: 8px 18px;
  border-radius: 30px;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  color: black !important;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 140, 0, 0.5);
}

.menu-toggle {
  display: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* =====================================
   HERO
===================================== */
.hero {
  height: 100vh;
  width: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.9)
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 40%;
  color: white;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 52px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 20px;
  color: #ddd;
}

/* =====================================
   LOGIN PAGE (MODERN GLASS STYLE)
===================================== */
.login {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #1a1a1a, #0f0f0f);
  padding-top: 120px;
  flex-direction: column;
}

.login form {
  width: 100%;
  max-width: 400px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 140, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.login h1 {
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Input Fields */
.login input,
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
  transition: 0.3s ease;
  width: 100%;
}

.login input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff8c00;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.5);
}

/* Login Button */
.login button,
.contact-form button {
  padding: 14px;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  color: black;
  font-size: 15px;
  transition: 0.3s ease;
}

.login button:hover,
.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.5);
}

/* =====================================
   PROJECTS PAGE
===================================== */
.projects {
  text-align: center;
}

.projects h1 {
  font-size: 36px;
  margin-bottom: 40px;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.projects .card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 140, 0, 0.2);
  transition: 0.3s ease;
}

.projects .card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.projects .card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.projects .card p {
  font-size: 14px;
  color: #ddd;
}

.projects .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.4);
}

/* =====================================
   CONTACT PAGE
===================================== */
.contact-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
}

.contact-info,
.contact-form {
  flex: 1 1 400px;
}

.contact-info h1 {
  font-size: 36px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info p {
  margin-bottom: 30px;
  color: #ddd;
}

.contact-info .info-box {
  margin-bottom: 20px;
}

.contact-info .info-box h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #ffb347;
}

.contact-info .info-box p {
  font-size: 14px;
  color: #ccc;
}

/* =====================================
   CEO SECTION
===================================== */
.ceo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.ceo-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

.ceo-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6a00, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ceo-text p {
  font-size: 16px;
  color: #ddd;
  line-height: 1.6;
}

/* =====================================
   FOOTER
===================================== */
footer {
  text-align: center;
  padding: 30px 10%;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 140, 0, 0.2);
  color: #ccc;
}

/* =====================================
   MOBILE NAV
===================================== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 15px;
    flex-direction: column;
    background: #1b1b1b;
    width: 260px;
    padding: 25px 25px;
    border-radius: 15px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 18px 0;
  }

  .nav-links a {
    font-size: 16px;
    color: #eee;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .contact-page {
    flex-direction: column;
    align-items: center;
  }

  .contact-container {
    gap: 30px;
  }

  .ceo {
    flex-direction: column;
    align-items: center;
  }
}

/* =====================================
   ANIMATION
===================================== */
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
