@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --primary: #1A2B4C; /* Deep Navy - Trust & Professionalism */
  --secondary: #C5A059; /* Luxurious Gold - Premium feel */
  --text-main: #333333;
  --text-light: #666666;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --border-color: #E5E5E5;
  --kakao-yellow: #FEE500;
  --kakao-brown: #3C1E1E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', sans-serif;
}

body {
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header & Navigation */
.top-bar {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--bg-white);
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn:hover {
  background-color: var(--bg-white);
  color: var(--primary);
}

.contact-btn.kakao {
  background-color: var(--kakao-yellow);
  color: var(--kakao-brown);
  border-color: var(--kakao-yellow);
}

.contact-btn.kakao i {
  color: var(--kakao-brown);
  font-size: 1.1rem;
}

.contact-btn.kakao:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--secondary);
  font-size: 0.85em;
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 0;
  display: block;
  transition: color 0.3s;
}

.nav-item:hover > a {
  color: var(--secondary);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-top: 3px solid var(--secondary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s, color 0.3s;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background-color: var(--bg-light);
  color: var(--secondary);
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(rgba(26, 43, 76, 0.7), rgba(26, 43, 76, 0.7)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--bg-white);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeUp 1s ease 0.2s both;
}

.btn-primary {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  animation: fadeUp 1s ease 0.4s both;
}

.btn-primary:hover {
  background-color: #A88643;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
}

.btn-outline-light {
  display: inline-block;
  background-color: transparent;
  color: var(--bg-white);
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--bg-white);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: fadeUp 1s ease 0.4s both;
}

.btn-outline-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--bg-white);
  z-index: -1;
  transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-outline-light:hover {
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover::before {
  width: 100%;
}

/* Page Header (for subpages) */
.page-header {
  height: 300px;
  background: linear-gradient(rgba(26, 43, 76, 0.9), rgba(26, 43, 76, 0.9)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.section-title .divider {
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  margin: 0 auto;
}

/* Two Column Feature */
.feature-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 60px;
}

.feature-img {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Form Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-top: 4px solid var(--secondary);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Pretendard', sans-serif;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  background-color: var(--primary);
  color: var(--bg-white);
  border: none;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-submit:hover {
  background-color: var(--secondary);
}

/* Floating Buttons Group */
.floating-group {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  font-size: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.floating-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 75px;
  background: var(--primary);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  pointer-events: none;
}

.floating-btn::after {
  content: '';
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.floating-btn:hover::before,
.floating-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

.floating-reservation {
  background-color: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.floating-reservation:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.floating-kakao {
  background-color: var(--kakao-yellow);
  color: var(--kakao-brown);
  font-size: 30px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.footer-nav-list li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-nav-list li:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-nav-list a:hover {
  color: var(--secondary);
}

.footer-main {
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 25px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-col h3 i {
  color: var(--secondary);
  font-size: 1.4rem;
  width: 24px;
  display: flex;
  justify-content: center;
}

.footer-col h3 span {
  color: var(--secondary);
  font-weight: 700;
}

.footer-col h3 small {
  flex-basis: 100%;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  padding-left: 36px;
  margin-top: 6px;
  letter-spacing: 0.3px;
}

.footer-col p, .footer-col ul {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  word-break: keep-all;
}

.footer-col ul li {
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col ul li:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* Properties Grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.property-card {
  background: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.property-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.property-content {
  padding: 25px;
}

.property-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--bg-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.property-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.property-location {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 15px;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Maps Container */
.map-container {
  width: 100%;
  height: 400px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: none;
    transform: none;
    display: none;
    padding-left: 20px;
  }
  .nav-item:hover .dropdown, .nav-item.active .dropdown {
    display: block;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .feature-row {
    flex-direction: column;
  }
}
/* Modal Styles */
.policy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.policy-modal-content {
  position: relative;
  background-color: var(--bg-white);
  margin: 5% auto;
  padding: 40px;
  width: 90%;
  max-width: 800px;
  max-height: 80%;
  border-radius: 15px;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.policy-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--secondary);
}

.policy-modal-header h2 {
  color: var(--primary);
  font-size: 1.5rem;
}

.close-modal {
  color: #888;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--primary);
}

.policy-body {
  color: #444;
  line-height: 1.8;
  font-size: 0.95rem;
  text-align: left;
}

.policy-body h3 {
  color: var(--primary);
  margin: 20px 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.policy-body p {
  margin-bottom: 15px;
}

.policy-body ul {
  margin-bottom: 20px;
  list-style: disc;
  padding-left: 20px;
}

.policy-body li {
  margin-bottom: 5px;
}
