
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050507;
  color: #f5f5f5;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,5,7,0.92);
  backdrop-filter: blur(16px);
}

.navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}
.nav-left-title {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-logo {
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}
.nav-sub {
  font-size: 0.7rem;
  opacity: 0.75;
}
.nav-menu {
  display: flex;
  gap: 1.3rem;
  font-size: 0.9rem;
}
.nav-menu a {
  position: relative;
  padding-bottom: 0.15rem;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,#f7d28f,#f6b85a);
  transition: width 0.2s ease;
}
.nav-menu a:hover::after {
  width: 100%;
}
.lang-switcher {
  display: flex;
  gap: 0.25rem;
}
.lang-btn {
  color: #8C6E2E;
  color: #A3843A;
  border-radius: 999px;
  border: 1px solid rgba(247,210,143,0.55);
  background: transparent;
  color: #f5f5f5;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  cursor: pointer;
}
.lang-btn.active,
.lang-btn:hover {
  background: linear-gradient(135deg,#f7d28f,#f6b85a);
  color: #2a1b0d;
  border-color: transparent;
}
main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.7rem 1.5rem 3.2rem;
}

/* Hero */
.hero {
  margin-top: 1.3rem;
  border-radius: 26px;
  overflow: hidden;
  background: radial-gradient(circle at top,#241512,#050507);
  position: relative;
}
.hero-slider {
  position: relative;
  height: 55vh !important;
  min-height: 340px;
  max-height: 720px;
  overflow: hidden;
  position: relative;
  height: 360px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-slide--1 { background-image: url('../img/banner_desert.jpg'); }
.hero-slide--2 { background-image: url('../img/banner_man.jpg'); }
.hero-slide--3 { background-image: url('../img/banner_city.jpg'); }
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,rgba(0,0,0,0.78),rgba(0,0,0,0.32));
  padding: 2.3rem 2.4rem;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 520px;
}
.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f7d28f;
  margin-bottom: 0.8rem;
}
.hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.hero-subtitle {
  font-size: 0.96rem;
  opacity: 0.9;
}

/* sections */
.section {
  margin-top: 3rem;
}
.section-header {
  margin-bottom: 1.3rem;
}
.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.6;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
}
.section-grid-2 {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1.3fr);
  gap: 1.8rem;
}
.card {
  background: radial-gradient(circle at top,#18141d,#050507);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 22px 50px rgba(0,0,0,0.7);
}
.card + .card {
  margin-top: 1.1rem;
}
.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.card-body {
  font-size: 0.9rem;
  opacity: 0.92;
}

/* services cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.2rem;
}
.service-card {
  background: radial-gradient(circle at top,#18141d,#050507);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 1.3rem;
}
.service-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service-body {
  font-size: 0.86rem;
  opacity: 0.92;
}

/* partner */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.4rem;
}
.partner-column-title {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.partner-placeholder {
  border-radius: 14px;
  border: 1px dashed rgba(247,210,143,0.7);
  padding: 1.3rem 1.2rem;
  font-size: 0.86rem;
  opacity: 0.85;
}

/* blog / contact */
.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 1.3rem;
}
.blog-card {
  background: radial-gradient(circle at top,#18141d,#050507);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1.1rem 1.3rem;
}
.blog-meta {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 0.35rem;
}
.blog-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.blog-excerpt {
  font-size: 0.86rem;
  opacity: 0.9;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1.3fr);
  gap: 1.8rem;
}
.contact-item {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-form input,
.contact-form textarea {
  background: rgba(8,6,10,0.92);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  color: #f5f5f5;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 0.6rem 1.3rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg,#f7d28f,#f6b85a);
  color: #2a1b0d;
}

/* fade */
[data-fade] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* footer */
footer {
  width: 100%;
  padding: 1.6rem 24px 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  opacity: 0.78;
  text-align: left;
}

/* RTL basic */
html[dir="rtl"] body {
  text-align: right;
}
html[dir="rtl"] 
.navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}
html[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}
html[dir="rtl"] .lang-switcher {
  flex-direction: row-reverse;
}

