/* location.css - 오시는길 페이지 */

/* --------------------- location header */

#location_header {
  position: relative;
  width: 100%;
  height: 920px;
  overflow: hidden;
  margin-top: -90px;
}

#location_header .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#location_header .hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#location_header .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

#location_header .container {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#location_header .wrapper {
  text-align: center;
}

#location_header .hero-content {
  color: #fff;
}

#location_header .hero-content h1 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  margin: 0;
  line-height: 1.3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}


/* --------------------- location section 01 */

#location_1 {
  background: #cdfff6;
  background: linear-gradient(
    109deg,
    rgba(230, 255, 251, 1) 0%,
    rgba(225, 229, 224, 1) 100%
  );
}

#location_1 .container .wrapper .content {
  text-align: center;
}

#location_1 .container .wrapper .content p {
  text-align: center;
  font-weight: var(--font-light);
  font-size: var(--text-lg);
  line-height: 1.5;
}

#location_1 .container .wrapper .content p .green {
  color: #00d9b6;
}

#location_1 .container .wrapper .content p .underlined {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

#location_1 .container .wrapper .content ul.schedule {
  display: flex;
  justify-content: space-evenly;
  padding: 70px 0;
}

#location_1 .container .wrapper .content .date {
  background: #00d9b6;
  color: #fff;
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  padding: 18px 30px;
  border-radius: 40px;
  width: 250px;
}

#location_1 .container .wrapper .content .time {
  font-weight: var(--font-light);
  font-size: var(--text-lg);
  padding-top: 30px;
}

/* --------------------- location section 02 */

#location_2 {
  background: #f7f7f7;
}

#location_2 .container .wrapper h2 {
  padding-bottom: 0;
}
#location_2 .container .wrapper .subtitle {
  text-align: center;
  color: #29292920;
  letter-spacing: 85px;
  font-size: var(--text-md);
  padding-left: 85px;
  padding-bottom: 75px;
}
#location_2 .container .wrapper .content {
  text-align: center;
}

#location_2 .container .wrapper .content p {
  font-weight: var(--font-light);
  font-size: var(--text-md);
  line-height: 1.5;
  padding-top: 50px;
}

/* --------------------- location section 03 */

#location_3 {
  background: #cdfff6;
  background: linear-gradient(
    109deg,
    rgba(230, 255, 251, 1) 0%,
    rgba(225, 229, 224, 1) 100%
  );
}

#location_3 .container .wrapper .subtitle {
  text-align: center;
  color: #29292920;
  letter-spacing: 20px;
  font-size: var(--text-sm);
  padding-bottom: 10px;
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

.tab-panel--wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 0;
}
.tab-panel--wrapper.full {
  max-width: 1360px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--text-md);
}

.bus-list__item {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 0;
}

.location,
.bus {
  display: flex;
  align-items: center;
  gap: 30px;
}

.busstop-icon,
.bus-icon {
  width: 40px;
}

.busstop-name {
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
}

.bus-number {
  font-weight: var(--font-light);
  font-size: var(--text-lg);
}

.subways li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  gap: 100px;
}

.line {
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  width: 150px;
  text-align: center;
}

.station {
  font-weight: var(--font-light);
  font-size: var(--text-md);
  width: 280px;
}

.parking {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

#location_3 .container .wrapper p {
  font-weight: var(--font-light);
  line-height: 1.5;
  padding: 50px 0;
}

#location_3 .container .wrapper .txt {
  background: #00d9b6;
  color: #fff;
  font-weight: var(--font-bold);
  padding: 7px 40px;
  font-size: var(--text-lg);
}

#location_3 .container .wrapper .nav-tabs {
  display: flex;
  padding: 35px 0;
  justify-content: space-around;
  text-align: center;
  background: none;
  border: none;
}

#location_3 .container .wrapper .nav-tabs li {
  font-size: var(--text-md);
  width: 33.3%;
  background: #f7f7f7;
  padding: 10px 0;
  margin: 0 5px;
  border-radius: 5px;
  font-weight: var(--font-light);
  text-decoration: none;
}

#location_3 .container .wrapper .nav-tabs li a {
  color: #292929;
}

#location_3 .container .wrapper .nav-tabs li.active {
  background: #00d9b6;
  color: #fff;
  font-weight: 600;
}

#location_3 .container .wrapper .nav-tabs li.active a {
  color: #fff;
}

.small-parking {
  padding-right: 50px;
}
.big-parking {
  padding-left: 50px;
}

.parking .txt01,
.parking .txt02 {
  text-align: left;
}
.parking .txt01 {
  font-weight: var(--font-light);
}

.parking .txt02 {
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  padding: 10px 0;
}

.address {
  padding-top: 25px;
}

.address span {
  background: #292929;
  color: #fff;
  font-size: var(--text-md);
  font-weight: var(--font-light);
  padding: 10px 60px;
  border-radius: 40px;
}

/********************************************* REVIEW ************************************
*/

#community_main section .container {
  padding: 90px 20px;
}

#community_main section .container .wrapper h2 {
  font-size: var(--text-lg);
  padding-bottom: 20px;
}

