* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #333;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #ff9371 0%, #ff7961 100%);
  color: white;
  padding: 0;
  position: relative;
}

.browser-chrome {
  background: #f5f5f5;
  padding: 12px;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-buttons {
  display: flex;
  gap: 8px;
}

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

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

.address-bar {
  flex: 1;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 12px;
  margin: 0 20px;
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.address-bar::before {
  content: "🔍";
}

.add-tab {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #666;
  cursor: pointer;
}

nav {
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -1px;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.3s;
  position: relative;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
}

.cta-button {
  border: 2px solid white;
  padding: 12px 30px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.cta-button:hover {
  background: white;
  color: #ff9371;
}

/* Hero Section */
.hero {
  background: url("../assets/hero-background.jpg") center center / cover
    no-repeat;
  background-color: linear-gradient(135deg, #ff9371 0%, #ff7961 100%);
  padding: 60px 60px 50px;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 147, 113, 0.85);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* Hero variations for inner pages */
.hero.hero-small {
  padding: 60px 60px;
}

.hero.hero-centered .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero.hero-centered h1 {
  font-size: 48px;
}

.hero.hero-centered p {
  font-size: 18px;
  opacity: 0.95;
}

.profile-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 8px solid white;
  object-fit: cover;
}

.hero-content {
  color: white;
  flex: 1;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-content h2 {
  font-size: 56px;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-content h3 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 40px;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-info {
  display: flex;
  gap: 60px;
  margin-top: 60px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.contact-value {
  font-size: 18px;
  color: white;
  text-decoration: none;
}

.contact-value:hover {
  text-decoration: underline;
}

.email-button {
  width: 50px;
  height: 50px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s;
  margin-top: 30px;
}

.email-button:hover {
  background: white;
  color: #ff9371;
}

/* Content Sections */
.content-section {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-section.gray {
  background: #fafafa;
}

.content-section h2 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 60px;
  text-align: center;
  color: #333;
}

.content-section h3 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 40px;
  color: #333;
}

/* Expertise Grid */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.expertise-item {
  text-align: center;
  padding: 20px 20px;
}

.expertise-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  opacity: 0.75;
  color: #ff7950;
}

.expertise-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.expertise-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.skill-category h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ff9371;
}

.skill-category p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* Experience Timeline */
.experience-item {
  margin-bottom: 60px;
  padding-left: 40px;
  border-left: 3px solid #ff9371;
  position: relative;
}

.experience-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff9371;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.experience-header h4 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.experience-header .date {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

.experience-item h5 {
  font-size: 18px;
  font-weight: 500;
  color: #ff9371;
  margin-bottom: 5px;
}

.experience-item .location {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}

.experience-item ul {
  list-style: none;
  padding: 0;
}

.experience-item li {
  padding-left: 25px;
  margin-bottom: 12px;
  position: relative;
  line-height: 1.6;
  color: #666;
}

.experience-item li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #ff9371;
  font-weight: bold;
}

.experience-item .environment {
  margin-top: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.experience-item .environment strong {
  color: #333;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.project-card .project-icon {
  background: linear-gradient(135deg, #ff9371 0%, #ff7961 100%);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: white;
}

.project-card .project-content {
  padding: 30px;
}

.project-card h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.project-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

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

.project-card .tech-tag {
  font-size: 12px;
  padding: 5px 12px;
  background: #ffe8e0;
  color: #ff7961;
  border-radius: 15px;
  font-weight: 500;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-section h3 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  color: #333;
}

.contact-info-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-detail-item .icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff9371 0%, #ff7961 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.contact-detail-item a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-detail-item a:hover {
  color: #ff7961;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff7961;
}

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

.submit-button {
  padding: 15px 40px;
  background: linear-gradient(135deg, #ff9371 0%, #ff7961 100%);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  align-self: flex-start;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 121, 97, 0.4);
}

.form-note {
  font-size: 13px;
  color: #999;
  margin-top: 20px;
}

/* Education Section */
.education-item {
  margin-bottom: 40px;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 12px;
  border-left: 4px solid #ff9371;
}

.education-item h4 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.education-item h5 {
  font-size: 16px;
  color: #ff9371;
  margin-bottom: 5px;
}

.education-item p {
  font-size: 14px;
  color: #666;
}

/* Certifications */
.certifications-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.certification-item {
  padding: 20px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.certification-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.certification-item h5 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.certification-item p {
  font-size: 13px;
  color: #999;
}

/* Footer */
footer {
  background: #2a2a2a;
  color: white;
  padding: 40px 60px;
  text-align: center;
}

footer p {
  font-size: 14px;
  opacity: 0.8;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.cta-section {
  text-align: center;
}

.cta-section p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-filled {
  display: inline-block;
  background: linear-gradient(135deg, #ff9371 0%, #ff7961 100%);
  padding: 12px 30px;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  border: none;
}

.cta-button-filled:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 121, 97, 0.4);
}

.availability-badge {
  display: inline-block;
  padding: 15px 30px;
  background: #e8f5e9;
  border-radius: 30px;
  color: #2e7d32;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 20px 30px;
    flex-direction: column;
    gap: 20px;
  }

  .hero {
    flex-direction: column;
    padding: 60px 30px;
    text-align: center;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 36px;
  }

  .contact-info {
    flex-direction: column;
    gap: 30px;
  }

  .content-section {
    padding: 60px 30px;
  }

  .content-section h2 {
    font-size: 36px;
  }

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

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

  .experience-item {
    padding-left: 30px;
  }

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