/* Custom variables */
:root {
  --primary-color: #00d4ff;
  --secondary-color: #ffffff;
  --background-dark: #0a0a0a;
  --background-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border-color: #333333;
  --accent-color: #00d4ff;
  --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  --shadow-card: 0 8px 32px rgba(0, 212, 255, 0.1);
  --shadow-hover: 0 12px 40px rgba(0, 212, 255, 0.2);
}

/* Global styles */
* {
  box-sizing: border-box;
}

body {
  background-color: var(--background-dark);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--background-dark) 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
}

/* About Section */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-category {
  background: var(--background-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.skill-category:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.skill-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-category li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.skill-category li::before {
  content: '▸';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-image {
  margin-bottom: 0rem;
  text-align: center;
}

.project-image img {
  max-width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}

.project-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 0rem;
}

.project-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 80px;
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.project-highlights {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.project-highlights p {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.project-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-highlights li {
  color: var(--text-secondary);
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.25rem;
}

.project-highlights li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Contact Section */
.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-label {
  font-weight: 600;
  color: var(--text-primary);
}

.contact-link, .contact-text {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-actions {
  margin-top: 2rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .skill-category {
    padding: 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* About Page Styles */
.about-hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--background-dark) 0%, #1a1a1a 100%);
}

.about-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
  display: block;
}

.about-text h2 {
  color: var(--primary-color);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.education-item {
  background: var(--background-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.education-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.degree {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.achievements {
  list-style: none;
  padding: 0;
}

.achievements li {
  color: var(--text-secondary);
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.achievements li::before {
  content: '▸';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.expertise-category {
  background: var(--background-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.expertise-category:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.expertise-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.expertise-category ul {
  list-style: none;
  padding: 0;
}

.expertise-category li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.expertise-category li::before {
  content: '▸';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.skills-list ul {
  list-style: none;
  padding: 0;
}

.skills-list li {
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.skills-list li:last-child {
  border-bottom: none;
}

/* Contact Page Styles */
.contact-hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--background-dark) 0%, #1a1a1a 100%);
}

.contact-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
  display: block;
}

.contact-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.contact-info-card, .contact-actions-card {
  background: var(--background-card);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-info-card:hover, .contact-actions-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.contact-info-card h2, .contact-actions-card h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  min-width: 80px;
}

.contact-link, .contact-text {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-color);
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-icon {
  margin-right: 0.5rem;
}

.availability-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.availability-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.availability-info ul {
  list-style: none;
  padding: 0;
}

.availability-info li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.availability-info li::before {
  content: '▸';
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.contact-message {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: var(--background-card);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.contact-message h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-message p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.brand-link {
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 32px;
  width: auto;
  transition: all 0.3s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.brand-link:hover .brand-name {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 20px;
  justify-content: center;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger:hover span {
  background: var(--primary-color);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 1rem 0;
  }
}

/* Adjust main content for fixed header */
.page-content {
  padding-top: 20px;
}

/* Hide only Jekyll's default page titles */
.page-content > h1:first-child {
  display: none;
}

/* Footer */
.site-footer {
  background: var(--background-card);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer-content {
  text-align: center;
}

.footer-content p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.875rem;
}

.footer {
  background: var(--background-card);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.875rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0099cc;
} 

/* Remove underline from project cards */
.projects-grid a.project-card {
  text-decoration: none !important;
  color: inherit;
}

.projects-grid .project-title {
  text-decoration: none;
} 

.project-gallery {
  margin-top: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.gallery-item {
  text-align: center;
}

.image-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
} 

.project-content-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.project-image-section {
  flex: 0 0 40%;
  text-align: center;
}

.project-text-section {
  flex: 1;
}

@media (max-width: 768px) {
  .project-content-layout {
    flex-direction: column;
    gap: 2rem;
  }
  
  .project-image-section {
    flex: none;
  }
} 

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 95%;
  height: 95%;
  background: var(--background-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.clickable-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
} 

.hero-image-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-profile-image {
  width: 240px;
  height: 240px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--primary-color);
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.15);
  background: var(--background-card);
}

@media (max-width: 768px) {
  .hero-profile-image {
    width: 140px;
    height: 140px;
  }
  .hero-image-bubble {
    margin-bottom: 1rem;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
} 