/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #9DC821;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.badge {
    background: #e74c3c;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.company-name {
    font-weight: bold;
    font-size: 16px;
}

.contact {
    margin-left: auto;
    color: white;
    text-decoration: none;
}

.contact-text {
    display: inline;
}

.contact-icon {
    display: none;
    font-size: 20px;
}

/* Navigation */
.navbar {
    background: white;
    border-top: 1px solid #e0e6ed;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    color: #2c3e50;
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 750px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    height: 100%;
}

.carousel-track {
    position: relative;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
}

.carousel-slide:nth-child(1) {
    background-image: url('/assets/image/1.png');
}

.carousel-slide:nth-child(2) {
    background-image: url('/assets/image/2.png');
}

.carousel-slide:nth-child(3) {
    background-image: url('/assets/image/3.png');
}

.carousel-slide.active {
    opacity: 1;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Search Section */
.search-section {
    background: white;
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.search-form {
    max-width: 900px;
    margin: 0 auto;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: center;
}

.search-select,
.search-input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    background: white;
}

.search-btn {
    padding: 12px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #2980b9;
}

/* Property Types Section */
.property-types {
    padding: 60px 0;
    background: #f8f9fa;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.type-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #333;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.type-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.type-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}

.type-image.apt {
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=600&h=400&fit=crop&q=80');
}

.type-image.oneroom {
    background-image: url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=600&h=400&fit=crop&q=80');
}

.type-image.office {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=600&h=400&fit=crop&q=80');
}

.type-image.villa {
    background-image: url('https://images.unsplash.com/photo-1580587771525-78b9dba3b914?w=600&h=400&fit=crop&q=80');
}

.type-image.land {
    background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=600&h=400&fit=crop&q=80');
}

.type-image.building {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=600&h=400&fit=crop&q=80');
}

.type-card h3 {
    padding: 20px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: white;
}

.about-grid {
    display: block;
    margin-top: 40px;
}

.global-office {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
    align-items: start;
}

.global-office h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 28px;
    grid-column: 1;
    font-weight: 700;
}

.global-content {
    grid-column: 1;
    grid-row: 2;
}

.global-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

.global-content ul {
    list-style: none;
    padding-left: 0;
}

.global-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.global-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.agent-intro {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-self: start;
    margin-top: 0;
    margin-left: -50px;
}

.agent-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agent-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: 0 !important;
    border-radius: 50%;
    overflow: visible;
    position: relative;
    padding: 15%;
}

.agent-photo::after {
    content: '';
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background-image: url('/assets/image/icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 2;
}

.agent-photo::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    height: 90%;
    border-radius: 50%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.agent-description {
    padding: 20px;
    background: transparent;
    border-radius: 10px;
    text-align: center;
}

.agent-description h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.agent-description p {
    color: #666;
    line-height: 1.8;
}

/* YouTube Section */
.youtube-section {
    padding: 60px 0;
    background: white;
}

.youtube-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

.youtube-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.youtube-text h2 {
    color: #2c3e50;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.youtube-text p {
    color: #555;
    font-size: 20px;
    margin: 0;
}

.youtube-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 600;
    text-align: center;
    max-width: 200px;
}

.youtube-btn:hover {
    background: #CC0000;
    transform: translateY(-2px);
}

.youtube-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Latest Properties */
.latest-properties {
    padding: 60px 0;
    background: #f8f9fa;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.property-image {
    height: 220px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* 왼쪽 상단 뱃지 (추천, 급매 등) */
.property-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-width: 150px;
    z-index: 2;
}

