/* ===== Reset & Base ===== */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

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

:root {
  --gold: #C69C52;
  --gold-light: #d4b06a;
  --gold-dark: #a8833f;
  --navy: #3B4858;
  --navy-light: #4a5a6c;
  --bg-light: #fdfbf9;
  --bg-cream: #f8f3ee;
  --text-dark: #3B4858;
  --text-muted: #8a7e72;
  --white: #ffffff;
  --error-red: #c76060;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Main Layout ===== */
.page-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  position: relative;
overflow: hidden;
 


}

/* ===== Left Content Section ===== */
.content-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px 40px 100px;
  position: relative;
  max-width: 58%;
 &::after {
    content: "";
    background-image: url("30003103_3 1.svg");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
    inset: -10px;
  }
}

/* Decorative diagonal line */
/* .content-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: -60px;
  width: 120px;
  height: 100%;
  background: linear-gradient(
    to bottom right,
    var(--bg-light) 49.5%,
    transparent 50.5%
  );
  z-index: 2;
  pointer-events: none;
} */

/* ===== Logo ===== */
.logo {
  margin-bottom: 50px;
}

.logo img {
  height: auto;
  width: 200px;
}

/* ===== Heading ===== */
.heading {
  margin-bottom: 30px;
}

.heading h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  line-height: 1.05;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
}

.heading h1 .bold-line {
  display: block;
  color: var(--navy);
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 12px;
}

/* ===== Description ===== */
.description {
  max-width: 420px;
  margin-bottom: 40px;
}

.description p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* ===== Email Form ===== */
.email-form {
  max-width: 420px;
  position: relative;
  margin-bottom: 50px;
}

.email-form .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.email-form input[type="email"] {
  width: 100%;
  padding: 16px 28px;
  border: 1px solid #ddd2c8;
  border-radius: 50px;
  background: transparent;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--navy);
  letter-spacing: 0.5px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.email-form input[type="email"]::placeholder {
  color: #c5b9ad;
  font-weight: 300;
}

.email-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 156, 82, 0.1);
}

.email-form input[type="email"].error {
  border-color: var(--error-red);
}

.email-form .submit-btn {
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 100%;
  border: none;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(198, 156, 82, 0.35);
}

.email-form .submit-btn:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: 0 12px 28px rgba(198, 156, 82, 0.5);
  transform: translateY(-50%) scale(1.02);
}

.email-form .submit-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.email-form .submit-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Error message */
.email-form .error-message {
  display: none;
  margin-top: 10px;
  padding-left: 28px;
  font-size: 0.75rem;
  color: var(--error-red);
  font-weight: 300;
  font-style: italic;
}

.email-form .error-message.show {
  display: block;
}

/* ===== Footer ===== */
.footer {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ===== Right Image Section ===== */
.hero-image-section {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
}

.hero-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Subtle overlay gradient on image */
/* .hero-image-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(253, 251, 249, 0.08) 0%,
    transparent 30%
  );
  pointer-events: none;
} */

/* ===== Mobile Background Image (hidden on desktop) ===== */
.mobile-hero {
  display: none;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
  .content-section {
    padding: 40px 50px 30px 60px;
    max-width: 55%;
  }

  /* 
  .content-section::after {
    right: -40px;
    width: 80px;
  } */

  .heading h1 {
    font-size: 3.5rem;
    letter-spacing: 8px;
  }

  .heading h1 .bold-line {
    letter-spacing: 10px;
  }

  .logo img {
    height: 50px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
  }

  .content-section {
    max-width: 100%;
    padding: 30px 30px 40px;
    order: 2;
  }

  .content-section::after {
    display: none;
  }

  .hero-image-section {
    display: none;
  }

  .mobile-hero {
    display: block;
    width: 100%;
    height: 300px;
    order: 1;
    overflow: hidden;
  }

  .mobile-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .logo {
    margin-bottom: 30px;
  }

  .logo img {
    height: 45px;
  }

  .heading h1 {
    font-size: 2.5rem;
    letter-spacing: 6px;
  }

  .heading h1 .bold-line {
    letter-spacing: 8px;
  }

  .description {
    max-width: 100%;
  }

  .email-form {
    max-width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .content-section {
    padding: 24px 20px 30px;
  }

  .heading h1 {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  .heading h1 .bold-line {
    letter-spacing: 6px;
  }

  .mobile-hero {
    height: 240px;
  }

  .email-form input[type="email"] {
    padding: 14px 22px;
    font-size: 0.8rem;
  }

  .email-form .submit-btn {
    width: 60px;
  }
}