@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");

:root {
  --primary-dark: #0f1120;
  --primary-teal: #0097b2;
  --light-cyan: #62e1e9;
  --blue-gray: #cfe2f3; /*background color */
  --teal-hover: #0077b6;
  --text-light: #ffffff;
  --text-gray: #9ca3af;
  --section-bg: #ffffff;
  --hover-bg: #f8fafc;
  --border-color: #e5e7eb;
  --dark-lighter: #1a1d2e;
}

* {
  box-sizing: border-box;
}

html {
  font: 16px/1.5em "Source Sans 3", sans-serif;
  scroll-behavior: smooth;
}

body {
  color: var(--primary-teal);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

h1 {
  position: absolute;
  top: -9999px;
}

h2 {
  font-family: "Lora", serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* Navigation */
nav {
  backdrop-filter: blur(10px);
  background: rgba(15, 17, 32, 0.95);
  padding: 15px 0;
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  width: 100%;
  z-index: 1000;
}

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

.logo {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  text-decoration: none;
}

.nav-container .logo-icon {
  align-items: center;
  background: var(--primary-teal);
  border-radius: 8px;
  color: var(--primary-dark);
  display: flex;
  font-size: 18px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.logo-icon img {
  max-height: 40px;
}

.logo-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 18px;
}

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

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-teal);
}

/* Hero Section */
.hero {
  align-items: center;
  background: var(--primary-dark);
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero::before {
  background: linear-gradient(135deg, rgba(98, 225, 233, 0.1) 0%, rgba(15, 17, 32, 1) 70%);
  bottom: 0;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-logo-container {
  align-items: center;
  display: flex;
  height: 300px;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.hero-logo {
  position: absolute;
  top: -100px;
}

.hero .tagline {
  color: var(--light-cyan);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.hero .description {
  color: var(--text-gray);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 40px;
}

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

/*Hero and Contact*/
.btn-primary {
  align-items: center;
  background: var(--primary-teal);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  padding: 14px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--light-cyan);
  box-shadow: 0 10px 25px rgba(0, 151, 178, 0.3);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-light);
  font-weight: 600;
  padding: 14px 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

/* About Section */
.about {
  background: var(--section-bg);
  padding: 100px 0;
}

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

.section-title {
  color: var(--primary-dark);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

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

.about-text {
  color: #4b5563;
  display: flex;
  flex-direction: column;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 20px;
}

.hero-badge {
  align-self: center;
  background: rgba(98, 225, 233, 0.7);
  border: 1px solid rgba(98, 225, 233, 0.3);
  border-radius: 25px;
  color: var(--text-light);
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  padding: 8px 16px;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.about-image::before {
  background: var(--primary-teal);
  bottom: 15px;
  border-radius: 15px;
  content: "";
  position: absolute;
  left: -15px;
  top: -15px;
  right: 15px;
  opacity: 0.1;
  z-index: -1;
}

/* Skills Section */
.skills {
  background: #f8fafc;
  padding: 100px 0;
}

.skills-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 50px;
}

.skill-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
}

.skill-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--primary-teal), var(--light-cyan));
  border-radius: 12px;
  color: white;
  display: flex;
  font-size: 24px;
  height: 60px;
  justify-content: center;
  margin: 0 auto 20px;
  width: 60px;
}

.skill-card h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.skill-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio {
  background: var(--section-bg);
  padding: 100px 0;
}

.portfolio-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin-top: 50px;
}

.portfolio-category {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: transform 0.3s ease;
}

.portfolio-category:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.project-link:hover {
  text-decoration: underline;
}

.status-badge {
  border-radius: 15px;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 10px;
  padding: 4px 12px;
}

.live {
  background: #dcfce7;
  color: #166534;
}

.development {
  background: #fef3c7;
  color: #92400e;
}

.planned {
  background: #fce7f3;
  color: #be185d;
}

.category-header {
  align-items: center;
  display: flex;
  margin-bottom: 25px;
}

.category-icon {
  align-items: center;
  border-radius: 12px;
  color: white;
  display: flex;
  font-size: 20px;
  height: 50px;
  justify-content: center;
  margin-right: 15px;
  width: 50px;
}

.frontend-icon {
  background: linear-gradient(135deg, var(--primary-teal), var(--light-cyan));
}

.backend-icon {
  background: linear-gradient(135deg, var(--teal-hover), var(--primary-teal));
}

.design-icon {
  background: linear-gradient(135deg, var(--primary-dark), var(--dark-lighter));
}

.future-icon {
  background: linear-gradient(135deg, var(--light-cyan), var(--primary-teal));
}

.category-title {
  color: var(--primary-dark);
  font-size: 1.4rem;
  font-weight: 600;
}

.project-list {
  list-style: none;
}

.project-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 25px 0;
  transition: all 0.3s ease;
}
 
.project-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-item:hover {
  background: var(--hover-bg);
  border-radius: 10px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
} 

.project-name {
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-description {
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-quality {
  color: var(--primary-teal);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.4;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.tech-tag {
  background: #f1f5f9;
  border-radius: 15px;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 10px;
} 

/* Contact Section */
.contact {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 100px 0;
}

.contact .section-title {
  color: var(--text-light);
}

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

.contact-info h3 {
  color: var(--light-cyan);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  align-items: center;
  color: var(--text-gray);
  display: flex;
  margin-bottom: 15px;
}

.contact-details .icon {
  color: var(--light-cyan);
  width: 20px;
  margin-right: 15px;
}

.contact-form {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
}

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

.form-group label {
  color: var(--text-light);
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-light);
  font-family: "Inter", sans-serif;
  padding: 12px 15px;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

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

/* Footer */
footer {
  background: #0a0c14;
  color: var(--text-gray);
  text-align: center;
  padding: 40px 0;
}

.footer-content {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
}

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

.social-links a {
  color: var(--text-gray);
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--light-cyan);
}

/* Responsive Design */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