/* responsive */
@media (max-width: 900px) {
  
.navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}
  .nav-menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.2rem;
  }
  main {
    padding: 1.4rem 1.1rem 2.5rem;
  }
  .hero-slider {
  position: relative;
  height: 55vh !important;
  min-height: 340px;
  max-height: 720px;
  overflow: hidden;
    height: 280px;
  }
  .hero-overlay {
    padding: 1.8rem 1.7rem;
  }
  .section-grid-2,
  .contact-grid,
  .partner-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .services-grid {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (max-width: 600px) {
  .hero-slider {
  position: relative;
  height: 55vh !important;
  min-height: 340px;
  max-height: 720px;
  overflow: hidden;
    height: 230px;
  }
  .hero-title {
    font-size: 1.7rem;
  }
}

.nav-left-title{margin-right:auto !important;}

.nav-left-title{margin-right:auto !important;}

/* Force-left logo alignment */
.nav-left-title{margin-right:auto !important;}

.nav-left-title{margin-right:auto !important;}


/* FULL-WIDTH ENABLED */
main {
  width: 100% !important;
  max-width: 100% !important;
  padding: 2rem !important;
}

.navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}
.hero {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
}

/* C Version Glass Header */
header, .navbar, .top-bar {
  background: rgba(34,34,34,0.65) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.22) !important;
}

/* --- MOBILE OPTIMIZATION PATCH v2 --- */
@media (max-width: 768px) {
  
.navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}
  .nav-menu { width: 100% !important; justify-content: center !important; flex-wrap: wrap !important; }
  .hero { height: auto !important; }
  .hero-slider {
  position: relative;
  height: 55vh !important;
  min-height: 340px;
  max-height: 720px;
  overflow: hidden; height: 180px !important; }
  .hero-title { font-size: 1.4rem !important; }
  .hero-subtitle { font-size: 0.9rem !important; }
  main { padding: 1rem !important; }
  .section { margin-top: 2rem !important; }
  .card { padding: 1rem !important; }
}

@media (max-width: 480px) {
  .hero-slider {
  position: relative;
  height: 55vh !important;
  min-height: 340px;
  max-height: 720px;
  overflow: hidden; height: 150px !important; }
  .hero-title { font-size: 1.2rem !important; }
  .nav-menu { gap: 0.4rem !important; }
  footer { padding: 1rem !important; font-size: 0.7rem !important; }
}

/* =======================
   FIX: Full-width header + Standard Body Width
   ======================= */
main {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 2rem 1.5rem !important;
}

/* Navigation stays full-width */

.navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}

/* Contact Page Banner fix */

.contact-top {
  width:100%;
  height:40vh !important;
  min-height:320px;
  overflow:hidden;
  background-size:cover !important;
  background-position: center;
  background-repeat:no-repeat;
  margin-bottom:120px !important;
}

/* === GOLD BRANDING & BLACK NAV UPDATE === */
.navbar .logo img {
  content: url('../img/logo.png') !important;
  height: 60px !important;
}

.nav-menu a {
  color: #d4a24c !important;
}
.nav-menu a:hover {
  color: #f2c97d !important;
}

/* Deep black header matching logo background */
header, .navbar, .top-bar {
  background: rgba(0,0,0,0.78) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(212,162,76,0.35) !important;
}

/* Banner IMG optimization */
.hero-slide img {
  width:100%;
  height:100% !important;
  object-fit:cover !important;
}

.contact-top img {
  width: 100%;
  height: auto;
  display: block;
}


.contact-top {
  width:100%;
  height:40vh !important;
  min-height:320px;
  overflow:hidden;
  background-size:cover !important;
  background-position: center;
  background-repeat:no-repeat;
  margin-bottom:120px !important;
}


/* Fix hero slider image cropping */
.hero-slider {
  position: relative;
  height: 55vh !important;
  min-height: 340px;
  max-height: 720px;
  overflow: hidden;
    position: relative;
    height: 360px;
    overflow: hidden;
    display: flex;
}
.hero-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-slide img {
  width:100%;
  height:100% !important;
  object-fit:cover !important;
}
/* Contact separation */

