/* External Stylesheet for FootballIQ Site */

/* Global box sizing for all elements */
* {
    box-sizing: border-box;
}

/* Tags and Elements */
body {
    max-width: 1000px;
    margin: auto;
    font-family: 'Georgia', 'Times New Roman', serif;
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

h1 {
    color: #1a4d0a;
    font-size: 16px;
    font-weight: 900;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h2 {
    color: #1a4d0a;
    font-size: 40px;
    font-weight: 900;
    text-align: center;
    margin: 20px 0;
    background-color: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

h3 {
    color: #1a4d0a;
    font-size: 26px;
    font-weight: 900;
    margin: 20px 0;
    background-color: rgba(255,255,255,0.9);
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

p {
    color: #1a1a1a;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
    margin: 20px 0;
    background-color: rgba(255,255,255,0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

header {
    background-image: url(images/banner.jpg);
    height: 200px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Navigation Styles */
nav {
    width: 100%;
    text-align: center;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

nav li {
    list-style: none;
    display: inline-block;
    margin: 0 3px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: normal;
    display: inline-block;
    background-color: rgba(45,80,22,0.8);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: rgba(45,80,22,1);
    color: #FFD700;
}

/* Mobile Navigation - vertical layout for small screens */
@media only screen and (max-width: 639px) {
    nav ul {
        flex-direction: column;
    }

    nav li {
        display: block;
        margin: 2px 0;
        width: 100%;
    }

    nav a {
        display: block;
        width: 90%;
        margin: 0 auto;
        font-size: 1.2em;
        padding: 10px;
        border: 2px #AAA solid;
    }
}

main {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

aside {
    margin: 30px auto;
    max-width: 1000px;
    padding: 0 20px;
}

section {
    width: 75%;
    padding: 14px;
    box-sizing: border-box;
}

footer {
    background-color: #2d5016;
    color: white;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
    clear: both;
}

footer a {
    color: rgb(220, 229, 222);
}

hr {
    width: 60%;
    height: 5px;
    background-color: #2d5016;
    border: none;
    margin: 30px auto;
}

address {
    font-style: normal;
    color: #1a4d0a;
    font-weight: bold;
}

abbr {
    color: #0066cc;
    text-decoration: underline;
    cursor: help;
}

/* IDs */
#footballPlatformWrapper {
    /* Wrapper around entire page content */
}

#navbarContainer {
    background-color: rgba(255,255,255,0.95);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ctaSection {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(232,245,232,0.85);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#topBackLink {
    background-color: #4a7c59;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

/* Classes */
.selected {
    background-color: rgba(45,80,22,1) !important;
    color: #FFD700 !important;
    font-weight: bold;
}

.platformHighlight {
    color: #1a4d0a;
    font-weight: 900;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.featureBenefit {
    color: #0066cc;
    font-weight: 900;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.mainIntroText {
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.7;
    margin: 20px 0;
    background-color: rgba(255,255,255,0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.centerLink {
    text-align: center;
    margin: 20px 0;
    background-color: rgba(255,255,255,0.8);
    padding: 12px;
    border-radius: 8px;
    display: inline-block;
}

.centerLink a {
    color: #2d5016;
    font-weight: bold;
    text-decoration: underline;
    margin: 0 10px;
}

.imageCenter {
    text-align: center;
    margin: 30px 0;
}

.benefitsHeading {
    color: #1a4d0a;
    font-size: 32px;
    font-weight: 900;
    margin: 30px 0 20px 0;
    background-color: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 8px;
    border-left: 8px solid #1a4d0a;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.ctaHeading {
    color: #2d5016;
    font-size: 26px;
    font-weight: 900;
    margin-top: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.ctaText {
    font-weight: bold;
    color: #2d5016;
    font-size: 18px;
    margin: 10px 0;
}

.finalText {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.7;
    margin: 20px 0;
    background-color: rgba(255,255,255,0.85);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.externalLink {
    color: #2d5016;
}

.mainDashboardImage {
    width: 100%;
    max-width: 600px;
}

.techPreviewImage {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.pointingIcon {
    margin: 10px 0;
}

.ctaSvg {
    display: block;
    margin: 0 auto 24px auto;
}

.svgRect {
    fill: #2d5016;
    stroke: black;
    stroke-width: 3;
    opacity: 0.7;
}

.phoneLink {
    color: #4a7c59;
}

/* Resume-specific styles */
.resume-container {
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    display: flex;
    min-height: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.resume-sidebar {
    width: 300px;
    background-color: #2d5016;
    color: white;
    padding: 30px 25px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.resume-main-content {
    flex: 1;
    padding: 30px 35px;
    background-color: rgba(255,255,255,0.95);
    font-family: 'Georgia', 'Times New Roman', serif;
}

.resume-profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    background-color: #ddd;
    border: 3px solid #1a4d0a;
    background-size: cover;
    background-position: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.resume-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.resume-title {
    font-size: 12px;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.resume-section-title {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 15px 0;
    border-bottom: 2px solid #1a4d0a;
    padding-bottom: 5px;
    color: #FFD700;
}

.resume-contact-item {
    margin-bottom: 12px;
    font-size: 11px;
    display: flex;
    align-items: center;
    color: #b8bcc3;
}

.resume-contact-item::before {
    content: "●";
    margin-right: 8px;
    color: #1a4d0a;
}

.resume-sidebar-content {
    margin-bottom: 15px;
}

.resume-sidebar-item {
    font-size: 11px;
    color: #b8bcc3;
    margin-bottom: 8px;
    line-height: 1.4;
}

.resume-sidebar-title {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 3px;
    color: white;
}

.resume-skills-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.resume-skills-list li {
    margin-bottom: 8px;
    font-size: 11px;
    position: relative;
    padding-left: 15px;
    color: #b8bcc3;
}

.resume-skills-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a4d0a;
}

.resume-main-section-title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #1a4d0a;
    margin: 30px 0 15px 0;
    letter-spacing: 1px;
    border-bottom: 2px solid #2d5016;
    padding-bottom: 5px;
}

.resume-main-section-title:first-child {
    margin-top: 0;
}

.resume-work-item {
    margin-bottom: 25px;
    border-left: 3px solid #1a4d0a;
    padding-left: 15px;
}

.resume-work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.resume-work-title {
    font-weight: bold;
    font-size: 13px;
    color: #1a4d0a;
}

.resume-work-company {
    font-size: 11px;
    color: #2d5016;
    margin-bottom: 3px;
}

.resume-work-date {
    font-size: 10px;
    color: #999;
}

.resume-work-responsibilities {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
}

.resume-work-responsibilities li {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
    padding-left: 12px;
    position: relative;
    line-height: 1.4;
}

.resume-work-responsibilities li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a4d0a;
}

.resume-education-item {
    margin-bottom: 20px;
    border-left: 3px solid #1a4d0a;
    padding-left: 15px;
}

.resume-education-degree {
    font-weight: bold;
    font-size: 13px;
    color: #1a4d0a;
    margin-bottom: 3px;
}

.resume-education-school {
    font-size: 11px;
    color: #2d5016;
    margin-bottom: 5px;
}

.resume-education-details {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.resume-profile-text {
    font-size: 11px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
    text-align: justify;
}

/* Hide the old resume styles when using new layout */
.resume-page .resumeHeader,
.resume-page .resumeSection,
.resume-page aside:not(.resume-sidebar),
.resume-page main {
    display: none;
}

.resume-honor-society {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    border: 2px solid #1a4d0a;
    color: #1a4d0a;
    font-weight: bold;
    font-size: 11px;
    letter-spacing: 1px;
    background-color: rgba(255,215,0,0.1);
}

/* Transcript Page Styles */
.transcript-section {
    margin: 30px 0;
    background-color: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #1a4d0a;
}

.course-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: rgba(255,255,255,0.98);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.course-list li {
    display: grid;
    grid-template-columns: 80px 120px 1fr 50px;
    gap: 15px;
    padding: 12px 20px;
    border-bottom: 1px solid #e5e5e5;
    align-items: center;
    transition: background-color 0.2s ease;
}

.course-list li:hover {
    background-color: rgba(26,77,10,0.05);
}

.course-list li:last-child {
    border-bottom: none;
}

.semester {
    font-weight: bold;
    color: #2d5016;
    font-size: 0.9em;
}

.course-code {
    font-weight: bold;
    color: #1a4d0a;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.course-title {
    color: #333;
    font-size: 1em;
}

.grade {
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
}

.grade-a {
    background-color: #28a745;
}

.grade-b {
    background-color: #17a2b8;
}

.grade-c {
    background-color: #ffc107;
    color: #333;
}

.professor-list {
    list-style-image: url('images/point.gif');
    background-color: rgba(255,255,255,0.98);
    padding: 20px 25px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.professor-list li {
    margin: 12px 0;
    padding: 8px 0;
    font-size: 1.1em;
    color: #333;
    border-bottom: 1px dotted #ddd;
}

.professor-list li:last-child {
    border-bottom: none;
}

.certification-list {
    background-color: rgba(255,255,255,0.98);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.certification-list dt {
    font-weight: bold;
    color: #1a4d0a;
    font-size: 1.3em;
    margin-top: 15px;
    margin-bottom: 5px;
    padding: 8px 12px;
    background-color: rgba(26,77,10,0.1);
    border-radius: 5px;
    display: inline-block;
}

.certification-list dt:first-child {
    margin-top: 0;
}

.certification-list dd {
    margin-left: 20px;
    margin-bottom: 15px;
    color: #555;
    font-size: 1em;
    line-height: 1.5;
}

.references-list {
    list-style-type: upper-roman;
    background-color: rgba(255,255,255,0.98);
    padding: 20px 30px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.references-list li {
    margin: 20px 0;
    padding: 15px;
    background-color: rgba(245,245,245,0.7);
    border-radius: 6px;
    border-left: 3px solid #1a4d0a;
}

.reference-info {
    line-height: 1.6;
}

.reference-info strong {
    color: #1a4d0a;
    font-size: 1.1em;
}

.reference-title {
    color: #2d5016;
    font-style: italic;
    margin: 3px 0;
}

.reference-phone {
    color: #555;
    font-size: 0.95em;
}

.skills-text {
    background-color: rgba(255,255,255,0.98);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.7;
    font-size: 1.05em;
    color: #333;
}

.special-char {
    color: purple;
    font-weight: bold;
    font-size: 1.3em;
}

.superscript-highlight {
    color: #1a4d0a;
    font-weight: bold;
}

.subscript-highlight {
    color: #2d5016;
    font-weight: bold;
}

.additional-info {
    color: #666;
    font-style: italic;
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dotted #ddd;
}

.transcript-footer {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 20px;
    background-color: rgba(232,245,232,0.9);
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    border: 2px solid rgba(26,77,10,0.3);
}

.transcript-footer p {
    font-size: 1.1em;
    margin: 0;
    color: #1a4d0a;
    font-weight: 500;
}

/* Mobile responsiveness for transcript */
@media only screen and (max-width: 768px) {
    .course-list li {
        grid-template-columns: 1fr;
        gap: 5px;
        text-align: center;
    }

    .course-list li::before {
        content: "■";
        color: #1a4d0a;
        font-weight: bold;
        margin-right: 8px;
    }

    .semester::before {
        content: "Semester: ";
        font-weight: normal;
        color: #666;
    }

    .course-code::before {
        content: "Course: ";
        font-weight: normal;
        color: #666;
    }

    .grade::before {
        content: "Grade: ";
        font-weight: normal;
        color: #333;
    }
}

/* Portfolio Page Styles */
#figureContainer {
    text-align: center;
    margin: 30px 0;
    background-color: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#figureContainer section {
    text-align: center;
    width: 100%;
    padding: 0;
}

figure {
    width: 320px;
    display: inline-block;
    margin: 15px;
    text-align: center;
    background-color: rgba(255,255,255,0.95);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    border: 2px solid rgba(26,77,10,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

figure img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #1a4d0a;
}

figcaption {
    margin-top: 12px;
    color: #2d5016;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    padding: 8px 12px;
    background-color: rgba(255,255,255,0.98);
    border-radius: 6px;
    border-top: 3px solid #1a4d0a;
}

figcaption strong {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: #1a4d0a;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive portfolio layout */
@media only screen and (max-width: 720px) {
    figure {
        width: 90%;
        margin: 10px auto;
        display: block;
    }
}

@media only screen and (min-width: 721px) and (max-width: 1000px) {
    figure {
        width: 45%;
        margin: 12px;
    }
}

@media only screen and (min-width: 1001px) {
    figure {
        width: 320px;
        margin: 15px;
    }
}