/* The-Archive/style.css */
/* --- SITE LAYOUT & HEADER --- */
.site-wrapper { 
    max-width: 900px; 
    margin: 0 auto; 
    background: white; 
    min-height: 100vh; 
    box-shadow: 0 0 10px rgba(0,0,0,0.1); 
}

.main-header { 
    background: #4b4528; 
    color: white; 
    padding: 10px; 
    text-align: center; 
}

.main-header h1 { 
    margin: 0; 
    font-weight: normal; 
    letter-spacing: 1px; 
    font-size: 1.2em; 
}

.main-header a { 
    color: white; 
    text-decoration: none; 
}

.content-area { 
    padding: 40px 20px; 
}

body {
    font-family: 'Verdana', sans-serif;
    background-color: #f4f1ea; /* Signature parchment color */
    color: #333;
    text-align: center;
    margin: 0;
    padding: 40px;
}

h1 {
    font-family: 'Georgia', serif;
    color: #800000; /* Dark Red Title */
    margin-bottom: 10px;
    font-size: 2.5em;
}

p.subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 50px;
    font-style: italic;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    /* Keeps the buttons centered and tidy */
}

.card {
    background: white;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 30px;
    text-decoration: none; /* Removes the underline from links */
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px); /* Little hop effect */
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
    border-color: #800000;
}

.card h2 {
    margin-top: 0;
    color: #003366; /* Navy Blue headers */
    font-size: 1.2em;
}

.card p {
    font-size: 0.9em;
    color: #666;
}

/* --- NEW ANIMATED ARCHIVE CARDS --- */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 100%; 
    margin: 20px auto;
}

.archive-card {
    background-color: #002b11;
    border: 2px solid #54442B;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.card-image-window {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #000;
    border-bottom: 2px solid #54442B;
}

.card-image-window img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: top;
    object-fit: cover;
    opacity: 0;
    /* 28 seconds total duration (4 seconds per image * 7 images) */
    animation: crossfade7 28s infinite;
}

/* Negative delay starts the first image fully visible immediately */
.card-image-window img:nth-child(1) { animation-delay: -1s; }
.card-image-window img:nth-child(2) { animation-delay: 3s; }
.card-image-window img:nth-child(3) { animation-delay: 7s; }
.card-image-window img:nth-child(4) { animation-delay: 11s; }
.card-image-window img:nth-child(5) { animation-delay: 15s; }
.card-image-window img:nth-child(6) { animation-delay: 19s; }
.card-image-window img:nth-child(7) { animation-delay: 23s; }

/* The CSS Keyframe Math for a 7-Image Loop */
@keyframes crossfade7 {
    0% { opacity: 0; }
    3.5% { opacity: 1; }  /* Fade in complete */
    14.3% { opacity: 1; } /* Start fading out */
    17.9% { opacity: 0; } /* Fade out complete */
    100% { opacity: 0; }
}

.card-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #DABC6E;
    margin: 0 0 10px 0;
}

.card-description {
    font-size: 14px;
    line-height: 1.5;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #54442B;
    color: #FFFFFF;
    text-decoration: none;
    border: 1px solid #DABC6E;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.card-btn:hover {
    background-color: #DABC6E;
    color: #000000;
}

footer {
    margin-top: 0px;
    font-size: 0.8em;
    color: #999;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/* --- TEXT PAGE STYLES (Privacy, About, etc.) --- */

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: white;
    padding: 40px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.policy-container h2 {
    color: #800000;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 30px;
}

.policy-container p {
    line-height: 1.6;
    color: #444;
}

.back-link {
    display: block;
    margin-top: 30px;
    text-align: center;
    color: #800000;
    font-weight: bold;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}
.vml-banner-dec02 {
    background-color: #4b4528;
    border: 2px solid #000;
    border-radius: 20px;
    padding: 10px 40px;
    display: inline-block;
    font-family: "Georgia", serif;
    font-size: 12px;
    color: #800000;
    
}
