/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: relative;
  z-index: 2;
  background-color: #fff;
}

.logo {
  width: 10%;
}

.logo img {
  width: 60px;
}

.links a,
.auth-links a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  margin: 0 12px;
  font-size: 18px;
  transition: color 0.3s;
}

.links a:hover,
.auth-links a:hover {
  color: #696969;
}

.sign-in {
  background: transparent;
  border: 1px solid #000;
  padding: 8px 10px;
  border-radius: 15px;
  font-weight: 400;
  font-size: 16px;
  color: black;
  transition: background 0.3s;
}

.sign-in:hover {
  background: #e2e6eb;
}

.sign-up {
  padding: 8px 10px;
  border-radius: 15px;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s;
  background-color: #2d64ee;
  color: white !important;
}

.sign-up:hover {
  background: #193d96;
  color: white !important;
  transform: translateY(-2px);
}

/* Mobile Navigation Styles */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 999;
  padding: 80px 20px 20px;
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mobile-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  margin: 15px 0;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.mobile-nav .auth-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.mobile-nav .sign-in,
.mobile-nav .sign-up {
  border: 1px solid #ffffff;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 500;
  font-size: 16px;
  color: white;
  text-align: center;
  transition: all 0.3s;
  width: 80%;
  margin: 0 auto;
}

.mobile-nav .sign-up {
  background-color: #2d64ee;
  border-color: #2d64ee;
}

.mobile-nav .sign-in:hover {
  background-color: #ffffff;
  color: #000000;
}

.mobile-nav .sign-up:hover {
  background-color: #193d96;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  background: url(../images/carpenter.png) center/cover no-repeat;
  padding: 60px 0;
  position: relative;
  height: 250px;
}

.profile-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  width: 80%;
  margin: -80px auto;
}

.profile-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 15px;
}

.profile-details {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.verified {
  color: #00c851;
  display: flex;
  align-items: center;
  gap: 5px;
}

.location {
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.level {
  background: #f8f9fa;
  padding: 4px 12px;
  border-radius: 20px;
  color: #333;
  font-weight: 500;
}

.availability {
  color: #666;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: #ffc107;
}

.rating-score {
  color: #333;
  font-weight: 500;
}

.experience {
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-actions {
  display: flex;

  gap: 10px;
}

.btn-request {
  background: #4285f4;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-message {
  background: white;
  color: #333;
  border: 1px solid #ddd;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-request:hover {
  background: #3367d6;
}

.btn-message:hover {
  border-color: #4285f4;
  color: #4285f4;
}

/* Main Content */
.main-content {
  padding: 60px 0;
  background: #f8f9fa;
  margin-top: 30px;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.about-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.about-section p {
  color: #666;
  line-height: 1.8;
}

.stats-section {
  background: white;
  padding: 30px;
  border-radius: 10px;
  height: fit-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stats-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #333;
}

.stats-grid {
  display: grid;
  gap: 15px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  color: #666;
  font-size: 14px;
}

.stat-value {
  color: #4285f4;
  font-weight: 600;
  font-size: 16px;
}

/* Portfolio Section */
.portfolio-section {
  margin-bottom: 60px;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.portfolio-header h2 {
  font-size: 24px;
  color: #333;
}

.see-all {
  color: #4285f4;
  text-decoration: none;
  font-weight: 500;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-item h3 {
  padding: 20px;
  font-size: 16px;
  color: #333;
}

/* Testimonials Section */
.testimonials-section h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
  color: #333;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author span {
  font-weight: 500;
  color: #333;
}

.testimonial-rating {
  color: #ffc107;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #4285f4;
}

/* FOOTER SECTION */
.footer {
  background-color: #001534;
  color: white;
  padding: 60px 40px 40px;
}

.footer-container {
  width: 100%;
  max-height: 70%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 10px 5px;
}

/* Logo Section */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 120px;
  height: 120px;
}

.footer-logo img {
  width: 100%;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #b8c5d6;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

/* Contact Section */
.contact-info p {
  color: #b8c5d6;
  font-size: 16px;
  margin-bottom: 12px;
}

.contact-info .email {
  color: white;
  font-weight: 500;
}

.contact-info .phone {
  color: white;
  font-weight: 500;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.social-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons img {
  width: 28px;
  height: 28px;
}

.social-icon:hover {
  transform: translateY(-2px);
}

/* Copyright Section */
.footer-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #344a6b;
  text-align: center;
  color: #b8c5d6;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    gap: 15px;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
  }

  .profile-details {
    justify-content: center;
  }

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

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

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

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

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .profile-card {
    padding: 20px;
    margin: 0 10px;
  }

  .profile-info h1 {
    font-size: 24px;
  }

  .profile-details {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
