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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #202020;
  background-color: #ffffff;
}

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

/* Header/Navbar Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

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

/* Updated logo color to WooCommerce purple */
.nav-logo h2 {
  color: #96588a;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #202020;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

/* Updated hover color to WooCommerce purple */
.nav-link:hover {
  color: #96588a;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #96588a;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #202020;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f7f7f7 0%, #e8e8e8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #202020;
}

/* Updated highlight color to WooCommerce purple */
.highlight {
  color: #96588a;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* Updated button colors to WooCommerce purple */
.btn-primary {
  background-color: #96588a;
  color: white;
}

.btn-primary:hover {
  background-color: #7f54b3;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(150, 88, 138, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #96588a;
  border: 2px solid #96588a;
}

.btn-secondary:hover {
  background-color: #96588a;
  color: white;
  transform: translateY(-2px);
}

.profile-img {
  width: 100%;
  /*max-width: 400px;
  height: 400px; */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #202020;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Updated about text heading color to WooCommerce purple */
.about-text h3 {
  font-size: 1.8rem;
  color: #96588a;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

/* Updated stat numbers color to WooCommerce purple */
.stat h4 {
  font-size: 2rem;
  color: #96588a;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #666;
  font-weight: 500;
}

/* Skills Section */
.skills {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7f7f7 0%, #e8e8e8 100%);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

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

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Updated skill icon color to WooCommerce purple */
.skill-icon {
  font-size: 3rem;
  color: #96588a;
  margin-bottom: 1rem;
}

.skill-card h3 {
  font-size: 1.3rem;
  color: #202020;
  margin-bottom: 1rem;
  font-weight: 600;
}

.skill-card p {
  color: #666;
  line-height: 1.6;
}

/* Projects Section */
.projects {
  padding: 80px 0;
  background-color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

/* Enhanced project card design */
.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

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

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

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

/* Added project overlay for better interaction */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(150, 88, 138, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.overlay-btn {
  background: white;
  color: #96588a;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.overlay-btn:hover {
  background: #7f54b3;
  color: white;
  transform: translateY(-2px);
}

.project-content {
  padding: 2.5rem;
}

/* Added project header with status badge */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.project-content h3 {
  font-size: 1.5rem;
  color: #202020;
  font-weight: 600;
  flex: 1;
  margin-right: 1rem;
}

.project-status {
  flex-shrink: 0;
}

.status-badge {
  background: #96588a;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.completed {
  background: #10b981;
}

.project-content p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Updated tech tag colors to match WooCommerce theme */
.tech-tag {
  background-color: #f7f7f7;
  color: #96588a;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #e8e8e8;
}

/* Enhanced project actions section */
.project-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #96588a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border: 1px solid #96588a;
  border-radius: 25px;
  font-size: 0.9rem;
}

.project-link:hover {
  color: white;
  background: #96588a;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7f7f7 0%, #e8e8e8 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.8rem;
  color: #202020;
  margin-bottom: 2rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Updated contact icon background to WooCommerce purple */
.contact-icon {
  width: 50px;
  height: 50px;
  background-color: #96588a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-details h4 {
  color: #202020;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #666;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

/* Updated form focus color to WooCommerce purple */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #96588a;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

/* Footer */
.footer {
  background-color: #202020;
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

/* Updated footer link hover color to WooCommerce purple */
.footer-link:hover {
  color: #96588a;
}

/* Leads Page Styles */
.leads-container {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.leads-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.leads-table table {
  width: 100%;
  border-collapse: collapse;
}

.leads-table th,
.leads-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
}

.leads-table th {
  background-color: #96588a;
  color: white;
  font-weight: 600;
}

.leads-table tr:hover {
  background-color: #f7f7f7;
}

.leads-table .date-cell {
  font-size: 0.9rem;
  color: #666;
}

.leads-table .message-cell {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Project Details Page Styles */
.project-details {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Enhanced project hero section with better visual hierarchy */
.project-hero {
  text-align: center;
  margin-bottom: 5rem;
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #96588a, #7f54b3);
}

.project-hero h1 {
  font-size: 3.5rem;
  color: #202020;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Improved project meta styling with better spacing and colors */
.project-hero .project-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.project-meta span {
  background: linear-gradient(135deg, #96588a, #7f54b3);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(150, 88, 138, 0.3);
  transition: transform 0.3s ease;
}

.project-meta span:hover {
  transform: translateY(-2px);
}

/* Enhanced hero buttons with better styling */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Enhanced project gallery with better grid and hover effects */
.project-gallery {
  margin-bottom: 5rem;
}

.project-gallery h2 {
  font-size: 2.5rem;
  color: #202020;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Improved project info layout with better spacing and design */
.project-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.project-description {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-description h2 {
  color: #96588a;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.project-description h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #96588a, #7f54b3);
  border-radius: 2px;
}

.project-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.project-description ul {
  list-style: none;
  padding: 0;
}

.project-description li {
  position: relative;
  padding: 0.8rem 0 0.8rem 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4a5568;
  border-bottom: 1px solid #e2e8f0;
}

.project-description li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.8rem;
  color: #96588a;
  font-weight: bold;
  font-size: 1.2rem;
}

.project-description li:last-child {
  border-bottom: none;
}

/* Enhanced sidebar design with better visual hierarchy */
.project-sidebar {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  height: fit-content;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
}

.project-sidebar h3 {
  color: #202020;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
}

.project-sidebar h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #96588a;
  border-radius: 1px;
}

.project-sidebar ul {
  list-style: none;
  margin-bottom: 2rem;
}

.project-sidebar li {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-sidebar li:last-child {
  border-bottom: none;
}

.project-sidebar strong {
  color: #2d3748;
  font-weight: 600;
  min-width: 80px;
}

.project-sidebar span {
  color: #4a5568;
  text-align: right;
}

/* Enhanced technologies section with better tag design */
#projectTechnologies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

#projectTechnologies .tech-tag {
  background: linear-gradient(135deg, #96588a, #7f54b3);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 5px 15px rgba(150, 88, 138, 0.3);
  transition: transform 0.3s ease;
}

#projectTechnologies .tech-tag:hover {
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero Section Mobile */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

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

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

  /* About Section Mobile */
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  /* Contact Section Mobile */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* General Mobile Adjustments */
  .section-title {
    font-size: 2rem;
  }

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

  .about-stats {
    justify-content: center;
  }

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

  .project-actions {
    flex-direction: column;
  }

  .project-link {
    text-align: center;
    justify-content: center;
  }

  .leads-table {
    overflow-x: auto;
  }

  .project-info {
    grid-template-columns: 1fr;
  }

  .project-hero h1 {
    font-size: 2rem;
  }

  .project-meta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

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

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

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

  .project-card {
    margin: 0 10px;
  }

  .project-hero h1 {
    font-size: 2rem;
  }

  .project-description,
  .project-sidebar {
    padding: 1.5rem;
  }

  .gallery-item img {
    height: 220px;
  }
}
