/* 136th New York Volunteer Infantry - Classical Historical Stylesheet */
/* Maintains deep blue and yellow theme with enhanced visual appeal */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000066 !important;
    color: #ffff00 !important;
    font-family: "Times New Roman", "Georgia", serif;
    font-size: 16px;
    line-height: 1.6;
    background-image: linear-gradient(135deg, #000066 0%, #000088 50%, #000066 100%);
    background-attachment: fixed;
}

/* Typography - Classical Historical Style */
h1, h2, h3, h4, h5, h6 {
    font-family: "Gloucester MT Extra Condensed", "Times New Roman", serif;
    color: #ffff00 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5em;
    font-weight: bold;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    border-bottom: 3px solid #ffff00;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-top: 1em;
}

h3 {
    font-size: 1.5em;
}

/* Paragraph and text styling */
p {
    margin-bottom: 1em;
    text-align: justify;
    font-family: "Tahoma", "Arial", sans-serif;
}

/* Enhanced link styling */
a:link {
    color: #99ccff !important;
    text-decoration: underline;
    transition: all 0.3s ease;
}

a:visited {
    color: #cc99ff !important;
}

a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 5px #ffff00;
    background-color: rgba(255, 255, 0, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

a:active {
    color: #ff0000 !important;
}

/* Table styling for better presentation */
table {
    border-collapse: collapse;
    width: 100%;
    background-color: rgba(0, 0, 102, 0.8);
    border: 2px solid #ffff00;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

td {
    padding: 15px;
    vertical-align: top;
    border: 1px solid rgba(255, 255, 0, 0.3);
}

/* Navigation styling */
.navigation {
    background-color: rgba(0, 0, 102, 0.9);
    border: 2px solid #ffff00;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: inset 0 0 10px rgba(255, 255, 0, 0.2);
}

.navigation a {
    display: block;
    padding: 8px 12px;
    margin: 5px 0;
    background-color: rgba(255, 255, 0, 0.1);
    border: 1px solid rgba(255, 255, 0, 0.3);
    border-radius: 5px;
    text-align: center;
    font-family: "Gloucester MT Extra Condensed", serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navigation a:hover {
    background-color: rgba(255, 255, 0, 0.3);
    border-color: #ffff00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Image styling */
img {
    border: 3px solid #ffff00 !important;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}

/* Logo specific styling */
img[src*="logo.JPG"] {
    border: 4px solid #ffff00 !important;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

/* Content area styling */
.content {
    background-color: rgba(0, 0, 102, 0.7);
    border: 2px solid rgba(255, 255, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Font face overrides for historical appearance */
font[face="Gloucester MT Extra Condensed"] {
    font-family: "Gloucester MT Extra Condensed", "Times New Roman", serif !important;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

font[face="Tahoma"] {
    font-family: "Tahoma", "Arial", sans-serif !important;
}

font[face="Poor Richard"] {
    font-family: "Poor Richard", "Times New Roman", serif !important;
    font-style: italic;
}

/* Strong and emphasis styling */
strong {
    color: #ffff00 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

em {
    color: #ffffaa !important;
    font-style: italic;
}

/* Footer styling */
.footer {
    border-top: 2px solid #ffff00;
    padding-top: 15px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #cccccc !important;
}

/* Decorative elements */
.decorative-border {
    border: 3px double #ffff00;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    background: linear-gradient(45deg, rgba(0, 0, 102, 0.8), rgba(0, 0, 136, 0.8));
}

/* Historical document styling */
.historical-document {
    background-color: rgba(255, 255, 240, 0.95);
    color: #000066 !important;
    border: 5px solid #8B4513;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    font-family: "Times New Roman", serif;
    position: relative;
}

.historical-document::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #8B4513, #A0522D, #8B4513);
    border-radius: 20px;
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    table {
        font-size: 0.9em;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
    
    .navigation {
        display: none;
    }
}