/* 모스트품격공인중개사사무소 - 품격 있는 디자인 시스템 */

/* CSS Variables */
:root {
    --primary: #1e40af;      /* 딥 블루 - 품격과 신뢰 */
    --secondary: #2563eb;    /* 브라이트 블루 - 전문성 */
    --accent: #f59e0b;       /* 골드 - 프리미엄 강조 */
    --marine: #0891b2;       /* 사이안 - 해양 도시 */
    --dark: #0f172a;         /* 다크 - 텍스트 */
    --light: #f1f5f9;        /* 라이트 - 배경 */
    --gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #0891b2 100%);
    
    /* 골드 색상 변형 */
    --gold: #e67e22;         /* 더 진한 오렌지 골드 */
    --gold-dark: #d35400;    /* 더 진한 다크 골드 */
    --gold-light: #f39c12;   /* 밝은 골드 */
    
    /* 추가 색상 */
    --success: #059669;      /* 그린 */
    --warning: #ea580c;      /* 오렌지 */
    --danger: #dc2626;       /* 레드 */
    --purple: #7c3aed;       /* 퍼플 */
    
    /* 텍스트 색상 개선 */
    --text-primary: #1e293b;    /* 주요 텍스트 */
    --text-secondary: #475569;  /* 보조 텍스트 */
    --text-muted: #64748b;      /* 약한 텍스트 */
    --text-white: #ffffff;      /* 흰색 텍스트 */
    --text-dark: #0f172a;       /* 어두운 텍스트 */
}

/* Tailwind CSS 커스텀 색상 */
@layer utilities {
    .text-gold { color: var(--gold); }
    .bg-gold { background-color: var(--gold); }
    .border-gold { border-color: var(--gold); }
    .text-gold-dark { color: var(--gold-dark); }
    .bg-gold-dark { background-color: var(--gold-dark); }
    .text-primary { color: var(--primary); }
    .bg-primary { background-color: var(--primary); }
    .text-secondary { color: var(--secondary); }
    .bg-secondary { background-color: var(--secondary); }
    .text-marine { color: var(--marine); }
    .bg-marine { background-color: var(--marine); }
    .text-dark { color: var(--dark); }
    .bg-dark { background-color: var(--dark); }
    .text-light { color: var(--light); }
    .bg-light { background-color: var(--light); }
    
    /* 추가 색상 */
    .text-success { color: var(--success); }
    .bg-success { background-color: var(--success); }
    .text-warning { color: var(--warning); }
    .bg-warning { background-color: var(--warning); }
    .text-danger { color: var(--danger); }
    .bg-danger { background-color: var(--danger); }
    .text-purple { color: var(--purple); }
    .bg-purple { background-color: var(--purple); }
    
    /* 텍스트 색상 유틸리티 */
    .text-text-primary { color: var(--text-primary); }
    .text-text-secondary { color: var(--text-secondary); }
    .text-text-muted { color: var(--text-muted); }
    .text-text-white { color: var(--text-white); }
    .text-text-dark { color: var(--text-dark); }
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', 'Pretendard', serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 4rem; font-weight: 900; }
h2 { font-size: 3rem; font-weight: 700; }
h3 { font-size: 2rem; font-weight: 600; }
p { font-size: 1.125rem; font-weight: 400; }

/* Mobile Responsive Typography */
@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    p { font-size: 0.95rem; }
}

