/* =============================
   Global Styles
============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f4f6f9;
  color: #1a1a1a;
  line-height: 1.7;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* =============================
   Hero Section (Extended Width)
============================= */

header.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url('images/banner.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

header.hero .overlay {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.08);
  padding: 70px 100px;
  border-radius: 20px;
  max-width: 1600px;
  width: 98%;
}

header.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

header.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* =============================
   Hero Buttons (Centered via CSS only)
============================= */

header.hero .overlay div {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* =============================
   Navbar (Reduced Gap)
============================= */

.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: flex-start;   /* reduced spacing */
  align-items: center;
  gap: 25px;                     /* controls logo-menu spacing */
  padding: 12px 25px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo img {
  height: 35px;
  width: auto;
  display: block;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-left: auto;   /* keeps menu aligned nicely */
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s ease;
}

.navbar a:hover {
  color: #0073e6;
}

/* =============================
   Sections
============================= */

.section {
  padding: 90px 20px;
  max-width: 1100px;
  margin: auto;
}

.section.light {
  background: white;
  border-radius: 20px;
  margin-top: 60px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

/* =============================
   Speaker Cards
============================= */

.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.speaker {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  text-align: center;
}

.speaker:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.speaker img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.speaker h3 {
  margin-bottom: 5px;
}

.speaker p {
  color: #666;
  font-size: 0.95rem;
}

/* =============================
   Schedule Table
============================= */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.schedule-table thead {
  background: linear-gradient(90deg, #0073e6, #00a2ff);
  color: white;
}

.schedule-table th,
.schedule-table td {
  padding: 20px;
  text-align: left;
}

.schedule-table tbody tr {
  border-bottom: 1px solid #eee;
}

.schedule-table tbody tr:hover {
  background: #f2f8ff;
}

/* =============================
   Buttons
============================= */

.btn {
  background: linear-gradient(90deg, #0073e6, #00a2ff);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,115,230,0.3);
}

/* =============================
   Venue
============================= */

.venue-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.venue-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.venue-text {
  font-size: 1.1rem;
}

.venue-text a {
  color: #0073e6;
}

/* =============================
   Sponsors
============================= */

.sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.sponsor {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.sponsor:hover {
  transform: translateY(-5px);
}

.sponsor img {
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
}

/* =============================
   Footer (No White Gap)
============================= */

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px 20px 10px 20px;
  margin: 0;
}

footer + footer {
  padding-top: 0;
  margin-top: -5px;
}

/* =============================
   Responsive
============================= */

@media (max-width: 768px) {
  header.hero h1 {
    font-size: 2rem;
  }

  .venue-container {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    gap: 15px;
  }
}