#community_main section .container .wrapper p {
  line-height: 1.3;
}

#community_main section .container .wrapper .content {
  padding-top: 20px;
  max-width: 992px;
  margin: 0 auto;
}

#community_main .navigation .container {
  padding: 0;
}

#community_main .navigation .container .wrapper ul {
  display: flex;
  padding: 25px 0;
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  justify-content: space-evenly;
}

#community_main .navigation .container .wrapper ul li a {
  color: #292929;
}

#community_main .navigation .container .wrapper ul li a.active,
#community_main .navigation .container .wrapper ul li a:hover {
  text-decoration: underline;
  text-underline-offset: 33px;
  color: #00d8b5;
}

#community_main .navigation {
  background: #fafafa;
  border-bottom: 3px solid #bbbbbb;
}

#community_main {
  background: #ccfef5;
  background: linear-gradient(
    109deg,
    rgba(230, 254, 249, 1) 0%,
    rgba(225, 229, 224, 1) 100%
  );
}


/* ============================================
   Location Page Styles
   ============================================ */

.location-page {
    padding-top: 90px;
    min-height: 100vh;
}

.location-page .container {
    max-width: 1580px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
}

.location-page .wrapper {
    width: 100%;
}

/* Section Title */
.location-page .section-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    text-align: center;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.4;
}

/* Services Section */
.location-page .services-section {
    margin-bottom: 100px;
}

.location-page .services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.location-page .service-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.location-page .service-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.location-page .service-icon:hover {
    border-color: #00d9b6;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 217, 182, 0.2);
}

.location-page .service-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

.location-page .service-label {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: #333;
    line-height: 1.4;
}

/* Operating Hours Section */
.location-page .hours-section {
    margin-top: 80px;
}

.location-page .hours-table-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.location-page .hours-table-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Location Page */
@media screen and (max-width: 1024px) {
    .location-page .container {
        padding: 60px 20px;
    }

    .location-page .section-title {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .location-page .services-grid {
        gap: 25px;
    }

    .location-page .service-icon {
        width: 130px;
        height: 130px;
    }

    .location-page .service-label {
        font-size: 16px;
    }

    .location-page .hours-section {
        margin-top: 60px;
    }
}

@media screen and (max-width: 768px) {
    .location-page .container {
        padding: 60px 15px;
    }

    .location-page .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .location-page .services-section {
        margin-bottom: 60px;
    }

    .location-page .services-grid {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        gap: 20px;
    }

    .location-page .service-item {
        min-width: auto;
    }

    .location-page .service-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 15px;
    }

    .location-page .service-label {
        font-size: 14px;
    }

    .location-page .hours-section {
        margin-top: 50px;
    }
}

@media screen and (max-width: 480px) {
    .location-page .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .location-page .service-icon {
        width: 100px;
        height: 100px;
    }

    .location-page .service-label {
        font-size: 13px;
    }
}

/* Directions and Contact Section */
.location-page .directions-section {
    margin-top: 100px;
    padding-top: 60px;
}

.location-page .directions-title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
}

.location-page .directions-divider {
    width: 90%;
    max-width: 800px;
    height: 2px;
    background-color: #333;
    margin: 0 auto 40px;
}

.location-page .directions-content {
    position: relative;
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-page .directions-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: #6b4c93;
    border-radius: 8px 0 0 8px;
}

.location-page .directions-info {
    text-align: center;
    padding-left: 30px;
}

.location-page .address-info {
    margin-bottom: 30px;
}

