@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Variables */
:root {
  --primary-color: #2563eb;
  --secondary-color: #ec4899;
  --accent-blue: #06b6d4;
  --text-dark: #1a1a1a;
  --text-medium: #4a5568;
  --text-light: #718096;
  --background-light: #f7fafc;
  --white: #ffffff;
  --border-light: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Urbanist', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  position: relative;
  overflow-x: hidden;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Background Decorative Elements */
.background-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-ellipse-pink {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 300px;
  height: 300px;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.bg-ellipse-blue {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 250px;
  height: 250px;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Header Styles */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  position: relative;
  z-index: 100;
}

.site-title a {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-title a:hover {
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary-color);
}

.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
  align-items: center;
}

.about-image-container {
  position: relative;
}

.image-stack {
  position: relative;
  display: inline-block;
}

/* Profile Photo */
.profile-photo {
  width: 400px;
  height: 500px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.02);
}

/* Keep placeholder styles as fallback */
.profile-photo-placeholder {
  width: 400px;
  height: 500px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.profile-photo-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
  background-size: 20px 20px;
}

.placeholder-text {
  position: relative;
  z-index: 1;
}

.doodle-img {
  position: absolute;
  top: -20px;
  right: -30px;
  width: 80px;
  height: 80px;
  z-index: 2;
}

.about-text-container {
  padding-left: 2rem;
}

.about-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

.about-list {
  list-style: none;
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Details Section */
.details-section {
  padding: 4rem 0;
  background-color: var(--background-light);
}

.bio-content {
  max-width: 800px;
  margin: 0 auto;
}

.bio-intro {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.bio-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 2rem;
  text-align: justify;
}

.bio-subheading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 3rem 0 1.5rem 0;
  font-family: 'Poppins', sans-serif;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.bio-list {
  list-style: none;
  margin-bottom: 2rem;
}

.bio-list li {
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.bio-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.bio-list a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Footer Styles */
.main-footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
}

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 1.5rem;
  justify-content: center;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--secondary-color);
}

.copyright-text {
  text-align: right;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-container {
    padding: 0 1rem;
  }

  .site-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .main-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-text-container {
    padding-left: 0;
  }

  .profile-photo,
  .profile-photo-placeholder {
    width: 300px;
    height: 400px;
    margin: 0 auto;
  }

  .about-heading {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-nav ul {
    justify-content: center;
  }

  .copyright-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .profile-photo,
  .profile-photo-placeholder {
    width: 250px;
    height: 320px;
  }

  .about-heading {
    font-size: 1.8rem;
  }

  .bio-intro {
    font-size: 1.2rem;
  }

  .main-nav ul {
    gap: 0.5rem;
  }

  .main-nav a {
    font-size: 0.9rem;
  }
}

/* Focus and Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --secondary-color: #ff0080;
    --text-dark: #000000;
    --text-medium: #333333;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .bg-ellipse-pink,
  .bg-ellipse-blue {
    animation: none;
  }
  
  * {
    transition: none !important;
  }
}
