/* main.css */

/* These are the colors and fonts used throughout the webpage.
 * I've listed them here so that a user may easily
 * do a search-and-replace for these to change the site theme.
 *   'Roboto',sans-serif; Font for the title text
 *   'Roboto-Slab',serif; Font for the body text 
 *   #fafafa; Background color of the site
 *   #505050; Foreground (text) color of the site
 *   #52739e; Navy, "Template" in the logo, current page in navigation, special titles in the Program
 *   #b2132e; Reddish, "Conference" in the logo, hover color for links
 *   #813c54; Heading color, titles in the Program
 *   #b8860b; Dark Goldenrod, color for links
 */

/* main.css - REVISED */

@import url('https://fonts.googleapis.com/css?family=Roboto%7CRoboto+Slab');

/* CSS Reset */
*{
    border:0;
    font:inherit;
    font-size:1em;
    margin:0;
    padding:0;
    vertical-align:baseline;
}

/* Color Variables */
:root{
  --bg: #f6f8fb;
  --text: #1f2937;
  --muted: #4b5563;
  --brand: #0b2e59;
  --brand2: #1f5aa6;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 14px;
}

/* Body Styles */
html, body{
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

body{
    font-family:'Roboto',sans-serif;
    font-size:1em;
}

/* Links */
a{
  color: #b8860b; 
  text-decoration:none;
}
a:hover{color: #b2132e;}
a:active{color: #e82945;}
li a, p a {text-decoration:underline; text-decoration-color:#b8860b;}

/* Headings */
h1,h2,h3,h4{
  clear:left; 
  color: var(--brand); 
  margin:1.5em 0em 1em 0em; 
  font-family:'Roboto Slab',serif; 
  text-shadow: 1px 1px 2px #d0d0d0;
  letter-spacing: 0.2px;
}
h1{font-size:2.67em;}
h2{font-size:2.00em; margin-top: 26px;}
h3{font-size:1.67em; margin-top: 0;}
h4{font-size:1.33em;}

/* Text Elements */
p{
  list-style:none; 
  margin:24px auto 24px auto; 
  padding:0px; 
  max-width:900px; 
  text-align:left;
  color: var(--text);
}
ul{
  list-style:none; 
  margin:24px auto 24px auto; 
  padding:0px; 
  max-width:800px; 
  text-align:left;
}
ul li{list-style:none; margin:0px auto 0px auto; padding:0px; text-align:left;}
i,em{font-style:italic;}
b,strong{font-weight:bold;}

.compact{
  color: var(--muted);
}

sup{
    vertical-align: super;
    font-size: 0.8em;
    line-height: 0;
}
sub{
    vertical-align: sub;
    font-size: 0.8em;
    line-height: 0;
}

/* Container */
.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 18px 40px 18px;
}

/* BANNER SECTION - FIXED */
.banner{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  font-family:'Roboto Slab',serif;
}

.banner img{
  display: block;
  width: 100%;
  height: auto;
}

/* Hero Title Section */
.banner .top-left{
  position: absolute;
  top: 22px;
  left: 26px;
  max-width: 60%;
  z-index: 2;
  background: transparent;
}

.banner .top-left .hero-title{
  margin-bottom: 10px;
}

.banner .top-left .title1,
.banner .top-left .title2{
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  display: inline;
}

.banner .top-left .title1{
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner .top-left .title2{
  color: #dbeafe;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Subtitle with semi-transparent background */
.banner .hero-subtitle{
  display: inline-block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Date and Location - Bottom Right */
.banner .bottom-right{
  position: absolute;
  right: 26px;
  bottom: 20px;
  z-index: 2;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  max-width: 420px;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  color: #ffffff;
  text-align: right;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* NAVIGATION TABLE */
table.navigation{
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  margin: 0;
}

td.navigation{
  padding: 12px 10px;
  text-align: center;
  font-size: 1.2em;
  white-space: nowrap;
}

td.navigation a{
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

td.navigation a:hover{
  background: rgba(31,90,166,0.12);
  color: var(--brand2);
}

td.navigation a.current{
  background: var(--brand);
  color: #ffffff;
}

/* CARD SECTIONS */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.clean-list{
  margin: 12px 0 4px 20px;
  color: var(--muted);
  list-style: disc;
}

.clean-list li{
  margin-bottom: 8px;
}

/* SPONSOR IMAGES */
table.sponsors{
  width: 100%;
  max-width: 800px;
  margin: 24px auto;
}
td.sponsor{
  white-space:nowrap; 
  width:33%; 
  text-align:center; 
  vertical-align:middle; 
  padding:12px;
}
td.sponsor img{
  width: 100%;
  max-width: 250px;
}

/* PROGRAM PAGE TABLES */
td.room{
  padding: 4px 12px 4px 4px; 
  width: 90%; 
  vertical-align:bottom; 
  font-size:1.67em; 
  color: #52739e; 
  height:32px;
}
td.date{
  white-space:nowrap; 
  width:130px; 
  text-align:right; 
  vertical-align:top; 
  padding:4px 16px 0px 0px;
}
td.title{
  padding: 4px 12px 4px 4px; 
  width: 90%; 
  vertical-align:top; 
  font-size:1.5em; 
  color: #813c54; 
  height:32px; 
  font-family:'Roboto Slab',serif; 
  text-shadow: 1px 1px 2px #d0d0d0;
}
td.title-special{
  padding: 4px 12px 4px 4px; 
  width: 90%; 
  vertical-align:top; 
  font-size:1.67em; 
  color: #52739e; 
  height:32px; 
  font-family:'Roboto Slab',serif; 
  text-shadow: 1px 1px 2px #d0d0d0;
}
td.speaker{
  padding: 4px 12px 4px 4px; 
  font-style: italic; 
  font-size:1em;
}
td.abstract{
  padding: 4px 12px 12px 4px; 
  font-size:1em;
}
td.abstract img{
  display: block; 
  margin: 4px auto 8px auto;
}
table.plenary{
  padding-top: 8px; 
  background: #ffffff;
}

/* REGISTRATION & DIRECTIONS */
iframe.registration{
  display:block; 
  margin:1em auto 2em auto; 
  width:700px; 
  height:1400px; 
  border:none;
}
iframe.directions{
  display:block; 
  margin:1em auto 2em auto; 
  width:800px; 
  height:400px; 
  border:none;
}
img.center{
  display:block; 
  width:67%; 
  margin:1em auto 2em auto;
}

/* FLYER IMAGES */
table.flyers{
  width:800px;
  margin: 24px auto;
}
td.flyer{
  white-space:nowrap; 
  width:50%; 
  text-align:center; 
  vertical-align:middle; 
  padding:12px;
}

/* FOOTER */
.site-footer{
  max-width: 980px;
  margin: 40px auto 0 auto;
  padding: 22px 18px 40px 18px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9em;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px){
  body{
    margin: 0;
    width: 100%;
  }
  
  .container{
    padding: 12px;
  }
  
  p, ul{
    width: 100%;
  }
}

@media (max-width: 900px){
  .banner .top-left{
    max-width: 90%;
  }
  
  .banner .top-left .title1,
  .banner .top-left .title2{ 
    font-size: 42px; 
  }

  .banner .hero-subtitle{ 
    font-size: 15px; 
    max-width: 100%; 
  }

  .banner .bottom-right{ 
    font-size: 14px; 
    max-width: 90%;
    right: 12px;
    bottom: 12px;
  }
  
  td.navigation{
    font-size: 1em;
    padding: 8px 4px;
  }
  
  td.navigation a{
    padding: 8px 12px;
  }
}

@media (max-width: 600px){
  .banner .top-left .title1,
  .banner .top-left .title2{ 
    font-size: 32px; 
  }

  .banner .hero-subtitle{ 
    font-size: 13px; 
  }

  .banner .bottom-right{ 
    font-size: 12px; 
  }
}