/* --- Google Font Imports --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@200;400;700&family=Ubuntu+Sans:wght@400;500;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-color: #F5F1EB;
  --text-color: #333333;
  --primary-font: 'Ubuntu Sans', sans-serif;
  --secondary-font: 'Playfair Display', serif;
  --logo-bg-color: #C9B7A8;
  --button-bg-color: #373737;
  --button-text-color: #ffffff;
}

/* --- General Body & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--primary-font);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* --- Page Wrapper --- */
.page-wrapper {
  /* No styles needed here now */
}

/* --- Navbar Styling (Full-width) --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #ddd;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo-text {
  font-family: var(--secondary-font);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #000;
}

/* --- Get Started Button Styling --- */
.nav-links a.btn-get-started {
  background-color: transparent;
  color: var(--button-bg-color);
  border: 1px solid var(--button-bg-color);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.nav-links a.btn-get-started:hover {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
}

/* --- Main Landing Content --- */
.landing-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.image-section,
.text-section {
  flex: 1;
}

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.text-section p {
  font-family: var(--secondary-font);
  font-size: 1.75rem;
  line-height: 1.8;
  color: var(--text-color);
}

.text-section strong {
  font-weight: 700;
}

/* --- Typing Effect Cursor --- */
#cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to {
    color: transparent;
  }
  50% {
    color: var(--text-color);
  }
}

/* --- Animation for Modal --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- NEW MODAL STYLES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background: #fff;
  padding: 2.5rem;
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 550px;
  text-align: center;
  animation: fadeInUp 0.5s ease-out forwards; /* Apply animation */
}

.modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 2.5rem;
}

.modal-title {
  font-family: var(--secondary-font);
  font-size: 2rem;
  font-weight: 200;
}

.close-modal {
  position: absolute;
  top: -15px;
  right: -10px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #aaa;
}

.modal-body {
    margin-bottom: 1.5rem;
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-group:last-of-type {
    margin-bottom: 0;
}

.input-group input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-family: var(--primary-font);
  font-size: 1rem;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  border: none;
  border-radius: 30px;
  font-family: var(--secondary-font);
  font-size: 1.1rem;
  font-weight: 200;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1.5rem;
}

.btn-submit:hover {
  background-color: #2a2a2a;
}

.modal-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.modal-footer p {
  font-size: 0.9rem;
  color: #666;
}

.modal-footer a {
  color: var(--text-color);
  font-weight: 700;
  text-decoration: none;
}

.terms-text {
  font-size: 0.8rem;
  color: #999;
  margin-top: 1rem;
}


/* --- Responsive Design --- */
@media (max-width: 768px) {
  .landing-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .text-section p {
    font-size: 1.5rem;
  }
  
  .modal {
    max-width: 90%;
  }
}
