/* General rule to make images unselectable */
.desktop img {
  /* Make all images within the site unselectable unless specifically overridden */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

/* General Layout */
.desktop {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

/* Header Styles */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  position: relative;
  background-color: #efeeec;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
}

.header-left {
  flex: 1;
}

.header-right {
  justify-content: flex-end;
}

.mobile-email {
  display: none;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 1.5rem;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  transition: all 0.3s ease;
}

.mobile-cta-buttons {
  display: none;
}


.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.email {
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  text-decoration: none;
}

.social-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.social-links li:not(.separator) {
  margin: 0 0.1rem;
}

.social-links .separator {
  margin: 0 0.4rem;
  opacity: 0.6;
  font-size: 14px;
  color: #000000;
}

.mobile-nav-links {
  display: none;
  list-style: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  font-family: "Archivo", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  text-align: center;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-left: 1.5rem;
}

.social-link {
  font-family: "Archivo", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Social Media Brand Colors */
/* Desktop links */
.linkedin-link:hover {
  color: #0077B5 !important; /* LinkedIn blue */
}

.behance-link:hover {
  color: #053eff !important; /* Behance blue */
}

.pinterest-link:hover {
  color: #E60023 !important; /* Pinterest red */
}

.github-link:hover {
  color: #333 !important; /* GitHub dark */
}

/* Mobile menu links */
@media (max-width: 768px) {
  .mobile-nav-link.linkedin-link:hover {
    color: #0077B5 !important; /* LinkedIn blue */
  }
  
  .mobile-nav-link.behance-link:hover {
    color: #1769FF !important; /* Behance blue */
  }
  
  .mobile-nav-link.pinterest-link:hover {
    color: #E60023 !important; /* Pinterest red */
  }
  
  .mobile-nav-link.github-link:hover {
    color: #6e5494 !important; /* GitHub purple - better contrast on dark background */
  }
}

.cta-button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  background-color: transparent;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #ff5c00;
  color: #ffffff;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 6rem;
  text-align: center;
  position: relative;
  background-color: #efeeec;
  border-radius: 0 0 90px 90px;
  z-index: 2;
}

.profile-image {
  width: 400px;
  object-fit: contain;
  margin-bottom: 2rem;
  /* Make image unclickable and unselectable */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.hero-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  color: #000000;
  font-size: 80px;
  line-height: 1.1;
  max-width: 900px;
  margin-bottom: 2rem;
}

.cta-button.primary {
  background-color: #000000;
  color: #ffffff;
  padding: 1rem 2rem;
  font-size: 16px;
}

.cta-button.primary:hover {
  background-color: #ff5c00;
}

/* Email Me button specific styles */
.contact-buttons .cta-button.primary {
  background-color: #000000;
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.contact-buttons .cta-button.primary:hover {
  background-color: #ff5c00;
}

/* Latest Works button specific styles */
.latest-works-btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
}

.arrow-icon {
  display: flex;
  align-items: center;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.arrow-svg {
  width: 16px;
  height: 16px;
  display: block;
  color: white;
  stroke: white;
  filter: brightness(1);
}

.cta-button.secondary {
  background-color: transparent;
  color: #000000;
  border: 1px solid #000000;
}

.cta-button.secondary:hover {
  background-color: #ff5c00;
  color: #ffffff;
}

/* WhatsApp button specific styles */
.contact-buttons .cta-button.secondary {
  color: #000000;
  border: 1px solid black;
}

.contact-buttons .cta-button.secondary:hover {
  background-color: #000000;
  color: #ffffff;
}

/* Clients Section */
.clients {
  margin-top: -6rem;
  padding: 12rem 2rem 6rem 2rem;
  background-color: #f9f9f9;
  border-radius: 0 0 90px 90px;
  z-index: -1;
}

.client-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.client-logo {
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}
/* Services Section */
.services {
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
  background-color: #000000; /* Ensuring dark background */
  color: #ffffff; /* Making default text color white */
}

.section-label-container {
  display: flex;
  justify-content: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-label-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 1px;
  background-color: #333333; /* Darker color for the line on dark background */
  z-index: 1;
}

.section-label {
  background-color: #222222; /* Darker background for label */
  color: #ffffff; /* White text for the label */
  padding: 10px 24px;
  border-radius: 30px;
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05); /* Adjusted shadow for dark mode */
  position: relative;
  z-index: 2;
  letter-spacing: 0.3px;
  transform: rotate(-15deg);
}

.services .section-label {
  background-color: #222222; /* Maintaining consistency with updated label style */
}

.section-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  max-width: 900px;
  margin: 2rem auto 4rem;
  color: #ffffff; /* Making section title white for visibility on dark background */
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.service-item {
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  transition: transform 0.3s ease;
  background-color: #111111; /* Slightly lighter than main background for contrast */
  border: 1px solid #222222; /* Subtle border for definition */
}

.service-item:hover {
  transform: translateY(-5px);
  background-color: #222222; /* Slightly lighter background on hover for better feedback */
  border-color: #444444; /* Brighter border on hover */
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.05); /* Subtle glow effect */
}

.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  filter: brightness(1.2); /* Make icons slightly brighter for better visibility on dark background */
  /* Make icons unclickable and unselectable */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.service-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 1rem;
  color: #ffffff; /* Making service titles white for visibility on dark background */
}

