/* c:\성원파크골프컨설팅\css\style.css */
:root {
  /* Color Palette - Premium Dark Theme */
  --bg-color: #0d0f12;
  --surface-color: rgba(255, 255, 255, 0.03);
  --surface-border: rgba(255, 255, 255, 0.08);
  --primary-color: #10b981; /* Elegant Green for Park Golf */
  --primary-hover: #059669;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-color: #3b82f6; /* Blue for Trade */
  
  /* Typography */
  --font-family: 'Inter', 'Pretendard', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

ul {
  list-style: none;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(13, 15, 18, 0.8);
  backdrop-filter: blur(16px);
  padding: 15px 0;
  border-bottom: 1px solid var(--surface-border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

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

.logo-img {
  height: 90px; /* Increased height to make the text much larger */
  width: auto;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5)); /* Add a subtle drop shadow to make it pop */
  transition: all 0.4s ease;
  transform-origin: left center;
}

header.scrolled .logo-img {
  height: 60px; /* Shrink logo slightly when scrolled */
}

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

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #dcb35c; /* Gold color matching logo */
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: #fceba7; /* Brighter gold on hover */
  text-shadow: 0 0 8px rgba(220, 179, 92, 0.4);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 20px;
  overflow: hidden;
  background-color: #030406; /* Dark space background */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 15, 18, 0.2); /* Reduced opacity further so stars and globe pop more */
  z-index: 2; /* Above spline-viewer and starfield */
  pointer-events: none; /* Let clicks pass through to 3D scene */
}

#starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Below text, overlaying or blending with spline */
  pointer-events: none;
  mix-blend-mode: screen; /* Blend stars with the dark background */
}

#globeViz {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Base layer above starfield */
}

.hero-content {
  text-align: center;
  z-index: 3; /* Ensure content is on top */
  position: relative;
  max-width: 800px;
  animation: fadeInUp 1s ease-out forwards;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fceba7 0%, #dcb35c 40%, #b8913b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 0px #8a6519) drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.7));
}

.hero p {
  font-size: 1.25rem;
  color: #e5c57a;
  margin-bottom: 40px;
  font-weight: 500;
  text-shadow: 1px 1px 0px #8a6519, 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.cta-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Sections */
section {
  padding: 100px 20px;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  padding: 0;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
}

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

/* Contact Section */
.contact-section {
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  margin-top: 50px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

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

.contact-info, .contact-form {
  padding: 40px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.info-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--text-main);
}

.info-list .icon {
  margin-right: 15px;
  font-size: 1.2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.form-group option {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.submit-button {
  width: 100%;
  padding: 16px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info, .contact-form {
    padding: 25px;
  }
}
