
#projectimage {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#logoimage{
    width: 100%;
    height: 10%;
    object-fit: cover;
}

a{ color:blue; }


    
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: /* Arial, Helvetica, */sans-serif;
}


#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;

    background: #ffffff; 
    border-bottom: 1px solid rgba(0,0,0,0.08);

    z-index: 9999;
}


.header-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo img {
    height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}


.nav {
    display: flex;
    gap: 28px;
    
}

.nav a {
    color: #111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.75;
    position: relative;
    transition: opacity 0.2s ease;
}

.nav a:hover {
    opacity: 1;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #111;
    transition: width 0.25s ease;
}

.nav a:hover::after {
    width: 100%;
}


#header.scrolled {
    height: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

#header.scrolled .logo img {
    height: 30px;
}




img {
    max-width: 100%;
    height: auto;
    display: block;
}
    
.project-image {
    width: 80%;
    max-width: 900px;
}

.project-image img {
    width: 100%;
    height: auto;    
    display: block;
}

.section {
    min-height: calc(100vh - 70px);
    min-height: calc(100svh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
}
    
/* why div(class cosection) section : .section is only for align when press buttons   */

.contact-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

#contact h2{
    color: #FFFFFF;
}

.contact-group h3 {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 14px;
}

.contact-group ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
}

.contact-group li {
    font-size: 15px;
    margin-bottom: 8px;
    color: #FFFFFF;
    text-align: center;
    font-weight: 500;
}


#contactabutnotdiscord{
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    background: #333; 
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}


.contact-link {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


.discord-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    background: #5865F2; 
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.discord-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


.footer {
    text-align: center;
    padding: 30px 0;
    font-size: 13px;
    color: #777;
    border-top: 1px solid rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}



body {
    margin: 0;
    scroll-snap-type: y mandatory;
}


.co-section {
    max-width: 900px;
    margin: 120px auto;
    padding: 0 20px;
    text-align: center;
}


.co-section h2 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}


.co-section p {
    max-width: 680px;
    margin: 0 auto 60px;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

/* why div(class cosection) section : .section is only for align when press buttons    */





html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    scroll-snap-type: y mandatory;
}



#projects {
    background-image: url("bgim.png"); /* style.css 기준 경로 맞춰라 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;

}

#projects::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* 숫자 올릴수록 더 어두움 */
    z-index: 0;
}

#projects .co-section {
    position: relative;
    z-index: 1;
    color: white;
}

#projects p {
    color: white;
}

#home.section {
    background-image: url("/naga.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#about.section {
    background: linear-gradient(
    135deg,
    #f9fafc 0%,
    #eef1f8 100%
    );
}

#about.section {
    background-image: url("/insh.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#home.section {
    background-image: url("/naga.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#contact.section {
    background-image: url("/contactw.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section {
    transition: background-color 0.4s ease;
}

.section {
    position: relative;
    min-height: 100svh;

}

.section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.bg-blur::before {
    content: "";
    position: absolute;
    inset: 0;

    
    filter: blur(14px);
    transform: scale(1.1);

    z-index: 0;
}


.bg-blur::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}


.bg-blur .co-section {
    position: relative;
    z-index: 2;
    color: white;
}

#projects img {
    margin-top: 34px;
}

.project-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease;
}



.project-slider .slide.active {
    opacity: 1;
}

.slide:nth-child(1) {
    background-image: url('ins.png');
}
.slide:nth-child(2) {
    background-image: url('3.png');
}

.project-info {
    position: relative;
    z-index: 1;
    top: 50%;                
    left: 50%;               
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    z-index: 10;
    padding: 2vh 5vw;   
}

#project-title{

    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.2px;
    pointer-events: none;


}

#project-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    background: #333; 
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;

}

#project-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
}
.prev { left: 15px; position: absolute; /* 슬라이더 위에 고정 */
top: 50%;
transform: translateY(-50%);
z-index: 10; /* 글씨보다 위 */
pointer-events: auto; /* 클릭 가능 */}
.next { right: 15px; position: absolute; /* 슬라이더 위에 고정 */
top: 50%;
transform: translateY(-50%);
z-index: 10; /* 글씨보다 위 */
pointer-events: auto; /* 클릭 가능 */}



@media (max-width: 768px) {
    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .project-info {
        z-index: 1; /* 글씨는 버튼 뒤 */
    }
}
#projects {
    position: relative;
    width: 100vw;
    height: calc(100vh - 80px); 
    padding-top: 80px;          
    overflow: hidden;
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 12px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 13px;
    padding: 8px 6px;
  }

  .logo img {
    height: 28px;
  }
}
#project-title{
  max-width: 92vw;
  margin: 0 auto;

  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;

  font-size: clamp(18px, 5.8vw, 34px);
  line-height: 1.15;
}

#logoimage{
  height: 36px;
  width: auto;
  object-fit: contain;
}

.co-section ul {
  list-style: none;        /* 점 제거 */
  padding: 0;
  
}

.co-section li {
  display: flex;        
  justify-content: center;

  align-items: center;     /* 세로 가운데 정렬 */
  gap: 40px;               /* 이름이랑 설명 사이 간격 */
  margin-bottom: 15px;
}

.co-section h4 {
  margin: 0;               /* 기본 마진 제거 */
  min-width: 10%        /* 이름 영역 고정폭 (원하는대로 조절) */
}



.co-section ul {
  list-style: none;
  padding: 0;
}

.co-section li {
  display: flex;
  justify-content: center;   /* 가로 가운데 */
  align-items: center;
  gap: 40px;                 /* 이름-설명 간격 */
  margin-bottom: 20px;
}