/* Basic Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
main {
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    padding: 0 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-grow: 1;
}

/* Header */
header {
    background-color: #0a2342;
    color: #fff;
    padding: 30px 15px;
    text-align: center;
    width: 100%;
}

header h1 {
    font-weight: 700;
    margin-bottom: 5px;
}

header .subtitle {
    font-weight: 300;
    font-size: 1.1em;
    color: #e0e0e0;
}

/* Home Page Navigation */
.home-nav {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 5px;
}

.home-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/home-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.home-nav h2 {
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 15px;
}

.home-nav p {
    margin-bottom: 30px;
    color: #444;
    font-size: 1.05em;
}

.home-nav nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.nav-button {
    display: inline-block;
    background-color: #0a2342;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 400;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 200px;
    text-align: center;
    border: 1px solid #0a2342;
}

.nav-button:hover {
    background-color: #cc8400;
    border-color: #cc8400;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* Sections (Applicable to Where, Agenda, Speaker pages) */
section {
    padding: 25px 20px;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none;
}

section h2 {
    font-weight: 700;
    color: #0a2342;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cc8400;
}

section h3 {
    font-weight: 400;
    color: #224870;
    margin-bottom: 10px;
    margin-top: 15px;
}

section p, section li {
    margin-bottom: 10px;
    color: #444;
    font-size: 0.95em;
}

section a {
    color: #cc8400;
    text-decoration: none;
}

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

.content-block {
    margin-bottom: 20px;
}

/* Agenda Specific */
#agenda ul {
    list-style: none;
    padding-left: 0;
}

#agenda li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}
#agenda > .agenda-day > ul > li::before {
     content: '•';
     position: absolute;
     left: 0;
     color: #cc8400;
     font-weight: bold;
}


#agenda ul ul {
    margin-top: 5px;
    margin-bottom: 10px;
    padding-left: 25px;
}
#agenda ul ul li::before {
    content: '-';
    color: #555;
}


#agenda strong {
    font-weight: 700;
    color: #333;
}

.agenda-day {
    margin-bottom: 25px;
}
.agenda-day:last-child{
    margin-bottom: 0;
}

/* Speaker Specific */
.speaker-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.speaker-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
    flex-shrink: 0;
}

.speaker-details h3 {
    margin-top: 0;
    text-align: center;
}
.speaker-details .speaker-title {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}


/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px 15px;
    font-size: 0.85em;
    color: #666;
    background-color: #f0f0f0;
    width: 100%;
}

footer p {
    margin-bottom: 5px;
}

.footer-link {
    color: #0a2342;
    text-decoration: none;
    font-weight: bold;
}
.footer-link:hover {
    color: #cc8400;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (min-width: 600px) {
    /* Speaker Section */
    .speaker-profile {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

     .speaker-details h3,
     .speaker-details .speaker-title {
        text-align: left;
     }
}