/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-logo h2:hover {
    color: #1e3d6f;
}

.nav-logo i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5aa0;
}

.nav-link[href="#home"] {
    font-weight: 600;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    position: relative;
}

.nav-link[href="#home"]:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nav-link[href="#home"]:before {
    content: "🏠";
    margin-right: 0.3rem;
    font-size: 0.9rem;
    -webkit-text-fill-color: initial;
}

.nav-link.active {
    color: #2c5aa0;
    font-weight: 600;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2c5aa0;
    border-radius: 1px;
}

.btn-login {
    background: #2c5aa0;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: #1e3d6f;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* 검색 섹션 */
.search-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.search-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.search-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
    font-weight: bold;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: #2c5aa0;
}

.search-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 0 auto;
}

.search-btn:hover {
    background: #1e3d6f;
}

.search-btn i {
    margin-right: 0.5rem;
}

/* 매물 목록 섹션 */
.properties-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
}

.map-toggle-btn {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-toggle-btn:hover {
    background: #1e3d6f;
}

.map-toggle-btn i {
    font-size: 1.1rem;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.sort-dropdown select {
    padding: 0.5rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
}

/* 지도 컨테이너 */
.map-container {
    margin-bottom: 3rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-header {
    background: #2c5aa0;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.map-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-controls {
    display: flex;
    gap: 0.5rem;
}

.map-control-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.map-control-btn:hover {
    background: rgba(255,255,255,0.3);
}

.dummy-map {
    position: relative;
    height: 400px;
    background: linear-gradient(45deg, #e8f4f8 0%, #d1ecf1 50%, #bee5eb 100%);
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #2c5aa0;
    z-index: 10;
}

.map-info i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.map-info p {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.map-info small {
    color: #666;
}

.map-markers {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #2c5aa0;
    border: 3px solid white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.map-marker::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
}

.map-marker:hover {
    transform: rotate(-45deg) scale(1.2);
    z-index: 20;
}

.map-marker.apartment {
    background: #2c5aa0;
}

.map-marker.villa {
    background: #28a745;
}

.map-marker.officetel {
    background: #ffc107;
}

.map-marker.house {
    background: #dc3545;
}

.marker-popup {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-size: 0.9rem;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.map-marker:hover .marker-popup {
    opacity: 1;
    visibility: visible;
}

.marker-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: white;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.property-image img[src*="data:image/svg"] {
    opacity: 0.7;
    filter: grayscale(20%);
}

.property-card:hover .property-image img:not([src*="data:image/svg"]) {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #2c5aa0;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.property-info {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.property-address {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #666;
}

.feature i {
    color: #2c5aa0;
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-details {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-details:hover {
    background: #1e3d6f;
}

.property-date {
    font-size: 0.8rem;
    color: #999;
}

.load-more {
    text-align: center;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e5e9;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e1e5e9;
}

/* 모달 스타일 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    background: #2c5aa0;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
}

.property-detail-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.main-image {
    aspect-ratio: 16/10;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f8f9fa;
    border-radius: 8px;
}

.thumbnail-images {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.thumbnail-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    background: #f8f9fa;
}

.thumbnail-images img:hover:not([src*="data:image/svg"]) {
    opacity: 0.8;
}

.thumbnail-images img[src*="data:image/svg"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.property-detail-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-main {
    /* 메인 상세 정보 영역 */
}

.detail-main h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-price {
    font-size: 2rem;
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 1rem;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-feature {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.detail-feature i {
    font-size: 1.5rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.detail-feature .label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.detail-feature .value {
    font-weight: bold;
    color: #333;
}

.building-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.building-info h4 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.building-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e1e5e9;
}

.building-info-item:last-child {
    border-bottom: none;
}

.building-info-label {
    color: #666;
    font-weight: 500;
}

.building-info-value {
    color: #333;
    font-weight: 600;
}

.building-register-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.building-register-btn:hover {
    background: #218838;
}

.detail-sidebar {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    height: fit-content;
}

.contact-agent {
    text-align: center;
    margin-bottom: 2rem;
}

.agent-info {
    margin-bottom: 1.5rem;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: #2c5aa0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.agent-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.agent-title {
    color: #666;
    font-size: 0.9rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-btn.primary {
    background: #2c5aa0;
    color: white;
}

.contact-btn.primary:hover {
    background: #1e3d6f;
}

.contact-btn.secondary {
    background: white;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.contact-btn.secondary:hover {
    background: #2c5aa0;
    color: white;
}

/* 상담 요청 섹션 */
.consultation-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.consultation-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.consultation-info p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-item i {
    color: #2c5aa0;
    font-size: 1.2rem;
}

.feature-item span {
    font-size: 1.1rem;
    color: #555;
}

.consultation-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.btn-primary {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #1e3d6f;
}

/* 고객 지원 섹션 */
.support-section {
    padding: 80px 0;
}

.support-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.support-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.support-item:hover {
    transform: translateY(-5px);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: #2c5aa0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.support-icon i {
    font-size: 2rem;
    color: white;
}

.support-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.support-item p {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.support-item span {
    font-size: 0.9rem;
    color: #666;
}

/* 푸터 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-bottom p {
    color: #95a5a6;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link[href="#home"] {
        background: #2c5aa0 !important;
        color: white !important;
        -webkit-text-fill-color: white !important;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        animation: none;
        transform: none !important;
    }
    
    .nav-link[href="#home"]:before {
        -webkit-text-fill-color: white !important;
    }
    
    .nav-link[href="#home"]:hover {
        background: #1e3d6f !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .search-row {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* 모달 반응형 */
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .property-detail-images {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
    }
    
    .property-detail-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .map-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .dummy-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-section,
    .properties-section,
    .consultation-section,
    .support-section {
        padding: 60px 0;
    }
    
    .search-form,
    .consultation-form {
        padding: 1.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
    }
    
    .detail-price {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .map-toggle-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .dummy-map {
        height: 250px;
    }
    
    .map-info i {
        font-size: 2rem;
    }
    
    .map-info p {
        font-size: 1.1rem;
    }
}