/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6c63ff;
  --secondary: #ff6584;
  --accent: #4caf50;
  --dark: #1a1a2e;
  --light: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body.dark-mode {
  --primary: #8b83ff;
  --secondary: #ff7fa0;
  --text: #e4e4e4;
  --text-light: #b0b0b0;
  --bg: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-tertiary: #0f1419;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

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

/* ========== CUSTOM CURSOR ========== */
.cursor-dot,
.cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 10000;
  transition: transform 0.15s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

body.dark-mode .navbar {
  background: rgba(26, 26, 46, 0.9);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.logo-bracket {
  color: var(--primary);
}

.logo-dev {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 10px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.nav-link i {
  font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px);
}

.theme-toggle {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  transform: scale(1.1) rotate(20deg);
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 350px;
  height: 350px;
  background: var(--secondary);
  bottom: 20%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 50%;
  right: 30%;
  animation-delay: 10s;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.greeting {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 20px;
  min-height: 60px;
  font-weight: 600;
}

.typing-text {
  color: var(--primary);
}

.cursor {
  animation: blink 0.7s infinite;
  color: var(--primary);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-4px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.mt-20 {
  margin-top: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.social-links a::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.social-links a:hover::before {
  opacity: 1;
  bottom: -45px;
}

.social-links a:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-5px);
}

.hero-image {
  animation: fadeInRight 1s ease;
}

.image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.code-window {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: float 6s infinite ease-in-out;
  max-width: 500px;
  width: 100%;
}

.window-header {
  background: var(--bg-tertiary);
  padding: 12px 20px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}
.dot-yellow {
  background: #ffbd2e;
}
.dot-green {
  background: #27c93f;
}

.code-content {
  padding: 30px;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1.8;
}

.code-line {
  display: block;
  padding: 2px 0;
}

.keyword {
  color: #ff79c6;
}
.string {
  color: #50fa7b;
}
.boolean {
  color: #bd93f9;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* ========== SECTION STYLES ========== */
section {
  padding: 120px 40px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient);
  color: white;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ABOUT SECTION ========== */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img-wrapper img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary);
  border-radius: 20px;
  top: 20px;
  left: 20px;
  z-index: -1;
}

.about-text .lead {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.6;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  background: var(--bg);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== CAROUSEL STYLES ========== */
.carousel-container {
  overflow: hidden;
  position: relative;
}

.skills-carousel,
.projects-carousel,
.hobbies-carousel,
.testimonials-carousel {
  display: flex;
  gap: 30px;
  animation: scroll-left 40s linear infinite;
}

.skills-carousel:hover,
.projects-carousel:hover,
.hobbies-carousel:hover,
.testimonials-carousel:hover {
  animation-play-state: paused;
}

/* Duplicate items for seamless loop */
.skills-carousel::after,
.projects-carousel::after,
.hobbies-carousel::after,
.testimonials-carousel::after {
  content: "";
  flex: 0 0 30px;
}

/* ========== SKILLS SECTION ========== */
.skill-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 220px;
  flex-shrink: 0;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.skill-card h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  margin: 15px 0 10px;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1s ease;
  width: 0;
}

.skill-percent {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* ========== SERVICES SECTION ========== */
.services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  background: var(--gradient);
  color: white;
}

.service-card.featured .service-icon {
  background: white;
  color: var(--primary);
}

.service-card.featured .service-features li i {
  color: white;
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--accent);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* ========== PROJECTS SECTION ========== */
.projects {
  background: var(--bg);
}

.project-card {
  background: var(--bg-secondary);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 350px;
  flex-shrink: 0;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(108, 99, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 50px;
  height: 50px;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition);
}

.project-link:hover {
  transform: scale(1.15);
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  padding: 5px 14px;
  background: var(--bg);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

/* ========== HOBBIES SECTION ========== */
.hobbies {
  background: var(--bg-secondary);
}

.hobby-card {
  background: var(--bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 320px;
  flex-shrink: 0;
}

.hobby-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.hobby-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.hobby-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hobby-card:hover .hobby-image img {
  transform: scale(1.1);
}

.hobby-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(108, 99, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.hobby-card:hover .hobby-overlay {
  opacity: 1;
}

.hobby-icon {
  width: 70px;
  height: 70px;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.hobby-content {
  padding: 25px;
}

.hobby-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.hobby-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  background: var(--bg);
}

.testimonial-card {
  background: var(--bg-secondary);
  padding: 35px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 400px;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.testimonial-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.testimonial-info h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.testimonial-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 1rem;
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

/* ========== CONTACT SECTION ========== */
.contact {
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  background: var(--bg);
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-details p {
  color: var(--text-light);
}

.contact-form {
  background: var(--bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--bg-secondary);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--bg-secondary);
  color: var(--text);
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ========== FOOTER ========== */
.footer {
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }

  .image-placeholder {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    font-size: 6rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .projects-grid,
  .hobbies-grid {
    grid-template-columns: 1fr;
  }

  .image-placeholder {
    width: 250px;
    height: 250px;
    font-size: 5rem;
  }
}
