  @font-face {
  font-family: 'SBAggro';
  src: url('font/SBAggroL.woff2') format('woff2'),
       url('font/SBAggroL.woff') format('woff'),
       url('font/SBAggroL.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 기본 설정 및 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 0px;
}

/* 텍스트 요소 스타일 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-bottom: 16px;
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 0px;
}

/* 버튼 스타일 */
button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}
button:hover {
  background-color: #0056b3;
}

/* 유틸리티 클래스 */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.p-0  { padding: 0; }
.p-1  { padding: 8px; }
.p-2  { padding: 16px; }
.p-3  { padding: 24px; }
.p-4  { padding: 32px; }

.pt-2 { padding-top: 16px; }
.pb-2 { padding-bottom: 16px; }
.pl-2 { padding-left: 16px; }
.pr-2 { padding-right: 16px; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.w-100 { width: 100%; }
.max-w-1200 { max-width: 1200px; margin: 0 auto; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* 기본 섹션 스타일 */


 body {
      margin: 0;
      font-family: 'pretendard', sans-serif;
      line-height: 1.2;
      scroll-behavior: smooth;
    }

	h1, h2 {
   font-family: 'SBAggro', sans-serif;
	}


/* nav menu 기본 섹션 스타일 */


    .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0rem 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .navbar .logo {
	padding-top: 10px;
	padding-left:100px;
  }  
 
  .navbar .logo h1{
  width:200px; 
  }

  .navbar .logo h1 img{
  width:100%; 
  }

  .navbar nav {
    display: flex;
    gap: 4.5rem;
	padding-right:80px;
  }

  .navbar nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .navbar nav a:hover,
  .navbar nav a.active {
    color: #A67C52;
    font-weight: 700;
  }

  @media (max-width: 768px) {
    .navbar nav {
      display: none;
    }
	.navbar .logo {
	 padding-left:10px;
	}

  }

  .header-content h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
  }

  .header-content p {
 
    font-weight: 500;
  }



 /* 햄버거 버튼 스타일 */
	.hamburger {
	  display: none;
	  flex-direction: column;
	  gap: 5px;
	  cursor: pointer;
	  z-index: 1001;
	  margin-right:15px;
	}

	.hamburger div {
	  width: 25px;
	  height: 4px;
	  background-color: #fff;
	}

	.mobile-menu {
	  position: fixed;
	  top: -100vh;
	  left: 0;
	  width: 100vw;
	  height: 100vh;
	  background: rgba(0, 0, 0, 0.7);
	  display: flex;
	  flex-direction: column;
	  align-items: flex-end;
	  justify-content: flex-start;
	  gap: 2rem;
	  padding: 5rem 2rem;
	  transition: top 0.4s ease;
	  z-index: 1000;
	}

	.mobile-menu.show {
	  top: 0;
	}

	.mobile-menu a {
	  font-size: 1.2rem;
	  color: #fff;
	  text-decoration: none;
	  font-weight: bold;
	}

	@media (max-width: 768px) {
	  .hamburger {
		display: flex;
	  }
	  .navbar nav {
		display: none;
	  }
	}
/* 햄버거 버튼 스타일 end   */



    section {
      padding: 5.5rem 2rem;
    }

    .section-title {     
      text-align: center;
      margin-bottom: 4rem;
      transform: translateY(20px);
      transition: all 1s ease;
    }

	.section-title h2{
		font-size: 2.5rem;
		font-weight: bold;
		text-transform : uppercase;
	}

	.section-title p{
	font-size: 0.9rem; 
	}

    .section-title.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .carousel-container {
	  overflow: hidden;
      position: relative;
	  padding-bottom:30px;
    }

    .carousel-track {
      display: flex;
      gap: 1.5rem;
      transition: transform 0.5s ease;
      will-change: transform;
    }

/* main slide ------- */
	.slider-container {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
	 }

	  .slide {
		position: absolute;
		top: 0; left: 0;
		height: 100%;
		width: 100%;
		background-size: cover;
		background-position: center;
		opacity: 0;
		transition: opacity 2s ease;
		display: flex;
		justify-content: flex-start;
		align-items: center;
		padding-left: 10%;
		color: white;
		z-index: 0;
	  }

	  .slide.active {
		opacity: 1;
		z-index: 1;
	  }

	  .header-content {
		max-width: 1200px;
		animation: fadeInUp 1s ease;
	  }

	  .header-content h1, .header-content h2 {
		font-family: 'SBAggro', sans-serif;
		line-height: 1.2;
	  }

	  .header-content h1 {
		font-size: 3rem;
		margin-bottom: 1rem;
	  }

	  .header-content h2 {
		font-size: 1.5rem;
		color: #f2eabf;
		margin-bottom: 1rem;
	  }

	  .header-content p {
		font-size: 1rem;
		line-height: 1.6;
	  }

	  .slidetag {
		width: 120px;
		text-align: center;
		margin-bottom: 1rem;
	  }

	  .slidetag p {
		border: 1px solid #fff;
		border-radius: 30px;
		padding: 5px;
		font-size: 14px;
	  }

	  .nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		font-size: 1rem;
		color: white;
		background: rgba(0, 0, 0, 0.3);
		border: none;
		padding: 0.5rem 1rem 0.7rem 0.9rem;
		cursor: pointer;
		z-index: 10;
		border-radius:30px
	  }

	  .nav.prev { left: 20px; }
	  .nav.next { right: 20px; }

	  .slider-timeline {
		position: absolute;
		bottom: 50px;
		left: 50%;
		transform: translateX(-50%);
		width: 200px;
		height: 4px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		z-index: 5;
	  }

	  .timeline-bar {
		flex-grow: 1;
		height: 100%;
		background: rgba(255, 255, 255, 0.3);
		border-radius: 2px;
		margin: 0 10px;
		position: relative;
		overflow: hidden;
	  }

	  .timeline-progress {
		height: 100%;
		width: 0;
		background-color: #fff;
		animation: progressBar 6s linear infinite;
	  }

	  .slide-counter {
		font-size: 0.8rem;
		color: #fff;
		min-width: 20px;
		text-align: center;
	  }

	  .play-toggle {
		background: none;
		color: white;
		font-size: 1rem;
		border: none;
		cursor: pointer;
		margin-top:-5px;
		padding:0; 

	  }

	  @keyframes progressBar {
		0% { width: 0; }
		100% { width: 100%; }
	  }

	  @keyframes fadeInUp {
		from { opacity: 0; transform: translateY(30px); }
		to { opacity: 1; transform: translateY(0); }
	  }

	/* main section1 -- card start */

	.card-image-wrapper {
		position: relative;

	  }

	  .card-image-wrapper img {
		width: 100%;
		height: 180px;
		object-fit: cover;
		display: block;
	  }

	  .card-gradient-overlay {
		position: absolute;
		width:400px;
		border-radius: 10px;
		top: 0;
		left: 0;
		height: 100%;
		background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.25) 100%);
		pointer-events: none;
		z-index: 1;
	  }



    .card {
      flex: 0 0 400px;
	  position:relative;
      background: transparent;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .card img {
      width: 100%;
      height: 100%;
	  max-height: 500px; 
      object-fit: cover;
    }

     .card-content {
		background: transparent;
		color:#fff; 
	  }

    .card-content h3 {
	  position: absolute;
	  top:15px;
	  right:10px; 
      font-size: 1.4rem;
      margin-bottom: 0.5rem;
	  text-align:right;
	  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    }

	.card-content-title{
	  position: absolute;
	  bottom:0px;
	  left:20px; 
	  text-align:left; 
      margin-top:320px;
	}

	.card-content-title h4{
	  text-align:left; 
	  font-size: 2rem;
	  line-height: 2.5rem;
	  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	}

	.card-content-title p{
	  text-align:left;
	  line-height:1.5rem;
	  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	}

	.card-content-title p span{
	  font-weight:bold;
	}

    .carousel-buttons {
      display: flex;
      justify-content: center;
      margin-top: 1rem;
      gap: 1rem;
    }

    .carousel-buttons button {
      padding: 0.5rem 1rem;
      border: none;
      background: #ff6f61;
      color: #fff;
      border-radius: 5px;
      cursor: pointer;
    }


   @media (max-width: 768px) {
    .carousel-track {
      gap: 16px;
      width: auto !important; /* PC 설정된 고정 너비 제거 */
    }
    .card {
      flex: 0 0 calc(50% - 12px);
    }
    .card-image-wrapper {
      height: auto;
    }
    .card-image-wrapper img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    .card-content {
      width: 100%;
      height: auto;
	  padding: 0rem ;
    }
    .card-content-title {
      margin-top: 7rem;
    }
	.card-content h3 {
		font-size: 1rem;
	}
	.card-content-title h4{
		font-size: 20px;
		line-height: 20px; 
	}
	.card-content-title p {
		font-size: 14px; 
		line-height: 17px; 
	}

}

	/* main section2 -- card start */
	.main-section2 {
    background-color: #fff;
    background: url('../images/breadcard_bg.png') top center;
  }

  .bread-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: auto;
    position: relative;
  }

  .bread-track-wrapper {
    overflow: hidden;
    width: 100%;
    padding-bottom: 30px;
  }

  .bread-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 16px;
  }

  .bread-card {
    flex: 0 0 calc(25% - 12px);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    position: relative;
  }

  .bread-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .bread-info {

    padding: 1rem;
    color: #fff;
  }

  .bread-info h3 {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    margin: 0.5rem 0;
    text-align: right;
  }

  .bread-content-title {
      position: absolute;
    bottom: 40px;
    left: 10px;
  }

  .bread-content-title h4 {
    font-size: 1.7rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
  }

  .bread-content-title p {
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.5rem;
  }

  .bread-content-title span {
    font-weight: bold;
  }

  .bread-arrow {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.3rem;
	color:#ddd; 
	margin-top:-20px;
  }

  @media (max-width: 768px) {
	.bread-slider {
	 gap: 0rem;
	}
    .bread-card {
      flex: 0 0 calc(50% - 8px);
    }
  }

  /* main section -- card3 start */
 .main-section3{
	background-color:#f1f4ea;
	background:url('images/roicard_bg.png') top center;
 }

 .roi-section {

    padding: 2rem 2rem 4rem;
    text-align: center;

  }

  .roi-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
  }

  .roi-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2.1rem;
    justify-content: center;
  }

  .roi-card {
    width: 400px;
	height: 550px;
    background: #fff;
    display: flex;
    flex-direction: column;
	border-radius: 0px;
	position:relative; 
	
  }

  .roi-card img {
    width: 100%;
    height: auto;
	display: block;
	
  }

  .roi-content {
    padding: 1rem;
    text-align: left;
  }

  .roi-content h3 {
    font-size: 1.7rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
  }

  .roi-content p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
  }

  .roi-button {
    position : absolute; 
	bottom:130px;
	right:0;
    background: #e3c8a1;
    color: #fff;
    font-size: 0.8rem;
    padding: 1rem 1.4rem;
    text-decoration: none;
    display: inline-block;

  }

  .roi-button:hover {
    background: #d3b48d;
  }

   @media (max-width: 768px) {
	 .main-section2, .main-section3{
		background-size: cover;
	 }

	.roi-card { 
		width: 100%;
		min-width: 320px;
		max-width: 768px;
		height:100%;
		min-height:320px;
		max-height:768px; 
	}
	.roi-card img{
		width:100%; 
		height:100%;
	}
	.roi-button{
		position:relative; 
		bottom: 0px;
		clear:both; 
	}

}


	/* footer -- */

	footer {
      background: #222;
      color: #ccc;
      padding: 3rem 2rem 2rem;
    }

    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-column {
      /*flex: 1 1 200px; */
      margin: 1rem;
    }

    .footer-column h4 {
      font-size: 1.1rem;
      margin-bottom: 1rem;
      color: #fff;
    }

    .footer-column ul {
      list-style: none;
      padding: 0;
    }

    .footer-column ul li {
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
    }

	.footer-column ul li a{
		color:#fff; 
	}
    .newsletter {
      margin-top: 1rem;
    }

    .newsletter input[type=email] {
      padding: 0.5rem;
      width: 70%;
      border: none;
      border-radius: 5px;
    }

    .newsletter button {
      padding: 0.5rem 1rem;
      border: none;
      background: #ff6f61;
      color: #fff;
      border-radius: 5px;
      margin-left: 0.5rem;
      cursor: pointer;
    }

    .footer-bottom {
	  max-width:1200px;
	  min-width:320px
	  width:1200px;
	  margin:0 auto;
      text-align: left;
      font-size: 0.8rem;
    }

	.footer-bottom p{ 
	 margin: 1rem;<CENTER></CENTER>
	 }

    .social-icons {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
	  text-align:right;
    }

    .social-icons a {
      color: #ccc;
      font-size: 1.2rem;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #fff;
    }




	.footer-menu {
    background-color: #111;
    color: #ccc;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    border-top: 1px solid #444;
  }
  .footer-menu a {
    color: #ccc;
    text-decoration: none;
  }
  .footer-menu a:hover {
    color: #ff6f61;
  }

  @media (max-width: 768px) {
   
	section{
	  padding: 3.5rem 0rem;
	}

	.section-title h2{
	 line-height:1.7rem; 
	 font-size: 1.7rem;
	 padding:0 30px;
	}
	.navbar nav {
      display: none;
    }
    .hamburger {
      display: flex;
    }

	footer {
      padding: 3rem 1rem 2rem;
    }

    .footer-menu {
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
  }