.contact-top {
  width:100%;
  height:40vh !important;
  min-height:320px;
  overflow:hidden;
  background-size:cover !important;
  background-position: center;
  background-repeat:no-repeat;
  margin-bottom:120px !important;
}
.contact-grid {
    position: relative;
    z-index: 2;
    padding-top: 20px;
}
.nav-left-title {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.lang-switcher {
  display: flex;
  gap: 6px;
  flex-shrink: 0 !important;
}

@media (max-width: 1350px) {
  .navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}
  .nav-menu {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
}

.nav-left { display:flex; align-items:center; flex-shrink:0; }
.nav-menu { display:flex; flex-wrap:wrap; gap:24px; }
.nav-right { display:flex; gap:12px; flex-wrap:wrap; }
.lang-switcher { display:flex; gap:8px; flex-wrap:wrap; }
@media (max-width:1450px){
  .nav-right { width:100%; justify-content:flex-end; margin-top:6px; }
}

/* NAVBAR STRUCTURE REBUILD */
.navbar {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  padding:16px 24px;
}

.nav-left { flex:1 1 auto; }
.logo { height:42px; }

.nav-center { flex:2 1 auto; display:flex; justify-content:center; }
.nav-menu { display:flex; gap:24px; flex-wrap:wrap; }

.nav-right { flex:1 1 auto; display:flex; justify-content:flex-end; }
.lang-switcher { display:flex; gap:8px; flex-wrap:wrap; }

/* MOBILE */
@media (max-width:900px){
  .nav-left { width:100%; display:flex; justify-content:center; order:1; }
  .nav-right { width:100%; justify-content:center; order:2; margin-top:6px; }
  .nav-center { width:100%; justify-content:center; order:3; margin-top:10px; }
}

/* HERO BANNER UNIFIED */
.hero-slider {
  width:100%;
  height:60vh;
  min-height:420px;
  max-height:780px;
  overflow:hidden;
}
.hero-slide img {
  width:100%;
  height:100%!important;
  object-fit:cover!important;
}

/* CONTACT BANNER BOTTOM */
`vh;
    overflow: hidden;
    margin-top: 40px;
}
`vh;
  width:auto;
  object-fit:cover;
}

/* --- NAVBAR FINAL LAYOUT --- */
.navbar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  gap: 12px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
}

.logo {
  height: 40px;
  flex-shrink: 0;
}

.nav-left-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-text {
  margin-left: 8px;
  color: #8C6E2E;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: Georgia, serif;
  transform: scaleX(1.10);
  display: inline-block;
}

.nav-company-name {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* center: 메뉴 + contact */
.nav-center {
  flex: 2 1 auto;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.nav-menu a {
  font-size: 0.98rem; /* 약 15.5px */
  padding: 8px 10px;
  font-weight: 500;
}

/* 우측: 언어 버튼 */
.nav-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-btn {
  color: #8C6E2E;
  color: #A3843A;
  font-size: 0.8rem;
  padding: 6px 10px;
}

/* PC 큰 화면에서 살짝 키우기 */
@media (min-width: 1200px) {
  .nav-menu a {
    font-size: 1.05rem; /* ~17px */
    padding: 9px 12px;
  }
}

/* 모바일 정렬 */
@media (max-width: 900px) {
  .navbar {
    padding: 10px 16px;
  }
  .nav-left {
    width: 100%;
    justify-content: center;
  }
  .nav-right {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .nav-center {
    order: 2;
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }
}

/* --- HERO BANNER UNIFIED HEIGHT --- */
.hero-slider {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  max-height: 780px;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
}

/* --- CONTACT BOTTOM BANNER --- */
`vh;
    overflow: hidden;
    margin-top: 40px;
}

`vh;
  object-fit: cover;
}

/* COMPANY NAME COLOR RESTORE */
.nav-logo-text {
  margin-left: 8px;
  color: #8C6E2E;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: Georgia, serif;
  transform: scaleX(1.10);
  display: inline-block;
}

.nav-company-name {
    color: #6BA66A !important;
    font-size: 0.9rem;
    margin-top: -2px;
}

`vh;
    object-fit: cover;
}



.contact-banner-text h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}


.contact-banner-bottom {
    width: 100%;
    height: 32vh;
    background-image: url('../img/contact_banner_new.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    background-color: #050507;
}

/* contact modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: radial-gradient(circle at top,#18141d,#050507);
  border-radius: 16px;
  border: 1px solid rgba(246,184,90,0.6);
  padding: 1.8rem 2rem;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,0.65);
}
.modal p {
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}
.modal .btn-primary {
  min-width: 100px;
}



/* Blog C-type layout */
.blog-layout-c {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.8fr);
  gap: 2rem;
  margin-top: 1.5rem;
}
.blog-featured {
  padding: 1.6rem;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(250,204,21,0.14), transparent 55%), #020617;
  border: 1px solid rgba(148,163,184,0.45);
}
.blog-featured-title {
  font-size: 1.4rem;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}
.blog-featured-excerpt {
  font-size: 0.9rem;
  opacity: 0.9;
}
.blog-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.blog-card {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(51,65,85,0.9);
}
.blog-meta {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}
.blog-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.blog-excerpt {
  font-size: 0.84rem;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .blog-layout-c {
    grid-template-columns: minmax(0, 1fr);
  }
}