/* 매물 카드 텍스트 줄임 처리 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }
}

/* Mobile Navigation Improvements */
@media (max-width: 1024px) {
    .mobile-menu-open {
        overflow: hidden;
    }
    
    #mobile-menu {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* Mobile Touch Improvements */
@media (max-width: 768px) {
    button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .mobile-touch-target {
        padding: 12px 16px;
    }
    
    /* Line Clamp Utility */
    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Improve mobile scrolling */
    .swiper-container {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Mobile form improvements */
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* 매물 상세보기 모달 스타일 */
.property-detail-btn {
    position: relative;
    overflow: hidden;
}

.property-detail-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.property-detail-btn:hover::before {
    left: 100%;
}

.property-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* 이미지 갤러리 스타일 */
.image-gallery-item {
    transition: all 0.3s ease;
}

.image-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 모달 애니메이션 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#property-detail-modal > div {
    animation: modalFadeIn 0.3s ease-out;
}

#image-modal > div {
    animation: modalFadeIn 0.2s ease-out;
}

/* 이미지 확대 효과 */
.image-zoom-effect {
    transition: transform 0.3s ease;
}

.image-zoom-effect:hover {
    transform: scale(1.1);
}

/* 커서 스타일 */
.cursor-zoom {
    cursor: zoom-in;
}

/* 스크롤바 스타일 */
.modal-scroll::-webkit-scrollbar {
    width: 8px;
}

.modal-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.modal-scroll::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
header {
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 골드 그라데이션 텍스트 */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 텍스트 가독성 개선 */
.text-shadow {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* 카드 배경 개선 */
.card-bg {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Select 박스 스타일 개선 */
select {
    color: #1f2937 !important;
    background-color: white !important;
    font-weight: 500;
}

select option {
    color: #1f2937 !important;
    background-color: white !important;
    padding: 8px;
    font-weight: 500;
}

select option:first-child {
    color: #6b7280 !important;
    font-weight: 400;
}

/* 선택된 옵션의 텍스트 색상 강화 */
select:focus {
    color: #1f2937 !important;
    background-color: white !important;
}

select option:checked {
    color: #1f2937 !important;
    background-color: #f3f4f6 !important;
    font-weight: 600;
}

select option:hover {
    background-color: #f9fafb !important;
    color: #1f2937 !important;
}

/* 추가적인 select 스타일 강화 */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* 모든 select 요소에 대한 강제 색상 적용 */
select, select * {
    color: #1f2937 !important;
}

select option {
    color: #1f2937 !important;
    background-color: white !important;
}

/* 선택된 옵션 강조 */
select option:checked {
    background: linear-gradient(0deg, #f3f4f6 0%, #f3f4f6 100%) !important;
    color: #1f2937 !important;
    font-weight: 600 !important;
}

/* Input 필드 스타일 개선 */
input[type="text"], input[type="tel"], input[type="date"], textarea {
    color: #1f2937 !important;
    background-color: white !important;
    font-weight: 500;
}

input[type="text"]::placeholder, input[type="tel"]::placeholder, textarea::placeholder {
    color: #6b7280 !important;
    font-weight: 400;
}

/* 날짜 입력 필드 강화 */
input[type="date"] {
    color: #1f2937 !important;
    background-color: white !important;
    font-weight: 500;
}

/* 텍스트 영역 강화 */
textarea {
    color: #1f2937 !important;
    background-color: white !important;
    font-weight: 500;
    line-height: 1.5;
}

/* 모든 입력 필드에 대한 강제 색상 적용 */
input, textarea {
    color: #1f2937 !important;
}

input:focus, textarea:focus {
    color: #1f2937 !important;
    background-color: white !important;
}

/* 라디오 버튼과 체크박스 스타일 개선 */
input[type="radio"], input[type="checkbox"] {
    accent-color: #f59e0b;
}

/* 라디오 버튼 라벨 텍스트 색상 강화 */
label input[type="radio"] + div,
label input[type="checkbox"] + div {
    color: #1f2937 !important;
}

/* 라디오 버튼이 포함된 라벨의 텍스트 색상 */
label:has(input[type="radio"]) .font-medium,
label:has(input[type="checkbox"]) .font-medium {
    color: #1f2937 !important;
}

/* 라디오 버튼 라벨 내부의 모든 텍스트 */
label:has(input[type="radio"]) div,
label:has(input[type="checkbox"]) div {
    color: #1f2937 !important;
}

/* 라디오 버튼 라벨의 보조 텍스트 */
label:has(input[type="radio"]) .text-sm,
label:has(input[type="checkbox"]) .text-sm {
    color: #6b7280 !important;
}

/* 푸터 애니메이션 */
footer a:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

footer .text-gold {
    animation: goldGlow 2s ease-in-out infinite alternate;
}

@keyframes goldGlow {
    from {
        text-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
    }
    to {
        text-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
    }
}

/* 푸터 텍스트 가독성 개선 */
footer .text-black {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

footer .text-blue-600 {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

footer .text-green-600 {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

/* Phone Pulse Animation */
.phone-pulse {
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(214, 158, 46, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(214, 158, 46, 0);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

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

/* Swiper Navigation & Pagination Styles */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(245, 158, 11, 0.8);
    transform: scale(1.1);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.hero-swiper .swiper-pagination {
    bottom: 30px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    transform: scale(1.2);
}

/* Hero Section Animations */
.hero-content {
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    animation: titleSlideIn 1s ease-out 0.5s both;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content p {
    animation: subtitleSlideIn 1s ease-out 0.8s both;
}

@keyframes subtitleSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content .flex {
    animation: buttonsSlideIn 1s ease-out 1.1s both;
}

@keyframes buttonsSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 골드 강조 효과 */
.gold-glow {
    box-shadow: 0 0 20px rgba(214, 158, 46, 0.3);
    transition: all 0.3s ease;
}

.gold-glow:hover {
    box-shadow: 0 0 30px rgba(214, 158, 46, 0.5);
    transform: scale(1.05);
}

/* ===== 역동적인 배경 애니메이션 ===== */

/* 1. 부유하는 입자 효과 */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    left: 40%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    width: 7px;
    height: 7px;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    width: 3px;
    height: 3px;
    left: 70%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(8) {
    width: 5px;
    height: 5px;
    left: 80%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(9) {
    width: 4px;
    height: 4px;
    left: 90%;
    animation-delay: 1s;
    animation-duration: 12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* 2. 웨이브 효과 */
.wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(45deg, rgba(30, 64, 175, 0.1), rgba(37, 99, 235, 0.1), rgba(8, 145, 178, 0.1));
    animation: wave 8s ease-in-out infinite;
}

.wave:nth-child(2) {
    animation-delay: -2s;
    opacity: 0.5;
    height: 80px;
}

.wave:nth-child(3) {
    animation-delay: -4s;
    opacity: 0.3;
    height: 60px;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* 3. 그라데이션 배경 애니메이션 */
.animated-gradient-bg {
    background: linear-gradient(-45deg, #1e40af, #2563eb, #0891b2, #7c3aed);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 4. 빛나는 효과 */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 5. 펄스 효과 */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.8), 0 0 30px rgba(245, 158, 11, 0.4);
    }
}

/* 6. 회전하는 원형 효과 */
.rotating-circles {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: -3;
}

.rotating-circle {
    position: absolute;
    border: 2px solid rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.rotating-circle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
}

.rotating-circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
    animation-direction: reverse;
}

.rotating-circle:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 35s;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 7. 네온 효과 */
.neon-glow {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px currentColor,
            0 0 10px currentColor,
            0 0 15px currentColor;
    }
    to {
        text-shadow: 
            0 0 5px currentColor,
            0 0 10px currentColor,
            0 0 15px currentColor,
            0 0 20px currentColor,
            0 0 25px currentColor;
    }
}

/* 8. 호버 시 3D 효과 */
.hover-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.hover-3d:hover {
    transform: translateY(-5px) rotateX(5deg) rotateY(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(245, 158, 11, 0.2);
}

/* 9. 타입라이터 효과 */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--gold);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--gold);
    }
}

/* 10. 스크롤 기반 애니메이션 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 11. 마우스 추적 효과 */
.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.8), transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: screen;
}

/* 12. 배경 블러 효과 */
.background-blur {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 13. 골드 스파클 효과 */
.gold-sparkle {
    position: relative;
    overflow: hidden;
}

.gold-sparkle::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, transparent 70%);
    animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}

/* 14. 호버 시 확대 효과 */
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 15. 로딩 애니메이션 */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}
    box-shadow: 0 0 30px rgba(214, 158, 46, 0.5);
    transform: translateY(-2px);
}

/* 골드 테두리 효과 */
.gold-border {
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
}

.gold-border:hover {
    border-color: var(--gold-light);
    box-shadow: 0 0 15px rgba(214, 158, 46, 0.3);
}

/* Counter Animation */
.counter {
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Card Hover Effects */
.premium-card {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 골드 프레임 효과 */
.gold-frame {
    position: relative;
    overflow: hidden;
}

.gold-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--gold);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gold-frame:hover::before {
    opacity: 1;
}

/* 프리미엄 그라데이션 */
.premium-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--marine) 100%);
}

/* 골드 그라데이션 */
.gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Menu */
.mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary: #000080;
        --secondary: #0000ff;
        --accent: #ff6600;
        --dark: #000000;
        --light: #ffffff;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .phone-pulse,
    .scroll-indicator {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .premium-gradient,
    .gold-gradient {
        background: white !important;
        color: black !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Selection Styles */
::selection {
    background: var(--gold);
    color: white;
}

::-moz-selection {
    background: var(--gold);
    color: white;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-premium {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

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

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Focus States */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.3);
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 골드 글로우 효과 */
.gold-glow-effect {
    position: relative;
    overflow: hidden;
}

.gold-glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
    transition: left 0.5s ease;
}

.gold-glow-effect:hover::after {
    left: 100%;
}

/* 역동적인 호버 효과 */
.dynamic-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dynamic-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* 펄스 애니메이션 */
.pulse-gold {
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* 슬라이드 인 애니메이션 */
.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 회전 애니메이션 */
.rotate-on-hover {
    transition: transform 0.3s ease;
}

.rotate-on-hover:hover {
    transform: rotate(5deg);
}

/* 그라데이션 배경 애니메이션 */
.gradient-animate {
    background: linear-gradient(-45deg, var(--primary), var(--secondary), var(--marine), var(--gold));
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 프리미엄 카드 스타일 */
.premium-card-style {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-card-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.premium-card-style:hover::before {
    transform: scaleX(1);
}

.premium-card-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 골드 버튼 스타일 */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(214, 158, 46, 0.3);
}

/* 맵 스타일 */
#map {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 플로팅 버튼 스타일 */
.floating-btn {
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .premium-card-style {
        padding: 1.5rem;
    }
    
    .btn-gold {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .premium-card-style {
        padding: 1rem;
    }
}

/* 성능 최적화 */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* 접근성 개선 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 다크 모드 지원 */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #1a202c;
        --dark: #f7fafc;
    }
    
    body {
        background-color: var(--light);
        color: var(--dark);
    }
}

/* 주소 검색 버튼 스타일 */
#search-address-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#search-address-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

#search-address-btn:active {
    transform: translateY(0);
}

#search-address-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

#search-address-btn:hover::before {
    left: 100%;
}

/* 주소 입력 필드 스타일 */
#property-location:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 주소 검색 팝업 스타일 개선 */
.daum_postcode_popup {
    z-index: 10000 !important;
}

/* 주소 검색 완료 시 입력 필드 스타일 */
#property-location.filled {
    background-color: #f0f9ff;
    border-color: #3b82f6;
}

/* 토스트 알림 스타일 */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    transform: translateX(400px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 350px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.toast-notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.toast-notification.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.toast-notification .toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.toast-notification .toast-title {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toast-notification .toast-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.toast-notification .toast-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.toast-notification .toast-message {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.95;
}

.toast-notification .toast-icon {
    font-size: 1.2rem;
    animation: toastBounce 0.6s ease-out;
}

@keyframes toastBounce {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 토스트 알림 진입 애니메이션 */
@keyframes toastSlideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 토스트 알림 퇴장 애니메이션 */
@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast-notification.slide-in {
    animation: toastSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.slide-out {
    animation: toastSlideOut 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 모바일 반응형 토스트 */
@media (max-width: 768px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
    
    @keyframes toastSlideIn {
        from {
            transform: translateY(-100px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes toastSlideOut {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(-100px);
            opacity: 0;
        }
    }
}

/* 동적 메시지 애니메이션 */
#dynamic-message {
    transition: all 0.5s ease;
    min-height: 1.5em;
    display: flex;
    align-items: center;
}

/* 토스트 알림 펄스 효과 */
.toast-notification.success {
    animation: toastPulse 2s ease-in-out infinite;
}

@keyframes toastPulse {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
    }
}

/* 토스트 알림 진입 시 바운스 효과 */
.toast-notification.slide-in {
    animation: toastSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55), toastBounceIn 0.8s ease-out 0.3s both;
}

@keyframes toastBounceIn {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 매물 검색 버튼 전용 스타일 */
.search-button {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4) !important;
    border: 2px solid #d35400 !important;
    transition: all 0.3s ease !important;
}

.search-button:hover {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.6) !important;
    color: #ffffff !important;
}

.search-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(230, 126, 34, 0.4) !important;
}

/* 매물 검색 버튼 아이콘 스타일 */
.search-button i {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

/* 폼 제출 버튼 비활성화 및 로딩 상태 스타일 */
button[type="submit"]:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

button[type="submit"]:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 로딩 스피너 애니메이션 */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 폼 제출 중 버튼 스타일 */
.submitting {
    background: #9ca3af !important;
    color: #6b7280 !important;
    cursor: not-allowed !important;
}

/* 로딩 모달 개선 */
#loadingModal {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#loadingModal .bg-white {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 매물 상세보기 모달 슬라이더 버튼 스타일 */
.property-image-swiper .swiper-button-next,
.property-image-swiper .swiper-button-prev {
    color: #1e40af !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.property-image-swiper .swiper-button-next:hover,
.property-image-swiper .swiper-button-prev:hover {
    background: rgba(30, 64, 175, 0.1) !important;
    transform: scale(1.1) !important;
}

/* 기본 화살표 숨기기 */
.property-image-swiper .swiper-button-next:after,
.property-image-swiper .swiper-button-prev:after {
    display: none !important;
}

/* 이모티콘 화살표 추가 */
.property-image-swiper .swiper-button-next:before {
    content: "▶" !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #1e40af !important;
}

.property-image-swiper .swiper-button-prev:before {
    content: "◀" !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #1e40af !important;
}

/* 슬라이더 페이지네이션 스타일 */
.property-image-swiper .swiper-pagination-bullet {
    background: #1e40af !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}

.property-image-swiper .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #1e40af !important;
    transform: scale(1.2) !important;
}

/* 매물 상세보기 모달 버튼 강제 스타일 */
#property-detail-modal button[onclick*="tel:"] {
    background-color: #eab308 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3) !important;
    cursor: pointer !important;
}

#property-detail-modal button[onclick*="tel:"]:hover {
    background-color: #ca8a04 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.4) !important;
    color: #ffffff !important;
}

#property-detail-modal a[href="/consultation.html"] {
    background-color: #2563eb !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

#property-detail-modal a[href="/consultation.html"]:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    color: #ffffff !important;
}

#property-detail-modal a[href="/consultation.html"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3) !important;
}

/* 매물 상세보기 모달 텍스트 색상 강제 설정 */
#property-detail-modal h3,
#property-detail-modal h4 {
    color: #1e293b !important;
}

