/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Playfair+Display:wght@400;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: #2c3e50;
  --first-color-second: #34495e;
  --first-color-alt: #1a252f;
  --first-color-lighter: #ecf0f1;
  --title-color: #2c3e50;
  --text-color: #5d6d7e;
  --text-color-light: #85929e;
  --input-color: #f8f9fa;
  --body-color: #ffffff;
  --container-color: #ffffff;
  --scroll-bar-color: #bdc3c7;
  --scroll-thumb-color: #95a5a6;
  --gradient-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --accent-color: #e74c3c;
  --success-color: #27ae60;

  /*========== Font and typography ==========*/
  --body-font: 'Noto Sans KR', sans-serif;
  --title-font: 'Playfair Display', serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 3.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-2);
  text-align: center;
  font-family: var(--title-font);
  font-weight: var(--font-bold);
}

.section__title-accent {
  background: var(--gradient-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
  text-align: center;
  font-weight: var(--font-medium);
  color: var(--first-color);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-flex;
  align-items: center;
  column-gap: 0.5rem;
  background: var(--gradient-color);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.button::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;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.button__icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.button:hover .button__icon {
  transform: translateX(0.25rem);
}

/*=============== HEADER & NAV ===============*/
.header {
  width: 100%;
  background-color: var(--body-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all 0.3s ease;
  box-shadow: 0 2px 16px var(--shadow-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-medium);
  font-family: var(--title-font);
}

.nav__logo h2 {
  background: var(--gradient-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.nav__menu {
  position: relative;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-color);
  transition: width 0.3s ease;
}

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

.nav__link:hover {
  color: var(--first-color);
}

.nav__close,
.nav__toggle {
  display: none;
}

/* Active link */
.active-link {
  color: var(--first-color);
}

/*=============== HOME ===============*/
.home {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding-top: calc(var(--header-height) + 2rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home__container {
  gap: 2rem;
  align-items: center;
}

.home__data {
  text-align: center;
}

.home__title {
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.2;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.home__title-accent {
  background: var(--gradient-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home__description {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-2-5);
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.home__button {
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.home__images {
  position: relative;
  justify-self: center;
}

.home__orbe {
  width: 400px;
  height: 400px;
  background: var(--gradient-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.home__img {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: fadeInScale 1s ease 0.9s forwards;
}

.home__img-main {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/*=============== ABOUT ===============*/
.about__container {
  gap: 2.5rem;
  align-items: center;
}

.about__img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 60px var(--shadow-color);
  transition: transform 0.3s ease;
}

.about__img:hover {
  transform: translateY(-10px);
}

.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color);
  line-height: 1.8;
}

.about__list {
  display: grid;
  gap: var(--mb-1);
}

.about__list-item {
  display: flex;
  align-items: center;
  column-gap: var(--mb-0-75);
}

.about__list-icon {
  color: var(--success-color);
  font-size: 1.25rem;
}

/*=============== SPACES ===============*/
.spaces {
  background-color: #f8f9fa;
}

.spaces__container {
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.spaces__card {
  background-color: var(--container-color);
  border-radius: 1rem;
  box-shadow: 0 8px 32px var(--shadow-color);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.spaces__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow-color);
}

.spaces__card-header {
  position: relative;
  overflow: hidden;
}

.spaces__card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.spaces__card:hover .spaces__card-img {
  transform: scale(1.1);
}

.spaces__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.spaces__card:hover .spaces__card-overlay {
  transform: translateY(0);
}

.spaces__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

.spaces__card-description {
  font-size: var(--small-font-size);
  opacity: 0.9;
}

.spaces__card-content {
  padding: 1.5rem;
}

.spaces__card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--mb-1);
}

.spaces__card-capacity {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.spaces__card-price {
  font-weight: var(--font-bold);
  color: var(--first-color);
  font-size: var(--h3-font-size);
}

.spaces__card-features {
  display: grid;
  gap: 0.5rem;
}

.spaces__card-features li {
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.spaces__card-features i {
  color: var(--first-color);
}

/*=============== SERVICES ===============*/
.services__container {
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.services__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 8px 32px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.services__card:hover::before {
  transform: scaleX(1);
}

.services__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow-color);
}

.services__card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--mb-1);
  transition: transform 0.3s ease;
}

.services__card:hover .services__card-icon {
  transform: rotateY(360deg);
}

.services__card-icon i {
  font-size: 2rem;
  color: white;
}

.services__card-title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.services__card-description {
  color: var(--text-color);
  line-height: 1.6;
}

/*=============== TESTIMONIALS ===============*/
.testimonials {
  background-color: #f8f9fa;
}

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

.testimonials__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px var(--shadow-color);
  transition: all 0.3s ease;
}

.testimonials__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px var(--shadow-color);
}

.testimonials__card-header {
  display: flex;
  align-items: center;
  column-gap: 1rem;
  margin-bottom: var(--mb-1);
}

.testimonials__card-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonials__card-name {
  font-size: var(--h3-font-size);
  margin-bottom: 0.25rem;
}

.testimonials__card-position {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.testimonials__card-rating {
  display: flex;
  column-gap: 0.25rem;
  margin-bottom: var(--mb-1);
}

.testimonials__card-rating i {
  color: #f39c12;
}

.testimonials__card-text {
  color: var(--text-color);
  line-height: 1.6;
  font-style: italic;
}

/*=============== CONTACT ===============*/
.contact__container {
  gap: 3rem;
  align-items: flex-start;
}

.contact__data {
  text-align: center;
}

.contact__description {
  color: var(--text-color);
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.contact__info {
  display: grid;
  gap: 1.5rem;
}

.contact__info-item {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.contact__info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.contact__info-title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.25rem;
}

.contact__info-subtitle {
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.contact__form {
  display: grid;
  gap: 1.5rem;
}

.contact__form-div {
  position: relative;
}

.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  font-size: var(--smaller-font-size);
  padding: 0.25rem 0.5rem;
  background-color: var(--body-color);
  z-index: 10;
  color: var(--title-color);
  font-weight: var(--font-medium);
}

.contact__form-input {
  width: 100%;
  background-color: var(--input-color);
  color: var(--text-color);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact__form-input:focus {
  border-color: var(--first-color);
}

.contact__form-area {
  height: 7rem;
}

.contact__form-area textarea {
  resize: none;
}

/*=============== FOOTER ===============*/
.footer {
  background-color: var(--first-color);
  padding-top: 2rem;
}

.footer__container {
  gap: 2.5rem;
}

.footer__bg {
  background-color: var(--first-color);
  padding: 2rem 0 3rem;
}

.footer__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-0-25);
  color: white;
  font-family: var(--title-font);
}

.footer__subtitle {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: white;
  font-weight: var(--font-medium);
}

.footer__description {
  color: #bdc3c7;
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  column-gap: 1rem;
}

.footer__social-link {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background-color: white;
  color: var(--first-color);
  transform: translateY(-3px);
}

.footer__links {
  display: grid;
  gap: 0.5rem;
}

.footer__link {
  color: #bdc3c7;
  font-size: var(--small-font-size);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: white;
}

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

.footer__copy {
  font-size: var(--smaller-font-size);
  color: #bdc3c7;
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background: var(--gradient-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
  z-index: var(--z-tooltip);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrollup:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.scrollup__icon {
  color: white;
  font-size: 1.5rem;
}

/* Show scroll */
.show-scroll {
  bottom: 5rem;
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--scroll-bar-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }
  .nav__list {
    column-gap: 0;
  }

  .home__content {
    grid-template-columns: .25fr 3fr;
  }
  .home__blob {
    width: 180px;
  }
}

/* For medium devices */
@media screen and (min-width: 568px) {
  .home__content {
    grid-template-columns: max-content 1fr 1fr;
  }
  .home__data {
    grid-column: initial;
  }
  .home__img {
    order: 1;
    justify-self: center;
  }

  .about__container,
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .services__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 768px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  body {
    margin: 0;
  }

  .section {
    padding: 6rem 0 2rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    column-gap: 1rem;
  }
  .nav__icon,
  .nav__close,
  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 2rem;
  }
  .nav__menu {
    margin-left: auto;
  }

  .home {
    padding: 7rem 0 3rem;
  }
  .home__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  .home__data {
    text-align: left;
  }

  .services__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__container {
    grid-template-columns: 1fr 1.5fr;
  }

  .footer__container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .header,
  .main,
  .footer__container {
    padding: 0;
  }

  .home__blob {
    width: 320px;
  }
  .home__social {
    transform: translateX(-6rem);
  }

  .services__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__form {
    width: 460px;
  }
  .contact__inputs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* For mobile navigation */
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 2rem 1.5rem 4rem;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
    border-radius: 1.5rem 1.5rem 0 0;
    transition: .3s;
  }

  .nav__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--small-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
  }

  .nav__link:hover {
    color: var(--first-color);
  }

  .nav__icon {
    font-size: 1.2rem;
  }

  .nav__close {
    position: absolute;
    right: 1.3rem;
    bottom: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--first-color);
  }

  .nav__close:hover {
    color: var(--first-color-alt);
  }

  .nav__toggle {
    font-size: 1.1rem;
    cursor: pointer;
  }

  .nav__icon,
  .nav__close,
  .nav__toggle {
    display: block;
  }

  /* Show menu */
  .show-menu {
    bottom: 0;
  }

  .home__container {
    gap: 1rem;
  }
  .home__data {
    text-align: center;
  }
  .home__img {
    order: 1;
  }

  .about__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

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