.location-page .address-main {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.location-page .address-sub {
    font-size: var(--text-sm);
    font-weight: var(--font-normal);
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.location-page .contact-info {
    margin-top: 25px;
}

.location-page .contact-text {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: #333;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design for Directions Section */
@media screen and (max-width: 1024px) {
    .location-page .directions-section {
        margin-top: 80px;
        padding-top: 50px;
    }

    .location-page .directions-title {
        font-size: 32px;
    }

    .location-page .directions-content {
        padding: 35px 20px;
    }
}

@media screen and (max-width: 768px) {
    .location-page .directions-section {
        margin-top: 60px;
        padding-top: 40px;
    }

    .location-page .directions-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .location-page .directions-divider {
        width: 95%;
        margin-bottom: 30px;
    }

    .location-page .directions-content {
        padding: 30px 15px;
    }

    .location-page .directions-info {
        padding-left: 20px;
    }

    .location-page .address-main {
        font-size: 18px;
    }

    .location-page .address-sub {
        font-size: 14px;
    }

    .location-page .contact-text {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .location-page .directions-title {
        font-size: 22px;
    }

    .location-page .directions-content {
        padding: 25px 15px;
    }

    .location-page .directions-info {
        padding-left: 15px;
    }

    .location-page .address-main {
        font-size: 16px;
    }

    .location-page .address-sub {
        font-size: 13px;
    }

    .location-page .contact-text {
        font-size: 15px;
    }
}


/* ============================================
   Location Page Styles
   ============================================ */

.location-page {
    padding-bottom: 0;
}

/* Services Section */
.location-page .services-section {
    padding: 80px 0;
    background: #fff;
}

.location-page .services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-page .services-section .section-title {
    text-align: center;
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    margin-bottom: 50px;
    color: #333;
}

.location-page .services-section .section-title span {
    color: #00a79d;
}

.location-page .services-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.location-page .service-card {
    background: #F7F7F7;
    border: none;
    border-radius: 15px;
    padding: 20px 20px 0 20px;
    flex: 1;
    max-width: 200px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.location-page .service-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.location-page .service-card .card-label {
    font-size: var(--text-xs);
    color: #999;
    margin-bottom: 10px;
}

.location-page .service-card .card-title {
    font-size: var(--text-md);
    font-weight: var(--font-bold);
    color: #333;
    margin-bottom: 20px;
}

.location-page .service-card .card-image {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    height: 200px;
    overflow: hidden;
}

.location-page .service-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hours Section */
.location-page .hours-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0C898D 0%, #0a7a7d 80%);
}

.location-page .hours-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.location-page .hours-title {
    text-align: center;
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: #fff;
    margin-bottom: 50px;
}

.location-page .hours-table {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}

.location-page .hours-table table {
    width: 100%;
    border-collapse: collapse;
}

.location-page .hours-table thead {
    background: #fff;
}

.location-page .hours-table thead th {
    padding: 10px 20px;
    color: #00a79d;
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.location-page .hours-table tbody td {
    padding: 20px 15px;
    text-align: center;
    font-size: var(--text-sm);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    vertical-align: middle;
    background: transparent;
}

.location-page .hours-table .time-label td {
    background: transparent;
    font-weight: 600;
    color: #fff;
}

.location-page .hours-table .lunch-row td {
    background: transparent;
    color: #fff;
}

.location-page .hours-table .lunch-row td:first-child {
    font-weight: 600;
}

.location-page .hours-table .night-label td {
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.location-page .hours-table .night-time td {
    font-size: 15px;
    color: #fff;
}

.location-page .hours-table .friday-cell {
    background: transparent;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .location-page .services-section .section-title {
        font-size: 28px;
    }

    .location-page .service-card {
        width: calc(50% - 10px);
    }

    .location-page .hours-title {
        font-size: 28px;
    }

    .location-page .hours-table thead th {
        padding: 15px 8px;
        font-size: 14px;
    }

    .location-page .hours-table tbody td {
        padding: 10px 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .location-page .service-card {
        width: 100%;
    }
}

/* =====================================================
   LOCATION PAGE RESPONSIVE STYLES (추가)
   ===================================================== */

/* --------------------- Tablet (max-width: 1024px) --------------------- */
@media screen and (max-width: 1024px) {
    #location_header {
        height: 600px;
    }

    #location_header .hero-content h1 {
        font-size: 45px;
    }

    .location-page .services-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .location-page .service-card {
        flex: 0 0 calc(33.33% - 15px);
        max-width: calc(33.33% - 15px);
    }
}

/* --------------------- Mobile (max-width: 768px) --------------------- */
@media screen and (max-width: 768px) {
    .location-page {
        padding-top: 70px;
    }

    #location_header {
        height: 450px;
        margin-top: -70px;
    }

    #location_header .hero-content h1 {
        font-size: 32px;
    }

    .location-page .services-section {
        padding: 50px 0;
    }

    .location-page .services-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .location-page .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .location-page .service-card {
        flex: none;
        max-width: 100%;
        padding: 15px 15px 0 15px;
    }

    .location-page .service-card .card-label {
        font-size: 12px;
    }

    .location-page .service-card .card-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .location-page .service-card .card-image {
        width: calc(100% + 30px);
        margin-left: -15px;
        margin-right: -15px;
        height: 120px;
    }

    .location-page .hours-section {
        padding: 50px 0;
        background: linear-gradient(135deg, #0C898D 0%, #0a7a7d 100%);
    }

    .location-page .hours-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .location-page .hours-table thead th {
        padding: 10px 5px;
        font-size: 12px;
    }

    .location-page .hours-table tbody td {
        padding: 8px 3px;
        font-size: 11px;
    }

    .location-page .hours-table .night-label td,
    .location-page .hours-table .night-time td {
        font-size: 11px;
    }
}

/* --------------------- Small Mobile (max-width: 480px) --------------------- */
@media screen and (max-width: 480px) {
    #location_header {
        height: 350px;
    }

    #location_header .hero-content h1 {
        font-size: 26px;
    }

    .location-page .services-section .section-title {
        font-size: 20px;
    }

    .location-page .service-card .card-title {
        font-size: 14px;
    }

    .location-page .service-card .card-image {
        height: 100px;
    }

    .location-page .hours-title {
        font-size: 20px;
    }

    .location-page .hours-table thead th {
        font-size: 10px;
        padding: 8px 3px;
    }

    .location-page .hours-table tbody td {
        font-size: 9px;
        padding: 6px 2px;
    }

    .location-page .hours-table .night-label td,
    .location-page .hours-table .night-time td {
        font-size: 9px;
    }
}
