/* colour variables - Original*/
/*
:root {
  --color1: #1a3a6b;
  --color2: #4a90d9;
  --color3: #2c5a8c;
}
*/

/* colour variables - teal */

:root {
  --color1: #21625c;
  --color2: #3a8a8a;
  --color3: #5acaca;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--color1);
    color: #fff;
    padding: 1rem 0;
    border-bottom: 4px solid var(--color2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wrapper {
    width: 95%;
}

.site-header,
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*flex-wrap: nowrap;*/
    gap: 1rem;
    width: 100%;
}

.site-title a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center; 
    gap: 0.8rem;
    line-height: 1;      
}

.site-logo {
    height: 60px;        
    width: auto;
    display: block;      
}

/* Forces navigation links to align to the far right */
/* Navigation - supports both main site and year pages */
nav,
.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

nav a,
.site-nav a {
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    font-size: 1.05rem;
    white-space: nowrap;
}

nav a:hover,
.site-nav a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

nav a.active,
.site-nav a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Main content */
main {
    padding: 2.5rem 0;
    min-height: 70vh;
}

h1 {
    font-size: 2.5rem;
    color: var(--color1);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    color: var(--color1);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--color2);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color1);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Conference grid on homepage */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.conference-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-top: 4px solid var(--color2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.conference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.conference-card h2 {
    border-bottom: none;
    margin-top: 0;
}

.conference-card a {
    color: var(--color1);
    text-decoration: none;
}

.button {
    display: inline-block;
    background: var(--color1);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.button:hover {
    background: var(--color3);
    color: #ffffff !important; 
    text-decoration: none;
}

/* Program schedule */
.program-schedule {
    margin: 2rem 0;
}

.program-schedule h3 {
    background: #e8edf4;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    margin-top: 1.5rem;
}

.program-schedule ul {
    list-style: none;
    padding: 0;
}

.program-schedule li {
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid #e8edf4;
}

.program-schedule li:last-child {
    border-bottom: none;
}

.program-schedule strong {
    color: var(--color1);
}

/* Committee grid */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.committee-member {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
}

.committee-member h4 {
    color: var(--color1);
    margin-top: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: var(--color1);
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background: #f5f7fa;
}

/* Footer */
footer {
    background: var(--color1);
    color: rgba(255,255,255,0.8);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 4px solid var(--color2);
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Fix for bullet lists and indentation */
ul, ol {
    padding-left: 1.5rem;  /* Adds proper indentation */
    margin-left: 0;
}

li {
    margin-bottom: 0.5rem;  /* Adds space between items */
}

/* If you want the list to stay within the container */
.container ul,
.container ol {
    padding-left: 1.5rem;
}



/* Responsive design */
@media (max-width: 768px) {
    .site-header,
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .site-title a {
        font-size: 1.1rem;
        gap: 0.4rem;
    }
    
    .site-logo {
        height: 35px;
    }
    
    nav,
    .site-nav {
        gap: 0.2rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    nav a,
    .site-nav a {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .site-title a {
        font-size: 0.9rem;
        gap: 0.3rem;
    }
    
    .site-logo {
        height: 28px;
    }
    
    nav a,
    .site-nav a {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Conference Header */

.conference-title a {
    text-decoration: none;
    color: #fff;
}

.conf-name {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.conf-location {
    font-size: 0.9rem;
    opacity: 0.8;
}

.conference-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.conference-nav a {
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s;
}

.conference-nav a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

.conference-nav a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .conference-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .conference-nav {
        width: 100%;
    }
    
    .conference-nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Banner styling */
.banner-container {
    width: 100%;
    margin: 0 auto 2rem auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.banner-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover; /* Crops image to fit container */
    display: block;
}

/* Responsive banner */
@media (max-width: 768px) {
    .banner-image {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .banner-image {
        max-height: 150px;
    }
}



