:root {
    --seattle-red: #AA0000;
    --seattle-white: #FFFFFF;
    --seattle-black: #000000;
    --seattle-gray: #E5E5E5;
    --seattle-dark-gray: #666666;
}

body {
    background-color: #FFFFFF;
    color: #333333;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    background-color: #AA0000; /* Seattle U Red background */
    color: #FFFFFF;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    height: 80px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

header .logo {
    height: 100%;
    display: flex;
    align-items: center;
    background-color: white; /* White background for logo */
    padding: 0 20px;
}

header .logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

header nav {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 20px;
}

header nav a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
    color: var(--seattle-gray);
}

main {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 20px;
    padding-top: 100px;
    flex: 1 0 auto;
    box-sizing: border-box;
    min-height: calc(100vh - 100px);
}

main > section:first-of-type {
    margin-top: 40px;
}

section {
    margin-bottom: 40px;
}

section p {
    margin-bottom: 10px;
    line-height: 1.6;
    padding-left: 20px;
}

section ul {
    padding-left: 40px;
}

section ul ul {
    padding-left: 20px;
}

h2 {
    color: #AA0000; /* Seattle U Red for main headings */
    padding-left: 20px;
    border-bottom: 2px solid var(--seattle-gray);
    padding-bottom: 10px;
}

h2:first-of-type {
    margin-top: 20px;
}

h3 {
    color: #000000; /* Black for subheadings */
    margin-top: 20px;
    padding-left: 20px;
}

.project {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.project:hover {
    box-shadow: 0 4px 8px rgba(170, 0, 0, 0.1);
}

.project h3 {
    color: var(--seattle-red);
}

.project h3 a {
    color: var(--seattle-red);
    text-decoration: none;
}

.project h3 a:hover {
    text-decoration: underline;
}

footer {
    background-color: #AA0000; /* Seattle U Red */
    color: #FFFFFF;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

.logo-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.logo-link:hover {
    text-decoration: none;
}

.profile-photo-container {
    perspective: 1000px;
    width: 200px;
    height: 200px;
    margin: -10px auto 20px;
}

.profile-photo-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.profile-photo-container:hover .profile-photo-flipper {
    transform: rotateY(180deg);
}

.flipper-front, .flipper-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--seattle-red);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flipper-back {
    transform: rotateY(180deg);
}

.profile-photo, .uc-seal {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Chatbot simulation styles */
#simulation {
    background-color: #f9f9f9;
}

#simulation-root {
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.w-full {
    width: 100%;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-4 {
    padding: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.text-2xl {
    font-size: 1.5rem;
}

.font-bold {
    font-weight: bold;
}

.h-96 {
    height: 24rem;
}

.border {
    border: 1px solid #e2e8f0;
}

.rounded {
    border-radius: 0.25rem;
}

.overflow-y-auto {
    overflow-y: auto;
}

.text-center {
    text-align: center;
}

.text-gray-500 {
    color: #6b7280;
}

.text-blue-600 {
    color: #2563eb;
}

.text-green-600 {
    color: #059669;
}

.text-red-600 {
    color: #dc2626;
}

@media (max-width: 768px) {
    main {
        padding: 20px 10px;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.2em;
    }
}

/* Chatbot styles - Updated for Seattle U */
:root {
    --seattle-red: #AA0000;
    --seattle-white: #FFFFFF;
    --seattle-black: #000000;
    --seattle-gray: #E5E5E5;
    --sidebar-width: 250px;
    --header-height: 80px;
}

#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: white;
    border: 2px solid var(--seattle-red);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

#chatbot-container.closed {
    height: 50px;
}

#chatbot-header {
    background-color: var(--seattle-red);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#chatbot-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#chatbot-toggle:hover {
    opacity: 0.8;
}

#chatbot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #f5f5f5;
}

#chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--seattle-gray);
    background-color: #f5f5f5;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#user-input {
    flex-grow: 1;
    padding: 5px;
    border: 1px solid var(--seattle-gray);
    border-radius: 5px;
    background-color: white;
    color: black;
}

#send-button {
    background-color: var(--seattle-red);
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#send-button:hover {
    background-color: #880000;
}

/* Additional styling for links */
a {
    color: var(--seattle-red);
}

a:hover {
    color: #880000;
}

/* Style for contact section links */
#contact a {
    color: var(--seattle-red);
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}