/* 기본 뱃지 스타일 */
.property-badges span {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 추천 */
.badge-featured {
    background: #e74c3c;
}

/* 급매 */
.badge-urgent {
    background: #f39c12;
}

/* 전속 */
.badge-exclusive {
    background: #3498db;
}

/* 확인매물 */
.badge-verified {
    background: #27ae60;
}

/* 신규등록 */
.badge-new-listing {
    background: #2980b9;
}

/* 가격인하 */
.badge-price-down {
    background: #c0392b;
}

/* HOT딜 */
.badge-hot {
    background: #e67e22;
}

/* 프리미엄 */
.badge-premium {
    background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
}

/* 즉시입주 */
.badge-immediate {
    background: #16a085;
}

/* 풀옵션 */
.badge-full-option {
    background: #8e44ad;
}

/* 주차가능 */
.badge-parking {
    background: #7f8c8d;
}

/* 오른쪽 대각선 리본 띠 */
.property-ribbon {
    position: absolute;
    right: -35px;
    top: 25px;
    transform: rotate(45deg);
    transform-origin: center;
    padding: 6px 50px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
    z-index: 2;
    white-space: nowrap;
}

.property-ribbon.ribbon-premium {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.property-ribbon.ribbon-recommended {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.property-ribbon.ribbon-hot {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.property-ribbon.ribbon-urgent-sale {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.property-info {
    padding: 15px;
}

.property-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 가격 표시 (매/융 포함) */
.property-prices {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-label {
    background: #3498db;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.price-label.label-sale {
    background: #e74c3c;
}

.price-label.label-loan {
    background: #f39c12;
}

.price-value {
    color: #2c3e50;
    font-size: 15px;
    font-weight: bold;
}

/* 주소 및 건물 정보 */
.property-address {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zipcode {
    background: #ecf0f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    color: #7f8c8d;
}

.building-type {
    color: #3498db;
    font-weight: 600;
}

/* 면적 정보 */
.property-areas {
    font-size: 12px;
    color: #7f8c8d;
    line-height: 1.6;
}

.details {
    color: #666;
    font-size: 14px;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-more:hover {
    background: #2980b9;
}

/* Theme Properties */
.theme-properties {
    padding: 60px 0;
    background: white;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.theme-card {
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s;
}

.theme-card:hover {
    transform: scale(1.05);
}

.theme-image {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    position: relative;
}

.theme-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3), rgba(0,0,0,0.05));
    border-radius: 50%;
}

.theme-image.new {
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=400&h=400&fit=crop&q=80');
}

.theme-image.small {
    background-image: url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=400&h=400&fit=crop&q=80');
}

.theme-image.medium {
    background-image: url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=400&h=400&fit=crop&q=80');
}

.theme-image.large {
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=400&h=400&fit=crop&q=80');
}

.theme-image.xlarge {
    background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=400&h=400&fit=crop&q=80');
}

.theme-image.xxlarge {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=400&h=400&fit=crop&q=80');
}

.theme-image.immediate {
    background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?w=400&h=400&fit=crop&q=80');
}

.theme-image.newlywed {
    background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=400&h=400&fit=crop&q=80');
}

.theme-image.station {
    background-image: url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?w=400&h=400&fit=crop&q=80');
}

.theme-image.fullopt {
    background-image: url('https://images.unsplash.com/photo-1600607687644-c7171b42498f?w=400&h=400&fit=crop&q=80');
}

.theme-image.redevelop {
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=400&h=400&fit=crop&q=80');
}

.theme-image.etc {
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=400&h=400&fit=crop&q=80');
}

.theme-card h3 {
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #2980b9;
}

/* Info Section */
.info-section {
    padding: 20px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.info-card {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-card p {
    color: #666;
    margin-bottom: 15px;
}

.info-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

/* Location Section */
.location-section {
    padding: 60px 0;
    background: white;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.location-map .root_daum_roughmap {
    width: 100% !important;
    height: 400px !important;
}

.location-map .root_daum_roughmap .wrap_controllers {
    display: none !important;
}

.location-map .root_daum_roughmap .wrap_btn_roadview {
    display: none !important;
}

.location-map .root_daum_roughmap a[href*="map.kakao.com"] {
    display: none !important;
}

.location-map .root_daum_roughmap .wrap_logo {
    display: none !important;
}

.location-map .root_daum_roughmap .wrap_map_info {
    display: none !important;
}

.location-map .root_daum_roughmap .box_info {
    display: none !important;
}

.location-map .root_daum_roughmap .screen_out {
    display: none !important;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
}

.location-info .info-item h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.location-info .info-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.location-info .phone-number {
    font-size: 24px;
    font-weight: 700;
}

.location-info .phone-number a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.location-info .phone-number a:hover {
    color: #2980b9;
}

.location-info .notice {
    color: #e74c3c;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    padding: 15px;
    background: #fff5f5;
    border-left: 3px solid #e74c3c;
    border-radius: 5px;
}

/* About Page */
.page-banner {
    width: 100%;
    overflow: hidden;
}

.page-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.about-intro-section {
    padding: 60px 0;
    background: white;
}

.about-intro-section .section-title {
    text-align: left;
    color: #52824F;
}

.greeting-section .section-title {
    text-align: left;
    color: #52824F;
}

.intro-content {
    margin-top: 40px;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.services-box {
    margin: 50px 0;
    padding: 0;
    border: 3px solid #7BA619;
    border-radius: 15px;
    background: white;
    position: relative;
    padding-top: 30px;
}

.services-box h3 {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #7BA619;
    color: white;
    font-size: 22px;
    padding: 12px 40px;
    border-radius: 25px;
    margin: 0;
    white-space: nowrap;
}

.services-content {
    padding: 50px 40px 40px;
    text-align: center;
}

.services-content p {
    font-size: 17px;
    line-height: 2;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.closing-message {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    margin-top: 50px;
    font-weight: 500;
}

.greeting-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.greeting-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.greeting-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.greeting-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.greeting-additional {
    margin-top: 40px;
}

.greeting-additional p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.greeting-additional .thanks {
    margin-top: 30px;
    font-size: 18px;
}

.greeting-additional .signature {
    font-weight: 700;
    font-size: 16px;
    color: #2c3e50;
}

/* Footer */
.footer {
    background: #E3EECC;
    color: #000;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer h3,
.footer h4 {
    margin-bottom: 15px;
    color: #000;
}

.footer p {
    line-height: 1.8;
    color: #000;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #7BA619;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 2;
}

.footer-links a:hover {
    color: #5A8012;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.2);
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .top-info {
        font-size: 12px;
    }

    .company-name {
        font-size: 14px;
    }

    .badge {
        font-size: 10px;
        padding: 2px 8px;
    }

    .contact-text {
        display: none;
    }

    .contact-icon {
        display: inline;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo img {
        height: 40px;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    /* 매물종류 섹션 - 모바일 슬라이더 */
    .type-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 10px;
    }

    .type-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }

    .type-card {
        min-width: 180px;
        max-width: 180px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .type-image {
        height: 160px;
    }

    /* 테마별 매물 섹션 - 모바일 슬라이더 */
    .theme-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 10px;
    }

    .theme-grid::-webkit-scrollbar {
        display: none;
    }

    .theme-card {
        min-width: 120px;
        max-width: 120px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .global-office {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }

    .global-office h2 {
        grid-column: 1;
    }

    .global-content {
        grid-column: 1;
    }

    .agent-intro {
        grid-column: 1;
        grid-row: auto;
        margin-left: 0;
    }

    .agent-photo {
        max-width: 200px;
        margin: 0 auto;
    }

    .youtube-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }

    .youtube-text h2 {
        font-size: 28px;
    }

    .youtube-text p {
        font-size: 18px;
    }

    .youtube-btn {
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-map .root_daum_roughmap {
        height: 300px !important;
    }

    .location-info {
        padding: 0;
    }

    .location-info .phone-number {
        font-size: 20px;
    }

    .greeting-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .greeting-image img {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-box {
        padding-top: 30px;
        margin: 40px 0;
    }

    .services-box h3 {
        font-size: 18px;
        padding: 10px 25px;
        top: -20px;
    }

    .services-content {
        padding: 45px 20px 30px;
    }

    .services-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .closing-message {
        font-size: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}