:root {
  --chilli-red: #e3000f;
  --chilli-black: #0a0a0a;
  --chilli-white: #ffffff;
  --chilli-gray: #f4f4f4;
  --chilli-dark-gray: #1a1a1a;
  --font-heading: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--chilli-black);
  color: var(--chilli-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.15; /* Increased to avoid accent overlap */
  color: var(--chilli-white);
  margin-bottom: 0.5rem;
  /* Fashion-tech subtle glow */
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

h1 span {
  color: var(--chilli-red);
}

.subtitle-h2 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #ccc;
  margin-bottom: 2rem;
  font-weight: 300;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
}

/* Video Wrapper */
.video-wrapper {
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  max-width: 400px;
}

.video-local {
  width: 100%;
  display: block;
}

/* Event Info Box */
.event-info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--chilli-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--chilli-white);
}

/* Google Maps Button */
.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: var(--chilli-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.btn-maps:hover {
  background-color: var(--chilli-white);
  color: var(--chilli-black);
}

.btn-maps svg {
  width: 18px;
  height: 18px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  padding: 1.5rem 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-img {
  max-height: 60px;
  width: auto;
  display: block;
}

.address-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  padding: 1.5rem;
  background-color: var(--chilli-dark-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

/* Hero / Split View */
.split-layout {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

@media (min-width: 900px) {
  .split-layout {
    flex-direction: row;
  }
}

.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(circle at 0% 0%, var(--chilli-dark-gray) 0%, var(--chilli-black) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(227, 0, 15, 0.15) 0%, rgba(0,0,0,0) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.date-badge {
  display: inline-block;
  background-color: var(--chilli-red);
  color: var(--chilli-white);
  font-family: var(--font-heading);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  transform: skew(-10deg);
  box-shadow: 0 4px 15px rgba(227, 0, 15, 0.4);
}

.date-badge span {
  display: inline-block;
  transform: skew(10deg);
}

.features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  color: var(--chilli-red);
  flex-shrink: 0;
}

/* Form Section */
.form-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: var(--chilli-white);
  color: var(--chilli-black);
}

@media (min-width: 900px) {
  .form-section {
    padding: 8rem 2rem;
  }
}

.form-wrapper {
  max-width: 650px; /* Increased from 500px */
  width: 100%;
  margin: 0 auto;
}

.form-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Scalable title */
  color: var(--chilli-black);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

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

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #333;
}

input, select {
  width: 100%;
  padding: 1.15rem; /* Slightly more padding */
  border: 2px solid #ddd;
  background-color: var(--chilli-white);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1.1rem; /* Slightly larger text */
  transition: all 0.3s ease;
  color: var(--chilli-black);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--chilli-red);
  box-shadow: 0 0 0 4px rgba(227, 0, 15, 0.1);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.btn-submit {
  width: 100%;
  padding: 1.5rem; /* More padding for a bigger hit area */
  background-color: var(--chilli-red);
  color: var(--chilli-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.75rem; /* Larger button text */
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.5s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 0, 15, 0.4);
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:active {
  transform: translateY(0);
}

/* Loading State for Button */
.btn-submit.loading {
  background-color: #99000a;
  color: transparent;
  pointer-events: none;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--chilli-white);
  animation: spin 1s ease-in-out infinite;
}

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

/* Thank You Page Specifics */
.thank-you-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, var(--chilli-dark-gray) 0%, var(--chilli-black) 100%);
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--chilli-red);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(227, 0, 15, 0.4);
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--chilli-white);
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.thank-you-card {
  background-color: var(--chilli-dark-gray);
  padding: 4rem 2rem;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.thank-you-card p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  color: var(--chilli-white);
  border: 2px solid var(--chilli-white);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--chilli-white);
  color: var(--chilli-black);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: #25D366;
  color: var(--chilli-white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

/* Trust Badges */
.trust-badges {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #888;
}

.badge svg {
  width: 16px;
  height: 16px;
}
