/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;600&display=swap');

:root {
    /* Premium Color Palette - Residential (Yonggye) */
    --primary-color: #1e3a8a;
    /* Blue 900 */
    --secondary-color: #1e40af;
    /* Blue 800 */
    --accent-color: #f59e0b;
    /* Amber 500 */
    --accent-hover: #d97706;
    --text-primary: #eff6ff;
    --text-secondary: #93c5fd;
    --text-dark: #1e3a8a;
    --bg-light: #fffbeb;
    --white: #ffffff;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 6rem 2rem;
    --border-radius: 4px;
    /* Sharper corners for modern premium feel */
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    /* Serif for elegance */
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    /* Dark semi-transparent */
    backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-selector a {
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid transparent;
    border-radius: 2px;
}

.lang-selector a.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Background image set in HTML or specific class */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 4rem;
    /* Big impact */
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Value Proposition Section (New) */
.value-section {
    padding: var(--section-padding);
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

.section-subtitle {
    display: block;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    padding: 0;
    transition: transform 0.3s;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.value-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.value-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-secondary);
    margin: 0 1.5rem 2rem;
    font-size: 0.95rem;
}

/* Property Section */
.property-section {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.property-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

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

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
}

.property-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.property-info {
    padding: 2rem;
}

.property-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.property-price {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.property-details {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.property-cta {
    display: block;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.property-cta:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Map Section */
.map-section {
    padding: var(--section-padding);
    background: var(--white);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.map-info {
    padding: 3rem;
}

.map-info h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.map-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.contact-highlight {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-highlight strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-highlight span {
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
}

.map-iframe {
    height: 100%;
    min-height: 500px;
}

.map-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Contact Section & Footer */
.contact-section {
    padding: var(--section-padding);
    background: var(--white);
    text-align: center;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    /* Removed heavy shadow */
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input,
.form-group textarea {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.submit-button:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

footer {
    background: #000;
    color: var(--white);
    padding: 5rem 2rem 2rem;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.footer-copy {
    color: #666;
    font-size: 0.8rem;
    margin-top: 3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Implement mobile menu if needed, clear for now */
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}

.floating-bar .blog {
    background: #03C75A;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.floating-bar .cafe {
    background: #2DB400;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.floating-bar .youtube {
    background: #FF0000;
    color: white;
    font-size: 1.2rem;
}

.floating-bar .facebook {
    background: #1877F2;
    color: white;
    font-size: 1.2rem;
}

.floating-bar .tiktok {
    background: #000000;
    color: white;
    font-size: 1.2rem;
}
/* Premium Header & Contact Design */
.glass-nav {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-mark {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 4px 12px 4px 12px;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-main {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    line-height: 1;
}

.brand-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 4px;
    transition: all 0.3s;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem !important;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
}

.nav-cta:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white !important;
    transform: translateY(-2px);
}

/* Ensure Header/Nav Stability */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.hero {
    margin-top: 0; /* Reset */
    padding-top: 80px; /* Account for fixed nav */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Premium Contact Section */
.contact-section-premium {
    position: relative;
    padding: 6rem 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.contact-section-premium .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85); /* Dark overlay */
    z-index: 1;
}

.contact-section-premium .container {
    position: relative;
    z-index: 2;
}

.premium-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.contact-info-panel h2.white {
    color: white;
    margin-bottom: 1rem;
}

.contact-info-panel .section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.step-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.step-text h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.step-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Glassy Form */
.glass-form {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 2.5rem !important;
}

.glass-form h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.glass-form label {
    color: var(--text-secondary) !important;
}

.glass-form input, 
.glass-form textarea {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.glass-form input::placeholder, 
.glass-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.glass-form input:focus, 
.glass-form textarea:focus {
    border-color: var(--accent-color) !important;
}

.premium-direct {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-direct h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.premium-direct .info-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.premium-direct .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.premium-direct a {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
    .premium-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Fix: Ensure Floating Bar is always on top */
.floating-bar {
    z-index: 9999 !important;
}
