/* Unified stylesheet for the entire portfolio site */

:root{
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --accent: #2b6fb3; /* blue */
  --accent-soft: #9fc5ff;
  --muted: #6b6b6b;
  --card-shadow: 0 18px 45px rgba(10,52,98,0.12);
  --border-subtle: rgba(0,0,0,0.06);
}

*{box-sizing:border-box}
html,body{height:100%;}
body{
  margin:0;
  font-family: 'Georgia', 'Times New Roman', serif;
  color:#0f1c2e;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}

/* Header */
.site-header{
  position:fixed;top:0;left:0;right:0;height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:rgba(255,255,255,0.98);border-bottom:1px solid var(--border-subtle);z-index:40;
}
.navbar{display:flex;width:100%;justify-content:space-between;align-items:center}
.brand{font-family:'Palatino Linotype','Georgia',serif;font-size:20px;font-weight:400;color:#0f1c2e;text-decoration:none}
.nav-right{display:flex;align-items:center;gap:20px}
.nav-links{list-style:none;display:flex;gap:26px;align-items:center;margin:0;padding:0}
.nav-links a{color:var(--muted);text-decoration:none;padding:6px 0}
.nav-links a:hover{color:var(--accent);border-bottom:2px solid var(--accent-soft)}
.nav-toggle{display:none;background:transparent;border:none;font-size:24px;cursor:pointer}

/* Hero */
.hero{position:relative;min-height:100vh;display:flex;padding-top:68px}
.hero-left{width:40%;background:linear-gradient(180deg,#a4c7ff 0%,#9fc6ff 100%);display:flex;align-items:center;justify-content:center;padding:60px 40px}
.intro-panel{max-width:340px}
.intro-panel .eyebrow{font-size:22px;margin-bottom:36px;color:rgba(15,28,46,0.95)}
.intro-panel .headline{font-size:28px;margin-bottom:36px}
.intro-panel .body-text{color:rgba(15,28,46,0.85);line-height:1.7}

.hero-right{flex:1;display:flex;align-items:center;justify-content:center;padding:60px 40px;background-image:url('../img/test.jpg');background-position:center;background-size:cover}

/* Profile card */
.profile-card{width:520px;background:var(--bg-soft);box-shadow:var(--card-shadow);padding:36px 44px 40px;border-radius:4px;text-align:center}
.profile-photo{width:340px;height:200px;margin:0 auto 18px;overflow:hidden;border-radius:18px}
.profile-photo img{width:100%;height:100%;object-fit:cover;display:block}
.profile-card h1{font-family:'Palatino Linotype','Georgia',serif;font-size:26px;margin:10px 0 6px}
.profile-card .subtitle{color:#777;font-size:14px;margin-bottom:14px}
.divider{width:80px;height:3px;background:var(--accent-soft);margin:8px auto 16px;border-radius:2px}
.social-links{display:flex;gap:18px;justify-content:center;margin-top:18px}
.social-links a{width:44px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:#e9e9e9;color:#333;text-decoration:none;border-radius:4px;font-weight:700}

/* Sections */
.section{padding:64px 20px}
.section-narrow{max-width:900px;margin:0 auto}
.section h2{font-size:22px;margin-bottom:12px}
.section p{color:rgba(15,28,46,0.85)}

/* Cards */
.card{background:var(--bg-soft);border-radius:12px;padding:22px;box-shadow:0 8px 22px rgba(10,52,98,0.06);border:1px solid rgba(0,0,0,0.04)}
.card h3{margin:0 0 10px}
.card-meta{font-size:0.95rem;color:var(--muted);margin-bottom:10px}
.project-link{color:var(--accent);font-weight:600;text-decoration:none}
.project-link:hover{text-decoration:underline}

/* Skills grid */
.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}

/* Gallery */
.gallery-slide{display:flex;justify-content:center}
.gallery-slide img{max-width:520px;width:100%;border-radius:12px;box-shadow:0 8px 26px rgba(10,52,98,0.08)}

/* Testimonials */
.quote{font-style:italic;margin-bottom:8px}
.quote-author{font-size:0.95rem;color:var(--muted)}

/* Swiper tweaks */
.swiper{max-width:900px;margin:0 auto;padding:10px 50px 40px;position:relative}
.swiper-button-prev,.swiper-button-next{background:transparent;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center}
.swiper-pagination-bullets{bottom:0}

/* Footer */
.footer{padding:24px;background:transparent}
.footer-inner{max-width:1100px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:12px}
.footer-note{font-size:0.85rem;color:var(--muted)}
.footer-right a{margin-left:12px;text-decoration:none;font-size:0.95rem;padding:6px 9px;border-radius:999px;border:1px solid var(--border-subtle)}

/* Responsive */
@media(max-width:900px){
  .hero{flex-direction:column}
  .hero-left,.hero-right{width:100%;padding:36px}
  .profile-card{width:calc(100% - 48px);max-width:560px}
  .nav-toggle{display:inline-block}
}

@media(max-width:600px){
  .nav-links{display:none}
  body.nav-open .nav-links{display:flex;position:absolute;top:60px;right:10px;left:10px;background:var(--bg-soft);border-radius:12px;border:1px solid var(--border-subtle);box-shadow:0 10px 30px rgba(0,0,0,0.06);flex-direction:column;padding:12px;gap:10px}
}

/* ===== NEW HOMEPAGE DESIGN ===== */

/* Hero Split Layout */
.hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  padding-top: 68px;
  background-image: url('../img/test.jpg');
  background-position: center;
  background-size: cover;
}

/* Left side - Text content */
.hero-left-content {
  width: 40%;
  background: linear-gradient(180deg, #a4c7ff 0%, #9fc6ff 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 60px;
}

.greeting {
  font-size: 32px;
  font-family: 'Palatino Linotype', 'Georgia', serif;
  margin: 0 0 20px 0;
  color: rgba(15, 28, 46, 0.95);
}

.hero-question {
  font-size: 36px;
  font-family: 'Palatino Linotype', 'Georgia', serif;
  margin: 0 0 30px 0;
  color: #0f1c2e;
}

.hero-intro {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(15, 28, 46, 0.85);
  max-width: 450px;
}

/* Right side - Profile card */
.hero-right-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

/* Profile Card - Main */
.profile-card-main {
  width: 480px;
  max-width: 90%;
  background: var(--bg-soft);
  box-shadow: var(--card-shadow);
  padding: 40px 50px 48px;
  border-radius: 16px;
  text-align: center;
}

.profile-photo-main {
  width: 280px;
  height: 280px;
  margin: 0 auto 24px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.profile-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-name {
  font-family: 'Palatino Linotype', 'Georgia', serif;
  font-size: 28px;
  margin: 0 0 12px 0;
  color: #0f1c2e;
}

.profile-divider {
  width: 80px;
  height: 3px;
  background: var(--accent-soft);
  margin: 16px auto;
  border-radius: 2px;
}

.profile-title {
  font-size: 15px;
  color: #6b6b6b;
  margin: 16px 0 24px 0;
  line-height: 1.5;
}

/* Social Buttons */
.social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
}

.social-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0;
}

.social-btn:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.social-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Page Content (for simple pages) */
.page-content {
  min-height: calc(100vh - 68px);
  padding-top: 100px;
  padding-bottom: 60px;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-title {
  font-family: 'Palatino Linotype', 'Georgia', serif;
  font-size: 36px;
  margin-bottom: 32px;
  color: #0f1c2e;
}

.content-section {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 22px rgba(10, 52, 98, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.content-section p {
  line-height: 1.7;
  color: rgba(15, 28, 46, 0.85);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #1f5a96;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(43, 111, 179, 0.3);
}

.btn-primary {
  background: var(--accent);
}

/* Responsive updates for new design */
@media(max-width:900px){
  .hero-split {
    flex-direction: column;
  }

  .hero-left-content,
  .hero-right-content {
    width: 100%;
    padding: 48px 36px;
  }

  .greeting {
    font-size: 28px;
  }

  .hero-question {
    font-size: 30px;
  }

  .profile-card-main {
    width: calc(100% - 48px);
    max-width: 500px;
  }

  .content-container {
    padding: 0 24px;
  }
}

@media(max-width:600px){
  .hero-left-content {
    padding: 36px 24px;
  }

  .greeting {
    font-size: 24px;
  }

  .hero-question {
    font-size: 26px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .profile-card-main {
    padding: 32px 28px 36px;
  }

  .profile-photo-main {
    width: 220px;
    height: 220px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-title {
    font-size: 14px;
  }

  .social-buttons {
    gap: 16px;
  }

  .social-btn {
    width: 40px;
    height: 40px;
  }

  .social-icon-img {
    width: 40px;
    height: 40px;
  }

  .page-title {
    font-size: 28px;
  }

  .content-section {
    padding: 28px 24px;
  }
}


