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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Noto Sans KR", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background-color: #000;
  margin: 0;
  padding: 0;
}

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
  padding: 15px 0;
}

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

.logo-img {
  height: 40px;
  width: auto;
  transition: all 0.3s ease;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #fff;
  opacity: 0.8;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("img/background_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-bg-img {
  display: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-content {
  color: white;
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 3;
}

.hero-content-left {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  color: white;
  animation: fadeInLeft 1s ease-out;
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: white;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.hero-main-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.7);
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.8));
  opacity: 1;
  font-family: "Poppins", sans-serif;
}

.hero-logo {
  margin-bottom: 30px;
}

.hero-logo-img {
  width: 150px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(196, 113, 237, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(18, 194, 233, 0.4));
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 3px;
  background: linear-gradient(45deg, #ff6b9d, #c471ed, #12c2e9, #ff6b9d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: auroraGlow 4s ease-in-out infinite,
    backgroundShift 6s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  letter-spacing: 1px;
  opacity: 0.95;
  font-style: italic;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  background: linear-gradient(45deg, #ffffff, #e0e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(
    45deg,
    rgba(255, 107, 157, 0.8),
    rgba(196, 113, 237, 0.8)
  );
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(
    45deg,
    rgba(255, 107, 157, 0.9),
    rgba(196, 113, 237, 0.9)
  );
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 107, 157, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(18, 194, 233, 0.2);
}

.btn-outline:hover {
  background: rgba(18, 194, 233, 0.2);
  border-color: rgba(18, 194, 233, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(18, 194, 233, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  opacity: 0.8;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* Section Styles */
section {
  padding: 100px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, #ff6b9d, #c471ed, #12c2e9);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* About Section */
.about {
  background: linear-gradient(135deg, #f8f4ff 0%, #e8f0ff 100%);
  padding: 120px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  min-height: 600px;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.section-line {
  width: 60px;
  height: 2px;
  background: #333;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 4px;
}

.about-text .section-title::after {
  display: none;
}

.company-info {
  margin-bottom: 50px;
}

.company-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.company-location,
.company-ceo,
.company-since {
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.6;
}

.company-ceo {
  font-weight: 500;
}

.business-area {
  margin-top: 50px;
}

.business-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.business-list {
  list-style: none;
  padding: 0;
}

.business-list li {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 12px;
  padding-left: 0;
  position: relative;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.about-img {
  width: 100%;
  max-width: 600px;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-img:hover {
  transform: scale(1.02);
}

/* Services Section */
.services {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: linear-gradient(45deg, #ff6b9d, #c471ed, #12c2e9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.service-card:hover .service-icon {
  background: linear-gradient(45deg, #12c2e9, #c471ed, #ff6b9d);
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 107, 157, 0.4);
}

.service-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Projects Section */
.projects {
  background: #f8f9fa;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.projects-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
}

.projects-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.projects-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.projects-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

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

.projects-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.projects-item:hover .projects-overlay {
  opacity: 1;
}

.projects-overlay h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.projects-overlay p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.projects-link {
  color: white;
  text-decoration: none;
  padding: 10px 25px;
  border: 2px solid white;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.projects-link:hover {
  background: white;
  color: #333;
}

/* Contact Section */
.contact {
  position: relative;
  background: #000;
  color: white;
  padding: 120px 0;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url("img/background_6.png") center center no-repeat;
  background-size: cover;
  background-attachment: scroll;
}

.contact-bg-img {
  display: none;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.contact .container {
  position: relative;
  z-index: 3;
}

.contact .section-title {
  color: white;
}

.contact .section-title::after {
  background: white;
}

.contact .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 4;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: white;
  margin-top: 5px;
  opacity: 0.8;
}

.contact-item h4 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #111;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-img {
  width: 60px;
  height: auto;
}

.footer-logo p {
  color: #bbb;
  font-style: italic;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: white;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #555;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #bbb;
}

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

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

@keyframes auroraGlow {
  0%,
  100% {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
      0 0 20px rgba(255, 107, 157, 0.6);
    filter: drop-shadow(0 0 10px rgba(255, 107, 157, 0.5));
  }
  33% {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
      0 0 20px rgba(196, 113, 237, 0.6);
    filter: drop-shadow(0 0 10px rgba(196, 113, 237, 0.5));
  }
  66% {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
      0 0 20px rgba(18, 194, 233, 0.6);
    filter: drop-shadow(0 0 10px rgba(18, 194, 233, 0.5));
  }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    gap: 15px;
    backdrop-filter: blur(10px);
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-content-left {
    left: 20px;
    right: 20px;
    text-align: left;
  }

  .hero-main-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .hero-main-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: left;
    min-height: auto;
  }

  .about-img {
    height: 300px;
  }

  .about-header {
    justify-content: flex-start;
    margin-bottom: 40px;
  }

  .section-line {
    width: 40px;
  }

  .about-text .section-title {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }

  .contact-form {
    max-width: 100%;
    padding: 0 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-logo-img {
    width: 120px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 50px;
  }

  .hero-buttons {
    gap: 15px;
  }

  .hero-content-left {
    left: 15px;
    right: 15px;
  }

  .hero-main-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-main-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
}

/* Image Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-content {
  position: relative;
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #ff6b9d;
}

.modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  height: 100%;
}

.modal-image {
  max-width: 70%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-info {
  color: white;
  max-width: 300px;
}

.modal-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff6b9d, #c471ed, #12c2e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-info p {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Mobile Modal */
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .modal-image {
    max-width: 100%;
    max-height: 60%;
  }

  .modal-info {
    text-align: center;
    max-width: 100%;
  }

  .modal-info h3 {
    font-size: 1.5rem;
  }

  .modal-info p {
    font-size: 1rem;
  }

  .modal-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}
