/* ================================
   VS-EVENTSYS — Phase-1 Full CSS
   Mobile-first + Responsive + Clean UI
=================================== */

/* Root Theme Variables */
:root{
  --warm-accent: #c04d3c;
  --muted: #6b6b6b;
  --bg: #faf7f2;
  --card-bg: #ffffff;
  --radius: 10px;
}

/* Reset */
*{ box-sizing: border-box; }
body{
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  margin: 0;
  color: #222;
}
.container{
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Global Responsive Image Rules */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================
   HEADER
=================================== */
.site-header{
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand .logo{
  height: 48px;
}
.site-nav a{
  margin-left: 18px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
.mobile-toggle{
  display: none;
}


/* ================================
   🔹 TOP CONTACT BAR (New)
================================ */
.top-bar {
  background: #000;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  width: 95%;
  max-width: 1100px;
  margin: auto;
}

.top-bar i {
  margin-right: 6px;
}

/* ================================
   🔹 UPDATED HEADER + NAV STYLE
================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand .logo {
  height: 55px;
  transition: 0.3s ease;
}

/* Hover shrink effect */
.brand .logo:hover {
  transform: scale(1.05);
}

/* Navigation Styles */
.site-nav a {
  margin: 0 22px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  position: relative;
}

/* Gold underline hover animation */
.site-nav a:hover {
  color: #b59052;
}

.site-nav a:hover::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #b59052;
  border-radius: 3px;
  transition: 0.3s;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
}

/* ================================
    🔹 MOBILE RESPONSIVE
================================ */
@media(max-width: 768px){
  .site-nav{
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    right: 0;
    top: 120px;
    padding: 20px;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 6px;
  }

  .mobile-toggle{
    display: block;
  }

  .top-bar-inner{
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }
}

/* ================================
   FOOTER
=================================== */
.site-footer{
  background: #111;
  color: #fff;
  padding: 24px 0;
  margin-top: 40px;
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================================
   CARDS
=================================== */
.card{
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom: 18px;
}

.event-card{
  display: flex;
  flex-direction: column;
}

/* Event Poster — Consistent Size */
.event-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* ================================
   BUTTONS
=================================== */
.btn{
  display: inline-block;
  background: var(--warm-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn.secondary{
  background: #5a6a6f;
}

/* ================================
   FORM
=================================== */
.field{ margin-bottom: 12px; }
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}

/* ================================
   EVENT PAGE LAYOUT
=================================== */
.event-layout{
  display: flex;
  gap: 20px;
}
.event-main{ flex: 1; }
.event-sidebar{
  width: 220px;
}

/* Sponsor Box */
.sponsor{
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
}

/* Auto-resize Sponsor Logos */
.sponsor img{
  width: 100%;
  height: 120px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}

/* ================================
   RESPONSIVE
=================================== */
@media (max-width: 900px){
  .site-nav{ display: none; }
  .mobile-toggle{ display: block; }

  .event-layout{
    flex-direction: column;
  }
  .event-sidebar{
    width: 100%;
  }

  .footer-inner{
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== ULTRA MODERN CONTACT PAGE ===== */

.contact-modern-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.contact-modern-title {
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.contact-modern-sub {
  font-size: 18px;
  text-align: center;
  color: #666;
  margin-bottom: 40px;
}

/* Glass Card */
.contact-modern-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.5);
}

/* ULTRA MODERN TABLE */
.contact-modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  font-size: 18px;
}

/* Header */
.contact-modern-table thead th {
  background: #e9f0ff;
  padding: 16px;
  font-weight: 700;
  color: #003399;
  text-align: left;
  border-bottom: 2px solid #d0d7e2;
  letter-spacing: 0.5px;
}

/* Rows */
.contact-modern-table tbody tr {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-radius: 14px;
  transition: 0.25s ease;
}

.contact-modern-table tbody tr:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Cell Styling */
.contact-modern-table td {
  padding: 16px;
  text-align: left;
  color: #333;
}

/* Rounded Corners for each row */
.contact-modern-table tbody tr td:first-child {
  border-radius: 12px 0 0 12px;
}

.contact-modern-table tbody tr td:last-child {
  border-radius: 0 12px 12px 0;
}

/* Phone number link */
.phone-link {
  color: #0052cc;
  font-weight: 600;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-modern-table {
    font-size: 15px;
  }

  .contact-modern-table td,
  .contact-modern-table th {
    padding: 12px;
  }

  .contact-modern-title {
    font-size: 30px;
  }
}