#property-detail-modal .text-gray-800 {
    color: #1e293b !important;
}

#property-detail-modal .text-gray-600 {
    color: #475569 !important;
}

#property-detail-modal .text-gray-700 {
    color: #374151 !important;
}

/* 매물 특징과 태그 텍스트 */
#property-detail-modal #modal-property-features,
#property-detail-modal #modal-property-tags {
    color: #1e293b !important;
}

#property-detail-modal #modal-property-features span,
#property-detail-modal #modal-property-tags span {
    color: #1e293b !important;
}

/* 통계 정보 텍스트 */
#property-detail-modal #modal-property-image-count,
#property-detail-modal #modal-property-feature-count {
    color: #1e40af !important;
}

#property-detail-modal .text-sm.text-gray-600 {
    color: #475569 !important;
}

/* 매물 설명 텍스트 */
#property-detail-modal #modal-property-description {
    color: #1e293b !important;
}

/* Admin 매물추가 모달 텍스트 색상 강제 설정 - 모든 상태 포함 */
#property-modal * {
    color: inherit !important;
}

#property-modal input,
#property-modal select,
#property-modal textarea,
#property-modal input[type="text"],
#property-modal input[type="email"],
#property-modal input[type="tel"],
#property-modal input[type="url"],
#property-modal input[type="file"] {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

