/* ========================== FONT IMPORTS ========================== */
@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('../fonts/LEMONMILK-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================== VARIABLES ========================== */
:root {
  --primary: #bd93f9;
  --primary-dark: #6272a4;
  --secondary: #ede4ff;
  --secondary-dark: #d1c1e7;
  --text-main: #000;
  --text-light: #333;
  --bg-main: #fff;
  --bg-card: #f8f6fa;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --radius: 0.15rem;
  --radius-lg: 2rem;
  --transition: 0.2s;
  --font-default: 'Quicksand', Arial, sans-serif;
  --font-main: 'Lemon Milk', var(--font-default), 'Quicksand', Arial, sans-serif;
}

/* ========================== BASE STYLES ========================== */
body {
  font-family: var(--font-main);
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

/* ========================== NAVBAR ========================== */
.navbar {
  background: transparent;
  box-shadow: none;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--transition);
}

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

.navbar__logo img {
  max-height: 80px;
}

.navbar__menu {
  display: flex;
  justify-content: flex-end;
}

.navbar__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar__link {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-main);
  transition: color var(--transition);
}

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

/* ========================== HAMBURGER ========================== */
.navbar__toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.navbar__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* Active state animation */
.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: "transparent";
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius);
    padding: 1rem;
    width: 220px;
    display: none;
  }

  .navbar__menu.active {
    display: flex;
  }

  .navbar__list {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .navbar__link {
    width: 100%;
    color: var(--text-main);
    display: block;
    padding: 0.5rem 0;
  }
}

/* ========================== HERO ========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: 0.8;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__logo {
  width: 300px;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--bg-main);
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* ========================== ABOUT SECTION ========================== */
.about {
  padding: 80px 0;
  background: var(--bg-main);
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}/* Wrap the image for better control */
.about__profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__img {
  width: 90%;
  max-width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  margin: 0 auto; /* Center image horizontally */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .about__profile {
    grid-template-columns: 1fr; /* stack image and text vertically */
    gap: 30px;
    text-align: center;
  }

  .about__info {
    align-items: center; /* Center the text below image */
  }

  .about__img {
    max-width: 180px; /* slightly smaller on mobile */
    margin: 0 auto; /* ensure centering */
  }
}

.about__title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.about__name {
  font-size: 2.5rem;
  color: var(--text-main);  
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about__desc {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.btn--secondary:hover {
  background: var(--text-main);
}

@media (max-width: 768px) {
  .about__profile {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* ========================== SERVICES SECTION ========================== */
.services {
  padding: 80px 0;
  background: var(--bg-card);
}

.section__title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--text-main);
}

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

.service-card {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.service-card__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: white;
}

.service-card__title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-card__desc {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.service-card__note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.btn-book {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  font-size: large;
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-book:hover {
  background: var(--text-main);
}

/* ========================== GALLERY SECTION ========================== */
.gallery {
  padding: 80px 0;
  background: var(--bg-main);
}

.gallery__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Force 3 columns on large screens */
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1024px) {
  .gallery__list {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 600px) {
  .gallery__list {
    grid-template-columns: 1fr; /* 1 column on phones */
  }
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ========================== CONTACT SECTION ========================== */
.contact {
  padding: 80px 0;
  background: var(--bg-card);
}

.section__subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.contact__form {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact__form-group {
  margin-bottom: 1.5rem;
}

.contact__form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.input-field {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--bg-main);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition);
  box-sizing: border-box;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.input-field {
  min-height: 120px;
  resize: vertical;
}

.btn--primary {
  background: var(--primary);
  color: white;
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
  font-size: large;
}

.btn--primary:hover {
  background: var(--text-main);
}

.form-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--secondary);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  text-align: center;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.g-recaptcha {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .contact__form-row {
    grid-template-columns: 1fr;
  }
}

/* ========================== FOOTER ========================== */
.footer {
  background: var(--text-main);
  color: var(--bg-main);
  padding: 40px 0 20px;
}

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer__desc {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__social-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--text-main);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--primary);
}

.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__link {
  color: var(--bg-main);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

.footer__copyright {
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* ========================== RESPONSIVE ADJUSTMENTS ========================== */
@media (max-width: 768px) {
  .hero__logo {
    width: 250px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .about__name {
    font-size: 2rem;
  }
}

