/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.3.0
	Stable tag: 3.3.0
	Requires at least: 6.0
	Tested up to: 6.7
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/




/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #ffffff; /* 원하시는 배경색으로 설정 */
}

body {
  padding-top: 3rem;
  color: rgb(var(--bs-tertiary-color-rgb));
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .responsive-line-break {
    display: block; /* 작은 화면에서 블록으로 처리하여 자동 줄바꿈 */
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

#myCarousel, #myCarousel .carousel-inner, #myCarousel .carousel-item{
  height: 40rem;
}

.bd-placeholder-img{
  margin-bottom: 0.5rem;
}

.col-lg-4 h2, .col-lg-4 p{
  padding: 0.5rem;
}

.row__h1{
  text-align: center;
  padding: 2rem;
  margin-bottom: 3rem;
}

.responsive-line-break {
  display: inline-block;
}


.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/*title 부분*/

.title{
  background-image: url("../assets/images/Home/title.jpg");
  background-size: cover;
  background-repeat: no-repeat; /* 이미지를 반복하지 않게 설정 */
  background-position: center; /* 이미지 위치를 가운데로 설정 */
  padding: 7rem !important;
}

@media (max-width: 1200px) {
  .title{
    background-image: url("../assets/images/Home/title02.jpg");
    background-size: cover;
    background-repeat: no-repeat; /* 이미지를 반복하지 않게 설정 */
    background-position: center; /* 이미지 위치를 가운데로 설정 */
    padding: 3rem !important;
    padding-top: 10rem !important;
  }

  .title_head{
    margin-top: 10rem !important;
    text-align: center;
  }

  .title_text{
    text-align: center;
  }
}


/* header 높이에 그만큼 padding-top을 추가 */
.section {
  padding-top: 60px;  /* header 높이에 맞춰 조정 */
}

.section-title{
  padding: 2rem 0;
}


.sectionimg{
  height: auto;  /* 자동 높이 조정 */
  object-fit: cover;  /* 화면을 꽉 채우면서 비율 유지 */
  object-position: center center;  /* 이미지 중앙 정렬 */
}

/* Navbar */
  .navbar-brand{
    display: block;
    width: 200px;
    height: 100px;
    text-indent: -9999999px;
    background-image: url(../assets/images/Logo/dart-ferries-logo.png);
    background-size: cover;
  }

  .nav-item{
    margin: 1rem;
  }

  .contact{
    background-color: var(--bs-primary-bg-subtle);
    padding: 4rem;
    border-radius: 0.7rem;
  }

  footer{
    margin-top: 4rem;
    background-color:var(--bs-gray);
    color: white;
    width: 100%;
  }

  .form-check{
    margin-top: 3rem;
  }

  form button {
    display: flex; /* 버튼을 flexbox로 설정 */
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
    width: 30%;
    margin: 0 auto;
    margin-top: 3rem;
  }

  
  /* Featurettes
  ------------------------- */
  
  .featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  }
  
  /* Thin out the marketing headings */
  /* rtl:begin:remove */
  .featurette-heading {
    letter-spacing: -.05rem;
  }
  
  /* rtl:end:remove */
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  
  @media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1800px !important;
    }
  }



  /*공통적인 스타일*/

  /* Main Section */
.position-relative {
  margin-top: 4rem; /* 64px로 여백을 적당하게 설정 */
}


.section__content{
  padding: 1rem;
}

.container {
  max-width: 1140px; /* 최대 너비를 1140px로 설정하여, 다른 섹션과 일치시킴 */
}

.card__section{
  margin-bottom: 6rem;
}

.card__content{
  padding: 7rem 0;
}

/* 카드 너비 100% 설정 */
.card {
  flex-grow: 1;
  width: 100%;
}

/* 카드 이미지의 최대 높이 설정 */
.card-img-top {
  object-fit: cover;
  height: 300px; /* 이미지 높이를 300px로 설정하여 균형 맞추기 */
  width: 100%;  /* 이미지가 카드 크기에 맞게 확장 */
}

/* 카드 본문 스타일 */
.card-body {
  padding: 1.5rem;  /* 패딩을 조금 넉넉히 설정 */
}

.card-body h5{
  color:#21618c;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;  /* 텍스트 크기를 약간 키워서 가독성 높임 */
  margin-bottom: 1.5rem;
  max-width: 500px;   /* 가로 길이 조절 */
  line-height: 1.6;   /* 줄 간격 조절 */
}


.container ul li{
  line-height: 1.6;   /* 줄 간격 조절 */
  list-style-type: disc;
}

.container ul{
  padding: 2rem;
}


/* Foil 반응형 모바일 스타일 */
@media (max-width: 767px) {

  /* 모바일에서 순서를 바꾸기 위한 스타일 */
  .row {
      flex-direction: column; /* 이미지와 텍스트를 세로로 배치 */
  }

  .col-12 .img-fluid {
      max-width: 100%;
      height: auto;
      object-fit: contain; /* 이미지가 화면에 맞게 조정됨 */
  }

  /* 모바일에서 텍스트와 이미지 간 마진을 조정 */
  .col-12.col-lg-6 {
      margin-bottom: 1.5rem; /* 텍스트와 이미지 사이 간격을 줄여 자연스럽게 */
  }
}


/*Trihull*/

.card-body h5{
  color:#21618c;
}

.composite__content{
  margin: 0 auto;
}

.card-text{
  margin: 0 auto;
}

.responsive-img{
  display: block;
  margin: 0 auto;
  height: 600px;
}

.img-size {
  position: relative;
  width: 100%;
  height: 600px;
}
.img-center {
  text-align: center;
  position: absolute;
  top: 0;
  right: -200%;
  bottom: 0;
  left: -200%;
}
.responsive-img {
  max-width: 100%;
  max-height: 100%;
}

.trihull-img{
  width:50%;
  max-height: 400px;
  object-fit: cover;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .trihull-img{
    width:100%;
    max-height: 400px;
    object-fit: cover;
    margin-top: 2rem;
  }
}

/* assembly */
.assembly-img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .assembly-img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-top: 2rem;
  }
}
