/*
Theme Name: Limvesting
Theme URI: https://limvesting.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: Custom theme for Limvesting real estate company
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: limvesting
Tags: custom-background, custom-logo, custom-menu, featured-images
*/

/* 이 파일에는 최소한의 스타일만 넣고 나머지는 css/main.css에 넣을 예정입니다 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Marcellus&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #fff;
  --secondary-color: #666;
  --black: #000000;
  --light-blue: #2c3e50;
  --white: #ffffff;
  --light-gray: #fefefe;
  --gray: #666;
  --font-primary: 'Outfit', 'Marcellus', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


html { overflow-y: scroll; }

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  margin-top:50px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* 버튼 스타일 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--secondary-color);
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: var(--primary-color);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.custom-line-height {
    line-height: 1.3 !important;
    margin:10px 0 40px;
    color:#f1f1f1;
}

.about-title1 {
    line-height: 1.3 !important;
}


.wp-block-button__link:hover {
    background-color: #ff6a00; /* 마우스오버 시 원하는 오렌지 컬러 지정 */
}

.wp-block-separator {
    color:#f1f1f1;
    border-width: 1px;
}

.star-icon {
    display: inline-block;
    width: 86px; /* 별 크기 조정 가능 */
    height: 15px;
    margin-bottom:30px;
    background-color: currentColor; /* 글자 색상과 동일하게 설정됨 */
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E");
    mask-size: contain;
    background-repeat: repeat-x;

}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 
      -15px 0 20px -15px rgba(0,0,0,0.1),  /* 왼쪽 부드러운 그림자 */
      15px 0 20px -15px rgba(0,0,0,0.1);   /* 오른쪽 부드러운 그림자 */
    transition: box-shadow 0.3s ease;
}

.testimonial-name {
    margin-top:10px;
    font-weight: 600;    
}

.testimonial-desc {
    color:#888;   
}


/* 카드 스타일 */
.service-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 0px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-top:50px;
  position: relative;
  z-index: 10;
    box-shadow: -15px 15px 20px -15px rgba(0,0,0,0.1),
                15px 10px 20px -15px rgba(0,0,0,0.1);  
}

.service-card:hover {

}

/* 카드 제목 */
.service-card h3, .service-card h4 {
  font-weight: bold;
  margin: 15px 0 10px;
  color: #000;
}

/* 카드 텍스트 설명 */
.service-card p {
  font-size: 15px;
  color: #000;
  padding:10px 50px;
}

/* 버튼 스타일 */
.service-card .wp-block-button__link {
  background-color: #111;
  color: #fff;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 14px;
}

/* 버튼 마우스 오버 효과 */
.service-card .wp-block-button__link:hover {
  background-color: #ff6a00; /* 오렌지색으로 변경 가능 */
}


.wp-block-cover {
    width: 100vw !important;
    max-width: none !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    margin-bottom: -50px;
    overflow: visible !important; /* 추가: 자식 요소가 밖으로 보일 수 있도록 설정 */
    

    /* Fixed background for parallax effect */
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    
    /* Reduce height explicitly */
    min-height: 400px !important;
    padding-top: 30px !important;
    padding-bottom: 60px !important;    
}

.wp-block-cover .wp-block-cover__inner-container {
    width: 80%;

    margin: 0 auto; /* 가운데 정렬 */
    text-align: center !important;
    margin-top:120px;
}


/* 카드 서브 타이틀 1 */
.service-card-sub-box {
  margin-top:80px;
}

.service-card-icon{
    padding-top:40px;
}

.service-card-btn{
    padding-bottom:40px;
    padding-top:20px;
}


.buy-hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.buy-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px 0;
}

.buy-post {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s;
}

.buy-post:hover {
    transform: translateY(-10px);
}

.buy-post .post-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.buy-post h2 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

.buy-post .btn {
    display: inline-block;
    margin-top: 10px;
    background: #ff6a00;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
}

.pagination .current {
    background-color: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
}

.breadcrumb {
    font-size: 18px;
    color: #fff;
    padding: 10px 0;
}
.breadcrumb a {
    text-decoration: none;
    color: inherit;
}

.page-cat-subtitle {
    font-size: 18px;
    color: #fff;
    margin-top:-280px;
}


.category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-top:100px;
}

.category-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    color:#000;
}

.category-title::before {
    content: "FEATURED";
    font-size: 14px;
    font-weight: 500;
    color: #f45b1e;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    top: -20px; /* 텍스트 위에 간격 조정 */
    left: 0;
}

.category-title::after {
    content: '';
    width: calc(100% - 100px); /* FEATURED 우측 라인의 길이를 조절합니다 */
    height: 1px;
    background-color: #000;
    position: absolute;
    top: -5px; /* FEATURED 텍스트 높이에 맞게 설정 */
    left: 100px; /* FEATURED 글자 오른쪽 간격 조정 */
}



.category-update-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    color:#000;
}

