/* FOR HOME LANDING PAGE */ 
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* BODY */
body {
    color: #fff;
    background: #000;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.logo a {
    font-weight: bold;
    font-size: 18px;
}

/* NAV FIX */
.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links a {
    margin: 0 15px;
    color: #aaa;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

/* HERO SECTION WITH BACKGROUND */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 100px;

    padding: 140px 80px;
    min-height: 100vh;

    flex-wrap: wrap;

    background: url("assets/forest.jpg") no-repeat center center/cover;
    position: relative;
}

/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

/* KEEP CONTENT ABOVE OVERLAY */
.hero * {
    position: relative;
    z-index: 1;
}

/* HERO TEXT */

.hero-left {
    margin-right: 40px;
}

.hero-right {
    margin-left: 40px;
}

.hero-left,
.hero-right {
    max-width: 320px;
}

.hero-left h1 {
    font-size: 42px;
}

.hero-left p {
    margin: 15px 0;
    color: #ccc;
}

.hero-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* BUTTON */
.btn-outline {
    border: 1px solid #aaa;
    padding: 10px 18px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* PROFILE IMAGE */
.hero-center img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 25px rgba(255,255,255,0.2);

    animation: float 3s ease-in-out infinite;
}

/* FLOAT ANIMATION */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* RIGHT SIDE */
.hero-right h4 {
    color: #aaa;
    margin-bottom: 10px;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 120px 80px;
    min-height: 100vh;

    gap: 60px;
    flex-wrap: wrap;

    background: #0b0b0b;
}

.about-text {
    max-width: 600px;
}

.about-text h4 {
    color: #aaa;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* INFO BOXES (THIS IS THE KEY FIX) */
.info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.info div {
    background: #111;
    border: 1px solid #333;

    padding: 15px 20px;
    border-radius: 10px;

    min-width: 140px;
    text-align: left;

    transition: 0.3s;
}

.info div span {
    display: block;
    color: #fff;
    margin-top: 5px;
    font-weight: bold;
}

/* HOVER */
.info div:hover {
    border-color: #fff;
    transform: translateY(-3px);
}

.about-img img {
    width: 260px;
    height: 320px; 
    object-fit: cover;

    border-radius: 15px; 
    border: 2px solid #444;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

/* FOR SKILLS */

.skills {
    padding: 120px 80px;
    text-align: center;
}

.skills h1 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* GRID */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: auto;
}

/* NORMAL BOX */
.skill-box {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
}

/* HOVER */
.skill-box:hover {
    border-color: #fff;
    transform: translateY(-3px);
}

/* LOCKED */
.locked {
    color: #777;
    background: #111;
}

/* LOADING */
.loading {
    color: #999;
    font-style: italic;
}

/* FOR INTERESTS */

.interests {
    padding: 120px 80px;
}

.interests h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.interests-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

/* LEFT SIDE BUTTONS */
.left {
    display: flex;
    flex-direction: column; /* 🔥 vertical */
    gap: 15px;
}

.left button {
    width: 180px; /* 🔥 same width */
    padding: 12px;

    border: 1px solid #aaa;
    background: transparent;
    color: #aaa;

    text-align: center;
    cursor: pointer;

    transition: 0.3s;
}

.left button:hover {
    background: #fff;
    color: #000;
}

/* RIGHT SIDE IMAGES */
.right {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    margin-top: 0;
}

.right img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;

    transition: 0.3s;
}

.right img:hover {
    transform: scale(1.1);
}

/* FOR CONTACT */

body {
  background: #0b0b0b;
  color: #fff;
  font-family: Arial, sans-serif;
}

/* SECTION */
.contact {
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
}

.contact h1 {
    margin-bottom: 30px;
}

/* MAIN BOX */
.contact-box {
  max-width: 900px;
  margin: auto;
  display: flex;
  border: 1px solid #555;
  border-radius: 10px;
  overflow: hidden;
}

/* LEFT SIDE */
.contact-left {
  width: 50%;
  padding: 30px;
  text-align: left;
  border-right: 1px solid #555; /* divider */
}

.contact-left h3 {
  margin-bottom: 10px;
  margin-top: 20px;
}

/* RIGHT SIDE */
.contact-right {
  width: 50%;
  padding: 30px;
}

/* FORM */
.contact-right input,
.contact-right textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  background: transparent;
  border: 1px solid #555;
  color: #fff;
  border-radius: 5px;
}

.contact-right textarea {
  height: 120px;
  resize: none;
}

/* BUTTON */
.contact-right button {
  width: 100%;
  padding: 10px;
  background: #e6c29f;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}