/* Base Styles */
:root {
  /* Colors */
  --color-primary: #d8041c;
  --color-primary-light: #E78B48;
  --color-primary-dark: #b94b50;
  --color-secondary: #e8e1d9;
  --color-secondary-light: #f5f1ec;
  --color-secondary-dark: #d6cec4;
  --color-accent: #102E50;
  --color-accent-light: #6991ae;
  --color-accent-dark: #3a6178;
  --color-bride: #F5C45E;
  --color-groom: #102E50;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-error: #d8041c;

  /* Typography */
  --font-family-heading: 'Cormorant Garamond', serif;
  --font-family-body: 'Montserrat', sans-serif;
  --font-family-title:  'Great Vibes', cursive;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--color-white);
  min-height: 100vh;
  overflow-x: hidden;
}

.sail-regular {
  font-family: "Sail", system-ui;
}

.manrope-regular {
  font-family: "Manrope", sans-serif;
}

.page {
  display: none;
  min-height: 100vh;
}

.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--spacing-xl);
  background-image: url('../public/img1.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.landing-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  /* backdrop-filter: blur(4px); */
  z-index: 0;
}

.ganesh-logo {
  position: relative;
  z-index: 2;
  width: auto;
 
}

.name-logo {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  width: 170px;
  height: 170px;
  margin-bottom: 20px;
}


.page {
  display: none;
}
.page:target {
  display: block;
}
/* Optionally, show landing page if no hash is present */
#landing-page:target,
body:not(:target) #landing-page {
  display: block;
}

.welcome-title {
  font-family: var(--font-family-heading);
  font-size: 2.5rem;
  color: #2d1c0b;
  margin-bottom: var(--spacing-md);
  text-align: center;
  position: relative;
  z-index: 1;
}

.sanskrit-text {
  font-family: var(--font-family-heading);
  color: #800020;
  font-size: 24px;
  margin-bottom: var(--spacing-xl);
  text-align: center;
  position: relative;
  z-index: 1;
}

.names-display {
  font-family: "Sail", system-ui;
  font-size: 95px;
  color: #361041;
  margin-top: 100px;
  margin-bottom: var(--spacing-md);
  text-align: center;
  /* letter-spacing: 6px; */
  position: relative;
  line-height: 80px;
  font-weight: 500;
  z-index: 1;
  padding-bottom: 36px;;
}

.tagline {
  color: #F41870;
  font-family: Manrope;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

}

.tagline-image {
  margin:48px 0px;
}

.wedding-date {
  font-family: var(--font-family-body);
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-2xl);
  text-align: center;
}

.name-form {
  width: 100%;
  max-width: 400px;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.name-input {
  width: 100%;
  padding: var(--spacing-md);
  font-size: 1.2rem;
  border: 2px solid var(--color-secondary);
  border-radius: 8px;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

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

.error-message {
  color: var(--color-error);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
  min-height: 20px;
}

.side-selection {
  text-align: center;
  position: relative;
  z-index: 1;
}

.side-selection h2 {
   font-family: "Manrope", sans-serif;
   color: #000;
   text-align: center;
   font-size: 20px;
   font-style: normal;
   font-weight: 500;
   line-height: normal;
   text-transform: capitalize;
   margin-bottom: 30px;
}

.button-group {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
}

.divider {
  content: '';
  background-color: black;
  width: 240px;
  height:1px;
  z-index: 1;
}

.side-btn {
  display: flex;
  width: 236px;
  height: 72px;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
border: 1px solid #F41870;
background: rgba(255, 255, 255, 0.40);
transition: 0.2s ease-in-out;
color: #F41870;
font-size: 24px;
font-weight: 500;
}

.side-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .welcome-title {
    font-size: 2rem;
  }


.side-btn {
  display: flex;
  width: 200px;
  height: 50px;
  padding: 12px 16px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
border: 1px solid #F41870;
background: rgba(255, 255, 255, 0.40);
transition: 0.2s ease-in-out;
color: #F41870;
font-size: 18px;
font-weight: 500;
}


  .names-display {
    font-family: "Sail", system-ui;
    font-size: 48px;
    color: #361041;
    margin-top: 50px;
    margin-bottom: var(--spacing-md);
    text-align: center;
    /* letter-spacing: 6px; */
    position: relative;
    line-height: 50px;
    font-weight: 500;
    z-index: 1;
    padding-bottom: 36px;;
  }
  .button-group {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  .side-btn {
    width: 100%;
  }

  .ganesh-logo {
    position: relative;
    z-index: 2;
    width: 100%;
   
  }
  
  .name-logo {
    width: 100px;
    height: 100px;
  }

  .tagline {
    color: #F41870;
    font-family: Manrope;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  
  }
}