.category-update-title::before {
    content: "UPDATE";
    font-size: 14px;
    font-weight: 500;
    color: #f45b1e;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    top: -20px; /* 텍스트 위에 간격 조정 */
    left: 0;
}


.category-update-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    margin-top:100px;
    margin-bottom:100px;
}



.category-update-title::after {
    content: '';
    width: calc(100% - 100px); /* FEATURED 우측 라인의 길이를 조절합니다 */
    height: 1px;
    background-color: #000;
    position: absolute;
    top: -5px; /* FEATURED 텍스트 높이에 맞게 설정 */
    left: 100px; /* FEATURED 글자 오른쪽 간격 조정 */
}




.featured-posts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.featured-post {
    width: calc(50% - 10px);
    background-color: #f4f4f4;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.featured-post:hover {
    transform: translateY(-0px);
}

.featured-thumbnail {
    position: relative;
    display: block;
}

.featured-thumbnail img {
    width: 100%;
    display: block;
}

.label {
    position: absolute;
    top: 0px;
    background: #f45b1e;
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    text-transform: uppercase;

}

.featured-details {
    padding: 20px;
}

.featured-details h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.featured-details h3 a {
    color: #333;
    text-decoration: none;
}

.featured-details p {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}


@media (max-width: 768px) {

    .category-container,
    .category-update-container {
        padding: 0 15px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .category-title,
    .category-update-title {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .category-title::before,
    .category-update-title::before {
        font-size: 12px;
        top: -15px;
        letter-spacing: 1px;
    }

    .category-title::after,
    .category-update-title::after {
        width: calc(100% - 80px);
        top: -4px;
        left: 80px;
    }

    .featured-posts {
        flex-direction: column;
        gap: 15px;
    }

    .featured-post {
        width: 100%;
    }

    .label {
        font-size: 11px;
        padding: 4px 10px;
    }

    .featured-details {
        padding: 15px;
    }

    .featured-details h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .featured-details p {
        font-size: 14px;
    }
}


/* 블로그 상세페이지 시작 */
.single-post-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    gap: 40px;
    margin-top:30px;
}

.sidebar {
    width: 27%;
}

.sidebar h3 {
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-right: 160px; /* 선 길이 조정 */    
}

.sidebar h3::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 140px; /* 선 길이 조정 가능 */
    height: 1px;
    background-color: #EF6330; /* 오렌지색 */
    transform: translateY(-0%);
}

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

.sidebar ul li {
    margin-bottom: 12px;
    font-size: 16px;
}

.latest-post ul li {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.latest-post ul li img {
    margin-right: 10px; /* 원하는 만큼 수치 조정 가능 */
}

.latest-post img {
    width: 80px;
    object-fit: cover;
}

.latest-post .date {
    font-size: 12px;
    color: #f45b1e;
    display: block;
    margin-top:0px;
}

.post-content {
    width: 73%;
    box-shadow: 
        -10px 0px 10px -10px rgba(0,0,0,0.1),
        10px 0px 10px -10px rgba(0,0,0,0.1);
    padding: 35px; /* 내용과의 여백 조정 */ 
    background-color: #fff; /* 배경색 흰색 유지 */  
    position: relative;
}

.post-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.post-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.blockquote {
    font-size: 18px;
    padding: 15px 25px;
    background-color: #f4f4f4;
    border-left: 4px solid #f45b1e;
    margin: 25px 0;
}

.featured-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

.image-caption {
    font-size: 14px;
    font-style: italic;
    color: #777;
    margin-top: -10px;
    margin-bottom: 20px;
}

.author-box {
    background-color: #f4f4f4;
    padding: 30px;
    text-align: center;
    border-radius: 4px;
    margin-top: 50px;
    box-sizing: border-box;
}

.author-image-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
}

.author-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* 완벽한 원형 적용 */
}

.author-name {
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 18px;
    color: #000;
}

.author-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}


@media (max-width: 768px) {
    .single-post-container {
        flex-direction: column;
    }

    .post-content {
        width: 100%;
        order: 1; /* 본문을 가장 먼저 */
        margin-top:-30px;
    }

    .sidebar {
        width: 100%;
        order: 2; /* 사이드바를 본문 뒤로 */
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* 블로그 상세 페이지 끝 */


/* 아파트 상세 페이지 시작 */
.featured-properties {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.featured-properties h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

.properties-container {
    display: flex;
    gap: 20px;
}

.property-large {
    width: 66.66%;
    position: relative;
}

.property-small-group {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.property-small {
    flex: 1;
    position: relative;
}

.property-large img,
.property-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-large::before,
.property-small::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4); /* 이미지 틴트 */
    z-index: 1;
}

.overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    color: #fff;
    z-index: 2;
}

.overlay h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.overlay p {
    font-size: 14px;
    margin-bottom: 15px;
}

.overlay a {
    border: 1px solid #fff;
    padding: 5px 15px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

