@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* --- Global Styles --- */
body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
  color: #ffffff;
  margin: 0;
  padding: 0;
}



/* --- Navbar --- */
header {
  background: #000;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #f13f08;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff4b2b;
}

/* --- Hamburger Menu --- */
.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: #f13f08;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('../assets/PROFILE.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
}


.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
}

.hero h2 {
  font-size: 3.1rem;
  font-weight: 900;
  margin-top: 10px;
}

.hero p {
  font-size: 1.3rem;
  max-width: 600px;
  margin-top: 15px;
  line-height: 1.6;
}

/* --- Buttons --- */
.btn {
  background: #f13f08;
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 15px rgba(255,42,109,0.7);
}

/* --- Social Links --- */
.social-links a {
  color: #f13f08;
  font-size: 28px;
  margin: 0 12px;
  transition: 0.3s ease;
}

.social-links a:hover {
  color: #ffffff;
  transform: translateY(-4px);
  text-shadow: 0 0 10px #ff7f50;
}

/* --- Sections --- */
section {
  padding: 40px 20px;
  text-align: center;
}

/* --- Skills Section --- */
.skills {
  text-align: center;
  padding: 40px 20px;
}

.skills h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Skills Tags */
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.tag {
  background: #000;
  color: #ff7f50;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 0 10px rgba(255, 126, 0, 0.3);
  transition: 0.3s ease;
}

.tag:hover {
  background: #111;
  box-shadow: 0 0 15px rgba(255, 126, 0, 0.5);
  transform: translateY(-3px);
}

.tag i {
  margin-right: 8px;
  font-size: 1.1rem;
  color: #ff7f50;
}

.tag .percent {
  margin-left: 10px;
  font-size: 0.9rem;
  color: #ffd2b3;
  font-weight: 700;
}

/* --- Portfolio / Cards / Services --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5px;
  justify-items: center;
  margin-top: 20px;
}

.card {
  background: #333;
  padding: 0.9rem 7rem;
  border-radius: 15px;
  box-shadow: 0 6px 15px #ff4b2b;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card i {
  color: #ff4b2b;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.card:hover i {
  color: #005ecc;
}

.card h3 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  color: #111;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #222;
}

/* --- Video & About Me button --- */
section video + .btn,
section video {
  display: block;
  margin: 20px auto;
  max-width: 80%;
  border-radius: 10px;
}

section video {
  display: block;
  margin: 0 auto;
  max-width: 50%;
  border-radius: 15px;
}

/* --- Contact Section --- */
.contact a {
  color: #ff4b2b;
  text-decoration: none;
  margin: 0 0.3rem;
  font-weight: bold;
  transition: color 0.3s;
}

.contact a:hover {
  color: #fff;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input, form textarea {
  padding: 1rem;
  border: none;
  border-radius: 8px;
  outline: none;
}

form button {
  background: #f13f08;
  color: #fff;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

form button:hover {
  background: #fff;
  color: #f13f08;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 1.5rem;
  background: #1a1a1a;
  margin-top: 2rem;
  border-top: 2px solid;
  border-image: linear-gradient(90deg, #ff4b2b, #ff6f4b) 1;
}

/* --- WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #128C7E;
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    font-size: 2rem;
    color: #f13f08;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 2rem;
    transition: right 0.5s ease-in-out;
  }

  .nav-links.active {
    right: 0;
  }

  header ul li {
    margin: 15px 0;
  }

  .hero h1 { font-size: 2.8rem; }
  .hero h2 { font-size: 2rem; }
  .hero p { font-size: 1rem; max-width: 90%; }

  /* Hero background for mobile */
  .hero {
    background-position: center top; /* keep main subject visible */
    background-size: cover;
  }

  .card {
    padding: 1rem 2rem;
    width: 90%;
  }

  section video { max-width: 90%; }

  .skills-tags { gap: 12px; flex-direction: column; }

  footer { font-size: 0.9rem; padding: 1rem 0.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1.5rem; }
  .hero p { font-size: 0.9rem; }

  .btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; }
  .tag { font-size: 0.85rem; padding: 8px 16px; }
  .social-links a i { font-size: 1.8rem; }
  form input, form textarea, form button { font-size: 0.9rem; padding: 0.8rem; }
  .grid { gap: 10px; }

  .hero { background-position: center top; background-size: cover; }
}
