/* Global Styles */
body {
  margin: 0;
  padding: 0;
  background-color: #131212;
  color: #fff;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* Portfolio Section */
.portfolio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  padding: 40px 0;
}

/* Left Column */
.left-column {
  flex: 1;
  padding-right: 50px;
}

.name {
  padding-left: 40px;
  font-size: 6rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.subheading {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Right Column */
.right-column {
  flex: 1;
  display: flex;
  align-items: center;
}

.image-container {
  display: flex;
  gap: 20px;
  height: 397px;
}

.portfolio-image {
  width: 50%;
  object-fit: cover;
}

/* Divider */
.divider {
  width: 90%;
  max-width: 1200px;
  border: 0.5px solid #aaa;
  margin: 12px 0;
}

/* Description */
.description {
  width: 60%;
  max-width: 1200px;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  align-self: flex-start;
  margin-left: 5%;
}

/* About Section */
.about-section {
  display: flex;
  margin-top: 5em;
  justify-content: center;
  padding: 50px 20px;
}

.about-container {
  display: flex;
  max-width: 1100px;
  align-items: center;
}

.image-container2 {
  display: flex;
  flex-direction: column;
  width: 600px;
  gap: 20px;
}

.image-container2 img {
  height: 250px;
  border-radius: 5px;
}

.image-3 {
  width: 360px;
}

.image-4 {
  width: 360px;
  margin-left: 9em;
}

.text-container {
  flex: 1;
}

.about-heading {
  font-size: 32px;
  /* width: 1em; */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 4em;
  margin-right: 3em;
  margin-top: 3.2em;
}

.about-heading .line {
  flex-grow: 1;
  height: 2px;
  background-color: #fff;
}

.about-text {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 15px;
  margin-left: 70px;
  max-width: 500px;
}

/* 00000000000000000000000000 */
/* General Reset */
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
.style-section {
  background-color: #070707;

  color: white;
  font-family: sans-serif;
  width: 100%;
  padding: 50px 20px;
}

/* Measurement Details */
.measurements {
  display: flex;
  justify-content: left;
  padding-left: 5em;
  gap: 100px;
  margin-bottom: 50px;
}

.column {
  text-align: left;
}

.column p {
  font-size: 16px;
  margin-bottom: 10px;
}

.column span {
  text-decoration: underline;
  font-weight: bold;
  margin-right: 20px;
}

/* Style Title */
.style-title {
  font-size: 76px;
  font-weight: bold;
  margin-bottom: -1em;
  text-align: left;
  padding-left: 1.1em;
}

/* Image Gallery */
.style-gallery {
  display: flex;
  justify-content: space-around;
  align-items: end;
  gap: 30px;
  flex-wrap: wrap;
}

.image-container3 {
  text-align: center;
}

.image-container3 img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
}

.tall img {
  height: 400px;
}

/* Image Captions */
.image-container3 p {
  margin-top: 10px;
  font-size: 18px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .measurements {
    flex-direction: column;
    padding-left: 2em;
    gap: 20px;
    align-items: center;
  }
  .style-title {
    font-size: 50px;
    text-align: center;
    padding-left: 0;
  }
  .style-gallery {
    justify-content: center;
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .style-section {
    padding: 30px 15px;
  }
  .style-title {
    font-size: 40px;
    text-align: center;
  }
  .measurements {
    padding-left: 1em;
  }
  .image-container3 img {
    width: 180px;
    height: 180px;
  }
  .tall img {
    height: 300px;
  }
}

@media screen and (max-width: 480px) {
  .style-title {
    font-size: 30px;
  }
  .measurements {
    text-align: center;
    padding-left: 0;
    align-items: center;
  }
  .image-container3 img {
    width: 150px;
    height: 150px;
  }
  .tall img {
    height: 250px;
  }
  .style-gallery {
    flex-direction: column;
    align-items: center;
  }
}
/* hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh */

/* General Styling */

body {
  margin: 0;

  padding: 0;

  background-color: #070707;

  color: white;

  font-family: "Arial", sans-serif;
}

/* Section Layout */

.work-section {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 50px;

  padding: 90px 20px;

  max-width: 1200px;

  /* margin: auto; */
}

/* Left Column */

.left {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  text-align: left;
}

.left img {
  width: 350px;

  height: 214px;

  object-fit: cover;
}

.left h1 {
  font-size: 85px;

  font-weight: bold;

  margin-top: 20px;
}

/* Middle Image */

.middle img {
  width: 300px;

  height: 420px;

  object-fit: cover;
}

/* Right Column */

.right {
  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding-left: 20px;
}

.contact-info {
  display: flex;

  flex-direction: column;

  gap: 30px;
}

/* Contact Info Styling */

.info {
  display: flex;

  align-items: center;

  gap: 20px;
}

.info i {
  font-size: 24px;
}

.info h3 {
  margin: 0;

  font-size: 18px;
}

.info p {
  margin: 7px 0 0 0;

  font-size: 16px;
}

/* Responsive Design */

@media (max-width: 900px) {
  .work-section {
    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 30px;
  }

  .left,
  .middle,
  .right {
    width: 100%;
  }

  .left img,
  .middle img {
    width: 100%;

    height: auto;
  }

  .left h1 {
    font-size: 80px;
  }

  .contact-info {
    align-items: center;
  }
}

/* the section appearance */
/* Hide elements initially */
h1,
h2,
h3,
p,
img,
.image-container,
.text-container,
.about-text,
.measurements,
.contact-info {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When they appear */
.show {
  opacity: 1;
  transform: translateY(0);
}
/* responsive design */
/* ========= Tablets (≤1024px) ========= */
@media screen and (max-width: 1024px) {
  .measurements {
    flex-direction: column;
    padding-left: 2em;
    gap: 20px;
    align-items: center;
  }

  .style-title {
    font-size: 50px;
    text-align: center;
    margin-bottom: 6px;
  }

  .style-gallery {
    justify-content: center;
    gap: 20px;
  }
  .about-text {
    margin-left: -70px;
  }
}

/* ========= Small Tablets & Large Phones (≤768px) ========= */
@media screen and (max-width: 768px) {
  /* Portfolio Section */
  .portfolio {
    flex-direction: column;
    text-align: center;
  }

  .left-column {
    padding-right: 0;
  }

  .right-column {
    justify-content: center;
  }

  .image-container {
    flex-direction: column;
    gap: 10px;
  }

  .portfolio-image {
    width: 100%;
  }

  .name {
    font-size: 3rem;
    text-align: center;
    padding-left: 0;
  }

  .description {
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* About Section */
  .about-container {
    flex-direction: column;
    text-align: center;
  }

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

  .image-container2 {
    width: 100%;
    align-items: center;
  }

  .image-3,
  .image-4 {
    width: 100%;
    margin-left: 0;
  }

  .about-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* Style Section */
  .style-section {
    padding: 30px 15px;
  }

  .style-title {
    font-size: 40px;
    text-align: center;
  }

  .measurements {
    padding-left: 1em;
  }

  .image-container3 img {
    width: 180px;
    height: 180px;
  }

  .tall img {
    height: 300px;
  }

  /* Work Section */
  .work-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
  }

  .left,
  .middle,
  .right {
    width: 100%;
  }

  .left img,
  .middle img {
    width: 100%;
    height: auto;
  }

  .left h1 {
    font-size: 36px;
  }

  .contact-info {
    align-items: center;
  }
}

/* ========= Phones (≤480px) ========= */
@media screen and (max-width: 480px) {
  .name {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }

  .about-text {
    font-size: 14px;
  }

  .style-title {
    font-size: 30px;
  }

  .measurements {
    text-align: center;
    padding-left: 0;
    align-items: center;
  }

  .image-container3 img {
    width: 150px;
    height: 150px;
  }

  .tall img {
    height: 250px;
  }

  .style-gallery {
    flex-direction: column;
    align-items: center;
  }
}
/* hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh */
@media screen and (max-width: 768px) {
  .right-column {
    justify-content: center;
  }

  .image-container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: auto;
  }

  .portfolio-image {
    width: 100%;
    display: none; /* Hide all images by default */
  }

  .portfolio-image:first-child {
    display: block; /* Show only the first image */
  }
}
