/* --- Global Variables & Reset --- */
:root {
  --forest-green: #14362d;
  --gold: #ffcc33;
  --ruby-red: #ae2012;
  --white-glass: rgba(255, 255, 255, 0.92);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: var(--forest-green);
  background-image: 
    radial-gradient(at 0% 0%, rgba(174, 32, 18, 0.3) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 204, 51, 0.3) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(174, 32, 18, 0.2) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(20, 54, 45, 0.5) 0px, transparent 50%);
  background-attachment: fixed;
}

/* --- Shared Containers (Form, Reset, Dashboard) --- */
.card, .reset-card, .dashboard-card, form {
  background-color: var(--white-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 2.5rem;
  border-radius: 24px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

form, .reset-card {
  max-width: 450px;
  text-align: center;
}

.dashboard-card {
  max-width: 800px;
}

/* --- Typography --- */
h2, .section-title {
  color: var(--forest-green);
  margin-bottom: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.section-title {
  text-align: left;
  border-left: 5px solid var(--gold);
  padding-left: 15px;
  margin-bottom: 1.5rem;
}

/* --- Form Elements --- */
.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--forest-green);
  opacity: 0.9;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid rgba(20, 54, 45, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  color: #333;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 204, 51, 0.2);
}

/* --- Buttons --- */
button, .btn-event {
  width: 100%;
  background-color: var(--forest-green);
  color: var(--gold);
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover:not(:disabled), .btn-event:hover {
  background-color: var(--ruby-red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(174, 32, 18, 0.3);
}

button:disabled {
  background-color: #666;
  color: #aaa;
  cursor: not-allowed;
  transform: none;
}

/* --- Navigation Menu --- */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
  background: rgba(20, 54, 45, 0.05);
  padding: 8px;
  border-radius: 50px;
}

.nav-link {
  text-decoration: none;
  color: var(--forest-green);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-link.active {
  background-color: var(--forest-green);
  color: var(--gold);
}

.nav-link:hover:not(.active) {
  background-color: rgba(255, 204, 51, 0.2);
}

/* --- Dashboard Specifics --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  margin-bottom: 2rem;
}

.info-item {
  background: white;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(20, 54, 45, 0.1);
}

.info-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ruby-red);
  margin-bottom: 4px;
}

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

/* --- Refined Full-Width Event Box --- */
.event-reg-box {
  background: rgba(255, 204, 51, 0.1);
  padding: 2.5rem; /* Increased padding for a more spacious feel */
  border-radius: 20px;
  border: 2px dashed var(--forest-green);
  width: 100%;       /* Force full width */
  display: block;    /* Ensure it behaves as a block */
  margin-top: 1rem;
  box-sizing: border-box;
}

/* Ensure the form inside the box also stays full width */
.event-reg-box form {
  max-width: 100%;   /* Overrides the 450px global form limit */
  background: transparent;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: none;
}

/* Make inputs within the event box specifically clean */
.event-reg-box select, 
.event-reg-box input {
  margin-bottom: 1.5rem;
}

/* --- Layout & Responsiveness --- */
.grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .grid-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-menu { flex-direction: column; border-radius: 15px; }
  .nav-link { text-align: center; }
  .card, .reset-card, .dashboard-card, form { padding: 1.5rem; }
  h2 { font-size: 1.5rem; }
}

/* Error Messages */
.error-msg {
  color: var(--ruby-red);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-card {
        width: 95%;
        margin: 10px auto;
        padding: 15px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .info-grid {
        grid-template-columns: 1fr; /* Stack info items vertically */
    }

    .hotel-gallery {
        grid-template-columns: 1fr !important; /* Stack hotel cards */
    }

    /* Ensure form elements are touch-friendly */
    select, input, button {
        font-size: 16px !important; /* Prevents iOS auto-zoom on inputs */
        padding: 12px !important;
    }
}


.dashboard-card {
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box; /* Crucial for mobile */
}