/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: #fff;
    color: #000;
    line-height: 1.4;
    overflow-x: hidden;
}

/* Header styling */
.header {
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border-bottom: 3px solid #fff;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: auto;
}

.agency-title {
    font-weight: bold;
    font-size: 16px;
    letter-spacing: .1px;
}

.classification-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    font-weight: bold;
}

.classification-marking {
    background-color: #000;
    color: #cc0000;
    padding: 4px 8px;
    border-radius: 2px;
    font-weight: bold;
}

.document-title {
    font-weight: normal;
    letter-spacing: 0.5px;
}

.date-stamp {
    font-family: 'Courier New', monospace;
    background-color: #ddd;
    color: #000;
    padding: 3px 6px;
    border-radius: 2px;
}

/* Main content */
.main-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.image-container {
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 2px solid #000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.satellite-image {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1);
}

/* Annotation system */
.annotation {
    position: absolute;
    z-index: 10;
}

.annotation-box {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #000;
    padding: 8px 12px;
    margin-top: 5px;
    min-width: 200px;
    max-width: 280px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.annotation-box a {
    color: #000;
    text-decoration: none;
    display: block;
}

.annotation-box a:hover {
    background-color: rgba(200, 200, 200, 0.2);
    padding: 4px;
    margin: -4px;
    border-radius: 2px;
}

.annotation-detail {
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
    font-size: 11px;
    color: #333;
    margin-top: 3px;
    display: block;
}

/* Positioning for different annotations */
.annotation-1 {
    top: 15%;
    left: 25%;
}

.annotation-2 {
    top: 35%;
    right: 20%;
}

.annotation-3 {
    bottom: 40%;
    left: 15%;
}


/* Geographic reference box with inset map */
.geographic-reference {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #000;
    padding: 10px;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    max-width: 200px;
}

.inset-map {
    width: 100%;
    height: auto;
    max-width: 180px;
    border: 1px solid #666;
    margin-bottom: 8px;
    display: block;
}

.reference-title {
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coordinates, .scale-info {
    margin-bottom: 3px;
    color: #333;
}

/* Footer */
.footer {
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    margin-top: 20px;
    border-top: 3px solid #fff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-family: 'Courier New', monospace;
}

.classification-footer {
    background-color: #000;
    color: #cc0000;
    padding: 2px 6px;
    border-radius: 2px;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .classification-banner {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-content {
        margin: 10px auto;
        padding: 0 10px;
    }
    
    .annotation-box {
        min-width: 160px;
        max-width: 200px;
        font-size: 11px;
    }
    
    .geographic-reference {
        position: static;
        margin: 10px 0;
        max-width: 100%;
    }
    
    /* Adjust annotation positions for mobile */
    .annotation-1 { top: 10%; left: 5%; }
    .annotation-2 { top: 30%; left: 5%; }
    .annotation-3 { top: 50%; left: 5%; }

    
    .footer-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 800px) {
    .classification-banner {
        display: none;
    }    

    .geographic-reference {
        display: none;
    }    

    .annotation-box {
        min-width: 140px;
        max-width: 180px;
        font-size: 14px;
        padding: 6px 8px;
    }
    
    .annotation-detail {
        font-size: 12px;
    }
}