@charset "UTF-8";
@import 'reset';
@import 'mixin';
@import 'media';

header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  background: #fff;
  .header--line--banner--wrap{
    background-image: url(../img/top_line_bg.svg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: left center;
    background-color: #2ECC71;
    width:100%;        
    padding:0px;    
    @include flex-center;
    overflow: hidden;
    transition: all linear .2s;
    height:100px;

    &.actv{
      padding:0px 0px;
      height:0px;
      &+.header--contents--wrap{
        .header--dim{
          top: 170px;
        }
      }
    }    
    .inner--contents{
      width:100%;
      max-width: 1200px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      .close--btn{
        background: none;
        border: 0px;
        padding:0px;
        position: absolute;
        top: calc(50% - 15px);
        right:0px;
      }
      h3{
        color: #FFF;
        text-align: center;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: -0.4px;
      }
      p{
        color: #FFF;
        font-size: 15px;
        letter-spacing: -0.3px;
        font-weight: 500;
      }
    }
  }

  .header--contents--wrap{
    width:100%;
    @include flex-center;
    min-height:80px;
    .hnb--wrap{
      @include flex-center;

      gap:10px;

      button{
        padding:0px;
        border:0px;
        background: none;
        width:30px;
        height:30px;
        @include flex-center;

        &.hmb--btn{  
          display: none;
        }
      }
    }
    .header--contents{
      width:100%;
      display: flex;
      flex-direction: column;
      .header--logo--wrap{
        border-bottom: 1px solid #d9d9d9;
        .logo--wrap{
          height: 100px;
          align-items: center;
          margin: 0 auto;
          width: 100%;
          max-width:1200px;
          display: flex;
          justify-content: space-between;
          padding: 20px 0;
          .logo{
            width: 210px;
            height: 58px;
            a{
              display: inline-block;
              img{
                width: 100%;
              }
            }
          }
          .txt{
            display: flex;
            flex-direction: column;
            gap: 15px;
            justify-content: center;
            p{
              color: #000;
              font-size: 15px;
              font-weight: 300;
              letter-spacing: -0.15px;
              line-height: 1;
              span{
                color: #1aaf59;
                font-weight: 600;
              }
              &:last-child{
                font-size: 18px;
                span{
                  font-weight: 700;
                }
              }
            }
          }
        }
      }
      .header--gnb--wrap{
        .gnb--wrap{
          width: 100%;
          max-width: 1200px;
          margin: 0 auto;
          transition: left linear .2s;      
          &.actv{
            >ul{
              li{
                >ul{
                  display: block;
                  top:52px;
                  pointer-events: auto;
                  transform: translateX(-50%) translateY(0px);   
                  opacity: 1;
                }
              }
            }    
          }
          >ul{
            width: 100%;
            @include flex-center;
            li{
              width: 20%;
              position: relative;
              text-align: center;
              a{
                width: 100%;
                color: #000;
                font-size: 17px;
                height: 70px;
                display: inline-block;
                line-height: 70px;
                font-style: normal;
                font-weight: 600;              
                letter-spacing: -0.34px;
              }
              ul{
                /*!2025-07-23 추가 */
                pointer-events: none;
                position: absolute;
                top:-500px;
                left:50%;
                opacity: 0;
                transform: translateX(-50%) translateY(-20px);                                        
                transition: transform linear .2s, opacity linear .4s;
                background: transparent;
                padding:10px;  
                z-index: 1000;            
                li{
                  padding:5px;
                  a{
                    color: #191919;
                    font-size: 17px;
                    font-style: normal;
                    font-weight: 500;              
                    letter-spacing: -0.34px;
                    white-space: nowrap;
                    strong{
                      color: #5D1BB8;
                      font-size: 17px;
                      font-style: normal;
                      font-weight: 700;                
                      letter-spacing: -0.34px;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

 

  .header--wrap{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;    
    &:after{
      transition: all ease-in-out .3s;
      content: "";
      display: block;
      height:0px;
      width:100%;
      background: #fff;
      position: absolute;
      top: 166px;
      left:0px;
      border-top:1px solid #ebebeb;
      z-index: -1;      
    }
  }

  
  
}

.header--dim{
  &.actv{
    display: block;
    height:300px;
  }
  display: none;
  width:100%;
  height: 0px;
  position: fixed;
  top:270px;
  left:0px;
  background:#fff;
  border-top:1px solid #eee;
  z-index: 900;
}

main{
  padding-top: 270px!important;
  &.actv{
    padding-top: 170px!important;
  }
  
  .main--visual--section{
    overflow: hidden;
    position: relative;
    .main--visual--wrap{
      width:100%;
      .main--visual--img{
        width:100%;
        overflow: hidden;
        height:500px;
        position: relative;
        img{
          position: absolute;
          left:50%;
          transform: translateX(-50%);
        }
        .main--visual--txt{
          position: absolute;
          width: 100%;
          left: 50%;
          transform: translateX(-50%);
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-direction: column;
          max-width: 1200px;
          gap: 40px;
          h3{
            color: #191919;
            font-size: 50px;
            font-weight: 700;
          }
          p{
            font-size: 18px;
            color: #191919;
            font-weight: 400;
            margin-bottom: 30px;
          }
        }
      }
    }
    .main--visual--pager{
      position: absolute;
      left:50%;
      transform: translateX(-50%);
      bottom:35px;
      z-index: 9;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      width:100%;
      max-width:1200px;
      gap:11px;
      .prev--next--wrap{
        @include flex-center;
        gap:11px;
        button{
          @include flex-center;
          width: 50px;
          height: 50px;          
          border-radius: 50px;
          border:0px;          
          background: rgba(255, 255, 255, 0.80);
          backdrop-filter: blur(2px);
        }
      }
      .play--pause{
        @include flex-center;
        gap:11px;
        button{          
          @include flex-center;
          width: 50px;
          height: 50px;          
          border-radius: 50px;
          border:0px;          
          background: rgba(255, 255, 255, 0.80);
          backdrop-filter: blur(2px);
        }
      }
      .main--visual--fraction{
        display: flex;
        align-items: center;
        justify-content: center;        
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.80);
        backdrop-filter: blur(2px);
        width:80px;
        height:50px;
        span{
          color: #737373;          
          font-size: 16px;
          font-style: normal;                   
          letter-spacing: -0.32px;
          &.swiper-pagination-current{
            color:#333;
            font-weight: 500;
          }
          &.swiper-pagination-total{
            color: #737373;
          }
        }
      }
      .main--visual--pagination{
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        .swiper-pagination-bullet{
          width: 12px;
          height: 12px;
          border-radius: 50%;
          background: rgba(255, 255, 255, 0.5);
          border: none;
          cursor: pointer;
          transition: all 0.3s ease;
          &.swiper-pagination-bullet-active{
            background: #fff;
            transform: scale(1.2);
          }
        }
      }
      .main--visual--progress{
        display: flex;
        align-items: center;
        gap: 10px;
        .progress-bar{
          width: 100px;
          height: 4px;
          background: rgba(255, 255, 255, 0.3);
          border-radius: 2px;
          position: relative;
          overflow: hidden;
        }
        .progress-text{
          color: #fff;
          font-size: 14px;
          font-weight: 500;
          min-width: 30px;
        }
      }
    }
  }
}