#property-modal input::placeholder,
#property-modal textarea::placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
}

#property-modal input:focus,
#property-modal select:focus,
#property-modal textarea:focus,
#property-modal input:focus-visible,
#property-modal select:focus-visible,
#property-modal textarea:focus-visible {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

#property-modal input:hover,
#property-modal select:hover,
#property-modal textarea:hover,
#property-modal input:active,
#property-modal select:active,
#property-modal textarea:active {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

#property-modal input:visited,
#property-modal select:visited,
#property-modal textarea:visited {
    color: #1e293b !important;
}

#property-modal label,
#property-modal label * {
    color: #1e293b !important;
}

#property-modal h1,
#property-modal h2,
#property-modal h3,
#property-modal h4,
#property-modal h5,
#property-modal h6 {
    color: #1e293b !important;
}

#property-modal .text-primary,
#property-modal .text-primary * {
    color: #1e293b !important;
}

#property-modal .text-secondary,
#property-modal .text-secondary * {
    color: #475569 !important;
}

#property-modal p,
#property-modal p * {
    color: #1e293b !important;
}

#property-modal .text-xs,
#property-modal .text-xs * {
    color: #6b7280 !important;
}

#property-modal .text-gray-500,
#property-modal .text-gray-600,
#property-modal .text-gray-700,
#property-modal .text-gray-800 {
    color: #1e293b !important;
}