.service-description {
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  color: #cccccc; /* Lighter gray for service descriptions, still visible on dark background */
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 6rem 2rem;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 90px 90px 0 0;
  margin-top: 4rem;
  position: relative;
}

.contact-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  display: block;
  /* Make icon unclickable and unselectable */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

.contact-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  font-size: 48px;
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.contact-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600 !important;
  padding: 0.8rem 1.5rem !important;
  min-width: 160px;
  border-radius: 8px !important;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.contact-button .button-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-bottom: 1px;
  /* Make button icon unclickable and unselectable */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-drag: none;
}

/* Footer */
.footer {
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #efeeec;
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.copyright {
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  color: #555555;
}

.resume-button, .copy-email {
  background-color: #000; 
  color: white;
  border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 64px;
  }
  
  .section-title {
    font-size: 48px;
  }
  
  .contact-title {
    font-size: 48px;
  }
  
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #efeeec;
  }
  
  .action-buttons {
    display: none;
  }

  .email {
    display: none;
  }

  .hamburger-menu {
    display: flex;
    z-index: 101;
    margin-left: auto;
    position: relative;
  }
  
  .hamburger-menu.open {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .hamburger-menu.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .hamburger-menu.open .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #1a1a1a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-left: 0;
    z-index: 100;
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .navbar.active {
    right: 0;
  }
  
  .desktop-only-links {
    display: none;
  }
  
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 3rem;
    padding: 0;
  }

  .mobile-nav-link {
    color: #ffffff;
    font-size: 36px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: "Archivo", sans-serif;
  }
  
  /* Mobile nav link hover styles are handled by the brand colors */
  
  .mobile-cta-buttons {
    display: flex;
    gap: 0.75rem;
  }

  .cta-button {
    text-align: center;
    padding: 0.75rem 1rem;
    white-space: nowrap;
    font-size: 12px;
    border-radius: 100px;
  }

  .social-links {
    display: none;
  }
  
  .hamburger-line {
    background-color: #000;
  }
  
  .hamburger-menu.open .hamburger-line {
    background-color: #fff;
  }
  
  .hero {
    padding: 3rem 1.5rem 5rem;
    border-radius: 0 0 75px 75px;
  }
  
  .profile-image {
    width: 400px;
    height: auto;
    margin-bottom: 1.5rem;
  }
  
  .hero-title {
    font-size: 48px;
    line-height: 1.3;
  }

  
  .latest-works-btn {
    padding: 0.9rem 1.8rem;
    font-size: 16px;
    min-width: 180px;
  }
  
  .section-title {
    font-size: 32px;
    line-height: 1.3;
  }
  
  .clients {
    padding: 3rem 1.5rem;
    border-radius: 0 0 75px 75px;
  }
  
  .client-list {
    gap: 2rem;
  }
  
  .client-logo {
    height: 50px;
  }
  
  .services {
    padding: 4rem 1.5rem;
  }
  
  .service-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-item {
    padding: 1.5rem;
    border-radius: 15px;
  }

  .service-icon {
    width: 30px;
    height: auto;
  }
  
  .contact {
    padding: 4rem 1.5rem;
    margin-top: 2rem;
    border-radius: 75px 75px 0 0;
  }
  
  .contact-icon {
    width: 100px;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
  }
  
  .contact-title {
    font-size: 32px;
    line-height: 1.3;
  }
  
  .contact-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
  }
  
  .contact-buttons .cta-button {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
    font-size: 16px; /* Override the smaller font size for contact buttons */
  }
  
  .footer {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
  }
  
  .footer .social-links {
    margin-top: 0.5rem;
  }
}

/* Email Copy Feature */
.copy-email {
  cursor: pointer;
}  /* Hamburger Menu Animation */
.hamburger-menu.open .hamburger-line:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  background-color: #fff;
}

.hamburger-menu.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open .hamburger-line:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  background-color: #fff;
}

/* Body Overlay when menu is open */
body.menu-open::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

/* Mobile Navigation Styles */
.mobile-nav-links {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 3rem;
    padding: 0;
  }
  
  .mobile-nav-link {
    color: #ffffff;
    font-size: 36px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-family: "Archivo", sans-serif;
  }
  
  /* Mobile nav hover effects are handled by the brand color styles */
}

@media (min-width: 769px) {
  .navbar {
    display: flex !important;
    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
  }
}

/* Latest Works button hover effect */
.latest-works-btn:hover .arrow-icon {
  transform: translate(3px, 0);
  transition: transform 0.2s ease;
}

.latest-works-btn:hover .arrow-svg {
  color: white;
  stroke: white;
}

/* Responsive styles for section labels on mobile devices */
@media (max-width: 768px) {
  .section-label {
    font-size: 14px;
    padding: 6px 16px;
  }
  
  .section-label-container {
    margin-bottom: 4rem;
  }

  .section-label-container::before {
  left: 2%;
  right: 2%;
}
}


@media (max-width: 768px) {
  .clients {
    margin-top: -4rem;
    padding: 6rem 1rem 3rem 1rem;
    background-color: #f9f9f9;
    border-radius: 0 0 45px 45px;
    z-index: -1;
  }
}
