@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #eeeeee;
  color: #4a4a4a;
  font-family: "Times New Roman", "Yu Mincho", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 40px auto;
  background: #f8f4f1;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* header */

header{
    background:#E8C8CF;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 8%;
}

.logo h1{
    color:#5A433A;
    font-size:34px;
    font-weight:400;
    letter-spacing:2px;
}

.logo p{
    color:#fff;
    font-size:15px;
    letter-spacing:3px;
    margin-top:5px;
}

nav a{
    color:#5A433A;
    margin-left:35px;
    font-size:16px;
    letter-spacing:1px;
    transition:.3s;
}

nav a:hover{
    color:#fff;
}

nav a:hover {
  color: #d8a0a6;
}

.btn{
    background:#5A433A;
    color:#fff;
}

.btn:hover{
    background:#fff;
    color:#5A433A;
}

/* hero */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 90px 80px;
  border-bottom: 1px solid #fff;
}

.hero-text {
  width: 42%;
}

.hero-text h2 {
  font-size: 58px;
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-text h2 span {
  color: #d8a0a6;
  font-style: italic;
}

.hero-text p {
  font-size: 15px;
  margin-bottom: 45px;
  letter-spacing: 1px;
}

.btn {
  display: inline-block;
  padding: 15px 55px;
  background: #d8a0a6;
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  box-shadow: -70px 0 0 -68px #d8a0a6;
  transition: 0.3s;
}

.btn:hover {
  background: #4a4a4a;
  transform: translateY(-4px);
}

/* hero image */

.hero-image {
  width: 42%;
  position: relative;
}

.hero-image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.pink-box {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 70%;
  height: 100%;
  background: #e3b6bb;
  z-index: 1;
}

.vertical-text {
  position: absolute;
  right: -80px;
  top: 45%;
  writing-mode: vertical-rl;
  font-size: 34px;
  color: #d8a0a6;
  letter-spacing: 2px;
}

/* about */

.about {
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 70px 90px;
  border-bottom: 1px solid #fff;
}

.about-img{
    position: relative;
    width: 280px;
}

.about-img::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 420px;
    background: rgba(216,160,166,0.15);
    top: -20px;
    left: -20px;
    z-index: 1;
}

.about-img img{
    position: relative;
    width: 100%;
    height: 420px;
    object-fit: cover;
    z-index: 2;
}

.about-text {
  width: 55%;
}

.section-title {
  color: #d8a0a6;
  font-size: 26px;
  margin-bottom: 25px;
}

.about-text h3 {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 25px;
}

.about-text p {
  line-height: 2;
  font-size: 15px;
}

.text-link {
  display: inline-block;
  margin-top: 25px;
  color: #d8a0a6;
  border-bottom: 1px solid #d8a0a6;
}

/* skills */
.skills{
    position: relative;
    padding: 120px 10%;
    background: #f8f4f1;
}

.skills::before{
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: #f8eef0;
    top: 50px;
    left: 50px;
    z-index: 0;
}

.skill-list,
.section-title{
    position: relative;
    z-index: 1;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 28px 0;
    border-bottom: 1px solid #ddd;
}

.number {
    width: 45px;
    color: #d8a0a6;
    font-size: 16px;
    letter-spacing: 2px;
}

.skill-item h3 {
    font-size: 24px;
    font-weight: 400;
    color: #444;
}

/* works */

.works {
  padding: 70px 90px;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.work-card {
  background: #fff;
  padding: 20px;
  transition: 0.3s;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.work-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 20px;
}

.work-card h3 {
  font-weight: normal;
  font-size: 20px;
  margin-bottom: 8px;
}

.work-card p {
  color: #999;
  font-size: 14px;
}

/* footer */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e3b6bb;
  padding: 35px 60px;
  color: #fff;
}

footer p {
  font-size: 20px;
  margin-bottom: 8px;
}

footer h2 {
  font-size: 40px;
  font-weight: normal;
  font-style: italic;
}

/* responsive */

@media (max-width: 768px) {
  .container {
    width: 100%;
    margin: 0;
  }

  header {
    flex-direction: column;
    gap: 25px;
    padding: 30px;
  }

  nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hero {
    flex-direction: column;
    padding: 30px;
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .hero-text h2 {
    font-size: 42px;
  }

  .hero-image {
    margin-top: 50px;
  }

  .hero-image img {
    height: 380px;
  }

  .vertical-text {
    right: -35px;
    font-size: 24px;
  }

  .about{
    gap:30px;
}

.about-img{
    width:200px;
    margin:0 auto;
}

.about-img img{
    width:100%;
    height:320px;
    object-fit:cover;
}

  .skills {
    padding: 50px 30px;
  }

  .skill {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .skill span {
    width: 100%;
  }

  .bar {
    width: 100%;
  }

  .works {
    padding: 50px 30px;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}