/* Global */
:root{
  --bg: #001e17;
  --bg-glass: rgba(0, 43, 31, 0.6);
  --gold: #d4af37;
  --mint: #a8e6cf;
  --text: #f3f5f4;
  --shadow: 0 10px 40px rgba(0,0,0,.4);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Lucida Calligraphy', cursive;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(0,30,23,.8), rgba(0,50,36,.8)),
    url('assets/tamilnadu-silhouette.jpg') center / cover no-repeat fixed;
  overflow-x:hidden;
}

/* Intro overlay */
#overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background-color 1.2s ease, opacity 1.2s ease, visibility 1.2s ease;
}

#logo {
  width: auto;
border-radius: 50%;  
  max-width: 40%; /* starting size */
  opacity: 1;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.6));
  transform: scale(1);
  transition: transform 1.6s ease;
}



/* Layout */
.container{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding: clamp(16px, 3vw, 32px);
  gap: 24px;
  text-align:center;
}

/* Brand */
.site-title{
  font-size: clamp(28px, 6vw, 56px);
  color: var(--gold);
  letter-spacing: .5px;
  margin: 0 0 8px;
}
.tagline{
  margin:0;
  font-size: clamp(16px, 3vw, 22px);
  color: var(--mint);
  opacity: .95;
}

/* Form – glassmorphism */
form{
  width: min(92vw, 560px);
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  text-align:left;
}
.field{margin-bottom: 14px;}
label{
  display:block; margin:0 0 6px 6px;
  font-size: 14px; color: #cfe8dc;
}
input, textarea{
  width:100%;
  padding: 12px 14px;
  border: 1px solid rgba(168,230,207,.25);
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
  font-family: inherit;
}
input:focus, textarea:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.25);
  background: rgba(0,0,0,.35);
}
textarea{resize: vertical; min-height: 110px;}

/* Make form labels bigger and gold */
form label {
  font-size: 1.1rem; /* slightly bigger — adjust if needed */
  color: var(--gold);
  font-weight: bold;
}

/* Center-align only the Send button */
form button,
form input[type="submit"] {
  display: block;
  margin: 1rem auto 0;
}

.btn{
  display:inline-block;
  appearance:none;
  border:none;
  border-radius: 12px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--gold), #b9931a);
  color: #073b2d;
  font-weight: 700;
  letter-spacing:.2px;
  cursor:pointer;
  transition: transform 120ms ease, filter 200ms ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn:active{ transform: translateY(0); }

/* Socials */
.socials{ display:flex; gap:18px; margin-top: 10px; }
.social{
  width:46px; height:46px; display:grid; place-items:center;
  border-radius:12px; background: rgba(0,0,0,.35);
  border: 1px solid rgba(212,175,55,.25);
  transition: transform 140ms ease, background 200ms ease, border-color 200ms ease;
}
.social:hover{ transform: translateY(-2px); background: rgba(0,0,0,.45); border-color: var(--gold); }
.icon{ width:22px; height:22px; fill: var(--gold); }

@media (max-width: 420px){
  .socials{ gap:12px; }
  .social{ width:42px; height:42px; }
  .icon{ width:20px; height:20px; }
}

.event-intro {
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  backdrop-filter: blur(6px);
}

.event-intro h1 {
  font-family: 'Lucida Calligraphy', cursive;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.event-intro .intro {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff;
}

.event-intro .highlight {
  color: var(--gold);
  font-weight: bold;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
  justify-content: center;
}

.highlight-box {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 1rem;
  width: 250px;
}

.highlight-title {
  display: block;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.event-intro .closing {
  font-size: 1.1rem;
  color: #fff;
  margin: 2rem 0 1.5rem;
}

/* Override font for event intro + form */
.event-intro,
.event-intro * ,
form,
form * {
  font-family: 'Calibri', Times, serif !important;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  background-color: var(--gold);
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #d4af37;
  transform: scale(1.05);
}

html {
  scroll-behavior: smooth;
}

/* Gold glow effect */
.glow-highlight {
  box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.6);
  transition: box-shadow 0.5s ease-out;
}


/* Bigger gold labels for the form */
form label {
  font-size: 1.1rem; /* slightly bigger */
  color: var(--gold);
  font-weight: bold;
}

/* Send button styling */
form button,
form input[type="submit"] {
  display: block;               /* Forces it to take its own line */
  margin: 1.2rem auto 0 auto;    /* Centers horizontally */
  padding: 0.8rem 2rem;          /* Bigger size */
  font-size: 1.1rem;             /* Slightly larger text */
  background-color: var(--gold);
  color: #000;                   /* Black text for contrast */
  border: none;
  border-radius: 30px;           /* Smooth pill shape */
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Gold glow on hover */
form button:hover,
form input[type="submit"]:hover {
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  transform: scale(1.05); /* Slight zoom effect */
}

/* Center the button reliably */
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Bigger, premium button */
.submit-btn {
  /* size & layout */
  display: inline-block;
  width: auto !important;            /* kills any width:100% from earlier rules */
  padding: 0.9rem 2.2rem;
  font-size: 1.12rem;
  border-radius: 30px;

  /* colors */
  background: linear-gradient(135deg, var(--gold), #b9931a);
  color: #0a2e23;
  border: none;

  /* polish */
  cursor: pointer;
  transition: transform .2s ease, box-shadow .3s ease, filter .25s ease;
  box-shadow: 0 0 0 rgba(212,175,55,0); /* start with no glow */

  /* entrance animation (CSS-only) */
  animation: fadeSlideIn .8s ease-out .3s both;
}

/* Lux hover glow */
.submit-btn:hover {
  box-shadow: 0 0 18px rgba(212,175,55,0.75);
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.03);
}

/* Entrance keyframes */
@keyframes fadeSlideIn {
  0%   { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Labels: bigger & gold (keeps other text left-aligned) */
form label {
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: bold;
}

.site-footer {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 215, 0, 0.6); /* subtle gold */
  margin-top: 3rem;
  padding: 1rem 0;
}

.site-footer p {
  margin: 0;
}

