/* =========================================================
   PORTFOLIO STYLESHEET — SIMPLE VERSION
   Developer: Soxien Lanugan (3rd Year IT Student)
   ========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

:root {
  --bg-color: #8dbeff;
  --bg-alt: #73a5d3;
  --accent: #11c7ce;
  --text-main: #1f2937;
  --text-muted: #293136;
  --border-color: #010816;
}

body {
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* ---------- HEADER ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f79de0;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

.menu-btn {
  display: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 110px 8% 70px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--text-main);
}

.section-title p {
  color: var(--text-muted);
  margin-top: 8px;
}

/* ---------- BUTTON ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #1d4ed8;
}

/* ---------- HERO ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-height: 90vh;
}

.hero-text {
  flex: 1;
}

.welcome {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-text h2 {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 36px;
}

.hero-text p {
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-alt);
}

/* ---------- ABOUT ---------- */
.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  background: var(--bg-alt);
  padding: 40px;
  border-radius: 12px;
}

.about-image img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
}

.about-text h3 {
  color: var(--accent);
  margin-bottom: 12px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.about-text .info {
  display: flex;
  gap: 40px;
}

.about-text .info h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.about-text .info span {
  font-weight: 600;
}

/* ---------- HOBBIES ---------- */
.hobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.hobby-card {
  background: var(--bg-alt);
  padding: 30px 22px;
  border-radius: 10px;
  text-align: center;
}

.hobby-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.hobby-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hobby-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}



/* ---------- CONTACT ---------- */
.contact-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, sans-serif;
  color: #333;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin: 8px 0;
  color: #111;
}

.section-header p {
  color: #666;
  font-size: 1rem;
}

/* Box Columns */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Common Card Box Styling */
.contact-card {
  background-color: #73a5d3;
  border: 1px solid #68a6f8;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #0e223d;
}

.card-header h3 {
  font-size: 1.35rem;
  margin: 0 0 6px 0;
  color: #111;
}

.card-header p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Info List */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-list i {
  font-size: 1.1rem;
  color: #3e89fa;
  width: 38px;
  height: 38px;
  background-color: #f0f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-list strong {
  display: block;
  font-size: 0.8rem;
  color: #201f1f;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-list a, 
.info-list span {
  font-size: 0.95rem;
  color: #222;
  text-decoration: none;
  font-weight: 500;
}

/* Social Hover Links */
.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 8px 10px;
  margin-left: -10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.social-link:hover {
  background-color: #f4f6fa;
  transform: translateX(4px);
}

.social-link i.fa-facebook { color: #1877f2; background-color: #e7f1ff; }
.social-link i.fa-instagram { color: #e4405f; background-color: #fde8ec; }

.social-link:hover i.fa-facebook { background-color: #1877f2; color: #fff; }
.social-link:hover i.fa-instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; }

/* Form Elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #0066ff;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.send-btn:hover { background-color: #0052cc; }

/* Mobile View */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