/* 특별히 강제로 텍스트 색상 설정 */
#property-modal .form-input,
#property-modal .form-select,
#property-modal .form-textarea {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

#property-modal .form-input:focus,
#property-modal .form-select:focus,
#property-modal .form-textarea:focus {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

#property-modal .form-input:hover,
#property-modal .form-select:hover,
#property-modal .form-textarea:hover {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

/* 최종 강제 설정 - 모든 가능한 경우 대비 */
#property-modal input[type="text"]:not([readonly]):not([disabled]),
#property-modal input[type="email"]:not([readonly]):not([disabled]),
#property-modal input[type="tel"]:not([readonly]):not([disabled]),
#property-modal input[type="url"]:not([readonly]):not([disabled]),
#property-modal input[type="number"]:not([readonly]):not([disabled]),
#property-modal input[type="password"]:not([readonly]):not([disabled]),
#property-modal select:not([disabled]),
#property-modal textarea:not([readonly]):not([disabled]) {
    color: #1e293b !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #1e293b !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
}

/* 모든 상태에서 강제 적용 */
#property-modal input[type="text"]:hover,
#property-modal input[type="email"]:hover,
#property-modal input[type="tel"]:hover,
#property-modal input[type="url"]:hover,
#property-modal input[type="number"]:hover,
#property-modal input[type="password"]:hover,
#property-modal select:hover,
#property-modal textarea:hover {
    color: #1e293b !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #1e293b !important;
}

#property-modal input[type="text"]:focus,
#property-modal input[type="email"]:focus,
#property-modal input[type="tel"]:focus,
#property-modal input[type="url"]:focus,
#property-modal input[type="number"]:focus,
#property-modal input[type="password"]:focus,
#property-modal select:focus,
#property-modal textarea:focus {
    color: #1e293b !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #1e293b !important;
}

#property-modal input[type="text"]:active,
#property-modal input[type="email"]:active,
#property-modal input[type="tel"]:active,
#property-modal input[type="url"]:active,
#property-modal input[type="number"]:active,
#property-modal input[type="password"]:active,
#property-modal select:active,
#property-modal textarea:active {
    color: #1e293b !important;
    background-color: #ffffff !important;
    -webkit-text-fill-color: #1e293b !important;
}

/* Hero Section 텍스트 강화 */
.hero-text h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5) !important;
    color: #ffffff !important;
}

.hero-text h1 span {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(230, 126, 34, 0.6) !important;
    color: #e67e22 !important;
}

.hero-text p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

/* Hero Section 배경 영상 밝기 조정 */
.hero-video {
    filter: brightness(1.3) contrast(1.1) !important;
    -webkit-filter: brightness(1.3) contrast(1.1) !important;
}