/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5vw;
}

.logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #0077ff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links .active {
  color: #0077ff;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: url('../assets/images/default/background.jpg') center/cover no-repeat;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero span {
  color: #0077ff;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: #0077ff;
  color: #fff;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #005fcc;
}

/* Section Layout */
section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
}

h2 {
  font-size: 2rem;
  color: #0077ff;
  margin-bottom: 1rem;
}

/* About Section */
.about-container {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.profile-photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: top center; /* or adjust as needed */
  border-radius: 0;
  flex-shrink: 0;
}

/* Skills Section */
.skills-title {
  font-size: 1.5rem;
  color: #0077ff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.skills-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  flex: 1;
  min-width: 200px;
}

.skills-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.skills-list li {
  margin-bottom: 0.5rem;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
}

/* Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  padding: 0.75rem;
  background: #0077ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #005fcc;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background: #fff;
  color: #888;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
  }
}