/* Homepage Styles */

/* Hero Section */
.hero {
  max-height: 100vh;
  display: flex;
  margin-top: 0;
  background: var(--cream);
}

.hero-left {
  flex: 1;
  padding: 120px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-content h1 {
  font-family: var(--font-header);
  font-size: 14rem;
  font-weight: bold;
  line-height: 0.9;
  margin-bottom: 20px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out;
  color: var(--black);
}

.hero-content .name {
  font-family: var(--font-header);
  font-size: 6rem;
  font-weight: bold;
  line-height: 0.9;
  margin-bottom: 40px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  color: var(--black);
}

.hero-description {
  font-family: var(--font-body);
  font-size: var(--font-size-large);
  line-height: 1.6;
  color: var(--gray);
  max-width: 500px;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
/* Contact and Social Container */
.contact-and-social {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Contact Links */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
  color: var(--black);
}

.contact-link a:hover {
  color: var(--black);
  text-decoration: underline;
}

.contact-link svg {
  flex-shrink: 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-link:hover .social-link img {
  transform: translateY(-3px);
  color: #661f65;
}

/* Hero Responsive Design Updates */
@media (max-width: 1400px) {
  .contact-and-social {
    left: 40px;
    bottom: 30px;
  }
}

@media (max-width: 1200px) {
  .contact-and-social {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .contact-link {
    font-size: 14px;
  }

  .contact-link svg {
    width: 16px;
    height: 16px;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }
}
/* Hero Right - Image */
.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Responsive Design */
@media (max-width: 1400px) {
  .hero-left {
    padding: 100px 40px 40px;
  }

  .social-links {
    left: 40px;
    bottom: 30px;
  }
}

@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    min-height: 100vh;
  }

  .hero-left {
    padding: 100px 30px 40px;
    order: 1;
  }

  .hero-right {
    order: 2;
    height: 60vh;
    min-height: 400px;
  }

  .social-links {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: 40px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-left {
    padding: 80px 20px 30px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .name {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .hero-right {
    height: 50vh;
    min-height: 350px;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    width: 35px;
    height: 35px;
  }
}

/* Section Header Styles - Reusable */
.section-header {
  background-image: url("../assets/images/black-grey-texture-background.jpg");
  background-color: var(--black);
  padding: var(--spacing-lg) 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.section-title {
  font-family: var(--font-header);
  font-size: 6rem;
  font-weight: bold;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Skills Grid Container */
.skills-container {
  max-width: var(--breakpoint-large);
  margin: var(--spacing-xxl) auto;
}

.skills-grid {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

/* Individual Skill Item */
.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-md);
  transition: transform 0.3s ease;
  border-radius: 12px;
  background: transparent;
  width: 100%;
  max-width: 200px;
}

/* Skill Icon */
.skill-icon {
  width: 100%;
  height: 100%;
  margin-bottom: var(--spacing-sm);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100px;
}

.skill-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Skill Name */
.skill-name {
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Responsive Design for Skills */

@media (max-width: 768px) {
  .section-title {
    font-size: 4rem;
  }

  .skill-item {
    min-height: 120px;
    padding: var(--spacing-sm);
  }

  .skill-name {
    font-size: 12px;
  }

  .section-header {
    padding: var(--spacing-md) 0;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 3rem;
  }

  .skill-item {
    min-height: 100px;
    max-width: none;
  }
}

/*** LOGO GRID FOR WITH SCRIPTABLE / FREELANCE ***/

.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0 auto;
}

.logo-item {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: var(--white);
  aspect-ratio: 16/9;
}

.logo-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.logo-image {
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  transition: all 0.3s ease;
}

.logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.logo-item:hover .logo-overlay {
  opacity: 1;
}

.logo-name {
  font-family: var(--font-header);
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-item:hover .logo-name {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logo-name {
    font-size: 16px;
  }
}

/*** WEB PROJECTS SECTION ***/

.portfolio-item {
  display: flex;
  align-items: center;
  margin: 8rem auto;
  gap: 60px;
  max-width: var(--breakpoint-large);
  padding: 0 var(--spacing-md);
}

.portfolio-item.reverse {
  flex-direction: row-reverse;
}

.portfolio-content {
  flex: 1;
  padding: 20px;
}

.portfolio-images {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-title {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portfolio-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-title a:hover {
  color: var(--purple);
}

.portfolio-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.8;
  color: var(--gray);
}

.portfolio-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1;
}

.tag {
  font-family: var(--font-header);
  color: var(--black);
  padding: 8px 0px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-separator {
  color: var(--gray);
  font-weight: bold;
  font-size: 1.2rem;
}

.portfolio-mockup {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.portfolio-mockup:hover {
  transform: translateY(-5px);
}

/* Show desktop mockup by default, hide mobile */
.mockup-desktop {
  display: block;
}

.mockup-mobile {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .portfolio-item,
  .portfolio-item.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }

  .portfolio-images {
    order: -1;
  }

  .portfolio-title {
    font-size: 2rem;
    text-align: center;
  }

  .portfolio-description {
    text-align: center;
    font-size: 1rem;
  }

  .portfolio-tags {
    justify-content: center;
  }

  /* Swap to mobile mockup on mobile */
  .mockup-desktop {
    display: none;
  }

  .mockup-mobile {
    display: block;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .portfolio-title {
    font-size: 1.8rem;
  }

  .portfolio-tags {
    gap: 10px;
  }

  .tag {
    font-size: 0.8rem;
    padding: 6px 0px;
  }
}

/*** CASE STUDIES SECTION ***/
.case-studies-section {
  margin: var(--spacing-xxl) 0;
}

.case-study-item {
  display: flex;
  align-items: center;
  margin: 8rem auto;
  gap: 60px;
  max-width: var(--breakpoint-large);
  padding: 0 var(--spacing-md);
}

.case-study-item.reverse {
  flex-direction: row-reverse;
}

.case-study-content {
  flex: 1;
  padding: 20px;
}

.case-study-images {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-title {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-study-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.8;
  color: var(--gray);
}

.case-study-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.case-study-mockup {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.case-study-mockup:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .case-study-item,
  .case-study-item.reverse {
    flex-direction: column;
    gap: 40px;
    margin: 4rem auto;
  }

  .case-study-images {
    order: -1;
  }

  .case-study-title {
    font-size: 2rem;
    text-align: center;
  }

  .case-study-description {
    text-align: center;
    font-size: 1rem;
  }

  .case-study-tags {
    justify-content: center;
  }
}

/* Make entire portfolio items clickable */
.portfolio-item-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item-link:hover {
  transform: translateY(-5px);
}

.portfolio-item-link .portfolio-title {
  color: var(--black);
}

.portfolio-item-link:hover .portfolio-title {
  color: var(--purple);
}

/* Make entire case study items clickable */
.case-study-item-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.case-study-item-link:hover {
  transform: translateY(-5px);
}

.case-study-item-link .case-study-title {
  color: var(--black);
}

.case-study-item-link:hover .case-study-title {
  color: var(--purple);
}

/* Section-specific styles */
.page-section {
  padding: var(--spacing-xxl) 0;
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* About Section */
.about-section {
  background-color: var(--black);
  color: var(--white);
}

.about-section h2 {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-xl);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: var(--spacing-xxl);
  align-items: start;
}

.about-text {
  font-family: var(--font-body);
  font-size: var(--font-size-large);
  line-height: 1.7;
}

.about-text p {
  margin-bottom: var(--spacing-md);
}

.contact-info {
  font-family: var(--font-body);
  font-size: var(--font-size-large);
}

.contact-info a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
  font-family: var(--font-header);
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Experience Section */
.experience-section {
  background-color: var(--cream);
  color: var(--black);
}

.experience-section h2 {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-xl);
}

.experience-content {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: var(--spacing-xxl);
  align-items: start;
  margin-bottom: var(--spacing-xl);
}

.experience-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.experience-item {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
}

.company-name {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.company-name a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-name a:hover {
  color: var(--purple);
}

.job-details {
  color: var(--gray);
  margin-top: var(--spacing-xs);
}

.download-section {
  text-align: center;
}

.download-btn {
  display: inline-block;
  padding: 16px 48px;
  background-color: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: 50px;
  font-family: var(--font-header);
  font-size: var(--font-size-base);
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: #661f65;
  border-color: #661f65;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 31, 101, 0.3);
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content,
  .experience-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .experience-list {
    grid-template-columns: 1fr;
  }

  .about-section h2,
  .experience-section h2 {
    font-size: 2rem;
    text-align: center;
  }

  .about-text,
  .contact-info {
    font-size: var(--font-size-base);
  }

  .content-wrapper {
    padding: 0 var(--spacing-sm);
  }
}

@media (max-width: 480px) {
  .about-section h2,
  .experience-section h2 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }

  .page-section {
    padding: var(--spacing-lg) 0;
  }
}
