/* 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
 */

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

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

body{
    background-color: #fafafa;
    background-size: cover;
    background-attachment: fixed;
    color: #505050; 
    text-align:left;
    font-family:'Roboto',sans-serif;
    font-size:1em;
    line-height:1.5em;
    margin: 60px auto;
    width: 1000px;
}

/* a{color: #b8860b; text-decoration:none;}
a.current{color: #52739e;}
a.current:hover{color: #e82945;}
a:hover{color: #b2132e;}
a:active{color: #e82945;} */
h1,h2,h3,h4{clear:left; margin:1.5em 0em 1em 0em; font-family:'Roboto Slab',serif; text-shadow: 1px 1px 2px #d0d0d0;}
h1{font-size:2.67em;}
h2{font-size:2.00em;}
h3{font-size:1.67em;}
h4{font-size:1.33em;}
p{list-style:none; margin:24px auto 24px auto; padding:0px; width:900px; text-align:left;}
li a, p a {text-decoration:underline; text-decoration-color:#b8860b;}
ul{list-style:none; margin:24px auto 24px auto; padding:0px; 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;}
sup{
    vertical-align: super;
    font-size: 0.8em;
    line-height: 0;
}
sub{
    vertical-align: sub;
    font-size: 0.8em;
    line-height: 0;
}
table{
    width: 1000px;
    margin: 12px auto 24px auto;
    float: center;
    /* UNCOMMENT THIS FOR DEBUGGING THE ALIGNMENT */
    /*border: 1px solid black;*/
}
th,td{
    text-align: left;
    /* UNCOMMENT THIS FOR DEBUGGING THE ALIGNMENT */
    /*border: 1px solid black;*/
}

/* Website Banner */
.banner-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

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

.centered-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff; /* Light color */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* subtle shadow for visibility */
    background: rgba(0, 0, 0, 0.4);
    padding: 1rem 2rem;
    border-radius: 8px;
}

.centered-banner-text h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem;
    text-align: center;
}

.centered-banner-text p {
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
}

.top-left {font-size:5.33em; color: #505050; background: #fafafa; text-align: center; width: 1000px; height: 67px; position: absolute; padding: 36px 0 0 0; top: 0px;}
.bottom-right {font-size:2.33em; color: #fafafa; line-height: 1.5em; width: auto; height: 100px; padding: 0px 27px 27px 0px; text-align: right; position: absolute; bottom: 0px; right: 0px; text-shadow: 0px 0px 6px #000000;}

/* Conference Title Logo */
/* .title1{color: #b2132e; text-shadow: 1px 1px 3px #c0c0c0;} 
.title2{color: #52739e; text-shadow: 1px 1px 3px #c0c0c0;}
.year{color: #505050; font-size:0.67em; font-weight: lighter;} */

/* Navigation Links (Home, Registration, etc) */
/* Make nav table into a flex container */
table.navigation {
    display: flex;
    justify-content: center;
    gap: 2rem; /* spacing between links */
    background-color: #f0f4f8;
    padding: 1rem 0;
    border-bottom: 1px solid #ccc;
    margin: 0 auto;
}

/* Remove default table styles */
table.navigation tr,
table.navigation td {
    display: contents;
}

/* Style each nav link */
table.navigation a {
    text-decoration: none;
    color: #004080;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
}

/* Hover effect */
table.navigation a:hover {
    background-color: #e0ecff;
    color: #00264d;
    transform: scale(1.05);
}

table.navigation a::after {
    content: '';
    position: absolute;
    left: 10%;
    bottom: 0;
    width: 80%;
    height: 2px;
    background-color: #004080;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

table.navigation a:hover::after {
    transform: scaleX(1);
}

/* Active/current page styling */
table.navigation a.current {
    background-color: #cce0ff;
    font-weight: bold;
}


/* Home page */

.travel-grant-highlight {
    background-color: #e8f4ff;
    border-left: 4px solid #005fa3;
    padding: 16px;
    margin: 40px 0;
    border-radius: 6px;
}

.travel-grant-highlight h3 {
    margin-top: 0;
    font-size: 1.3em;
    color: #003366;
}



.organizers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.organizer-card {
  height: 380px; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 15px;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.organizer-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #ddd;
  margin-bottom: 10px;
}

.organizer-info {
  font-size: 13.5px;
  color: #333;
  line-height: 1.5;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 5px;
  margin-top: 10px;
  max-height: 210px;
}

.organizer-info strong {
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
}

.organizer-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 10px 0;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.assistant-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    padding-left: 40px;
}

.assistant-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #ccc;
}

.assistant-info {
  font-size: 13.5px;
  color: #333;
  line-height: 1.5;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 5px;
  margin-top: 10px;
  max-height: 210px;
}


.cta-button {
  background-color: #52739e;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: #813c54;
  color: #c0c0c0;
}

/* Venue button */
.hotel-button-container {
  text-align: left;
  padding-left: 40px;
  margin: 2em 0;
}

.hotel-button {
  background-color: #006699;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.hotel-button:hover {
  background-color: #004d73;
}


.transport-link {
  padding-left: 40px;
  font-size: 0.95em;
  color: #333;
  margin-top: 1em;
  line-height: 1.6;
}

.transport-link a {
  color: #0056b3;
  font-weight: 500;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.transport-link a:hover {
  color: #003d80;
  text-decoration: underline;
}

/* Call for Papers page */
.travel-grant-section {
    background-color: #f4f8fc;
    border-left: 4px solid #0077cc;
    padding: 20px;
    margin: 40px 0;
    border-radius: 8px;
}

.travel-grant-section h2 {
    margin-top: 0;
    font-size: 1.6em;
    color: #003366;
}

.travel-grant-section p {
    font-size: 1em;
    line-height: 1.6;
}

.grant-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.grant-button:hover {
    background-color: #005fa3;
}



/* Registeration Page */
.styled-table {
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
    width: 100%;
    min-width: 600px;
    border: 1px solid #ddd;
}

.styled-table thead tr {
    background-color: #3f6fa8;
    color: #ffffff;
    text-align: left;
}

.styled-table th, .styled-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #f3f3f3;
}


h2, h3 {
    margin-top: 10px;
    color: #3f6fa8;
}

p, ul, ol {
    font-size: 0.95em;
    line-height: 1.6em;
}

.registration-button-container {
  text-align: center;
  margin: 2em 0;
}

.registration-button {
  background-color: #005a9c;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.registration-button:hover {
  background-color: #004478;
}

.refund-section {
  margin-top: 2em;
  padding: 1em;
  background-color: #f8f8f8;
  border-left: 4px solid #005a9c;
}

.refund-section h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
 

/* My hacky way of making the site mobile-friendly */
@media only screen and (max-width: 1100px) {
    h2{font-size:3.00em;}
    p{font-size:1.5em; line-height:1.5em;}
    th,td,tr{font-size:1.5em; line-height:1.5em;}
    td.date{font-size:1em; padding-top:0.5em;}
    td.navigation{font-size:1.5em; padding:0px 20px 0px 20px;}
    table.footer{font-size:0.33em;}
}

